/* ═══════════════════════════════════════════════════════
   Durga Puja Chronicles — Main Stylesheet
   Warm puja palette · dark mode · string lights
═══════════════════════════════════════════════════════ */

/* ── Light theme tokens ─────────────────────────────── */
:root {
  --orange:        #d95f0e;
  --orange-light:  #fde4c8;
  --orange-dark:   #b84b08;
  --saffron:       #f59e0b;
  --crimson:       #c0392b;
  --gold:          #e8a020;
  --marigold:      #f97316;

  --bg:            #fdf6ee;
  --bg-card:       #fffaf4;
  --bg-warm:       #fef3e2;
  --surface:       #fff8f0;
  --border:        #f0d9bf;
  --border-soft:   #f5e5d0;

  --text-primary:  #2c1810;
  --text-secondary:#6b4c38;
  --text-muted:    #9c7a65;

  --gray-50:  #fdf6ee;
  --gray-100: #f5e8d8;
  --gray-200: #ecd4bb;
  --gray-400: #b8906e;
  --gray-500: #9c7a65;
  --gray-600: #7a5c48;
  --gray-700: #5a3d2b;
  --gray-900: #2c1810;
  --white:    #ffffff;

  --radius:    0.625rem;
  --shadow:    0 1px 3px rgba(180,90,30,.10), 0 1px 2px rgba(180,90,30,.06);
  --shadow-md: 0 4px 12px rgba(180,90,30,.12);
  --shadow-lg: 0 10px 24px rgba(180,90,30,.15);
}

/* ── Dark theme tokens ──────────────────────────────── */
[data-theme="dark"] {
  --bg:            #1a0e08;
  --bg-card:       #251508;
  --bg-warm:       #1f1108;
  --surface:       #2c1810;
  --border:        #4a2e1a;
  --border-soft:   #3d2415;

  --text-primary:  #f5e6d0;
  --text-secondary:#c9a882;
  --text-muted:    #8a6a50;

  --gray-50:  #1a0e08;
  --gray-100: #2c1810;
  --gray-200: #3d2415;
  --gray-400: #7a5640;
  --gray-500: #8a6a50;
  --gray-600: #c9a882;
  --gray-700: #d8c0a0;
  --gray-900: #f5e6d0;
  --white:    #251508;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  transition: background .25s, color .25s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Layout ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

/* ── Typography ─────────────────────────────────────── */
.bengali { font-family: 'Noto Sans Bengali', sans-serif; }
.font-display { font-family: 'Playfair Display', serif; }

/* ════════════════════════════════════════════════════
   STRING LIGHTS
════════════════════════════════════════════════════ */
.string-lights {
  position: relative;
  height: 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.string-wire {
  position: absolute;
  top: 8px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-dark), var(--gold), var(--orange-dark));
  opacity: .45;
}
.bulb {
  position: absolute;
  top: 5px;
  width: 12px; height: 16px;
  border-radius: 50% 50% 45% 45%;
  transform: translateX(-50%);
  animation: bulb-glow 2.4s ease-in-out infinite alternate;
}
.bulb::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 5px;
  background: var(--gray-400);
  border-radius: 1px;
}
.bulb-0 { background: #ff6b35; box-shadow: 0 0 8px 3px rgba(255,107,53,.6); animation-delay: 0s; }
.bulb-1 { background: #ffbe0b; box-shadow: 0 0 8px 3px rgba(255,190,11,.6); animation-delay: .4s; }
.bulb-2 { background: #e63946; box-shadow: 0 0 8px 3px rgba(230,57,70,.6);  animation-delay: .8s; }
.bulb-3 { background: #06d6a0; box-shadow: 0 0 8px 3px rgba(6,214,160,.5);  animation-delay: 1.2s; }
.bulb-4 { background: #c77dff; box-shadow: 0 0 8px 3px rgba(199,125,255,.5); animation-delay: 1.6s; }
@keyframes bulb-glow {
  from { opacity: .7; filter: brightness(.85); }
  to   { opacity: 1;  filter: brightness(1.2); }
}
[data-theme="dark"] .bulb-0 { box-shadow: 0 0 12px 5px rgba(255,107,53,.8); }
[data-theme="dark"] .bulb-1 { box-shadow: 0 0 12px 5px rgba(255,190,11,.8); }
[data-theme="dark"] .bulb-2 { box-shadow: 0 0 12px 5px rgba(230,57,70,.8); }
[data-theme="dark"] .bulb-3 { box-shadow: 0 0 12px 5px rgba(6,214,160,.7); }
[data-theme="dark"] .bulb-4 { box-shadow: 0 0 12px 5px rgba(199,125,255,.7); }

/* ════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,246,238,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background .25s;
}
[data-theme="dark"] .site-header {
  background: rgba(26,14,8,0.96);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .875rem; padding-bottom: .875rem;
}
.logo { display: flex; align-items: baseline; gap: .5rem; }
.logo-bn { font-family: 'Noto Sans Bengali', sans-serif; font-size: 1.45rem; font-weight: 700; color: var(--orange); }
.logo-en { font-size: .85rem; color: var(--text-muted); }
.nav-desktop { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-link { font-size: .875rem; font-weight: 500; color: var(--text-secondary); transition: color .15s; }
.nav-link:hover, .nav-link.active { color: var(--orange); }
.hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-secondary); border-radius: 2px; transition: .2s; }
.nav-mobile { display: none; flex-direction: column; padding: .5rem 1rem 1rem; gap: .25rem; background: var(--surface); }
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { display: block; padding: .5rem 1rem; border-radius: var(--radius); font-size: .875rem; }
.nav-mobile .nav-link.active, .nav-mobile .nav-link:hover { background: var(--orange-light); color: var(--orange); }

/* ── Dark mode toggle ─────────────────────────────── */
.theme-toggle {
  background: var(--gray-100); border: 1px solid var(--border);
  border-radius: 9999px; padding: .3rem .65rem;
  font-size: 1rem; transition: background .2s;
  display: flex; align-items: center;
}
.theme-toggle:hover { background: var(--orange-light); }
[data-theme="light"] .theme-icon-light { display: none; }
[data-theme="dark"]  .theme-icon-dark  { display: none; }
.theme-toggle-mobile { display: flex; }
@media (min-width: 768px) { .theme-toggle-mobile { display: none; } }

/* ════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .625rem 1.25rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500; border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn-sm  { padding: .4rem .9rem;   font-size: .8rem; }
.btn-lg  { padding: .875rem 2rem;  font-size: 1rem; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border-color: var(--orange); color: var(--orange); background: transparent; }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-ghost { background: transparent; color: var(--orange); border-color: transparent; }
.btn-ghost:hover { background: var(--orange-light); }
.btn-secondary { background: var(--white); color: var(--gray-900); }
.btn-secondary:hover { background: var(--gray-100); }
.btn-outline-white { border-color: rgba(255,255,255,.8); color: #fff; background: rgba(255,255,255,.1); }
.btn-outline-white:hover { background: rgba(255,255,255,.2); }
.btn-full { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════
   CARDS
════════════════════════════════════════════════════ */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card-body { padding: 1.25rem; }
.card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; color: var(--text-primary); }
.card-subtitle { font-size: .8rem; color: var(--text-muted); display: flex; align-items: center; gap: .25rem; }
.card-text { color: var(--text-secondary); font-size: .9rem; margin: .75rem 0; }

/* ════════════════════════════════════════════════════
   BADGES
════════════════════════════════════════════════════ */
.badge {
  display: inline-block; padding: .2rem .65rem;
  border-radius: 9999px; font-size: .75rem; font-weight: 600;
}
.badge-orange { background: var(--orange); color: #fff; }
.badge-outline-orange { border: 1px solid var(--orange); color: var(--orange); }
.badge-gray { background: var(--gray-100); color: var(--gray-700); }

/* ════════════════════════════════════════════════════
   FORMS
════════════════════════════════════════════════════ */
.form-control {
  width: 100%; padding: .55rem .9rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; background: var(--surface);
  color: var(--text-primary);
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(217,95,14,.15); }
.search-box { position: relative; }
.search-icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); font-size: .95rem; pointer-events: none; }
.search-box .form-control { padding-left: 2.2rem; }

/* ════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════ */
.hero { position: relative; height: 75vh; min-height: 480px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(20,5,0,.65) 100%); }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; padding: 2rem 1rem; color: #fff; }
.hero-title-bn { font-family: 'Noto Sans Bengali', sans-serif; font-size: clamp(2.2rem,6vw,4rem); font-weight: 700; line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,.5); color: #ffd080; }
.hero-title-en { font-family: 'Playfair Display', serif; font-size: clamp(1rem,2.5vw,1.6rem); color: rgba(255,255,255,.75); margin-top: .25rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-sub { margin: 1rem 0 1.75rem; font-size: clamp(.9rem,2vw,1.1rem); max-width: 540px; opacity: .9; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ════════════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════════════ */
.stats-bar { background: var(--orange); color: #fff; padding: 1.25rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; text-align: center; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-number { font-size: 1.8rem; font-weight: 700; font-family: 'Playfair Display', serif; }
.stat-label  { font-size: .8rem; opacity: .85; margin-top: .1rem; }

/* ════════════════════════════════════════════════════
   SECTION HEADERS
════════════════════════════════════════════════════ */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.75rem; flex-wrap: wrap; gap: .75rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; color: var(--text-primary); }
.section-sub { font-size: .9rem; color: var(--text-muted); margin-top: .2rem; }

/* ════════════════════════════════════════════════════
   GRIDS
════════════════════════════════════════════════════ */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 1rem; }

/* ════════════════════════════════════════════════════
   PHOTO CARD (home featured)
════════════════════════════════════════════════════ */
.photo-card { display: block; text-decoration: none; color: inherit; }
.photo-card-img-wrap { position: relative; height: 200px; overflow: hidden; }
.photo-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photo-card:hover .photo-card-img-wrap img { transform: scale(1.06); }
.photo-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), transparent); opacity: 0; transition: opacity .2s; display: flex; align-items: flex-end; padding: .75rem; }
.photo-card:hover .photo-card-overlay { opacity: 1; }
.photo-card-caption { color: #fff; font-size: .82rem; line-height: 1.4; }
.photo-card-caption strong { display: block; font-weight: 600; }

/* ════════════════════════════════════════════════════
   THEME CATEGORY CARDS (home)
════════════════════════════════════════════════════ */
.theme-cat-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 1rem; }
.theme-cat-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.25rem;
  text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .18s, border-color .2s;
  display: block;
  border-top: 3px solid var(--cat-color, var(--orange));
}
.theme-cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--cat-color, var(--orange)); }
.theme-cat-icon { font-size: 2rem; margin-bottom: .6rem; }
.theme-cat-name { font-weight: 700; font-size: .95rem; color: var(--text-primary); margin-bottom: .4rem; line-height: 1.3; }
.theme-cat-desc { font-size: .8rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: .75rem; }
.theme-cat-link { font-size: .78rem; font-weight: 600; color: var(--cat-color, var(--orange)); }

/* ════════════════════════════════════════════════════
   CTA BAND
════════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--orange-dark), var(--crimson));
  color: #fff; padding: 4rem 0;
}

/* ════════════════════════════════════════════════════
   BLOG CARD
════════════════════════════════════════════════════ */
.blog-card {}
.blog-card-badge-row { display: flex; gap: .5rem; margin-bottom: .6rem; flex-wrap: wrap; }
.blog-card-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; }
.blog-card-excerpt { font-size: .88rem; color: var(--text-secondary); line-height: 1.65; }

/* ════════════════════════════════════════════════════
   PANDAL CARDS (ex-pandal style — used everywhere)
════════════════════════════════════════════════════ */
.ex-pandal-list { display: flex; flex-direction: column; gap: 1.25rem; }
.ex-pandal-list-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(270px,1fr)); gap: 1.25rem; }
.ex-pandal-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s; }
.ex-pandal-card:hover { box-shadow: var(--shadow-lg); }
.ex-pandal-cover { height: 160px; overflow: hidden; background: var(--gray-100); }
.ex-pandal-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ex-pandal-card:hover .ex-pandal-cover img { transform: scale(1.04); }
.ex-pandal-cover-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--gray-400); }
.ex-pandal-card-body { padding: 1rem 1.1rem 1.1rem; }
.ex-pandal-card-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: .2rem; }
.ex-pandal-card-meta { font-size: .75rem; color: var(--text-muted); margin-bottom: .85rem; }
.ex-pandal-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: .9rem; }
.ex-pandal-tab { padding: .4rem .9rem; border: none; background: none; font-size: .8rem; font-weight: 500; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: .15s; }
.ex-pandal-tab:hover { color: var(--orange); }
.ex-pandal-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.ex-pandal-tab-panel { display: none; }
.ex-pandal-tab-panel.active { display: block; }
.ex-pandal-desc { font-size: .82rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: .6rem; }
.ex-pandal-highlights { list-style: none; padding: 0; }
.ex-pandal-highlights li { font-size: .78rem; color: var(--text-muted); padding: .18rem 0; }
.ex-pandal-year-list { display: flex; flex-direction: column; gap: .3rem; }
.ex-pandal-year-row { display: flex; align-items: center; gap: .75rem; padding: .45rem .6rem; border: 1px solid var(--border); border-radius: .4rem; text-decoration: none; color: inherit; font-size: .8rem; transition: .15s; }
.ex-pandal-year-row:hover { background: var(--orange-light); border-color: var(--orange); }
.ex-year-badge { background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; padding: .18rem .6rem; border-radius: 9999px; flex-shrink: 0; }
.ex-year-theme { font-weight: 600; color: var(--text-primary); display: block; font-size: .8rem; }
.ex-year-count { font-size: .7rem; color: var(--text-muted); }
.ex-pandal-all-link { display: block; margin-top: 1rem; font-size: .8rem; }
.ex-pandal-overview-inline { max-width: 420px; margin-bottom: 1.5rem; }

/* ════════════════════════════════════════════════════
   HORIZONTAL FILTER BAR
════════════════════════════════════════════════════ */
.ex-filterbar-wrap { background: var(--surface); border-bottom: 1px solid var(--border); padding: .75rem 0; }
.h-filter-bar { overflow-x: auto; }
.h-filter-form {
  display: flex; align-items: flex-end; gap: 1rem;
  padding-bottom: .25rem; min-width: max-content;
}
.h-filter-group { display: flex; flex-direction: column; gap: .3rem; }
.h-filter-label { font-size: .7rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.h-filter-select {
  padding: .4rem .75rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); color: var(--text-primary); font-size: .85rem;
  cursor: pointer; transition: border-color .15s;
  min-width: 140px;
}
.h-filter-select:focus { outline: none; border-color: var(--orange); }
.h-filter-pills { min-width: 0; }
.h-pill-row { display: flex; gap: .4rem; flex-wrap: nowrap; }
.h-pill {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .35rem .75rem; border-radius: 9999px;
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: .78rem; font-weight: 500; color: var(--text-secondary);
  white-space: nowrap; transition: .15s; text-decoration: none;
}
.h-pill:hover { border-color: var(--orange); color: var(--orange); }
.h-pill.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.h-clear-btn {
  display: inline-flex; align-items: center; padding: .4rem .9rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: transparent; color: var(--text-muted);
  font-size: .82rem; cursor: pointer; text-decoration: none; transition: .15s;
}
.h-clear-btn:hover { border-color: var(--crimson); color: var(--crimson); }

/* Pandal page filter bar */
.pandal-filter-bar { margin-bottom: 1.75rem; }
.pandal-filter-form { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.pandal-search-wrap { position: relative; flex: 1; min-width: 200px; }
.pandal-search-wrap .search-icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); }
.pandal-search-wrap .form-control { padding-left: 2.2rem; }

/* ════════════════════════════════════════════════════
   ACTIVE FILTER CHIPS + TOPBAR
════════════════════════════════════════════════════ */
.active-filter-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.filter-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; background: var(--orange-light); border: 1px solid var(--orange); border-radius: 9999px; font-size: .78rem; color: var(--orange-dark); }
.filter-chip-key { font-weight: 600; }
.filter-chip-remove { color: var(--orange); font-size: .85rem; line-height: 1; text-decoration: none; margin-left: .1rem; }
.filter-chip-remove:hover { color: var(--crimson); }
.explore-topbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.explore-count { font-size: .9rem; color: var(--text-secondary); }
.sort-row { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.sort-btn { padding: .3rem .75rem; border: 1px solid var(--border); border-radius: 9999px; font-size: .78rem; text-decoration: none; color: var(--text-secondary); background: var(--bg-card); transition: .15s; }
.sort-btn:hover { border-color: var(--orange); color: var(--orange); }
.sort-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ════════════════════════════════════════════════════
   EXPLORE HERO
════════════════════════════════════════════════════ */
.exhero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.ex-breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-muted); margin-bottom: .75rem; flex-wrap: wrap; }
.ex-breadcrumb a { color: var(--orange); }
.ex-breadcrumb a:hover { text-decoration: underline; }
.ex-breadcrumb-current { color: var(--text-primary); font-weight: 500; }
.exhero-content { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; }
.exhero-title { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem,3vw,2.2rem); font-weight: 700; color: var(--text-primary); }
.exhero-sub { font-size: .9rem; color: var(--text-muted); margin-top: .3rem; }
.exhero-search { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.exhero-search-inner { position: relative; }
.exhero-search-inner .form-control { padding-left: 2.1rem; width: 260px; }
.exhero-search-inner .search-icon { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); }

/* ════════════════════════════════════════════════════
   AREA TILES
════════════════════════════════════════════════════ */
.ex-area-band { background: var(--bg-warm); border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.ex-area-grid { display: flex; gap: .75rem; flex-wrap: wrap; }
.ex-area-tile { display: flex; flex-direction: column; align-items: center; padding: .85rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); text-decoration: none; color: inherit; transition: .15s; min-width: 120px; text-align: center; }
.ex-area-tile:hover { border-color: var(--orange); background: var(--orange-light); color: var(--orange-dark); }
.ex-area-tile-icon { font-size: 1.4rem; margin-bottom: .3rem; }
.ex-area-tile-name { font-weight: 600; font-size: .88rem; }
.ex-area-tile-meta { font-size: .75rem; color: var(--text-muted); margin-top: .15rem; }
.ex-section-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }

/* ════════════════════════════════════════════════════
   EXPLORE BODY / LAYOUTS
════════════════════════════════════════════════════ */
.ex-body { padding: 2rem 0 4rem; }
.ex-panel-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-primary); }
.ex-main-content {}
.ex-locality-pandals { margin-bottom: 2.5rem; }

/* ════════════════════════════════════════════════════
   EXPLORE PHOTO GRID & CARD
════════════════════════════════════════════════════ */
.explore-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 1rem; }
.explore-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s, transform .18s; text-decoration: none; color: inherit; display: block; }
.explore-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.explore-card-img { position: relative; height: 170px; overflow: hidden; background: var(--gray-100); }
.explore-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.explore-card:hover .explore-card-img img { transform: scale(1.06); }
.explore-featured-badge { position: absolute; top: .5rem; right: .5rem; background: var(--orange); color: #fff; font-size: .65rem; font-weight: 700; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.explore-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); opacity: 0; transition: opacity .2s; display: flex; align-items: flex-end; padding: .6rem; }
.explore-card:hover .explore-card-overlay { opacity: 1; }
.explore-card-tags { display: flex; gap: .3rem; flex-wrap: wrap; }
.etag { background: rgba(255,255,255,.18); backdrop-filter: blur(4px); color: #fff; font-size: .65rem; padding: .12rem .45rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,.3); }
.explore-card-body { padding: .6rem .85rem .75rem; }
.explore-card-title { font-weight: 600; font-size: .82rem; margin-bottom: .18rem; color: var(--text-primary); line-height: 1.35; }
.explore-card-meta  { font-size: .74rem; color: var(--text-muted); margin-bottom: .12rem; }
.explore-card-theme { font-size: .73rem; color: var(--orange); }
.explore-empty { text-align: center; padding: 5rem 2rem; color: var(--text-muted); }
.explore-empty-icon { font-size: 3rem; margin-bottom: .6rem; }
.explore-empty h3 { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: .4rem; }
.explore-empty a { color: var(--orange); }

/* ════════════════════════════════════════════════════
   YEAR GROUPS (pandal view)
════════════════════════════════════════════════════ */
.ex-year-group { margin-bottom: 2.5rem; }
.ex-year-group-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: .5rem; }
.ex-year-group-left { display: flex; align-items: center; gap: 1rem; }
.ex-year-group-year { font-size: 1.6rem; font-weight: 700; color: var(--orange); font-family: 'Playfair Display', serif; line-height: 1; flex-shrink: 0; }
.ex-year-group-theme { display: block; font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.ex-year-group-desc { display: block; font-size: .8rem; color: var(--text-muted); margin-top: .1rem; }
.ex-year-group-count { font-size: .8rem; color: var(--text-muted); background: var(--gray-100); padding: .25rem .7rem; border-radius: 9999px; }

/* ════════════════════════════════════════════════════
   PHOTO DETAIL PAGE
════════════════════════════════════════════════════ */
.pd-breadcrumb { background: var(--surface); border-bottom: 1px solid var(--border); padding: .75rem 0; }
.pd-main { background: var(--bg); }
.pd-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .pd-layout { grid-template-columns: 1.2fr 1fr; } }
.pd-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; background: #111; }
.pd-img-wrap img { width: 100%; max-height: 600px; object-fit: contain; }
.pd-featured-badge { position: absolute; top: 1rem; right: 1rem; background: var(--orange); color: #fff; font-size: .8rem; font-weight: 700; padding: .3rem .8rem; border-radius: 9999px; }
.pd-title { font-size: clamp(1.3rem,3vw,1.9rem); font-weight: 700; margin-bottom: 1.5rem; font-family: 'Playfair Display', serif; }
.pd-hierarchy { margin-bottom: 1.5rem; }
.pd-hier-row { display: flex; align-items: center; gap: .85rem; }
.pd-hier-icon { width: 2rem; height: 2rem; background: var(--orange-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.pd-hier-label { display: block; font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.pd-hier-value { display: block; font-weight: 600; color: var(--orange); text-decoration: none; font-size: .92rem; }
.pd-hier-value:hover { text-decoration: underline; }
.pd-hier-connector { width: 2px; height: 1.1rem; background: var(--orange-light); margin-left: calc(1rem - 1px); }
.pd-theme-card { background: var(--orange-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.pd-theme-label { font-size: .68rem; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.pd-theme-name { font-weight: 700; font-size: 1.05rem; margin-bottom: .25rem; }
.pd-theme-desc { font-size: .875rem; color: var(--text-secondary); }
.pd-description { color: var(--text-secondary); font-size: .92rem; line-height: 1.75; margin-bottom: 1.5rem; }
.pd-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; margin-bottom: 1.25rem; }
.pd-meta-label { display: block; font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.pd-meta-value { font-size: .88rem; font-weight: 500; color: var(--text-primary); }
.pd-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.pd-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.year-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.year-tab-btn { padding: .35rem .9rem; border: 1px solid var(--border); border-radius: 9999px; font-size: .82rem; background: var(--bg-card); text-decoration: none; color: var(--text-secondary); transition: .15s; }
.year-tab-btn:hover, .year-tab-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ════════════════════════════════════════════════════
   BLOG HERO / PANDAL HERO
════════════════════════════════════════════════════ */
.blog-hero { background: linear-gradient(135deg, var(--orange-dark), var(--crimson)); color: #fff; padding: 3rem 0; }
.blog-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; }

/* ════════════════════════════════════════════════════
   PANDAL DETAIL
════════════════════════════════════════════════════ */
.pandal-card-meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.pandal-card-meta-item { font-size: .82rem; color: var(--text-muted); }
.award-pill { display: inline-block; background: var(--orange-light); color: var(--orange-dark); border: 1px solid var(--orange); padding: .2rem .7rem; border-radius: 9999px; font-size: .78rem; font-weight: 500; }

/* ════════════════════════════════════════════════════
   ABOUT PAGE
════════════════════════════════════════════════════ */
.about-container { max-width: 900px; }
.about-block { margin-bottom: 3rem; }
.about-block-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin-bottom: .4rem; }
.about-block-title { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; color: var(--text-primary); margin-bottom: 1rem; }
.about-block-body p { font-size: .97rem; color: var(--text-secondary); line-height: 1.85; margin-bottom: .85rem; }
.about-block-split { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 700px) { .about-block-split { grid-template-columns: 1fr 1fr; align-items: center; } }
.about-img-placeholder { border-radius: var(--radius); overflow: hidden; }
.about-img-placeholder img { width: 100%; height: 280px; object-fit: cover; }
.about-quote { border-left: 3px solid var(--orange); padding: .75rem 1rem; margin: 1.25rem 0; font-style: italic; color: var(--text-secondary); font-size: .95rem; background: var(--orange-light); border-radius: 0 var(--radius) var(--radius) 0; }
.about-team-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.about-team-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-team-photo-wrap { height: 180px; background: var(--bg-warm); overflow: hidden; }
.about-team-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-team-photo-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--gray-400); }
.about-team-info { padding: 1.1rem; }
.about-team-name { font-weight: 700; font-size: 1rem; color: var(--text-primary); margin-bottom: .15rem; }
.about-team-role { font-size: .8rem; color: var(--orange); font-weight: 600; margin-bottom: .5rem; }
.about-team-bio { font-size: .85rem; color: var(--text-secondary); line-height: 1.6; }
.about-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 1rem; margin-bottom: 3rem; }
.about-gallery-wide { grid-column: 1 / -1; }
.about-gallery-item { border-radius: var(--radius); overflow: hidden; }
.about-gallery-item img { width: 100%; height: 220px; object-fit: cover; }
.about-gallery-wide img { height: 300px; }
.about-contact-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,.8); padding: 3rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { font-family: 'Noto Sans Bengali', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--saffron); margin-bottom: .75rem; }
.footer-about p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.65); margin-bottom: .5rem; }
.footer-sub { font-size: .8rem; opacity: .55; }
.footer-links h4, .footer-connect h4 { font-size: .875rem; font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: .75rem; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color .15s; }
.footer-links a:hover { color: var(--saffron); }
.social-icons { display: flex; gap: .75rem; margin-bottom: .75rem; font-size: 1.4rem; }
.social-icons a { opacity: .6; transition: opacity .15s; }
.social-icons a:hover { opacity: 1; }
.footer-connect p { font-size: .875rem; color: rgba(255,255,255,.6); }
.footer-connect a { color: var(--saffron); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; text-align: center; font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom p + p { margin-top: .3rem; }
.text-orange { color: var(--saffron); }

/* ════════════════════════════════════════════════════
   UTILITIES
════════════════════════════════════════════════════ */
.py-section    { padding: 4rem 0; }
.py-section-sm { padding: 2.5rem 0; }
.bg-warm  { background: var(--bg-warm); }
.bg-gray  { background: var(--gray-50); }
.text-muted  { color: var(--text-muted); }
.text-sm     { font-size: .875rem; }
.font-bold   { font-weight: 700; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: .5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.flex { display: flex; } .items-center { align-items: center; }
.gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; }
.justify-between { justify-content: space-between; } .flex-wrap { flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Tag pills (legacy compat) ── */
.tag-pill-group { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag-pill { display: inline-flex; align-items: center; padding: .3rem .75rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--bg-card); font-size: .78rem; color: var(--text-secondary); white-space: nowrap; transition: .15s; text-decoration: none; }
.tag-pill:hover { border-color: var(--orange); color: var(--orange); }
.tag-pill.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ════════════════════════════════════════════════════
   EXPLORE TWO-COLUMN SPLIT LAYOUT
════════════════════════════════════════════════════ */
.ex-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 200px);
}
@media (min-width: 900px) {
  .ex-split-layout {
    grid-template-columns: 310px 1fr;
    align-items: start;
  }
}

/* ── Left panel ── */
.ex-left-panel {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  /* stick in viewport, no scroll on the page */
  position: sticky;
  top: 60px; /* header height */
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.ex-left-panel::-webkit-scrollbar { width: 5px; }
.ex-left-panel::-webkit-scrollbar-track { background: transparent; }
.ex-left-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* Left search */
.ex-left-search { border-bottom: 1px solid var(--border); padding-bottom: .85rem; }
.ex-left-search-inner { position: relative; }
.ex-left-search-inner .search-icon { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.ex-left-search-inner .form-control { padding-left: 2.1rem; }
.ex-search-submit { width: 100%; margin-top: .5rem; justify-content: center; }

/* Left filters section */
.ex-left-filters { border-bottom: 1px solid var(--border); padding-bottom: .85rem; }

/* Left nav wrap */
.ex-left-nav-wrap { padding-top: .25rem; }
.ex-left-nav-title {
  font-size: .75rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: .6rem; padding-bottom: .4rem;
  border-bottom: 1px solid var(--border-soft);
}
.ex-left-nav-section-title {
  font-size: .72rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .07em;
  margin: .85rem 0 .4rem;
}

/* Back button */
.ex-nav-back {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; color: var(--orange); font-weight: 600;
  text-decoration: none; margin-bottom: .7rem;
  transition: color .15s;
}
.ex-nav-back:hover { color: var(--orange-dark); }

/* Area nav items */
.ex-nav-area-group { margin-bottom: .2rem; }
.ex-nav-area-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: .55rem .75rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--bg-card);
  cursor: pointer; transition: .15s; text-align: left;
  gap: .5rem;
}
.ex-nav-area-btn:hover { border-color: var(--orange); background: var(--orange-light); }
.ex-nav-area-group.open .ex-nav-area-btn { border-color: var(--orange); background: var(--orange-light); }
.ex-nav-area-name { font-size: .85rem; font-weight: 600; color: var(--text-primary); display: block; }
.ex-nav-area-meta { font-size: .71rem; color: var(--text-muted); display: block; }
.ex-nav-arrow {
  font-size: 1rem; color: var(--orange); transition: transform .2s; flex-shrink: 0;
}
.ex-nav-area-group.open .ex-nav-arrow { transform: rotate(90deg); }

/* Localities dropdown */
.ex-nav-localities {
  display: none;
  border: 1px solid var(--border);
  border-top: none; border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden; margin-bottom: .4rem;
}

/* Locality links */
.ex-nav-loc-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .45rem .85rem; font-size: .82rem; color: var(--text-secondary);
  text-decoration: none; transition: .15s; border-bottom: 1px solid var(--border-soft);
  background: var(--bg-card);
}
.ex-nav-loc-link:last-child { border-bottom: none; }
.ex-nav-loc-link:hover, .ex-nav-loc-link.active { background: var(--orange-light); color: var(--orange-dark); }
.ex-nav-loc-all { font-weight: 600; color: var(--orange); }
.ex-nav-loc-count { background: var(--gray-100); color: var(--text-muted); font-size: .68rem; padding: .1rem .45rem; border-radius: 9999px; }

/* Year rows in pandal nav */
.ex-nav-year-row {
  display: flex; align-items: center; gap: .6rem;
  padding: .45rem .6rem; border: 1px solid var(--border);
  border-radius: .4rem; text-decoration: none; color: inherit;
  font-size: .8rem; transition: .15s; margin-bottom: .3rem;
  background: var(--bg-card);
}
.ex-nav-year-row:hover { background: var(--orange-light); border-color: var(--orange); }
.ex-nav-year-row.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.ex-nav-year-row.active .ex-year-badge { background: rgba(255,255,255,.25); }
.ex-nav-year-row-wrap { position: relative; margin-bottom: .35rem; }
.ex-view-photos-pill {
  position: absolute; right: .4rem; top: 50%; transform: translateY(-50%);
  font-size: .68rem; font-weight: 600; color: var(--orange);
  background: var(--orange-light); border: 1px solid var(--orange);
  border-radius: 9999px; padding: .1rem .5rem; text-decoration: none;
  white-space: nowrap; transition: .15s;
}
.ex-view-photos-pill:hover { background: var(--orange); color: #fff; }

/* Pandal mini cards (locality view in left panel) */
.ex-nav-pandal-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-card);
  margin-bottom: .75rem; box-shadow: var(--shadow);
}
.ex-nav-pandal-img { width: 100%; height: 100px; object-fit: cover; display: block; }
.ex-nav-pandal-body { padding: .75rem .85rem .85rem; }
.ex-nav-pandal-name { font-size: .9rem; font-weight: 700; color: var(--text-primary); margin-bottom: .2rem; }
.ex-nav-pandal-meta { font-size: .72rem; color: var(--text-muted); margin-bottom: .6rem; }
.ex-nav-pandal-desc { font-size: .79rem; color: var(--text-secondary); line-height: 1.55; }

/* Mini tabs (inside pandal nav cards) */
.ex-pandal-mini-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: .6rem; }
.ex-pandal-mini-tab { padding: .3rem .7rem; border: none; background: none; font-size: .75rem; font-weight: 500; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: .15s; }
.ex-pandal-mini-tab:hover { color: var(--orange); }
.ex-pandal-mini-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.ex-pandal-mini-panel { display: none; }
.ex-pandal-mini-panel.active { display: block; }

/* Mini year rows */
.ex-mini-year-row { display: flex; align-items: center; gap: .5rem; padding: .35rem .4rem; border: 1px solid var(--border-soft); border-radius: .35rem; text-decoration: none; color: inherit; font-size: .75rem; transition: .15s; margin-bottom: .25rem; background: var(--bg-card); }
.ex-mini-year-row:hover { background: var(--orange-light); border-color: var(--orange); }

/* ── Right panel ── */
.ex-right-panel {
  padding: 1.25rem 1.25rem 3rem;
  min-width: 0;
}

/* Area tiles in right panel (root level) */
.ex-area-tiles-top {
  display: flex; gap: .6rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

/* Exhero simplified (no search in hero anymore) */
.exhero-content-simple { padding: .25rem 0; }

/* ════════════════════════════════════════════════════
   FILTER SIDEBAR — used inside left panel
════════════════════════════════════════════════════ */
/* Override the old horizontal filter bar to be vertical in left panel */
.ex-left-filters .h-filter-form {
  flex-direction: column; gap: .5rem; align-items: stretch;
  min-width: unset; padding-bottom: 0;
}
.ex-left-filters .h-filter-bar { overflow-x: unset; }
.ex-left-filters .h-filter-group { width: 100%; }
.ex-left-filters .h-filter-select { width: 100%; min-width: unset; }
.ex-left-filters .h-pill-row { flex-wrap: wrap; }
.ex-left-filters .h-filter-pills { min-width: unset; }
.ex-left-filters .h-clear-btn { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════
   AD SPACES
════════════════════════════════════════════════════ */
.ad-space {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.ad-label {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted);
  padding: .3rem .75rem; background: var(--gray-100);
  border-bottom: 1px dashed var(--border);
}
.ad-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; padding: 1.5rem 1rem; min-height: 90px; text-align: center;
}
.ad-placeholder-wide { min-height: 80px; flex-direction: row; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.ad-icon { font-size: 1.5rem; }
.ad-text { font-size: .82rem; color: var(--text-muted); line-height: 1.45; max-width: 400px; }
.ad-cta-link {
  font-size: .78rem; font-weight: 600; color: var(--orange);
  border: 1px solid var(--orange); border-radius: 9999px;
  padding: .2rem .75rem; text-decoration: none; white-space: nowrap;
  transition: .15s;
}
.ad-cta-link:hover { background: var(--orange); color: #fff; }

/* Home ad spaces */
.ad-space-home-banner, .ad-space-home-mid {
  margin: 0 0 .5rem; /* padding is on the container */
}

/* Blog ad spaces */
.ad-space-blog-inline { border-radius: var(--radius); }
.ad-space-blog-sidebar { height: auto; }
.ad-space-explore { margin-top: 2.5rem; }
.ad-space-sidebar { }
.ad-space-pandals { }

/* ════════════════════════════════════════════════════
   BLOG PAGE LAYOUT (with sidebar)
════════════════════════════════════════════════════ */
.blog-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .blog-page-layout {
    grid-template-columns: 1fr 260px;
    align-items: start;
  }
}
.blog-grid-main {}
.blog-sidebar {
  position: sticky;
  top: 80px;
}
.blog-sidebar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.1rem;
}
.blog-sidebar-title {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted); margin-bottom: .75rem;
  padding-bottom: .4rem; border-bottom: 1px solid var(--border-soft);
}
.blog-sidebar-cat-link {
  display: block; padding: .4rem .5rem; font-size: .85rem;
  color: var(--text-secondary); text-decoration: none; border-radius: .35rem;
  transition: .15s;
}
.blog-sidebar-cat-link:hover, .blog-sidebar-cat-link.active {
  background: var(--orange-light); color: var(--orange-dark);
}
.blog-card-img { height: 180px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .blog-card-img img { transform: scale(1.04); }

/* Blog post layout */
.blog-post-layout {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .blog-post-layout {
    grid-template-columns: 1fr 260px;
    align-items: start;
  }
}
.blog-post-main { min-width: 0; }
.blog-post-sidebar {
  position: sticky; top: 80px;
}
.blog-post-title {
  font-size: clamp(1.6rem,4vw,2.25rem); font-weight: 700;
  line-height: 1.25; margin-bottom: .75rem; color: var(--text-primary);
}
.blog-section-heading {
  font-weight: 700; font-size: 1.25rem;
  margin-bottom: 1rem; color: var(--text-primary);
}

/* ════════════════════════════════════════════════════
   PANDAL DETAIL DARK MODE + READABILITY FIXES
════════════════════════════════════════════════════ */
.pandal-hero {
  background: linear-gradient(135deg, var(--orange-dark), var(--crimson));
  color: #fff; padding: 3rem 0 2rem;
}
.pandal-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; color: #fff; }
.pandal-hero-meta { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: .75rem; font-size: .875rem; opacity: .85; }

.pandal-detail-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .pandal-detail-grid { grid-template-columns: 1fr 280px; align-items: start; }
}

.pandal-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab-btn {
  padding: .6rem 1.2rem; border: none; background: none;
  font-size: .875rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: .15s;
}
.tab-btn:hover { color: var(--orange); }
.tab-btn.active { color: var(--orange); border-bottom-color: var(--orange); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Dark mode readable text in pandal detail */
.pandal-detail-text { font-size: .9rem; color: var(--text-secondary); line-height: 1.75; }
.pandal-detail-label { font-size: .8rem; color: var(--text-muted); margin-bottom: .25rem; }
.pandal-detail-subhead { font-weight: 700; font-size: 1rem; color: var(--text-primary); margin-bottom: .75rem; }

.theme-row { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--border-soft); }
.theme-year { font-size: 1.4rem; font-weight: 700; color: var(--orange); font-family: 'Playfair Display', serif; flex-shrink: 0; min-width: 3rem; }
.theme-name { font-weight: 700; font-size: .95rem; color: var(--text-primary); margin-bottom: .2rem; }
.theme-desc { font-size: .85rem; color: var(--text-secondary); line-height: 1.6; }

.fact-item { display: flex; gap: .75rem; align-items: flex-start; padding: .5rem 0; border-bottom: 1px solid var(--border-soft); }
.fact-icon { color: var(--orange); font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }

/* Pandal year block (photos tab) */
.pandal-year-block { margin-bottom: 2rem; }
.pandal-year-block-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .85rem; padding-bottom: .6rem;
  border-bottom: 2px solid var(--border-soft);
  flex-wrap: wrap; gap: .5rem;
}
.pandal-year-block-yr { font-size: 1.4rem; font-weight: 700; color: var(--orange); font-family: 'Playfair Display', serif; }
.explore-grid-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* ════════════════════════════════════════════════════
   GLOBAL DARK MODE TEXT READABILITY FIXES
════════════════════════════════════════════════════ */
/* Ensure all inline style color references use CSS vars */
[data-theme="dark"] .pandal-detail-text { color: var(--text-secondary); }
[data-theme="dark"] .pandal-detail-label { color: var(--text-muted); }
[data-theme="dark"] .theme-desc { color: var(--text-secondary); }
[data-theme="dark"] .fact-item span:last-child { color: var(--text-secondary); }
[data-theme="dark"] .ex-pandal-desc { color: var(--text-secondary); }
[data-theme="dark"] .ex-pandal-card-name { color: var(--text-primary); }
[data-theme="dark"] .ex-pandal-card-meta { color: var(--text-muted); }
[data-theme="dark"] .ex-year-theme { color: var(--text-primary); }
[data-theme="dark"] .blog-card-excerpt { color: var(--text-secondary); }
[data-theme="dark"] .blog-card-meta { color: var(--text-muted); }
[data-theme="dark"] .card-title { color: var(--text-primary); }
[data-theme="dark"] .card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .section-title { color: var(--text-primary); }
[data-theme="dark"] .section-sub { color: var(--text-muted); }
[data-theme="dark"] .about-block-body p { color: var(--text-secondary); }
[data-theme="dark"] .about-quote { color: var(--text-secondary); background: var(--bg-warm); }
[data-theme="dark"] .about-team-name { color: var(--text-primary); }
[data-theme="dark"] .about-team-bio { color: var(--text-secondary); }
[data-theme="dark"] .prose p, [data-theme="dark"] .prose li, [data-theme="dark"] .prose h2 { color: var(--text-primary); }
[data-theme="dark"] .prose h2 { color: var(--text-primary); }
[data-theme="dark"] .post-meta { color: var(--text-muted); }
[data-theme="dark"] .ad-space { border-color: var(--border); background: var(--surface); }
[data-theme="dark"] .ad-label { background: var(--gray-100); color: var(--text-muted); border-bottom-color: var(--border); }
[data-theme="dark"] .ad-text { color: var(--text-muted); }
[data-theme="dark"] .ex-nav-area-name { color: var(--text-primary); }
[data-theme="dark"] .ex-nav-area-meta { color: var(--text-muted); }
[data-theme="dark"] .ex-nav-area-btn { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .ex-nav-area-group.open .ex-nav-area-btn { background: var(--bg-warm); }
[data-theme="dark"] .ex-nav-pandal-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .ex-nav-pandal-name { color: var(--text-primary); }
[data-theme="dark"] .ex-nav-pandal-meta { color: var(--text-muted); }
[data-theme="dark"] .ex-nav-pandal-desc { color: var(--text-secondary); }
[data-theme="dark"] .ex-nav-year-row { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .ex-nav-year-row.active { background: var(--orange); }
[data-theme="dark"] .ex-nav-localities { border-color: var(--border); }
[data-theme="dark"] .ex-nav-loc-link { background: var(--bg-card); border-color: var(--border-soft); color: var(--text-secondary); }
[data-theme="dark"] .ex-mini-year-row { background: var(--bg-card); border-color: var(--border-soft); color: var(--text-secondary); }
[data-theme="dark"] .blog-sidebar-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .blog-sidebar-cat-link { color: var(--text-secondary); }
[data-theme="dark"] .pandal-tabs { border-color: var(--border); }
[data-theme="dark"] .tab-btn { color: var(--text-muted); }
[data-theme="dark"] .theme-row { border-color: var(--border-soft); }
[data-theme="dark"] .theme-name { color: var(--text-primary); }
[data-theme="dark"] .fact-item { border-color: var(--border-soft); }
[data-theme="dark"] .pandal-year-block-header { border-color: var(--border-soft); }
[data-theme="dark"] .year-tab-btn { background: var(--bg-card); color: var(--text-secondary); border-color: var(--border); }
[data-theme="dark"] .h-filter-select { background: var(--bg-card); color: var(--text-primary); border-color: var(--border); }
[data-theme="dark"] .h-pill { background: var(--bg-card); border-color: var(--border); color: var(--text-secondary); }
[data-theme="dark"] .cat-pill { background: var(--bg-card); border-color: var(--border); color: var(--text-secondary); }
[data-theme="dark"] .cat-pill.active { background: var(--orange); color: #fff; }
[data-theme="dark"] .sort-btn { background: var(--bg-card); color: var(--text-secondary); border-color: var(--border); }
[data-theme="dark"] .ex-pandal-mini-tab { color: var(--text-muted); }
[data-theme="dark"] .ex-pandal-mini-panel { color: var(--text-secondary); }

/* ════════════════════════════════════════════════════
   PROSE (blog post body) — dark mode
════════════════════════════════════════════════════ */
.prose { line-height: 1.85; }
.prose p { color: var(--text-secondary); margin-bottom: 1rem; }
.prose h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin: 2rem 0 .85rem; }
.prose h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin: 1.5rem 0 .65rem; }
.prose ul, .prose ol { padding-left: 1.5rem; color: var(--text-secondary); margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote { border-left: 3px solid var(--orange); padding: .75rem 1rem; background: var(--orange-light); margin: 1.25rem 0; border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-secondary); font-style: italic; }

/* Post meta */
.post-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; color: var(--text-muted); font-size: .85rem; margin-bottom: 1.25rem; }
.post-hero-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }
.post-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; }

/* Cat pills (blog) */
.cat-pills { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cat-pill { display: inline-flex; align-items: center; padding: .35rem .9rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--bg-card); font-size: .82rem; color: var(--text-secondary); text-decoration: none; transition: .15s; }
.cat-pill:hover { border-color: var(--orange); color: var(--orange); }
.cat-pill.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ════════════════════════════════════════════════════
   ADMIN — DARK MODE FIXES & GENERAL IMPROVEMENTS
════════════════════════════════════════════════════ */
/* Admin uses its own light theme always (no dark toggle) */
.admin-body { background: #f1f5f9; color: #1e293b; }

/* Fix admin table action column - td flex */
.admin-table td[style*="display:flex"] { display: flex !important; gap: .5rem; flex-wrap: wrap; }

/* Admin form labels readable */
.form-label { display: block; font-size: .875rem; font-weight: 600; color: #374151; margin-bottom: .4rem; }
.form-group { display: flex; flex-direction: column; }

/* ════════════════════════════════════════════════════
   ABOUT PAGE — DARK MODE FIXES
════════════════════════════════════════════════════ */
[data-theme="dark"] .about-contact-block { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .about-team-card { background: var(--bg-card); border-color: var(--border); }

/* ════════════════════════════════════════════════════
   FILTER SIDEBAR INSIDE LEFT PANEL (vertical layout)
════════════════════════════════════════════════════ */
/* When filter sidebar is inside left panel, make it compact/vertical */
.ex-left-filters .ex-filterbar-wrap {
  background: none; border-bottom: none; padding: 0;
}
.ex-left-filters .h-filter-bar { overflow: visible; }


/* ════════════════════════════════════════════════════
   VERTICAL FILTER PANEL (inside left panel)
════════════════════════════════════════════════════ */
.ex-left-filter-title {
  font-size: .72rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: .5rem;
}
.ex-vert-filters { display: flex; flex-direction: column; gap: .75rem; }
.ex-vf-group { display: flex; flex-direction: column; gap: .3rem; }
.ex-vf-label {
  font-size: .7rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .05em;
}
.ex-vf-pills { display: flex; flex-wrap: wrap; gap: .3rem; }
.ex-vf-theme-pill { font-size: .72rem !important; }
.h-filter-select { width: 100%; }

/* Override: on small screens the left panel becomes a collapsible top bar */
@media (max-width: 899px) {
  .ex-split-layout { grid-template-columns: 1fr; }
  .ex-left-panel {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
    overflow-y: visible;
  }
  .ex-left-nav-wrap { display: none; } /* Hide nav on mobile, use breadcrumbs */
  .ex-left-panel.nav-open .ex-left-nav-wrap { display: block; }
}

/* ════════════════════════════════════════════════════
   ADDITIONAL DARK MODE FIXES FOR FILTER COMPONENTS
════════════════════════════════════════════════════ */
[data-theme="dark"] .ex-left-panel {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="dark"] .ex-left-filter-title { color: var(--text-muted); }
[data-theme="dark"] .ex-vf-label { color: var(--text-muted); }
[data-theme="dark"] .h-filter-select {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border);
}
[data-theme="dark"] .h-pill {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-secondary);
}
[data-theme="dark"] .h-pill.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
[data-theme="dark"] .ex-left-search-inner .form-control {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border);
}
[data-theme="dark"] .ex-area-tile {
  background: var(--bg-card);
  border-color: var(--border);
}
[data-theme="dark"] .ex-area-tile-name { color: var(--text-primary); }
[data-theme="dark"] .ex-area-tile-meta { color: var(--text-muted); }

/* ════════════════════════════════════════════════════
   ABOUT PAGE PROSE DARK MODE
════════════════════════════════════════════════════ */
[data-theme="dark"] .about-block-title { color: var(--text-primary); }
[data-theme="dark"] .about-block-label { color: var(--orange); }

/* ════════════════════════════════════════════════════
   PHOTO CONTROLS (right panel)
════════════════════════════════════════════════════ */
/* Ensure active filter chips are readable in dark mode */
[data-theme="dark"] .filter-chip {
  background: var(--bg-warm);
  border-color: var(--orange);
  color: var(--orange);
}
[data-theme="dark"] .explore-count { color: var(--text-secondary); }

/* ════════════════════════════════════════════════════
   PANDAL DETAIL — additional fixes
════════════════════════════════════════════════════ */
/* Make card sidebar text readable in dark mode */
[data-theme="dark"] .card-body p { color: var(--text-secondary); }
[data-theme="dark"] .card-body .pandal-detail-label { color: var(--text-muted); }
[data-theme="dark"] .card-body .pandal-detail-text { color: var(--text-secondary); }

/* ════════════════════════════════════════════════════
   BLOG POST NAV FIX (year tab buttons dark mode)
════════════════════════════════════════════════════ */
[data-theme="dark"] .award-pill {
  background: var(--bg-warm);
  border-color: var(--orange);
  color: var(--orange-light);
}

/* ════════════════════════════════════════════════════
   NEW EXPLORE PAGE — UNIFIED SPLIT DESIGN
════════════════════════════════════════════════════ */

/* ── Hero (simplified) ── */
.exhero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 1.25rem 0 1rem; }
.exhero-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.ex-bc-cur { color: var(--text-primary); font-weight: 500; }

/* ── Area→Locality Nav Bar ── */
.ex-nav-bar {
  background: var(--bg-card);
  border-bottom: 2px solid var(--border);
  position: sticky; top: 60px; z-index: 90;
}
.ex-nav-bar-inner {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .5rem; padding: .6rem 0 0;
}
.ex-nav-areas {
  display: flex; align-items: center; gap: .25rem; flex-wrap: wrap;
}
.ex-nav-area-tab {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .45rem 1rem; border: none; background: none;
  font-size: .84rem; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: .15s; text-decoration: none;
  white-space: nowrap;
}
.ex-nav-area-tab:hover { color: var(--orange); border-bottom-color: var(--orange); }
.ex-nav-area-tab.active { color: var(--orange); border-bottom-color: var(--orange); font-weight: 700; }
.ex-nav-tab-count {
  font-size: .68rem; background: var(--gray-100); color: var(--text-muted);
  padding: .08rem .4rem; border-radius: 9999px;
}
.ex-nav-area-tab.active .ex-nav-tab-count { background: var(--orange-light); color: var(--orange-dark); }

.ex-nav-theme-chips {
  display: flex; align-items: center; gap: .3rem; flex-wrap: wrap;
  padding: .3rem 0; border-left: 1px solid var(--border); margin-left: .5rem; padding-left: .75rem;
}
.ex-theme-chip {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .28rem .7rem; border-radius: 9999px;
  border: 1.5px solid var(--chip-color, var(--orange));
  font-size: .74rem; font-weight: 500; color: var(--chip-color, var(--orange));
  background: transparent; text-decoration: none; transition: .15s;
  white-space: nowrap;
}
.ex-theme-chip:hover, .ex-theme-chip.active {
  background: var(--chip-color, var(--orange));
  color: #fff;
}

/* Locality sub-bar */
.ex-nav-localities-bar {
  display: flex; align-items: center; gap: .3rem; flex-wrap: wrap;
  padding: .5rem 0; border-top: 1px solid var(--border-soft);
  overflow-x: auto; scrollbar-width: none;
}
.ex-nav-localities-bar::-webkit-scrollbar { display: none; }
.ex-nav-loc-chip {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .3rem .75rem; border-radius: 9999px;
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: .8rem; color: var(--text-secondary);
  text-decoration: none; transition: .15s; white-space: nowrap;
}
.ex-nav-loc-chip:hover { border-color: var(--orange); color: var(--orange); }
.ex-nav-loc-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ── Body split ── */
.ex-body-split {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: calc(100vh - 180px);
  align-items: start;
}
@media (max-width: 900px) {
  .ex-body-split { grid-template-columns: 1fr; }
}

/* ── Pandals column (left) ── */
.ex-pandals-col {
  border-right: 1px solid var(--border);
  background: var(--surface);
  position: sticky; top: 120px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding: 1rem;
}
.ex-pandals-col::-webkit-scrollbar { width: 4px; }
.ex-pandals-col::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.ex-col-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .85rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border);
}
.ex-col-title { font-size: .9rem; font-weight: 700; color: var(--text-primary); }
.ex-col-count {
  background: var(--orange); color: #fff;
  font-size: .7rem; font-weight: 700; padding: .15rem .55rem; border-radius: 9999px;
}
.ex-pandals-list { display: flex; flex-direction: column; gap: .85rem; }

/* Pandal card in left column */
.ex-pandal-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.ex-pandal-card:hover { box-shadow: var(--shadow-md); }
.ex-pandal-cover { height: 120px; overflow: hidden; }
.ex-pandal-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ex-pandal-card:hover .ex-pandal-cover img { transform: scale(1.04); }
.ex-pandal-card-body { padding: .85rem .9rem; }
.ex-pandal-card-head { display: flex; align-items: flex-start; gap: .4rem; margin-bottom: .2rem; }
.ex-pandal-card-name { font-size: .92rem; font-weight: 700; color: var(--text-primary); flex: 1; line-height: 1.3; }
.ex-pandal-card-meta { font-size: .73rem; color: var(--text-muted); margin-bottom: .5rem; }
.ex-pandal-desc { font-size: .79rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: .5rem; }
.ex-pandal-award { font-size: .73rem; color: var(--orange-dark); font-weight: 500; margin-bottom: .55rem; }

/* Themes list in pandal card */
.ex-pandal-themes-section { margin-bottom: .75rem; }
.ex-pandal-themes-label {
  font-size: .67rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted); margin-bottom: .3rem;
}
.ex-pandal-themes-list { display: flex; flex-direction: column; gap: .25rem; }
.ex-theme-row {
  display: flex; align-items: center; gap: .5rem;
  padding: .35rem .5rem; border: 1px solid var(--border-soft);
  border-radius: .4rem; text-decoration: none; color: inherit;
  background: var(--bg); transition: .15s; cursor: pointer;
}
.ex-theme-row:hover {
  background: var(--orange-light); border-color: var(--orange);
}
.ex-theme-row-info { flex: 1; min-width: 0; }
.ex-theme-row-name { display: block; font-size: .78rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-theme-row-desc { display: block; font-size: .68rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-theme-row-arrow { font-size: .8rem; flex-shrink: 0; opacity: .5; }
.ex-theme-row:hover .ex-theme-row-arrow { opacity: 1; }
.ex-pandal-no-themes { font-size: .76rem; color: var(--text-muted); font-style: italic; }

/* Pandal card footer */
.ex-pandal-card-footer { display: flex; gap: .5rem; margin-top: .65rem; flex-wrap: wrap; }
.ex-pandal-card-footer .btn { flex: 1; justify-content: center; font-size: .76rem; }

/* ── Photos column (right) ── */
.ex-photos-col { padding: 1rem 1.25rem 3rem; min-width: 0; }

/* Filter bar above photos */
.ex-photo-filter-bar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .75rem 1rem;
  margin-bottom: 1.25rem;
}
.ex-photo-filter-form {
  display: flex; align-items: flex-end; gap: .6rem; flex-wrap: wrap;
}
.ex-pf-search { position: relative; flex: 1; min-width: 160px; }
.ex-pf-search .search-icon { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.ex-pf-search .form-control { padding-left: 2.1rem; }
.ex-pf-group { display: flex; flex-direction: column; gap: .2rem; }
.ex-pf-label { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }

/* Theme banner strip */
.ex-theme-banner {
  display: flex; align-items: center; gap: .75rem;
  background: var(--bg-warm); border: 1.5px solid var(--tc, var(--orange));
  border-radius: var(--radius); padding: .65rem 1rem; margin-bottom: 1rem;
  flex-wrap: wrap;
}
.ex-theme-banner-icon { font-size: 1.5rem; flex-shrink: 0; }
.ex-theme-banner-name { display: block; font-weight: 700; font-size: .95rem; color: var(--text-primary); }
.ex-theme-banner-desc { font-size: .8rem; color: var(--text-secondary); }
.ex-theme-banner-clear { margin-left: auto; font-size: .78rem; color: var(--text-muted); text-decoration: none; border: 1px solid var(--border); border-radius: 9999px; padding: .2rem .6rem; white-space: nowrap; }
.ex-theme-banner-clear:hover { border-color: var(--crimson); color: var(--crimson); }

/* Theme category tag on photo cards */
.explore-card-theme-cat {
  display: inline-block; margin-top: .2rem;
  font-size: .66rem; font-weight: 600;
  color: var(--tc, var(--orange)); background: transparent;
  border: 1px solid var(--tc, var(--orange));
  border-radius: 9999px; padding: .06rem .45rem;
}
.etag-theme {
  background: rgba(255,255,255,.25); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.4);
}

/* Pandal year header in photo col */
.ex-pandal-year-header { margin-bottom: .75rem; }
.ex-col-count-label { font-size: .88rem; color: var(--text-secondary); }

/* Empty state */
.ex-empty-state {
  text-align: center; padding: 2.5rem 1rem;
  color: var(--text-muted); display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
}
.ex-empty-state p { font-size: .9rem; }

/* ── Dark mode overrides for new explore ── */
[data-theme="dark"] .ex-nav-bar { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .ex-nav-area-tab { color: var(--text-muted); }
[data-theme="dark"] .ex-nav-tab-count { background: var(--gray-100); color: var(--text-muted); }
[data-theme="dark"] .ex-theme-chip { border-color: var(--chip-color, var(--orange)); color: var(--chip-color, var(--orange)); }
[data-theme="dark"] .ex-nav-loc-chip { background: var(--bg-card); border-color: var(--border); color: var(--text-secondary); }
[data-theme="dark"] .ex-pandals-col { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .ex-pandal-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .ex-pandal-card-name { color: var(--text-primary); }
[data-theme="dark"] .ex-pandal-desc { color: var(--text-secondary); }
[data-theme="dark"] .ex-theme-row { background: var(--bg); border-color: var(--border-soft); }
[data-theme="dark"] .ex-theme-row:hover { background: var(--bg-warm); border-color: var(--orange); }
[data-theme="dark"] .ex-theme-row-name { color: var(--text-primary); }
[data-theme="dark"] .ex-theme-row-desc { color: var(--text-muted); }
[data-theme="dark"] .ex-photo-filter-bar { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .ex-theme-banner { background: var(--bg-warm); }
[data-theme="dark"] .ex-theme-banner-name { color: var(--text-primary); }
[data-theme="dark"] .ex-theme-banner-desc { color: var(--text-secondary); }
[data-theme="dark"] .ex-theme-banner-clear { border-color: var(--border); color: var(--text-muted); }

/* ════════════════════════════════════════════════════
   HERO CAROUSEL
════════════════════════════════════════════════════ */
.hero-carousel {
  position: relative;
  height: 75vh; min-height: 480px;
  overflow: hidden;
  background: #1a0e08;
}
.hero-track {
  position: relative;
  width: 100%; height: 100%;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .7s ease-in-out;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.hero-slide-fallback {
  background: linear-gradient(135deg, var(--orange-dark), var(--crimson));
  opacity: 1;
}
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(10,3,0,.65) 100%);
}
/* Content sits above all slides */
.hero-content {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 2rem 1rem;
  color: #fff;
  pointer-events: none;
}
.hero-content .btn { pointer-events: auto; }

/* Prev / Next arrows */
.hero-nav {
  position: absolute; top: 50%; z-index: 20;
  transform: translateY(-50%);
  background: rgba(255,255,255,.18); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: 2rem; line-height: 1;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  cursor: pointer;
}
.hero-nav:hover { background: rgba(255,255,255,.32); }
.hero-prev { left: 1rem; }
.hero-next { right: 1rem; }
@media (max-width: 480px) {
  .hero-nav { display: none; }
}

/* Dots */
.hero-dots {
  position: absolute; bottom: 1.25rem; left: 50%;
  transform: translateX(-50%); z-index: 20;
  display: flex; gap: .5rem;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.45); border: none;
  transition: background .2s, transform .2s;
  cursor: pointer; padding: 0;
}
.hero-dot.active {
  background: #fff;
  transform: scale(1.35);
}

/* ════════════════════════════════════════════════════
   FEATURED PHOTOS GRID  (4 × 2)
════════════════════════════════════════════════════ */
.featured-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .featured-photos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .featured-photos-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
}

.feat-photo-card {
  display: block; text-decoration: none; color: inherit;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.feat-photo-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-3px);
}
.feat-photo-img-wrap {
  position: relative; height: 190px; overflow: hidden;
  background: var(--gray-100);
}
.feat-photo-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.feat-photo-card:hover .feat-photo-img-wrap img { transform: scale(1.06); }
.feat-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 55%);
  opacity: 0; transition: opacity .22s;
  display: flex; align-items: flex-end; padding: .6rem .75rem;
}
.feat-photo-card:hover .feat-photo-overlay { opacity: 1; }
.feat-photo-caption {
  color: #fff; font-size: .78rem; line-height: 1.4;
  display: flex; flex-direction: column; gap: .1rem;
}
.feat-photo-caption strong { font-weight: 600; }
.feat-photo-theme {
  font-size: .72rem; opacity: .85;
  background: rgba(217,95,14,.75);
  border-radius: 3px; padding: .1rem .35rem;
  align-self: flex-start;
}

/* ════════════════════════════════════════════════════
   LATEST YEAR AUTO-SCROLL STRIP
════════════════════════════════════════════════════ */
.latest-strip-wrap {
  overflow: hidden;
  padding: .5rem 0 1rem;
}
.latest-strip {
  display: flex;
  gap: .75rem;
  overflow-x: hidden;       /* JS drives scrollLeft */
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 1rem;
  cursor: grab;
}
.latest-strip:active { cursor: grabbing; }

.latest-strip-card {
  flex: 0 0 220px;
  text-decoration: none; color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.latest-strip-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-2px);
}
.latest-strip-img {
  height: 150px; overflow: hidden;
  background: var(--gray-100);
}
.latest-strip-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.latest-strip-card:hover .latest-strip-img img { transform: scale(1.05); }
.latest-strip-caption {
  padding: .5rem .75rem;
  display: flex; flex-direction: column; gap: .15rem;
}
.latest-strip-name {
  font-size: .8rem; font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.latest-strip-theme {
  font-size: .72rem; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ════════════════════════════════════════════════════
   PANDAL CARD  (home favourite pandals)
════════════════════════════════════════════════════ */
.pandal-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .pandal-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .pandal-cards-grid { grid-template-columns: 1fr; }
}

.pandal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .18s;
  display: flex; flex-direction: column;
}
.pandal-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.pandal-card-cover {
  height: 160px; overflow: hidden; background: var(--gray-100);
}
.pandal-card-cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s;
}
.pandal-card:hover .pandal-card-cover img { transform: scale(1.05); }
.pandal-card-cover-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--gray-400);
}

.pandal-card-body { padding: 1rem 1.1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.pandal-card-name { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: .15rem; }
.pandal-card-name-bn { font-family: 'Noto Sans Bengali', sans-serif; font-size: .82rem; color: var(--text-muted); margin-bottom: .3rem; }
.pandal-card-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: .75rem; }
.pandal-card-desc { font-size: .85rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: .5rem; }
.pandal-card-address { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; }

/* Tabs */
.pc-tabs {
  display: flex; gap: .25rem; margin-bottom: .75rem;
  border-bottom: 1px solid var(--border); padding-bottom: .5rem;
}
.pc-tab-btn {
  background: none; border: none;
  font-size: .78rem; font-weight: 500;
  color: var(--text-muted); padding: .2rem .6rem;
  border-radius: var(--radius);
  cursor: pointer; transition: background .15s, color .15s;
}
.pc-tab-btn.active, .pc-tab-btn:hover { background: var(--orange-light); color: var(--orange); }
.pc-tab-panel { display: none; flex: 1; }
.pc-tab-panel.active { display: flex; flex-direction: column; }

/* Theme list inside card */
.pc-theme-list { display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.pc-theme-row {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .45rem .6rem; border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--bg);
  text-decoration: none; color: inherit;
  transition: background .15s, border-color .15s;
}
.pc-theme-row:hover { background: var(--orange-light); border-color: var(--orange); }
.pc-year-badge {
  flex-shrink: 0;
  background: var(--orange); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: .15rem .45rem; border-radius: 4px;
  line-height: 1.4; align-self: center;
}
.pc-theme-info { flex: 1; display: flex; flex-direction: column; gap: .05rem; }
.pc-theme-name { font-size: .82rem; font-weight: 600; color: var(--text-primary); }
.pc-theme-desc { font-size: .73rem; color: var(--text-muted); line-height: 1.35; }
.pc-theme-arrow { font-size: .9rem; color: var(--text-muted); align-self: center; }

.pandal-card-link { margin-top: auto; padding-top: .75rem; width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════
   PANDAL DETAIL PAGE
════════════════════════════════════════════════════ */
.pandal-hero-breadcrumb {
  font-size: .82rem; opacity: .78; margin-bottom: .4rem;
}
.pandal-hero-breadcrumb a { color: rgba(255,255,255,.8); }
.pandal-hero-breadcrumb a:hover { color: #fff; }
.pandal-hero-name-bn {
  font-family: 'Noto Sans Bengali', sans-serif;
  font-size: 1.1rem; opacity: .85; margin-top: .2rem;
}

/* Two-column layout */
.pandal-detail-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .pandal-detail-layout { grid-template-columns: 1fr; }
  .pandal-info-card { order: 2; }
  .pandal-year-content { order: 1; }
}

/* Info card (left sidebar) */
.pandal-info-card { position: sticky; top: 80px; }
.pandal-info-dl {
  display: grid; grid-template-columns: auto 1fr;
  gap: .4rem .9rem; font-size: .85rem;
}
.pandal-info-dl dt {
  font-weight: 600; color: var(--text-secondary);
  white-space: nowrap;
}
.pandal-info-dl dd { color: var(--text-primary); }

/* Year tab strip */
.year-tab-strip {
  display: flex; gap: .5rem;
  overflow-x: auto; padding-bottom: .5rem;
  scrollbar-width: none; margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}
.year-tab-strip::-webkit-scrollbar { display: none; }

.year-tab-btn {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
  gap: .1rem; padding: .5rem .9rem;
  background: none; border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s, border-color .15s;
  min-width: 80px;
}
.year-tab-btn:hover:not(:disabled) { background: var(--orange-light); border-color: var(--orange-light); }
.year-tab-btn.active {
  background: var(--orange); border-color: var(--orange); color: #fff;
}
.year-tab-btn:disabled { opacity: .4; cursor: not-allowed; }
.ytb-year { font-size: .9rem; font-weight: 700; }
.ytb-theme {
  font-size: .7rem; max-width: 90px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: .8;
}

/* Theme info banner */
.year-theme-banner {
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.ytb-banner-main {
  display: flex; align-items: center; gap: .75rem;
  flex-wrap: wrap; margin-bottom: .5rem;
}
.ytb-banner-year {
  font-size: 1.5rem; font-weight: 700; font-family: 'Playfair Display', serif;
  color: var(--orange);
}
.ytb-banner-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700; color: var(--text-primary);
}
.ytb-banner-desc {
  font-size: .88rem; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: .75rem;
}
.ytb-banner-crew {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  font-size: .8rem; color: var(--text-muted);
}
.ytb-banner-crew strong { color: var(--text-secondary); }

/* Photo grid within pandal detail */
.pandal-year-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .75rem;
  margin-bottom: .75rem;
}
.pandal-year-count {
  font-size: .82rem; color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ── Dark mode additions ── */
[data-theme="dark"] .pandal-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .pandal-card-name { color: var(--text-primary); }
[data-theme="dark"] .pandal-card-desc { color: var(--text-secondary); }
[data-theme="dark"] .pc-theme-row { background: var(--bg); border-color: var(--border-soft); }
[data-theme="dark"] .pc-theme-row:hover { background: var(--bg-warm); border-color: var(--orange); }
[data-theme="dark"] .latest-strip-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .year-theme-banner { background: var(--bg-warm); border-color: var(--border); }
[data-theme="dark"] .year-tab-btn.active { background: var(--orange); color: #fff; }
[data-theme="dark"] .ex-nav-localities-bar { border-color: var(--border-soft); }

/* ════════════════════════════════════════════════════
   EXPLORE REDESIGN — new single-column layout
════════════════════════════════════════════════════ */

/* Remove sticky from area nav bar (tag bar handles floating now) */
.ex-nav-bar { position: static; }

/* Main content wrapper */
.ex-main-content { padding: 1.5rem 0 4rem; }

/* ── Section structure ── */
.ex-section { margin-bottom: 2rem; }
.ex-section-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1rem;
}
.ex-section-title {
  font-size: 1.05rem; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: .5rem;
}
.ex-section-count-badge {
  background: var(--orange); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: .12rem .5rem; border-radius: 9999px;
}
.ex-section-count-label {
  font-size: .85rem; color: var(--text-muted);
}
.ex-section-note {
  font-size: .78rem; color: var(--text-muted); font-style: italic;
}
.ex-view-all-link {
  font-size: .82rem; font-weight: 600; color: var(--orange);
  text-decoration: none; white-space: nowrap; transition: .15s;
}
.ex-view-all-link:hover { color: var(--orange-dark); text-decoration: underline; }
.ex-empty-msg { font-size: .88rem; color: var(--text-muted); padding: 1rem 0; }

/* ── Mini pandal cards (horizontal strip) ── */
.ex-pandal-mini-row {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.ex-pandal-mini-row::-webkit-scrollbar { height: 4px; }
.ex-pandal-mini-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.ex-pandal-mini-card {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: 0 0 220px;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: .6rem;
  padding: .6rem .75rem;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
  position: relative;
}
.ex-pandal-mini-card:hover {
  border-color: var(--orange);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.ex-pandal-mini-thumb {
  width: 54px; height: 54px;
  border-radius: .4rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
}
.ex-pandal-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ex-pandal-mini-placeholder { font-size: 1.4rem; color: var(--gray-400); }
.ex-pandal-mini-info {
  display: flex; flex-direction: column; gap: .15rem;
  min-width: 0;
  flex: 1;
}
.ex-pandal-mini-name {
  font-size: .84rem; font-weight: 700; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block;
}
.ex-pandal-mini-meta {
  font-size: .71rem; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block;
}
.ex-pandal-mini-count {
  font-size: .71rem; font-weight: 600; color: var(--orange); display: block;
}
.ex-pandal-mini-badge {
  position: absolute; top: .4rem; right: .5rem;
  background: var(--orange); color: #fff;
  font-size: .6rem; font-weight: 700;
  padding: .1rem .4rem; border-radius: 9999px;
}

/* ── Floating / sticky tag bar ── */
.ex-tagbar-sticky {
  position: sticky;
  top: 60px;
  z-index: 85;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 -1rem 1.5rem;
  padding: .55rem 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.ex-tagbar-inner {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.ex-tagbar-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  flex: 1;
  min-width: 0;
}
.ex-tagbar-chip {
  flex-shrink: 0;
  padding: .3rem .85rem;
  border-radius: 9999px;
  font-size: .76rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: .15s;
  white-space: nowrap;
}
.ex-tagbar-chip:hover {
  border-color: var(--chip-color, var(--orange));
  color: var(--chip-color, var(--orange));
}
.ex-tagbar-chip.active {
  background: var(--chip-color, var(--orange));
  color: #fff;
  border-color: var(--chip-color, var(--orange));
}
.ex-tagbar-filters {
  display: flex; align-items: center; gap: .4rem;
  flex-shrink: 0; flex-wrap: wrap;
}
.ex-tagbar-select {
  padding: .28rem .6rem;
  border: 1px solid var(--border);
  border-radius: .35rem;
  font-size: .76rem;
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
}
.ex-tagbar-select:focus { outline: none; border-color: var(--orange); }
.ex-tagbar-clear {
  font-size: .76rem; font-weight: 600; color: var(--text-muted);
  text-decoration: none; padding: .28rem .5rem;
  border: 1px solid var(--border); border-radius: .35rem;
  background: var(--bg-card); transition: .15s; white-space: nowrap;
}
.ex-tagbar-clear:hover { color: var(--orange); border-color: var(--orange); }

/* locality mode — slightly expanded grid columns */
.explore-grid-doom {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* ── Dark mode for new explore ── */
[data-theme="dark"] .ex-tagbar-sticky { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .ex-tagbar-chip { background: var(--bg-card); border-color: var(--border); color: var(--text-secondary); }
[data-theme="dark"] .ex-tagbar-select { background: var(--bg-card); border-color: var(--border); color: var(--text-primary); }
[data-theme="dark"] .ex-pandal-mini-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .ex-pandal-mini-name { color: var(--text-primary); }
[data-theme="dark"] .ex-pandal-mini-thumb { background: var(--gray-100); }

@media (max-width: 640px) {
  .ex-tagbar-inner { flex-direction: column; align-items: stretch; }
  .ex-tagbar-filters { justify-content: flex-start; }
  .ex-pandal-mini-card { flex: 0 0 180px; min-width: 165px; }
}

/* ════════════════════════════════════════════════════
   OVER THE YEARS PAGE
════════════════════════════════════════════════════ */

/* Two-column layout */
.oty-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: start;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}
@media (max-width: 900px) {
  .oty-layout { grid-template-columns: 1fr; }
}

/* ── Sidebar ── */
.oty-sidebar {
  position: sticky;
  top: 70px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 0 1rem 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.oty-sidebar::-webkit-scrollbar { width: 3px; }
.oty-sidebar::-webkit-scrollbar-thumb { background: var(--border); }

.oty-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem; padding-bottom: .6rem;
  border-bottom: 2px solid var(--orange);
}
.oty-sidebar-title {
  font-size: .9rem; font-weight: 700; color: var(--text-primary);
}
.oty-clear-btn {
  font-size: .75rem; color: var(--text-muted); text-decoration: none;
  padding: .2rem .5rem; border: 1px solid var(--border);
  border-radius: .3rem; background: var(--bg-card);
  transition: .15s;
}
.oty-clear-btn:hover { color: var(--orange); border-color: var(--orange); }

.oty-tag-section { margin-bottom: 1.1rem; }
.oty-tag-section-title {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted);
  margin-bottom: .45rem;
}
.oty-tag-chips {
  display: flex; flex-wrap: wrap; gap: .3rem;
}
.oty-tag-chips-scroll {
  max-height: 120px; overflow-y: auto;
  scrollbar-width: thin;
}
.oty-chip {
  display: inline-flex; align-items: center;
  padding: .22rem .65rem;
  border-radius: 9999px;
  font-size: .74rem; font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: .15s; white-space: nowrap;
  cursor: pointer;
}
.oty-chip:hover {
  border-color: var(--chip-color, var(--orange));
  color: var(--chip-color, var(--orange));
}
.oty-chip.active {
  background: var(--chip-color, var(--orange));
  color: #fff;
  border-color: var(--chip-color, var(--orange));
}

/* ── Main content ── */
.oty-main { min-width: 0; padding-left: 1.5rem; }
@media (max-width: 900px) { .oty-main { padding-left: 0; margin-top: 1.5rem; } }

.oty-active-filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  margin-bottom: 1.25rem;
  padding: .6rem .9rem; background: var(--orange-light);
  border: 1px solid var(--orange); border-radius: .5rem;
}
.oty-af-label { font-size: .75rem; font-weight: 700; color: var(--orange-dark); }
.oty-af-chip {
  font-size: .74rem; background: var(--orange); color: #fff;
  padding: .15rem .55rem; border-radius: 9999px; font-weight: 500;
}

/* ── Year sections ── */
.oty-year-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.oty-earlier-section { margin-top: .5rem; }
.oty-earlier-heading {
  font-size: 1.1rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: .6rem; border-bottom: 2px solid var(--border);
}

.oty-year-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1rem;
}
.oty-year-heading { display: flex; align-items: center; gap: .75rem; }
.oty-year-badge {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--orange); line-height: 1;
}
.oty-year-badge-lg { font-size: 2.5rem; }
.oty-year-label {
  font-size: .8rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em;
}
.oty-view-all-btn {
  font-size: .82rem; font-weight: 600; color: var(--orange);
  text-decoration: none; padding: .3rem .85rem;
  border: 1px solid var(--orange); border-radius: .4rem;
  background: var(--orange-light); transition: .15s; white-space: nowrap;
}
.oty-view-all-btn:hover { background: var(--orange); color: #fff; }
.oty-view-all-sm { font-size: .75rem; padding: .22rem .65rem; }

/* ── Earlier years row blocks ── */
.oty-year-row-block { margin-bottom: 1.75rem; }
.oty-year-row-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .65rem;
}
.oty-year-badge-sm {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--orange);
}

/* ── 5-column photo grid ── */
.oty-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .65rem;
}
@media (max-width: 1100px) {
  .oty-grid-5 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .oty-grid-5 { grid-template-columns: repeat(2, 1fr); }
}

/* Card image height variants */
.oty-card-img { height: 140px; }
.oty-card-img-sm { height: 110px; }
.oty-card-body-sm .explore-card-title { font-size: .78rem; }
.oty-card-body-sm .explore-card-meta  { font-size: .7rem; }

.oty-empty {
  font-size: .9rem; color: var(--text-muted);
  padding: 1.5rem 0; font-style: italic;
}

/* ── Pandals page: nav override — no sticky needed on pandals page ── */
.pdir-nav { position: static; margin-bottom: 0; }

/* Dark mode */
[data-theme="dark"] .oty-sidebar { background: transparent; }
[data-theme="dark"] .oty-chip { background: var(--bg-card); border-color: var(--border); color: var(--text-secondary); }
[data-theme="dark"] .oty-active-filters { background: var(--bg-warm); border-color: var(--orange); }

/* ════════════════════════════════════════════════════
   GLOBAL DARK MODE FIXES
════════════════════════════════════════════════════ */

/* ── Footer: always dark regardless of theme ── */
.site-footer {
  background: #1e0f07 !important;
  color: rgba(255,255,255,.8) !important;
}
.footer-brand    { color: var(--saffron) !important; }
.footer-about p  { color: rgba(255,255,255,.65) !important; }
.footer-sub      { color: rgba(255,255,255,.45) !important; }
.footer-links h4,
.footer-connect h4 { color: rgba(255,255,255,.9) !important; }
.footer-links a  { color: rgba(255,255,255,.6); }
.footer-links a:hover { color: var(--saffron); }
.footer-connect p { color: rgba(255,255,255,.6) !important; }
.footer-connect a { color: var(--saffron); }
.footer-bottom   { color: rgba(255,255,255,.4) !important; border-top-color: rgba(255,255,255,.12) !important; }

/* ── Form elements dark mode ── */
[data-theme="dark"] .form-control {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border);
}
[data-theme="dark"] input:not([type=range]),
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border);
}

/* ── Nav / header dark mode ── */
[data-theme="dark"] .nav-link { color: var(--text-secondary); }
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active { color: var(--orange); }
[data-theme="dark"] .nav-mobile { background: var(--surface); }
[data-theme="dark"] .hamburger span { background: var(--text-secondary); }

/* ── Cards and surfaces ── */
[data-theme="dark"] .card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .explore-card { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .explore-card-title { color: var(--text-primary); }
[data-theme="dark"] .explore-card-meta  { color: var(--text-muted); }
[data-theme="dark"] .explore-card-theme { color: var(--text-secondary); }
[data-theme="dark"] .explore-card-theme-cat { color: var(--text-secondary); }

/* ── Section titles and text ── */
[data-theme="dark"] .ex-section-title { color: var(--text-primary); }
[data-theme="dark"] .ex-section-count-label { color: var(--text-muted); }
[data-theme="dark"] .ex-section-note { color: var(--text-muted); }
[data-theme="dark"] .ex-view-all-link { color: var(--orange); }
[data-theme="dark"] .exhero-title { color: var(--text-primary); }
[data-theme="dark"] .exhero-sub   { color: var(--text-muted); }
[data-theme="dark"] .ex-breadcrumb { color: var(--text-muted); }
[data-theme="dark"] .ex-breadcrumb a { color: var(--text-secondary); }
[data-theme="dark"] .ex-bc-cur { color: var(--text-primary); }

/* ── Explore mini pandal cards ── */
[data-theme="dark"] .ex-pandal-mini-meta { color: var(--text-muted); }
[data-theme="dark"] .ex-pandal-mini-count { color: var(--orange); }

/* ── Explore tag bar ── */
[data-theme="dark"] .ex-tagbar-sticky {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="dark"] .ex-tagbar-chip {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-secondary);
}
[data-theme="dark"] .ex-tagbar-chip:hover {
  border-color: var(--chip-color, var(--orange));
  color: var(--chip-color, var(--orange));
}
[data-theme="dark"] .ex-tagbar-chip.active {
  background: var(--chip-color, var(--orange));
  color: #fff;
  border-color: var(--chip-color, var(--orange));
}

/* ── Over the Years page ── */
[data-theme="dark"] .oty-sidebar-title { color: var(--text-primary); }
[data-theme="dark"] .oty-tag-section-title { color: var(--text-muted); }
[data-theme="dark"] .oty-chip {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-secondary);
}
[data-theme="dark"] .oty-chip:hover {
  border-color: var(--chip-color, var(--orange));
  color: var(--chip-color, var(--orange));
}
[data-theme="dark"] .oty-chip.active {
  background: var(--chip-color, var(--orange));
  color: #fff;
}
[data-theme="dark"] .oty-year-label { color: var(--text-muted); }
[data-theme="dark"] .oty-earlier-heading { color: var(--text-primary); }
[data-theme="dark"] .oty-view-all-btn { background: var(--bg-warm); border-color: var(--orange); color: var(--orange); }
[data-theme="dark"] .oty-view-all-btn:hover { background: var(--orange); color: #fff; }
[data-theme="dark"] .oty-af-label { color: var(--orange-dark); }
[data-theme="dark"] .oty-active-filters { background: var(--bg-warm); border-color: var(--orange); }
[data-theme="dark"] .oty-clear-btn { background: var(--bg-card); border-color: var(--border); color: var(--text-muted); }

/* ── Pandals directory ── */
[data-theme="dark"] .blog-hero { background: var(--surface); }
[data-theme="dark"] .blog-hero h1 { color: var(--text-primary); }
[data-theme="dark"] .pandal-filter-bar { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .pandal-search-wrap .form-control { background: var(--bg-card); color: var(--text-primary); border-color: var(--border); }
[data-theme="dark"] .h-filter-label { color: var(--text-muted); }
[data-theme="dark"] .h-clear-btn { color: var(--text-muted); }

/* ── Ex-nav-bar (area tabs) dark mode ── */
[data-theme="dark"] .ex-nav-bar { background: var(--bg-card); border-color: var(--border); }
[data-theme="dark"] .ex-nav-area-tab { color: var(--text-secondary); }
[data-theme="dark"] .ex-nav-area-tab.active { color: var(--orange); }
[data-theme="dark"] .ex-nav-tab-count { background: var(--gray-100); color: var(--text-muted); }
[data-theme="dark"] .ex-nav-localities-bar { border-top-color: var(--border); }
[data-theme="dark"] .ex-nav-loc-chip { background: var(--bg-card); border-color: var(--border); color: var(--text-secondary); }
[data-theme="dark"] .ex-nav-loc-chip.active { background: var(--orange); color: #fff; }

/* ── Ad spaces ── */
[data-theme="dark"] .ad-placeholder { background: var(--bg-card); border-color: var(--border); }

/* ── Pandal hero ── */
[data-theme="dark"] .pandal-hero { background: var(--surface); }
[data-theme="dark"] .pandal-hero h1 { color: var(--text-primary); }

/* ── Misc text ── */
[data-theme="dark"] .text-muted  { color: var(--text-muted); }
[data-theme="dark"] .text-secondary { color: var(--text-secondary); }
[data-theme="dark"] p { color: var(--text-primary); }
