body.page-template-page-exhibitors,
body.page-template-default {
  background: var(--light);
  color: var(--text-primary);
}

/* ── HERO HEADER ── */
.hero-subpage {
  background: linear-gradient(135deg, #e8f4f8 0%, #d2e6f1 60%, #bce0f0 100%);
  padding: 140px 24px 60px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(10, 26, 58, 0.08);
}
.hero-subpage::before {
  content: ''; position: absolute; inset: 0; opacity: 0.05;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230a1a3a' fill-opacity='0.1'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.subpage-badge {
  display: inline-block; background: rgba(21, 101, 192, 0.08); border: 1px solid var(--blue);
  color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: 3px;
  padding: 6px 20px; border-radius: 20px; text-transform: uppercase; margin-bottom: 16px;
}
.subpage-title {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--navy) 30%, var(--blue) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.subpage-desc {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem); color: var(--text-secondary);
  max-width: 700px; margin: 0 auto; line-height: 1.6;
}

/* ── MAIN CONTENT CONTAINER ── */
.main-container {
  max-width: 1200px; margin: 0 auto; padding: 48px 24px;
  display: flex; flex-direction: column; gap: 40px;
  flex: 1; width: 100%;
}

/* Filter and Search Panel */
.filter-panel {
  background: var(--white); border: 1px solid var(--card-border);
  border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.search-box-container {
  position: relative; width: 100%;
}
.search-input {
  width: 100%; padding: 14px 20px 14px 48px; border-radius: 8px;
  background: #f1f5f9; border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--text-primary); font-family: 'Open Sans', sans-serif; font-size: 0.95rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input:focus {
  border-color: var(--blue); box-shadow: 0 0 10px rgba(21,101,192,0.15);
}
.search-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: rgba(15, 23, 42, 0.4); font-size: 1.1rem; pointer-events: none;
}

.chips-container {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.chip {
  padding: 10px 22px; border-radius: 20px; font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  background: rgba(15, 23, 42, 0.04); border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-secondary); cursor: pointer; transition: all 0.2s;
  outline: none;
  border-style: solid;
}
.chip:hover {
  background: rgba(15, 23, 42, 0.08); color: var(--text-primary);
}
.chip.active {
  background: var(--blue); border-color: var(--blue); color: var(--white);
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.2);
}

/* Grid of Exhibitors */
.exhibitors-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 32px;
}

.exhibitor-card {
  background: var(--white); border: 1px solid var(--card-border);
  border-radius: 16px; padding: 28px; display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}
.exhibitor-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.exhibitor-card:hover {
  transform: translateY(-8px); border-color: rgba(21,101,192,.3);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}
.exhibitor-card:hover::before { transform: scaleX(1); }

/* Header */
.exhibitor-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.exhibitor-logo-placeholder {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: 'Montserrat', sans-serif; font-size: 1.3rem;
  color: var(--white); flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.exhibitor-card[data-category="retail"] .exhibitor-logo-placeholder { background: linear-gradient(135deg, #ffc107, #ff9100); }
.exhibitor-card[data-category="services"] .exhibitor-logo-placeholder { background: linear-gradient(135deg, #7c4dff, #b388ff); }

.exhibitor-category-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 4px;
  font-family: 'Montserrat', sans-serif;
}
.exhibitor-name {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem;
  color: var(--navy); line-height: 1.3;
}
.exhibitor-desc {
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 20px;
}

/* Contact List */
.contact-details {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px;
  background: #f8fafc; padding: 16px; border-radius: 8px;
  border: 1px solid rgba(15,23,42,0.04);
}
.contact-item {
  display: flex; align-items: center; gap: 12px; font-size: 0.85rem;
}
.contact-icon {
  font-size: 1.1rem; flex-shrink: 0; text-align: center; width: 20px;
  color: var(--blue);
}
.contact-link {
  color: var(--text-secondary); text-decoration: none; transition: color 0.2s;
  font-weight: 600;
}
.contact-link:hover {
  color: var(--blue);
}
.contact-link[href^="tel"] {
  color: var(--blue); font-weight: 700; letter-spacing: 0.5px;
}
.contact-link[href^="tel"]:hover {
  color: var(--navy);
}

/* Flyer Thumbnail Layout */
.flyer-thumbnail-container {
  position: relative; width: 100%; height: 200px; border-radius: 10px;
  overflow: hidden; cursor: pointer; border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  background: #e2e8f0; margin-top: auto;
}
.flyer-thumbnail-img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.5s ease;
}
.flyer-overlay {
  position: absolute; inset: 0; background: rgba(10, 26, 58, 0.65);
  backdrop-filter: blur(2px); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transition: opacity 0.3s ease;
}
.flyer-thumbnail-container:hover .flyer-thumbnail-img {
  transform: scale(1.08);
}
.flyer-thumbnail-container:hover .flyer-overlay {
  opacity: 1;
}
.zoom-icon {
  font-size: 1.8rem; color: #ffc107;
  animation: bounceIcon 2s infinite alternate;
}
.zoom-text {
  font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px; color: var(--white);
}

@keyframes bounceIcon {
  from { transform: translateY(0); }
  to { transform: translateY(-5px); }
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 64px 24px;
  background: var(--card-bg); border: 1px dotted var(--card-border);
  border-radius: 16px; color: var(--text-secondary);
  box-shadow: none;
}
.empty-state-icon { font-size: 3.5rem; margin-bottom: 16px; }
.empty-state-title { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }

/* ── LIGHTBOX SYSTEM ── */
.lightbox {
  display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(4, 13, 30, 0.95); backdrop-filter: blur(12px);
  align-items: center; justify-content: center; opacity: 0; transition: opacity 0.35s ease;
}
.lightbox.active {
  display: flex; opacity: 1;
}
.lightbox-wrapper {
  position: relative; max-width: 90%; max-height: 88%; display: flex; flex-direction: column;
  align-items: center; transform: scale(0.9); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox.active .lightbox-wrapper {
  transform: scale(1);
}
.lightbox-content {
  max-width: 100%; max-height: 78vh; border-radius: 10px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.7); border: 1px solid rgba(255,255,255,0.15);
  object-fit: contain;
}
.lightbox-caption {
  margin-top: 20px; font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: clamp(1rem, 3vw, 1.3rem); color: var(--gold); text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6); letter-spacing: 1px;
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px; color: var(--white); font-size: 36px;
  font-weight: bold; background: transparent; border: none; cursor: pointer;
  transition: all 0.2s; width: 52px; height: 52px; display: flex;
  align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.lightbox-close:hover {
  color: var(--gold); background: rgba(255,255,255,0.12);
  transform: scale(1.08) rotate(90deg); border-color: rgba(255,193,7,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .exhibitors-grid { grid-template-columns: 1fr; gap: 24px; }
  .filter-panel { padding: 20px; }
  .lightbox-close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 28px; }
}
