/* ========================================
   HEADER COMPONENTS
======================================== */
.header {
  background-color: transparent;
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* ========================================
   DRUPAL ADMIN COMPATIBILITY
======================================== */
/* Ensure admin toolbar and menu stay above theme header */
body.toolbar-horizontal .header {
  z-index: 500;
  top: 39px; /* Account for admin toolbar height */
}

body.toolbar-horizontal.toolbar-tray-open .header {
  top: 78px; /* Account for expanded admin toolbar */
}

body.toolbar-vertical.toolbar-tray-open .header {
  z-index: 500;
}

/* Ensure admin toolbar always stays on top */
#toolbar-administration,
.toolbar-bar,
.toolbar-tray,
.toolbar-menu {
  z-index: 999999 !important;
}

/* Adjust main content margin when admin toolbar is present */
body.toolbar-horizontal .main-content {
  margin-top: 120px; /* 80px original + 40px toolbar */
}

body.toolbar-horizontal.toolbar-tray-open .main-content {
  margin-top: 160px; /* 80px original + 80px expanded toolbar */
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  height: 50px;
}

.logo-text {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
}

.logo-artifact {
  color: #4A6B6C;
}

.logo-info {
  color: #7BA3A8;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-family-body);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: color 0.3s ease;
  letter-spacing: var(--letter-spacing-wide);
  padding: 10px 0;
  display: block;
  position: relative;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #A8A6A1;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

.nav-menu li a:hover {
  color: #A8A6A1;
}

.social-icon {
  color: #FFFFFF;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #A8A6A1;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none; /* Hidden by default, shown on mobile via media query */
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  /* Ensure it's visible and touchable when shown */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  /* Add visual feedback */
  transition: opacity 0.2s ease;
}

/* When displayed on mobile, use flex */
@media(max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
  }
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  opacity: 0.8;
  outline: 2px solid #A8A6A1;
  outline-offset: 2px;
}

.mobile-menu-toggle:active {
  opacity: 0.6;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(56, 56, 59, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.active {
  display: block;
  max-height: 100vh;
}

.mobile-menu ul {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.mobile-menu ul li {
  margin-bottom: 15px;
}

.mobile-menu ul li:last-child {
  margin-bottom: 0;
}

.mobile-menu ul li a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid rgba(168, 166, 161, 0.2);
  position: relative;
  transition: all 0.3s ease;
  touch-action: manipulation;
}

.mobile-menu ul li:last-child a {
  border-bottom: none;
}

.mobile-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #A8A6A1;
  transition: width 0.3s ease;
}

.mobile-menu ul li a:hover::after {
  width: 100%;
}

.mobile-menu ul li a:hover {
  color: #A8A6A1;
}

/* ========================================
   HERO CONTENT COMPONENTS
======================================== */
.hero-info-content h1 {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-light);
  margin-bottom: 25px;
  color: #FFFFFF;
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-tight);
}

.hero-subtitle {
  font-family: var(--font-family-body);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: #DFE0E1;
  margin-bottom: 18px;
}

.hero-description {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: #A8A6A1;
  margin: 0;
}

.hero-database {
  text-align: center;
}

.hero-database h2 {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-4xl);
  color: #FFFFFF;
  font-weight: var(--font-weight-light);
  letter-spacing: var(--letter-spacing-tight);
}

.database-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-number {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-7xl);
  font-weight: var(--font-weight-bold);
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: var(--letter-spacing-tighter);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.counter-label {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  color: #DFE0E1;
  margin: 0;
  letter-spacing: var(--letter-spacing-wide);
}

/* ========================================
   GET STARTED COMPONENTS
======================================== */
.get-started-title {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-light);
  color: #FFFFFF;
  margin-bottom: 30px;
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-tight);
}

.get-started-description {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-loose);
  color: #DFE0E1;
  margin-bottom: 25px;
}

.get-started-description:last-of-type {
  margin-bottom: 40px;
}

/* Additional styling for 5050 section description wrapper */
.get-started-description-wrapper p,
.paragraph--type--5050-section .get-started-description p {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-loose);
  color: #DFE0E1;
  margin-bottom: 25px;
}

.get-started-description-wrapper p:last-child,
.paragraph--type--5050-section .get-started-description p:last-child {
  margin-bottom: 40px;
}

.get-started-signature {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  color: #A8A6A1;
  font-style: italic;
  margin-top: 30px;
}

.play-button {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #A8A6A1, #DFE0E1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(168, 166, 161, 0.3);
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(168, 166, 161, 0.5);
}

.play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 25px solid #000000;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-left: 5px;
}

.video-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.video-description {
  font-size: 14px;
  opacity: 0.8;
}

/* ========================================
   FEATURES COMPONENTS
======================================== */
.feature-card {
  background-color: transparent;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  opacity: 1;
  transform: translateY(0);
  position: relative;
  border-radius: 8px;
  padding: 10px;
  border: 2px solid #38383B;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, transparent, #A8A6A1, transparent, transparent);
  border-radius: 8px;
  opacity: 0;
  animation: borderRotate 3s linear infinite;
  animation-play-state: paused;
  z-index: -1;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  border-radius: 6px;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-15px);
  border-color: #A8A6A1;
  box-shadow: 0 0 30px 5px rgba(168, 166, 161, 0.3), 0 20px 40px rgba(0, 0, 0, 0.7);
}

.feature-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

.feature-image {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 3px solid #38383B;
  background-color: #1a1a1a;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-image {
  border-color: #A8A6A1;
  box-shadow: 0 0 20px rgba(168, 166, 161, 0.4), 0 15px 35px rgba(0, 0, 0, 0.6);
}

.feature-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(168, 166, 161, 0.1) 0%, rgba(168, 166, 161, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-overlay {
  opacity: 1;
}

.feature-title {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-light);
  color: #FFFFFF;
  margin-bottom: 15px;
  letter-spacing: var(--letter-spacing-wide);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
  color: #A8A6A1;
  text-shadow: 0 0 10px rgba(168, 166, 161, 0.3);
}

.feature-subtitle {
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  color: #DFE0E1;
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-normal);
  transition: color 0.3s ease;
}

.feature-card:hover .feature-subtitle {
  color: #FFFFFF;
}

/* ========================================
   EVENTS COMPONENTS
======================================== */
.events-title {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-light);
  color: #FFFFFF;
  letter-spacing: var(--letter-spacing-wider);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
  line-height: var(--line-height-tight);
}

.events-link:hover .events-title {
  color: #A8A6A1;
  transform: translateY(-2px);
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.9);
}

.events-subtitle {
  font-family: var(--font-family-body);
  font-size: var(--font-size-lg);
  color: #DFE0E1;
  margin-top: 15px;
  transform: translateY(20px);
  transition: all 0.3s ease;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.events-cta-arrow {
  display: inline-block;
  margin-left: 15px;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.events-link:hover .events-cta-arrow {
  transform: translateX(10px);
}

.events-link:active {
  transform: scale(0.98);
}

.events-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid transparent;
  transition: border-color 0.3s ease;
  z-index: 15;
  pointer-events: none;
}

.events-link:hover::before {
  border-color: #A8A6A1;
}

.events-link:focus {
  outline: 3px solid #A8A6A1;
  outline-offset: 3px;
}

/* ========================================
   AUCTION COMPONENTS
======================================== */
.auction-content h2 {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-light);
  margin-bottom: 20px;
  color: #FFFFFF;
}

.auction-date {
  font-family: var(--font-family-body);
  font-size: var(--font-size-xl);
  color: #A8A6A1;
  margin-bottom: 30px;
  font-style: italic;
}

.auction-description {
  font-family: var(--font-family-body);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-loose);
  color: #DFE0E1;
}

.auction-description p {
  margin-bottom: 15px;
}

/* ========================================
   FOOTER COMPONENTS
======================================== */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo-text {
  font-family: var(--font-family-headings);
  color: #FFFFFF;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wider);
  line-height: var(--line-height-tight);
}

.footer-logo-subtitle {
  font-family: var(--font-family-body);
  color: #7BA3A8;
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wide);
  margin-top: -5px;
}

.newsletter-title {
  font-family: var(--font-family-headings);
  color: #FFFFFF;
  font-size: var(--font-size-base);
  margin-bottom: 15px;
  font-weight: var(--font-weight-normal);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  padding: 12px 15px;
  background-color: #1a1a1a;
  border: 1px solid #38383B;
  border-radius: 4px;
  color: #FFFFFF;
  font-family: var(--font-family-body);
  font-size: var(--font-size-sm);
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #A8A6A1;
}

.newsletter-input::placeholder {
  color: #A8A6A1;
}

.newsletter-btn {
  padding: 12px 20px;
  background-color: #A8A6A1;
  color: #000000;
  border: none;
  border-radius: 4px;
  font-family: var(--font-family-body);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background-color: #DFE0E1;
  transform: translateY(-1px);
}

.footer-column-title {
  font-family: var(--font-family-headings);
  color: #FFFFFF;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: 20px;
  letter-spacing: var(--letter-spacing-wide);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-family: var(--font-family-body);
  color: #DFE0E1;
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: color 0.3s ease;
  line-height: var(--line-height-snug);
}

.footer-links li a:hover {
  color: #A8A6A1;
}

.footer-description {
  font-family: var(--font-family-body);
  color: #A8A6A1;
  font-size: var(--font-size-xs);
  line-height: var(--line-height-normal);
  margin-top: 15px;
}

.social-icon-footer {
  width: 35px;
  height: 35px;
  background-color: #38383B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
}

.social-icon-footer:hover {
  background-color: #A8A6A1;
  color: #000000;
  transform: translateY(-2px);
}

.footer-copyright {
  font-family: var(--font-family-body);
  color: #A8A6A1;
  font-size: var(--font-size-sm);
}

/* ========================================
   ADS BANNER COMPONENTS
======================================== */

/**
 * Ads banner component for promotional content.
 * Follows theme design patterns with hover effects and responsive design.
 */
.ads-banner {
  position: relative;
  width: 100%;
  height: 180px;
  background: url('/ads-banner.png') center center / cover no-repeat;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(168, 166, 161, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ads-banner:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(168, 166, 161, 0.3);
}

.ads-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(168, 166, 161, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.ads-banner:hover::before {
  opacity: 1;
}

.ads-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(168, 166, 161, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 2;
}

.ads-banner:hover::after {
  transform: translateX(100%);
}

.banner-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
  z-index: 3;
}

.banner-link:focus {
  outline: 2px solid #A8A6A1;
  outline-offset: 2px;
}

/* Banner content overlay (if needed for text content) */
.ads-banner-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 4;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.ads-banner-title {
  font-family: var(--font-family-headings);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 5px;
  letter-spacing: var(--letter-spacing-wide);
}

.ads-banner-subtitle {
  font-family: var(--font-family-body);
  font-size: var(--font-size-sm);
  color: #A8A6A1;
  letter-spacing: var(--letter-spacing-normal);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .ads-banner {
    height: 150px;
    border-radius: 6px;
  }

  .ads-banner-content {
    bottom: 15px;
    left: 15px;
    right: 15px;
  }

  .ads-banner-title {
    font-size: var(--font-size-lg);
  }

  .ads-banner-subtitle {
    font-size: var(--font-size-xs);
  }
}

@media screen and (max-width: 480px) {
  .ads-banner {
    height: 120px;
    border-radius: 4px;
  }

  .ads-banner-content {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  .ads-banner-title {
    font-size: var(--font-size-base);
  }
}

/* Dark theme compatibility */
@media (prefers-color-scheme: dark) {
  .ads-banner {
    border-color: rgba(168, 166, 161, 0.2);
  }

  .ads-banner:hover {
    border-color: rgba(168, 166, 161, 0.4);
  }
}

/* ========================================
   SEARCH PAGE COMPONENTS
======================================== */

.container {
  max-width: 1400px;
  margin: 60px auto;
  padding: 20px;
}

/* Page Title */
.page-title {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 30px;
  letter-spacing: 1px;
}
/* Mobile Header Controls */
.mobile-controls {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px 0;
}

.mobile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  border: 1px solid #A8A6A1;
  color: #A8A6A1;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-btn:hover {
  background-color: #A8A6A1;
  color: #000000;
}

.search-subtitle {
  display: none;
  font-size: 18px;
  color: #DFE0E1;
  margin-bottom: 20px;
}

/* Main Layout */
.search-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
}

/* Search Filters Sidebar */
.search-filters {
  background-color: #000000;
  transition: transform 0.3s ease;
}

.filter-group {
  margin-bottom: 25px;
}

.filter-label {
  display: block;
  color: #DFE0E1;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.filter-input,
.filter-select {
  width: 100%;
  padding: 8px;
  background-color: #38383B;
  border: 1px solid #DFE0E1;
  color: #FFFFFF;
  font-size: 12px;
  border-radius: 3px;
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: #A8A6A1;
}

.filter-select option {
  background-color: #38383B;
  color: #FFFFFF;
}

/* Results Content */
.results-content {
  background-color: #000000;
}

/* Results Header */
.results-header {
  display: grid;
  grid-template-columns: 120px 1fr auto auto auto auto;
  gap: 20px;
  padding: 15px 20px;
  border-bottom: 1px solid #38383B;
  font-size: 14px;
  color: #DFE0E1;
  align-items: center;
  background-color: #000000;
}

.header-cell {
  font-weight: 500;
  text-transform: uppercase;
}

.header-image {
  text-align: left;
}

.header-title {
  text-align: center;
}

.header-keyword,
.header-origin,
.header-category,
.header-price {
  text-align: right;
}

.header-link {
  color: #0000FF;
  text-decoration: none;
}

.header-link:hover {
  text-decoration: underline;
}

.results-count {
  font-weight: 500;
}

.sort-link {
  color: #A8A6A1;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sort-link:hover {
  color: #DFE0E1;
}

/* Desktop Results List */
.results-list {
  background-color: #000000;
}

/* Filter Buttons */
.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
  margin-bottom: 15px;
}

.filter-button {
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-apply {
  background-color: #A8A6A1;
  color: #000000;
  border: none;
}

.filter-apply:hover {
  background-color: #DFE0E1;
}

.filter-reset {
  background-color: transparent;
  color: #A8A6A1;
  border: 1px solid #A8A6A1;
}

.filter-reset:hover {
  background-color: #A8A6A1;
  color: #000000;
}

.result-item {
  display: grid;
  grid-template-columns: 120px 1fr auto auto auto auto;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #38383B;
  align-items: center;
  transition: background-color 0.3s;
}

.result-item:hover {
  background-color: rgba(56, 56, 59, 0.3);
}

.artifact-image {
  width: 100px;
  height: 100px;
}

.artifact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #38383B;
}

.artifact-details {
  flex: 1;
}

.artifact-title {
  color: #A8A6A1;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  display: block;
  margin-bottom: 8px;
}

.artifact-title:hover {
  color: #DFE0E1;
}

.artifact-meta {
  color: #DFE0E1;
  font-size: 12px;
}

.artifact-meta a {
  color: #A8A6A1;
  text-decoration: none;
}

.artifact-meta a:hover {
  color: #DFE0E1;
}

.artifact-price {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  text-align: right;
  min-width: 80px;
}

.artifact-location {
  color: #A8A6A1;
  font-size: 14px;
  text-align: center;
  min-width: 80px;
}

.artifact-date {
  color: #DFE0E1;
  font-size: 12px;
  text-align: right;
  min-width: 120px;
}

/* Mobile Card Layout */
.mobile-cards {
  display: none;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px 0;
}

.artifact-card {
  background-color: #38383B;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.artifact-card:hover {
  transform: translateY(-2px);
}

.card-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 15px;
  border-radius: 8px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-price {
  color: #A8A6A1;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.card-location {
  color: #DFE0E1;
  font-size: 14px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 30px 20px;
  border-top: 1px solid #38383B;
}

.pagination-btn {
  background-color: #A8A6A1;
  color: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.pagination-btn:hover {
  background-color: #DFE0E1;
}

.pagination-btn:disabled {
  background-color: #38383B;
  color: #DFE0E1;
  cursor: not-allowed;
}

/* Mobile Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.sidebar-overlay.active {
  display: block;
}

.filter-close {
  display: none;
}

/* Icons */
.icon-filter::before {
  content: "⚏";
  margin-right: 5px;
}

.icon-sort::before {
  content: "⇅";
  margin-right: 5px;
}

/* ========================================
   SEARCH MULTI PAGE SPECIFIC STYLES
======================================== */

/* Page Title */
.path--search-multi .page-title {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* Mobile Header Controls */
.path--search-multi .mobile-controls {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px 0;
}

.path--search-multi .mobile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  border: 1px solid #A8A6A1;
  color: #A8A6A1;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.path--search-multi .mobile-btn:hover {
  background-color: #A8A6A1;
  color: #000000;
}

.path--search-multi .search-subtitle {
  display: none;
  font-size: 18px;
  color: #DFE0E1;
  margin-bottom: 20px;
}

/* Main Layout */
.path--search-multi .search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

/* Search Filters Sidebar */
.path--search-multi .search-filters {
  background-color: #000000;
  margin-top: 35px;
  transition: transform 0.3s ease;
}

.path--search-multi .filters-title {
  color: #A8A6A1;
  font-size: 25px !important;
  margin-bottom: 20px;
  border-bottom: 2px solid #38383B;
  padding-bottom: 10px;
}

/* Drupal Form Styling */
.path--search-multi .views-exposed-form {
  background-color: #000000;
}

.path--search-multi .form-item {
  margin-bottom: 20px;
}

.path--search-multi .form-item label {
  display: block;
  color: #DFE0E1;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.path--search-multi .form-text,
.path--search-multi .form-select,
.path--search-multi .form-date {
  width: 100%;
  padding: 8px;
  background-color: #38383B;
  border: 1px solid #DFE0E1;
  color: #FFFFFF;
  font-size: 12px;
  border-radius: 3px;
}

.path--search-multi .form-text:focus,
.path--search-multi .form-select:focus,
.path--search-multi .form-date:focus {
  outline: none;
  border-color: #A8A6A1;
}

.path--search-multi .form-select option {
  background-color: #38383B;
  color: #FFFFFF;
}

.path--search-multi .form-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.path--search-multi .form-submit {
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.path--search-multi .form-submit[value="Apply"] {
  background-color: #A8A6A1;
  color: #000000;
  border: none;
}

.path--search-multi .form-submit[value="Apply"]:hover {
  background-color: #DFE0E1;
}

.path--search-multi .form-submit[value="Reset"] {
  background-color: transparent;
  color: #A8A6A1;
  border: 1px solid #A8A6A1;
}

.path--search-multi .form-submit[value="Reset"]:hover {
  background-color: #A8A6A1;
  color: #000000;
}

/* Results Content */
.path--search-multi .results-content {
  background-color: #000000;
}

/* Table Styling */
.path--search-multi table.cols-5 {
  width: 100%;
  border-collapse: collapse;
  background-color: #000000;
}

.path--search-multi table.cols-5 thead {
  background-color: #000000;
}

.path--search-multi table.cols-5 th {
  padding: 15px 10px;
  border-bottom: 2px solid #38383B;
  font-weight: 500;
  font-size: 14px;
  color: #A8A6A1 !important;
  text-transform: uppercase;
}

.path--search-multi table.cols-5 th a {
  color: #A8A6A1 !important;
  text-transform: uppercase;
  text-decoration: none;
}

.path--search-multi table.cols-5 th:first-child {
  text-align: left;
}

.path--search-multi table.cols-5 th:nth-child(2) {
  text-align: center;
}

.path--search-multi table.cols-5 th:nth-child(n+3) {
  text-align: center;
}

.path--search-multi table.cols-5 tbody tr {
  border-bottom: 1px solid #38383B;
  transition: background-color 0.3s;
}

.path--search-multi table.cols-5 tbody tr:hover {
  background-color: rgba(56, 56, 59, 0.3);
}

.path--search-multi table.cols-5 td {
  padding: 15px 10px;
  vertical-align: top;
  color: #A8A6A1;
}

/* Views field styling */
.path--search-multi .views-field {
  font-size: 14px;
}

.path--search-multi .views-field-field-artifact-image-1 {
  width: 120px;
  text-align: center;
}

.path--search-multi .views-field-field-artifact-image-1 img {
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #38383B;
}

.path--search-multi .views-field-title {
  text-align: left;
  max-width: 300px;
}

.path--search-multi .views-field-title a,
.path--search-multi .views-field-field-sale-price a {
  color: #A8A6A1;
  text-decoration: none;
  line-height: 1.4;
}

.path--search-multi .views-field-title a:hover,
.path--search-multi .views-field-field-sale-price a:hover {
  color: #DFE0E1;
  text-decoration: underline;
}

.path--search-multi .views-field-field-keyword,
.path--search-multi .views-field-field-place-of-origin,
.path--search-multi .views-field-field-search-categories {
  text-align: center;
}

.path--search-multi .views-field-field-keyword a,
.path--search-multi .views-field-field-place-of-origin a,
.path--search-multi .views-field-field-search-categories a,
.artifact-details .detail-item a {
  color: #A8A6A1;
  text-decoration: none;
}

.path--search-multi .views-field-field-keyword a:hover,
.path--search-multi .views-field-field-place-of-origin a:hover,
.path--search-multi .views-field-field-search-categories a:hover,
.path--search-multi table.cols-5 td:hover,
.artifact-details .detail-item a:hover {
  color: #DFE0E1;
  text-decoration: underline;
}

.path--search-multi .views-field-field-sale-price {
  text-align: center;
  color: #FFFFFF;
  font-weight: 500;
}

/* Mobile Sidebar Overlay */
.path--search-multi .sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.path--search-multi .sidebar-overlay.active {
  display: block;
}

.path--search-multi .filter-close {
  display: none;
}

/* Pagination Styling */
.path--search-multi .pagination-nav {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #38383B;
}

.path--search-multi .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.path--search-multi .js-pager__items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 10px;
}

.path--search-multi .js-pager__items li {
  display: flex;
  align-items: center;
}

.path--search-multi .js-pager__items li:first-child {
  color: #DFE0E1;
  font-size: 14px;
  font-weight: 500;
}

.path--search-multi .js-pager__items a {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background-color: transparent;
  border: 1px solid #A8A6A1;
  color: #A8A6A1;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.path--search-multi .js-pager__items a:hover {
  background-color: #A8A6A1;
  color: #000000;
}

.path--search-multi .js-pager__items a:focus {
  outline: 2px solid #A8A6A1;
  outline-offset: 2px;
}

/* Mobile Responsive for Search Multi Page */
@media (max-width: 768px) {
  .path--search-multi .container {
    padding: 15px;
  }

  .path--search-multi .page-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

    .path--search-multi .mobile-controls {
    display: flex;
  }

  .path--search-multi .search-subtitle {
    display: block;
  }

  .path--search-multi .search-layout {
    display: block;
    max-width: 100%;
  }

  .path--search-multi .results-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .path--search-multi .search-filters {
    position: fixed;
    top: 0;
    margin-top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background-color: #000000;
    padding: 20px;
    z-index: 1000;
    overflow-y: auto;
    border-right: 1px solid #38383B;
  }

  .path--search-multi .search-filters.active {
    transform: translateX(300px);
  }

  .path--search-multi .filter-close {
    display: block;
    background: none;
    border: none;
    color: #A8A6A1;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
    padding: 5px;
  }

  .path--search-multi table.cols-5 {
    display: none;
  }



  .path--search-multi .pagination-nav {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(56, 56, 59, 0.3);
    border-radius: 8px;
  }

  .path--search-multi .js-pager__items {
    gap: 5px;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 0 5px;
    overflow-x: auto;
    scroll-behavior: smooth;
  }

  .path--search-multi .js-pager__items a {
    padding: 10px 8px;
    font-size: 12px;
    min-width: 36px;
    text-align: center;
    touch-action: manipulation;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Search Multi Page Icons */
.path--search-multi .icon-filter::before {
  content: "⚏";
  margin-right: 5px;
}

.path--search-multi .icon-sort::before {
  content: "⇅";
  margin-right: 5px;
}

/* ========================================
   ARTIFACT DETAILS COMPONENTS
======================================== */

/* Artifact Details Layout */
.artifact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

/* Left Column - Images */
.images-column {
  padding-right: 20px;
}

.main-image-container {
  position: relative;
  margin-bottom: 20px;
  cursor: zoom-in;
}

/* Remove zoom cursor on mobile */
@media (max-width: 768px) {
  .main-image-container {
    cursor: default;
  }
}

.main-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  border: 2px solid #38383B;
  transition: transform 0.3s ease;
}

.main-image:hover {
  transform: scale(1.02);
}

/* Thumbnail Slider */
.thumbnail-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: #A8A6A1 #38383B;
}

.thumbnail-slider::-webkit-scrollbar {
  height: 6px;
}

.thumbnail-slider::-webkit-scrollbar-track {
  background: #38383B;
  border-radius: 3px;
}

.thumbnail-slider::-webkit-scrollbar-thumb {
  background: #A8A6A1;
  border-radius: 3px;
}

.thumbnail {
  min-width: 80px;
  height: 80px;
  border-radius: 4px;
  border: 2px solid #38383B;
  cursor: pointer;
  transition: all 0.3s ease;
  object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #A8A6A1;
  transform: scale(1.05);
}

/* Right Column - Details */
.details-column {
  padding-left: 20px;
}

.artifact-title {
  font-size: 28px;
  color: #A8A6A1;
  margin-bottom: 30px;
  line-height: 1.3;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #38383B;
}

.detail-label {
  color: #DFE0E1;
  font-weight: 500;
  min-width: 150px;
}

.detail-value {
  color: #FFFFFF;
  text-align: right;
  flex: 1;
}

.price-highlight {
  color: #A8A6A1;
  font-size: 18px;
  font-weight: bold;
}

.sold-status {
  color: #A8A6A1;
  font-weight: bold;
}

/* Banner Section */
.banner-section {
  position: relative;
  background-color: #000000;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  margin-top: 80px;
}

.banner-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://artifactinfo.com/sites/default/files/2025-06/new_homepage_header.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.banner-title {
  font-size: 48px;
  color: #DFE0E1;
  font-weight: normal;
  margin-bottom: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Search Section - Updated for Drupal Form Structure */
.search-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-container form {
  position: relative;
}

.search-container .js-form-item {
  margin: 0;
  position: relative;
}

.search-container label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-container .form-text {
  width: 100%;
  padding: 18px 120px 18px 25px;
  background-color: #38383B;
  border: 2px solid #A8A6A1;
  color: #DFE0E1;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.search-container .form-text:focus {
  outline: none;
  border-color: #DFE0E1;
  box-shadow: 0 0 0 3px rgba(223, 224, 225, 0.2);
  background-color: #000000;
}

.search-container .form-text::placeholder {
  color: #A8A6A1;
  font-style: italic;
}

.search-container .form-actions {
  position: absolute;
  right: 8px;
  top: 8%;
  transform: translateY(-5%);
  margin: 0;
}

.learning-center-listing .search-container .button {
  margin-top: 5px;
}

.banner-section-detail .search-container .button {
  margin-top: 3px;
}

.search-container .button {
  background-color: #A8A6A1;
  color: #000000;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-container .button:hover {
  background-color: #DFE0E1;
  transform: translateY(-5%) translateY(-1px);
}

.search-container .button:active {
  transform: translateY(-5%);
}

/* Search Category */
.search-category {
  margin-top: 30px;
  padding: 20px;
  background-color: #38383B;
  border-radius: 8px;
}

.category-title {
  color: #A8A6A1;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-link {
  color: #DFE0E1;
  text-decoration: underline;
  font-size: 14px;
}

.category-link:hover {
  color: #A8A6A1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #FFFFFF;
  font-size: 40px;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #A8A6A1;
}

/* ========================================
   CONTENT BLOCK COMPONENTS
======================================== */

/* Article Meta */
.article-meta {
  color: #DFE0E1;
  font-size: 14px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #38383B;
}

/* Content Block */
.node-type--artifacts #block-artifactinfo-content {
  font-size: 16px;
  line-height: 1.7;
  color: #DFE0E1;
}

.node-type--artifacts #block-artifactinfo-content p {
  margin-bottom: 20px;
  text-align: justify;
}

.node-type--artifacts #block-artifactinfo-content h1,
.node-type--artifacts #block-artifactinfo-content h2,
.node-type--artifacts #block-artifactinfo-content h3 {
  color: #A8A6A1;
  margin: 30px 0 20px 0;
  line-height: 1.3;
}

.node-type--artifacts #block-artifactinfo-content h1 {
  margin-bottom: 30px;
}

.node-type--artifacts #block-artifactinfo-content h2 {
  font-size: 24px;
}

.node-type--artifacts #block-artifactinfo-content h3 {
  font-size: 20px;
}

/* Image Alignment Classes */
.node-type--artifacts #block-artifactinfo-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #38383B;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.node-type--artifacts #block-artifactinfo-content img:hover {
  transform: scale(1.02);
  border-color: #A8A6A1;
  cursor: zoom-in;
}

/* Center Aligned Images */
.node-type--artifacts #block-artifactinfo-content img.align-center {
  display: block;
  margin: 30px auto;
  clear: both;
}

/* Left Aligned Images */
.node-type--artifacts #block-artifactinfo-content img.align-left {
  float: left;
  margin: 0 25px 20px 0;
  max-width: 45%;
}

/* Right Aligned Images */
.node-type--artifacts #block-artifactinfo-content img.align-right {
  float: right;
  margin: 0 0 20px 25px;
  max-width: 45%;
}

/* Clear floats after content */
.node-type--artifacts #block-artifactinfo-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Ensure paragraphs flow around floated images */
.node-type--artifacts #block-artifactinfo-content p {
  overflow: hidden;
}

/* Grid Container */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Category Card */
.category-card {
  background-color: #38383B;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  max-width: 313px;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: #A8A6A1;
  box-shadow: 0 8px 25px rgba(168, 166, 161, 0.2);
}

.category-image {
  height: 200px;
  background-color: #000000;
  background-image: url('themes/custom/artifactinfo/images/placeholder-image.jpeg?height=200&width=280');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.category-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.category-title {
  padding: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #DFE0E1;
  text-align: center;
  line-height: 1.4;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card:hover .category-title {
  color: #FFFFFF;
}

/* Responsive adjustments for Drupal form */
@media (max-width: 768px) {
  .search-container .form-text {
    padding: 15px 100px 15px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .search-container {
    max-width: 100%;
  }

  .features-container {
    margin-top: 80px;
  }

  .path--collectors-connection .ui-dialog {
    width: 400px !important;
  }

  .search-container .form-text {
    padding: 15px 90px 15px 15px;
  }

  .search-container .button {
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* Responsive Design - UPDATED */
@media (max-width: 768px) {
  .banner-section {
    padding: 40px 20px;
  }

  .banner-title {
    font-size: 36px;
    margin-bottom: 25px;
  }

  .search-input {
    padding: 15px 20px;
    font-size: 15px;
  }

  .search-button {
    padding: 10px 16px;
    font-size: 13px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
  }

  .main-content {
    padding: 40px 15px;
  }

  .category-image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .banner-title {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-image {
    height: 200px;
  }

  .category-title {
    padding: 10px;
    font-size: 14px;
    min-height: 40px;
  }

  .search-container {
    max-width: 100%;
  }
}

/* Articles Grid - FIXED */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  /* Center the grid when there are fewer items */
  justify-content: center;
}

/* Article Card - FIXED with max-width */
.article-card {
  background-color: #38383B;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  /* KEY FIX: Set maximum width to prevent stretching */
  max-width: 420px;
  /* Center single cards */
  margin: 0 auto;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: #A8A6A1;
  box-shadow: 0 8px 25px rgba(168, 166, 161, 0.2);
  text-decoration: none;
  color: inherit;
}

.article-card:visited {
  color: inherit;
  text-decoration: none;
}

.article-card:active {
  transform: translateY(-3px);
}

.article-card:focus {
  outline: 2px solid #A8A6A1;
  outline-offset: 2px;
}

.article-image {
  height: 350px;
  background-color: #000000;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.article-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.article-content {
  padding: 20px;
}

.article-title {
  font-size: 25px;
  font-weight: 600;
  color: #DFE0E1;
  margin-bottom: 10px;
  line-height: 1.3;
}

.article-date {
  font-size: 12px;
  color: #A8A6A1;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-description {
  font-size: 14px;
  color: #DFE0E1;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card:hover .article-title {
  color: #FFFFFF;
}
.no-data-title {
  font-size: 32px;
  font-weight: 300;
  color: #DFE0E1;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Sort Controls Row */
.search-container .js-form-item {
  margin: 0;
}

.search-container .js-form-item-sort-by {
  margin-top: 10px;
}

.form-item-sort-by,
.form-item-sort-order {
  display: inline-block;
  margin-right: 20px;
}

.bef-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}

.bef-links li {
  margin: 0;
}

.bef-link:not(.sort-toggle) {
  display: inline-block;
  padding: 8px 16px;
  background-color: #38383B;
  border: 2px solid #A8A6A1;
  color: #A8A6A1;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.bef-link:hover {
  background-color: #A8A6A1;
  color: #000000;
  text-decoration: none;
}

.bef-link--selected {
  background-color: #A8A6A1;
  color: #000000;
  border-color: #DFE0E1;
}

/* Sort Controls Container - UPDATED */
.sort-controls-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Type Filter Wrapper - UPDATED */
.type-filter-wrapper {
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: center;
  margin-top: 10px;
}

.type-filter-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  accent-color: #A8A6A1;
  cursor: pointer;
}

.type-filter-wrapper {
  color: #DFE0E1;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Filter Controls */
.filter-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-dropdown {
  background-color: #38383B;
  border: 2px solid #A8A6A1;
  color: #DFE0E1;
  padding: 12px 40px 12px 15px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23A8A6A1' viewBox='0 0 16 16'%3e%3cpath d='M8 11L3 6h10l-5 5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  transition: all 0.3s ease;
}

.filter-dropdown:hover,
.filter-dropdown:focus {
  border-color: #DFE0E1;
  background-color: #000000;
}

.filter-count {
  background-color: #A8A6A1;
  color: #000000;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.filter-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #A8A6A1;
  background-color: #38383B;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.filter-checkbox input[type="checkbox"]:checked+.checkmark {
  background-color: #A8A6A1;
}

.filter-checkbox input[type="checkbox"]:checked+.checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-size: 12px;
  font-weight: bold;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.filter-label {
  color: #DFE0E1;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.video-header {
	background-color: #000000;
	padding: 20px 0;
	border-bottom: 1px solid #38383B;
}

.video-main-title {
	font-size: 2.5rem;
	font-weight: 300;
	color: #FFFFFF;
	margin-bottom: 20px;
}

.video-submission-info {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.video-submission-text {
	color: #DFE0E1;
	font-size: 0.9rem;
}

.video-author-link {
	color: #A8A6A1;
	text-decoration: none;
	font-weight: 500;
}

.video-author-link:hover {
	text-decoration: underline;
}

.video-content-section {
	margin: 20px 0;
	padding: 20px;
	border-radius: 8px;
	border: 1px solid #38383B;
}

.video-container {
	position: relative;
	width: 100%;
	max-width: 800px;
	margin: 20px 0;
}

.video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	border-radius: 8px;
	background-color: #38383B;
}

@media (max-width: 768px) {
	.video-main-title {
		font-size: 2rem;
	}
	.video-content-section {
		padding: 15px;
	}
}

.partners-section {
  width: 100%;
  background-color:#38383B;
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}

.partners-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 10%,
    hsl(0 0% 0% / 1) 90%,
    hsl(0 0% 0% / 0)
  );
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll-x 25s linear infinite;
}

.marquee:hover .marquee__group {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__group {
    animation-play-state: paused;
  }
}

.partner-icon {
  flex-shrink: 0;
  width: clamp(60px, 4vw, 80px);
  height: clamp(60px, 4vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  filter: grayscale(100%) brightness(0.7);
}

.partner-icon:hover {
  transform: scale(1.15);
  filter: grayscale(0%) brightness(1);
}

.partner-icon svg {
  width: 100%;
  height: 100%;
  transition: inherit;
}

@keyframes scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - clamp(40px, 3vw, 60px)));
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  :root {
    --logo-size: clamp(50px, 5vw, 60px);
    --gap: clamp(30px, 4vw, 40px);
    --duration: 30s;
  }

  .partners-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  :root {
    --logo-size: clamp(40px, 6vw, 50px);
    --gap: clamp(20px, 5vw, 30px);
    --duration: 35s;
  }

  .partners-title {
    font-size: 1.8rem;
  }
}

.path--collectors-connection .ui-widget-overlay {
  position: unset;
}

/* Desktop only - Dialog width */
@media (min-width: 769px) {
  .path--collectors-connection .ui-dialog {
    width: 550px !important;
  }
}

.path--collectors-connection form label {
  color: #000000;
}
.path--collectors-connection .ui-widget input,
.path--collectors-connection .ui-widget textarea {
  background-color: #A8A6A1;
  color: #000000;
}

/* Include the button styles */
.event-request-button {
  display: inline-block;
  background-color: #A8A6A1;
  color: #000000;
  padding: 14px 28px;
  border: 2px solid #A8A6A1;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  user-select: none;
}

.event-request-button:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168, 166, 161, 0.3);
}

.event-request-button:focus {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(168, 166, 161, 0.4);
}

.event-request-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(168, 166, 161, 0.2);
}

.event-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 40px 20px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .event-request-button {
    padding: 12px 24px;
    font-size: 15px;
    width: 100%;
    max-width: 280px;
  }
}

/* ========================================
   MOBILE ARTIFACT CARDS - RESPONSIVE STYLES
======================================== */

/* Mobile Responsive for Artifact Cards */
@media (max-width: 768px) {
  .mobile-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .mobile-cards .artifact-card {
    background-color: #38383B;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    overflow: hidden;
  }

  .mobile-cards .artifact-card:hover {
    transform: translateY(-2px);
  }

  .mobile-cards .card-image {
    width: 100%;
    max-width: 180px;
    height: 180px;
    margin: 0 auto 15px;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .mobile-cards .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }

  .mobile-cards .card-title {
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .mobile-cards .card-title a {
    color: #DFE0E1;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .mobile-cards .card-title a:hover {
    color: #FFFFFF;
    text-decoration: underline;
  }

  .mobile-cards .card-price {
    color: #A8A6A1;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .mobile-cards .card-location {
    color: #DFE0E1;
    font-size: 14px;
    opacity: 0.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .mobile-cards {
    padding: 10px;
    gap: 12px;
  }

  .mobile-cards .artifact-card {
    padding: 12px;
  }

  .mobile-cards .card-image {
    max-width: 160px;
    height: 160px;
  }

  .mobile-cards .card-title a {
    font-size: 15px;
  }

  .mobile-cards .card-price {
    font-size: 18px;
  }

  .mobile-cards .card-location {
    font-size: 13px;
  }

  /* Improved pager for small mobile */
  .path--search-multi .js-pager__items {
    gap: 3px;
    padding: 0 3px;
  }

  .path--search-multi .js-pager__items a {
    padding: 8px 6px;
    font-size: 11px;
    min-width: 32px;
  }
}