/*
Theme Name: JMC Media Emporium
Theme URI: https://jmcmediaemporium.com
Author: Shaz Media Co.
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: jmc-media
*/

/* ────────────────────────────────────────────────
   DESIGN TOKENS
──────────────────────────────────────────────── */
:root {
  --pink:       #E91E8C;
  --pink-h:     #C91778;
  --pink-l:     #F472B6;
  --pink-pale:  #FDF2F8;
  --pink-mid:   #FCE7F3;
  --charcoal:   #1A1A2E;
  --dark:       #0F0F0F;
  --gray-dk:    #374151;
  --gray:       #6B7280;
  --gray-lt:    #F9FAFB;
  --white:      #FFFFFF;

  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'DM Sans', system-ui, -apple-system, sans-serif;
  --mono:   'JetBrains Mono', monospace;

  --r1: 6px;  --r2: 12px;  --r3: 20px;  --r4: 32px;  --r5: 50px;

  --sh1: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --sh2: 0 4px 16px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --sh3: 0 20px 48px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
  --shp: 0 8px 28px rgba(233,30,140,0.22);

  --ease: cubic-bezier(0.4,0,0.2,1);
  --t:    all 0.3s var(--ease);

  --logo-h: 44px;
  --header-h: 80px;   /* approximate header height for content offset */
}

/* ────────────────────────────────────────────────
   RESET
──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--dark); background: var(--white);
       line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--t); }
ul { list-style: none; }
button { font-family: var(--sans); cursor: pointer; }

/* ────────────────────────────────────────────────
   TYPOGRAPHY
──────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--serif); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.eyebrow { font-family: var(--sans); font-size: 0.66rem; font-weight: 700;
           letter-spacing: 0.22em; text-transform: uppercase; color: var(--pink); }

/* ────────────────────────────────────────────────
   LAYOUT
──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 820px; margin: 0 auto; padding: 0 28px; }

/* ────────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 12px 24px;
  border-radius: var(--r5); font-family: var(--sans); font-weight: 600;
  font-size: 0.875rem; cursor: pointer; border: 2px solid transparent;
  transition: var(--t); text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn svg { flex-shrink: 0; }
.btn--primary { background: var(--pink); color: var(--white); border-color: var(--pink); box-shadow: var(--shp); }
.btn--primary:hover { background: var(--pink-h); border-color: var(--pink-h); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(233,30,140,0.34); }
.btn--outline { background: transparent; color: var(--pink); border-color: var(--pink); }
.btn--outline:hover { background: var(--pink); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.25); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,0.22); color: var(--white); }
.btn--dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn--dark:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }

/* ────────────────────────────────────────────────
   HEADER
   Two states:
   default  → transparent, white text (over dark hero)
   .scrolled → frosted white, dark text
──────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
  /* start transparent */
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.07), var(--sh1);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header--inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo — constraint override for WP custom logo inline dimensions */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo a,
.site-logo .custom-logo-link { display: flex; align-items: center; line-height: 0; text-decoration: none; }
/* Logo size — primarily controlled by inline <style> in header.php after wp_head() */
/* This is a fallback for non-WP logo */
.logo-text { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--white); transition: var(--t); }
.site-header.scrolled .logo-text { color: var(--dark); }
.logo-text span { color: var(--pink); }

/* Nav */
.nav-menu { display: flex; align-items: center; gap: 30px; flex: 1; justify-content: center; }
.nav-menu a { font-weight: 500; font-size: 0.875rem;
              position: relative; padding: 4px 0; transition: color 0.3s ease; }
.nav-menu a::after { content: ''; position: absolute; bottom: -1px; left: 0;
                     width: 0; height: 2px; background: var(--pink); border-radius: 2px; transition: width 0.3s ease; }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

/* Header right */
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-search-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); transition: var(--t);
}
.header-search-btn:hover { background: rgba(255,255,255,0.22); }
.site-header.scrolled .header-search-btn { background: var(--pink-pale); border-color: rgba(233,30,140,0.15); color: var(--pink); }
.nav-social { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
              border-radius: 50%; color: rgba(255,255,255,0.7); }
.nav-social:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.site-header.scrolled .nav-social { color: var(--gray); }
.site-header.scrolled .nav-social:hover { color: var(--pink); background: var(--pink-pale); }
.header-cta .btn { padding: 9px 18px; font-size: 0.8rem; }

/* Mobile toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 5px;
               background: none; border: none; border-radius: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--t); }
.site-header.scrolled .menu-toggle span { background: var(--dark); }

/* Search dropdown — HIDDEN by default */
.header-search-bar {
  overflow: hidden; max-height: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(24px);
  border-top: 1px solid transparent;
  transition: max-height 0.4s var(--ease), border-color 0.3s ease, padding 0.3s ease;
}
.header-search-bar.open { max-height: 80px; border-top-color: rgba(0,0,0,0.06); padding: 12px 0; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; background: var(--charcoal); z-index: 999;
               display: flex; flex-direction: column; align-items: center; justify-content: center;
               opacity: 0; pointer-events: none; transition: opacity 0.35s ease; }
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-close { position: absolute; top: 28px; right: 28px; background: rgba(255,255,255,0.1);
                border: none; color: var(--white); width: 44px; height: 44px; border-radius: 50%;
                font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-bottom: 48px; }
.mobile-menu nav a { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--white); }
.mobile-menu nav a:hover { color: var(--pink); }
.mobile-social { display: flex; gap: 20px; }
.mobile-social a { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.4);
                   letter-spacing: 0.12em; text-transform: uppercase; }
.mobile-social a:hover { color: var(--pink); }

/* ────────────────────────────────────────────────
   SECTIONS
──────────────────────────────────────────────── */
.section { padding: 92px 0; }
.section--sm { padding: 60px 0; }
.section--pink { background: var(--pink-pale); }
.section--gray { background: var(--gray-lt); }
.section--dark { background: var(--charcoal); }

.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }
.section-title { font-size: clamp(1.7rem,2.6vw,2.5rem); margin: 8px 0 14px; }
.section-subtitle { font-size: 1rem; color: var(--gray); max-width: 540px; line-height: 1.8; }

/* ────────────────────────────────────────────────
   HERO
──────────────────────────────────────────────── */
.hero { min-height: 100vh; position: relative; overflow: hidden;
        background: var(--charcoal); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0;
           background: radial-gradient(ellipse 75% 55% at 70% 35%, rgba(233,30,140,0.28) 0%, transparent 60%),
                       radial-gradient(ellipse 55% 75% at 15% 70%, rgba(6,182,212,0.14) 0%, transparent 58%),
                       linear-gradient(145deg, #0A0A18 0%, #1A1A2E 55%, #0F0F1A 100%); }
.hero-dots { position: absolute; inset: 0;
             background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
             background-size: 36px 36px; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 140px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
                padding: 6px 18px; background: rgba(233,30,140,0.14);
                border: 1px solid rgba(233,30,140,0.28); border-radius: 50px;
                font-family: var(--sans); font-size: 0.66rem; font-weight: 700;
                letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink-l); }
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--pink);
                        animation: pulse 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(0.75); } }

.hero-title { font-size: clamp(2.5rem, 4.5vw, 4rem); color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.hero-title .accent { background: linear-gradient(135deg, var(--pink) 0%, var(--pink-l) 100%);
                      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,0.6); max-width: 480px;
             margin-bottom: 36px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stat .num { font-family: var(--serif); font-size: 1.75rem; font-weight: 700;
                  color: var(--white); line-height: 1; }
.hero-stat .num span { color: var(--pink); }
.hero-stat .lbl { font-size: 0.7rem; color: rgba(255,255,255,0.38); margin-top: 5px;
                  text-transform: uppercase; letter-spacing: 0.1em; }

/* Featured card */
.hero-feat { display: block; background: rgba(255,255,255,0.05); backdrop-filter: blur(16px);
             border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r3); overflow: hidden; transition: var(--t); }
.hero-feat:hover { transform: translateY(-8px); border-color: rgba(233,30,140,0.35); box-shadow: 0 32px 64px rgba(0,0,0,0.35), var(--shp); }
.hero-feat-img { aspect-ratio: 16/10; overflow: hidden; }
.hero-feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.hero-feat:hover .hero-feat-img img { transform: scale(1.05); }
.hero-feat-ph { width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg,rgba(233,30,140,0.18) 0%,rgba(6,182,212,0.1) 100%);
                display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.hero-feat-body { padding: 24px; }
.hero-feat-cat { display: inline-block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.15em;
                 text-transform: uppercase; color: var(--pink-l); background: rgba(233,30,140,0.12);
                 border: 1px solid rgba(233,30,140,0.2); padding: 4px 12px; border-radius: 50px; margin-bottom: 10px; }
.hero-feat-title { font-size: 1.2rem; color: var(--white); line-height: 1.35; margin-bottom: 12px; }
.hero-feat-meta { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: rgba(255,255,255,0.38); }
.hero-feat-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.28); }

/* ────────────────────────────────────────────────
   MARQUEE
──────────────────────────────────────────────── */
.marquee-strip { background: var(--pink); padding: 12px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track .item { display: flex; align-items: center; gap: 14px; padding: 0 28px;
                       white-space: nowrap; font-size: 0.7rem; font-weight: 700;
                       letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.92); }
.marquee-track .item .sep { color: rgba(255,255,255,0.45); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ────────────────────────────────────────────────
   CATEGORY FILTER
──────────────────────────────────────────────── */
.cat-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.cat-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px;
           border-radius: var(--r5); font-size: 0.78rem; font-weight: 600;
           cursor: pointer; border: 1.5px solid rgba(0,0,0,0.1); background: var(--white);
           color: var(--gray); transition: var(--t); font-family: var(--sans); }
.cat-btn:hover, .cat-btn.active { background: var(--pink); color: var(--white); border-color: var(--pink); box-shadow: var(--shp); }
.cat-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 16px;
             padding: 0 4px; background: rgba(0,0,0,0.08); border-radius: 50px; font-size: 0.64rem; font-weight: 700; }
.cat-btn.active .cat-count, .cat-btn:hover .cat-count { background: rgba(255,255,255,0.25); }

/* ────────────────────────────────────────────────
   POST CARDS
──────────────────────────────────────────────── */
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.post-card { background: var(--white); border-radius: var(--r2); overflow: hidden;
             border: 1px solid rgba(0,0,0,0.07); transition: var(--t); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh3); border-color: rgba(233,30,140,0.14); }

.post-card__img { overflow: hidden; flex-shrink: 0; background: var(--pink-pale);
                  position: relative; aspect-ratio: 16/10; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__ph { width: 100%; height: 100%; position: absolute; inset: 0;
                 display: flex; align-items: center; justify-content: center; }
.post-card__ph svg { width: 40px; height: 40px; opacity: 0.2; }

.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.14em;
                  text-transform: uppercase; color: var(--pink); margin-bottom: 8px; display: block; }
.post-card__title { font-size: 1.02rem; line-height: 1.4; margin-bottom: 10px; flex: 1; }
.post-card__title a { color: var(--dark); }
.post-card__title a:hover { color: var(--pink); }
.post-card__exc { font-size: 0.84rem; color: var(--gray); line-height: 1.7; margin-bottom: 16px;
                  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__foot { display: flex; align-items: center; justify-content: space-between;
                   padding-top: 14px; border-top: 1px solid rgba(0,0,0,0.055); margin-top: auto; }
.post-card__meta { display: flex; align-items: center; gap: 7px; font-size: 0.74rem; color: var(--gray); }
.post-card__av { width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
                 background: var(--pink-mid); flex-shrink: 0; }
.post-card__av img { width: 100%; height: 100%; object-fit: cover; }
.post-card__sep { color: rgba(0,0,0,0.18); font-size: 0.6rem; }
.post-card__read { font-size: 0.76rem; font-weight: 600; color: var(--pink);
                   display: flex; align-items: center; gap: 3px; }
.post-card__read svg { width: 14px !important; height: 14px !important; flex-shrink: 0; }
.post-card__read:hover { gap: 6px; }

/* ────────────────────────────────────────────────
   CATEGORY SHOWCASE (homepage)
──────────────────────────────────────────────── */
.cats-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 14px; }
.cat-card { display: block; border-radius: var(--r2); overflow: hidden; min-height: 160px;
            position: relative; text-decoration: none; transition: var(--t); }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sh3); }
.cat-card__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.cat-card:hover .cat-card__bg { transform: scale(1.07); }
.cat-card__ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,15,26,0.88) 0%, rgba(15,15,26,0.28) 55%, transparent 100%); }
.cat-card--plain { background: var(--white); border: 1px solid rgba(233,30,140,0.1); }
.cat-card--plain:hover { border-color: var(--pink); box-shadow: 0 12px 32px rgba(233,30,140,0.12); }
.cat-card__inner { position: relative; z-index: 2; padding: 18px; height: 100%;
                   display: flex; flex-direction: column; justify-content: flex-end; }
.cat-card--plain .cat-card__inner { align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 24px 18px; }
.cat-card__icon { font-size: 1.4rem; }
.cat-card--plain .cat-card__icon { font-size: 2rem; }
.cat-card__name { font-family: var(--sans); font-size: 0.92rem; font-weight: 700; margin-top: 5px; line-height: 1.3; }
.cat-card--has-image .cat-card__name { color: var(--white); text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.cat-card--plain .cat-card__name { color: var(--dark); }
.cat-card--plain:hover .cat-card__name { color: var(--pink); }
.cat-card__count { font-size: 0.72rem; }
.cat-card--has-image .cat-card__count { color: rgba(255,255,255,0.6); }
.cat-card--plain .cat-card__count { color: var(--gray); }

/* ────────────────────────────────────────────────
   BLOG LAYOUT + SIDEBAR
──────────────────────────────────────────────── */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar-widget { background: var(--white); border: 1px solid rgba(0,0,0,0.07);
                  border-radius: var(--r2); padding: 24px; margin-bottom: 20px; }
.sidebar-widget h3 { font-family: var(--sans); font-size: 0.76rem; font-weight: 700;
                     letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray);
                     margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.sidebar-widget h3 span { color: var(--pink); }
.rpi { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
.rpi:last-child { border-bottom: none; padding-bottom: 0; }
.rpi-img { width: 58px; height: 58px; border-radius: var(--r1); overflow: hidden; flex-shrink: 0;
           background: var(--pink-pale); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.rpi-img img { width: 100%; height: 100%; object-fit: cover; }
.rpi h4 { font-size: 0.8rem; font-family: var(--sans); font-weight: 600; line-height: 1.4; margin-bottom: 3px; }
.rpi h4 a:hover { color: var(--pink); }
.rpi .date { font-size: 0.7rem; color: var(--gray); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a { display: inline-block; padding: 5px 12px; background: var(--pink-pale); color: var(--pink);
               border-radius: var(--r5); font-size: 0.74rem; font-weight: 600; border: 1px solid rgba(233,30,140,0.1); }
.tag-cloud a:hover { background: var(--pink); color: var(--white); }
.sidebar-nl { background: linear-gradient(145deg, var(--charcoal) 0%, #2D1B3D 100%) !important; border: none !important; }
.sidebar-nl h3 { color: rgba(255,255,255,0.45) !important; border-bottom-color: rgba(255,255,255,0.08) !important; }
.sidebar-nl p { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-bottom: 12px; }
.sidebar-nl input { width: 100%; padding: 10px 14px; border-radius: var(--r1); border: 1px solid rgba(255,255,255,0.1);
                    background: rgba(255,255,255,0.07); color: var(--white); font-family: var(--sans); font-size: 0.84rem; margin-bottom: 9px; outline: none; }
.sidebar-nl input:focus { border-color: var(--pink); }
.sidebar-nl .btn { width: 100%; justify-content: center; padding: 10px; font-size: 0.82rem; }

/* Header search bar — hidden by CSS, shown via JS */
.header-search-bar { display: none; }
.header-search-bar.open { display: block; }

/* Search bar */
.search-bar { position: relative; }
.search-bar input { width: 100%; padding: 10px 42px 10px 15px; border: 1.5px solid rgba(0,0,0,0.1);
                    border-radius: var(--r5); font-family: var(--sans); font-size: 0.87rem; outline: none; transition: var(--t); }
.search-bar input:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(233,30,140,0.08); }
.search-bar button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
                     background: none; border: none; color: var(--pink); display: flex; align-items: center; }

/* ────────────────────────────────────────────────
   ARCHIVE HERO — accounts for fixed header
──────────────────────────────────────────────── */
.archive-hero { padding: 128px 0 56px; background: var(--pink-pale); position: relative; overflow: hidden; }
.admin-bar .archive-hero { padding-top: 172px; }
.archive-hero::before { content: ''; position: absolute; inset: 0;
                        background: radial-gradient(ellipse 55% 70% at 80% 0%, rgba(233,30,140,0.1) 0%, transparent 55%); }
.archive-hero__content { position: relative; }
.archive-hero__title { font-size: clamp(2rem,3.5vw,3rem); color: var(--dark); margin: 8px 0 10px; }
.archive-hero__sub { font-size: 0.98rem; color: var(--gray); max-width: 500px; line-height: 1.75; }

/* ────────────────────────────────────────────────
   SINGLE POST HERO — accounts for fixed header
──────────────────────────────────────────────── */
.single-hero { padding: 140px 0 64px; background: var(--charcoal); position: relative; overflow: hidden; }
.admin-bar .single-hero { padding-top: 184px; }
.single-hero::before { content: ''; position: absolute; inset: 0;
                       background: radial-gradient(ellipse 65% 65% at 80% 20%, rgba(233,30,140,0.22) 0%, transparent 58%); }
.single-hero-inner { position: relative; z-index: 1; }

.post-bc { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-bottom: 20px; flex-wrap: wrap; }
.post-bc a { color: rgba(255,255,255,0.5); }
.post-bc a:hover { color: var(--pink-l); }
.post-bc .sep { color: rgba(255,255,255,0.2); }
.post-cat-badge { display: inline-block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.15em;
                  text-transform: uppercase; color: var(--pink-l); background: rgba(233,30,140,0.14);
                  padding: 5px 13px; border-radius: 50px; margin-bottom: 16px; border: 1px solid rgba(233,30,140,0.24); }
.post-title-main { font-size: clamp(1.85rem,3.5vw,2.85rem); color: var(--white); max-width: 820px; line-height: 1.15; margin-bottom: 24px; }
.post-meta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.post-author { display: flex; align-items: center; gap: 10px; }
.post-author img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--pink); object-fit: cover; }
.post-author .name { font-weight: 600; font-size: 0.86rem; color: var(--white); }
.post-author .role { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.post-meta-item { font-size: 0.78rem; color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 5px; }
.post-meta-item svg { width: 13px; height: 13px; opacity: 0.65; }

.post-feat-img { margin: -36px 0 0; position: relative; z-index: 2; }
.post-feat-img img { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--r3); box-shadow: var(--sh3); }

.post-content-wrap { padding: 56px 0 80px; }
.post-content-layout { display: grid; grid-template-columns: 1fr 280px; gap: 56px; align-items: start; }
.post-body { font-size: 1.03rem; line-height: 1.88; color: var(--gray-dk); }
.post-body h2 { font-size: 1.6rem; color: var(--dark); margin: 44px 0 18px; }
.post-body h3 { font-size: 1.22rem; color: var(--dark); margin: 32px 0 14px; }
.post-body p { margin-bottom: 20px; }
.post-body a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.post-body ul, .post-body ol { margin: 0 0 20px 24px; list-style: disc; }
.post-body li { margin-bottom: 7px; }
.post-body blockquote { border-left: 4px solid var(--pink); background: var(--pink-pale);
                        padding: 20px 24px; margin: 28px 0; border-radius: 0 var(--r1) var(--r1) 0;
                        font-style: italic; font-size: 1.06rem; }
.post-body img { border-radius: var(--r2); margin: 28px 0; width: 100%; }
.post-body code { font-family: var(--mono); background: var(--pink-pale); color: var(--pink);
                  padding: 2px 7px; border-radius: 4px; font-size: 0.86em; }
.post-body pre { background: var(--charcoal); color: #e2e8f0; padding: 20px;
                 border-radius: var(--r2); overflow-x: auto; margin: 26px 0; }
.post-body pre code { background: none; color: inherit; padding: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(0,0,0,0.06); }
.post-tags .tag { padding: 5px 13px; background: var(--pink-pale); color: var(--pink); border-radius: var(--r5); font-size: 0.76rem; font-weight: 600; }
.post-tags .tag:hover { background: var(--pink); color: var(--white); }
.author-box { background: var(--pink-pale); border-radius: var(--r3); padding: 28px; display: flex;
              gap: 20px; margin-top: 40px; border: 1px solid rgba(233,30,140,0.1); }
.author-box img { width: 76px; height: 76px; border-radius: 50%; border: 3px solid var(--pink); flex-shrink: 0; object-fit: cover; }
.author-box h4 { font-size: 0.98rem; margin-bottom: 3px; }
.author-box .role { font-size: 0.72rem; color: var(--pink); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 9px; }
.author-box p { font-size: 0.86rem; color: var(--gray); margin: 0; }
.related-posts { padding: 72px 0; background: var(--gray-lt); }

/* ────────────────────────────────────────────────
   ABOUT / CONTACT
──────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 64px; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--r3); width: 100%; }
.about-badge { position: absolute; bottom: -18px; right: -18px; background: var(--pink); color: var(--white);
               padding: 16px 22px; border-radius: var(--r2); box-shadow: var(--shp); text-align: center; }
.about-badge .n { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.about-badge .l { font-size: 0.72rem; opacity: 0.85; margin-top: 3px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.cf .form-group { margin-bottom: 16px; }
.cf label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.cf input, .cf textarea { width: 100%; padding: 12px 16px; border: 1.5px solid rgba(0,0,0,0.1);
                           border-radius: var(--r1); font-family: var(--sans); font-size: 0.92rem; outline: none; transition: var(--t); }
.cf input:focus, .cf textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(233,30,140,0.08); }
.cf textarea { min-height: 136px; resize: vertical; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.cii-icon { width: 44px; height: 44px; background: var(--pink-pale); border-radius: var(--r1);
            display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--pink); }
.cii-icon svg { width: 18px; height: 18px; }
.cii h4 { font-size: 0.84rem; font-family: var(--sans); font-weight: 700; margin-bottom: 3px; }
.cii p { font-size: 0.84rem; color: var(--gray); margin: 0; }

/* Social links */
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: var(--pink-pale);
               display: flex; align-items: center; justify-content: center; color: var(--pink); transition: var(--t); }
.social-link:hover { background: var(--pink); color: var(--white); transform: translateY(-2px); box-shadow: var(--shp); }
.social-link svg { width: 16px; height: 16px; }

/* ────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────── */
.site-footer { background: var(--charcoal); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.footer-brand p { font-size: 0.84rem; color: rgba(255,255,255,0.4); line-height: 1.8; max-width: 260px; margin: 16px 0 20px; }
.footer-brand .custom-logo-link img,
.footer-brand img { height: calc(var(--logo-h) * 0.82) !important; width: auto !important; filter: brightness(0) invert(1); opacity: 0.88; }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
                  color: rgba(255,255,255,0.36); margin-bottom: 16px; font-family: var(--sans); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.86rem; color: rgba(255,255,255,0.52); }
.footer-col ul li a:hover { color: var(--pink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0;
                 display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.26); }
.footer-bottom a { color: var(--pink); }
.footer-nl input { width: 100%; padding: 10px 13px; border-radius: var(--r1);
                   border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.07);
                   color: var(--white); font-family: var(--sans); font-size: 0.82rem; outline: none; margin-bottom: 8px; }
.footer-nl input:focus { border-color: var(--pink); }
.footer-nl .btn { width: 100%; justify-content: center; padding: 10px; font-size: 0.82rem; }

/* ────────────────────────────────────────────────
   PAGINATION
──────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 56px; }
.page-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
             border-radius: var(--r1); font-weight: 600; font-size: 0.86rem;
             border: 1.5px solid rgba(0,0,0,0.1); color: var(--gray-dk); transition: var(--t); }
.page-link:hover, .page-link.current { background: var(--pink); color: var(--white); border-color: var(--pink); box-shadow: var(--shp); }

/* ────────────────────────────────────────────────
   SCROLL REVEAL
──────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }

/* ────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .posts-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-feat { display: none; }
  .post-content-layout { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 768px) {
  .posts-grid { grid-template-columns: 1fr; }
  .nav-menu, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .section { padding: 60px 0; }
  .cats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}


/* Admin bar offsets for fixed header */
.admin-bar .hero-content { padding-top: 172px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .hero-content { padding-top: 186px; } }

/* ══════════════════════════════════════════════════════════
   PREMIUM EDITORIAL HERO
══════════════════════════════════════════════════════════ */
.hero-editorial {
  background: #0A0A18;
  min-height: 100vh;
  padding-top: 80px; /* header height */
  display: flex;
  flex-direction: column;
}
.admin-bar .hero-editorial { padding-top: 112px; }

.hero-ed-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  min-height: calc(100vh - 80px);
  flex: 1;
}

/* ── Main featured story ── */
.hero-ed-main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 52px;
  overflow: hidden;
  text-decoration: none;
  min-height: 600px;
  transition: opacity 0.3s ease;
}
.hero-ed-main:hover { opacity: 0.96; }

.hero-ed-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}
.hero-ed-main:hover .hero-ed-img { transform: scale(1.03); }

/* Layered gradient — ensures text is ALWAYS readable */
.hero-ed-ov {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5,5,15,0.96) 0%, rgba(5,5,15,0.75) 40%, rgba(5,5,15,0.35) 70%, rgba(5,5,15,0.15) 100%),
    linear-gradient(to right, rgba(5,5,15,0.4) 0%, transparent 70%);
}

.hero-ed-live {
  position: absolute;
  top: 32px;
  left: 52px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(233,30,140,0.18);
  border: 1px solid rgba(233,30,140,0.35);
  border-radius: 50px;
  padding: 5px 14px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,114,182,0.95);
  z-index: 2;
}
.hero-ed-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-ed-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-ed-cat {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink-l);
  background: rgba(233,30,140,0.14);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(233,30,140,0.22);
}

.hero-ed-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.hero-ed-exc {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 560px;
  font-family: var(--sans);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-ed-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.52);
  font-family: var(--sans);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.hero-ed-meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.hero-ed-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--pink);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 50px;
  transition: background 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 28px rgba(233,30,140,0.28);
}
.hero-ed-main:hover .hero-ed-cta {
  background: var(--pink-h);
  transform: translateY(-1px);
}

/* ── Right column ── */
.hero-ed-side {
  background: var(--charcoal);
  border-left: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-ed-brand {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero-ed-brand-tag {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.36);
  margin: 0;
}

/* Story cards in right column */
.hero-ed-card {
  display: flex;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  transition: background 0.25s ease;
  align-items: flex-start;
}
.hero-ed-card:hover { background: rgba(255,255,255,0.04); }
.hero-ed-card--featured {
  flex-direction: column;
  gap: 0;
  padding: 20px 24px;
}

.hero-ed-card-img {
  width: 80px;
  height: 70px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.hero-ed-card--featured .hero-ed-card-img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.hero-ed-card-img--ph {
  background: linear-gradient(135deg, rgba(233,30,140,0.15) 0%, rgba(6,182,212,0.1) 100%);
}

.hero-ed-card-body { flex: 1; min-width: 0; }
.hero-ed-card-cat {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-l);
  margin-bottom: 5px;
}
.hero-ed-card-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  line-height: 1.38;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-ed-card--featured .hero-ed-card-title {
  font-size: 1.1rem;
  -webkit-line-clamp: 4;
}
.hero-ed-card-exc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 8px;
  font-family: var(--sans);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-ed-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  font-family: var(--sans);
  flex-wrap: wrap;
}

.hero-ed-viewall {
  display: block;
  margin: auto 24px 24px;
  padding: 11px 20px;
  border: 1px solid rgba(233,30,140,0.3);
  border-radius: 50px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pink-l);
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}
.hero-ed-viewall:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}



/* ══ FOOTER — Fix any text rendering as black ══ */
.site-footer,
.site-footer * {
  /* Ensure nothing inherits black from WP defaults */
}
.site-footer p,
.site-footer span,
.site-footer li,
.site-footer div {
  color: inherit;
}
.footer-col ul li a { color: rgba(255,255,255,0.52) !important; }
.footer-col ul li a:hover { color: var(--pink) !important; }
.footer-col h4 { color: rgba(255,255,255,0.36) !important; }
.footer-brand p { color: rgba(255,255,255,0.42) !important; }
.footer-bottom p { color: rgba(255,255,255,0.28) !important; }
.footer-nl input { color: #ffffff !important; }
.footer-nl input::placeholder { color: rgba(255,255,255,0.3) !important; }

/* ══ RESPONSIVE — Footer, About, Contact ══ */
@media (max-width: 900px) {
  .hero-ed-inner {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .hero-ed-main { min-height: 60vw; padding: 32px 28px; }
  .hero-ed-live { left: 28px; top: 24px; }
  .hero-ed-side { border-left: none; border-top: 1px solid rgba(255,255,255,0.07); }
  .hero-ed-card--featured { flex-direction: row; }
  .hero-ed-card--featured .hero-ed-card-img { width: 100px; height: 80px; flex-shrink: 0; }
  .hero-ed-card--featured { flex-direction: row; gap: 12px; }
}

@media (max-width: 600px) {
  .hero-ed-main { min-height: 75vw; padding: 24px 20px; }
  .hero-ed-title { font-size: 1.55rem; }
  .hero-ed-exc { display: none; }
}

/* ── Footer mobile ── */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .footer-brand { text-align: center; }
  .footer-brand .social-links { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

/* ── About page mobile ── */
@media (max-width: 768px) {
  .about-grid-mobile {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .about-values-mobile {
    grid-template-columns: 1fr !important;
  }
  .about-badge { bottom: 12px !important; right: 12px !important; padding: 14px 18px !important; }
}

/* ── Contact page mobile ── */
@media (max-width: 768px) {
  .contact-grid-mobile {
    grid-template-columns: 1fr !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   HEADER NAV — BODY CLASS DRIVEN (never conflicts with page CSS)
   
   .dark-hero-page  → homepage + single posts
   .light-hero-page → all other pages

   On dark-hero pages:
     - Before scroll: transparent background, WHITE links
     - After scroll (.scrolled): white background, DARK links

   On light-hero pages:
     - Always white background, always DARK links
══════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────
   DARK HERO PAGES — transparent state
   (homepage at top, single post at top)
──────────────────────────────────────── */
.dark-hero-page .site-header:not(.scrolled) {
  background: transparent;
}
.dark-hero-page .site-header:not(.scrolled) .nav-menu a {
  color: rgba(255, 255, 255, 0.88);
}
.dark-hero-page .site-header:not(.scrolled) .nav-menu a:hover,
.dark-hero-page .site-header:not(.scrolled) .nav-menu a.active {
  color: #ffffff;
}
.dark-hero-page .site-header:not(.scrolled) .nav-menu a::after {
  background: rgba(255, 255, 255, 0.85);
}
.dark-hero-page .site-header:not(.scrolled) .menu-toggle span {
  background: #ffffff;
}
.dark-hero-page .site-header:not(.scrolled) .header-search-btn {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.dark-hero-page .site-header:not(.scrolled) .header-search-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.dark-hero-page .site-header:not(.scrolled) .nav-social {
  color: rgba(255, 255, 255, 0.72);
}
.dark-hero-page .site-header:not(.scrolled) .nav-social:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}
.dark-hero-page .site-header:not(.scrolled) .logo-text {
  color: #ffffff;
}

/* ────────────────────────────────────────
   LIGHT HERO PAGES — always solid white
   (archive, blog, about, contact, etc.)
   Uses !important to beat any inherited styles
──────────────────────────────────────── */
.light-hero-page .site-header {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
}
.light-hero-page .site-header .nav-menu a {
  color: var(--gray-dk) !important;
}
.light-hero-page .site-header .nav-menu a:hover,
.light-hero-page .site-header .nav-menu a.active {
  color: var(--pink) !important;
}
.light-hero-page .site-header .nav-menu a::after {
  background: var(--pink) !important;
}
.light-hero-page .site-header .menu-toggle span {
  background: var(--dark) !important;
}
.light-hero-page .site-header .header-search-btn {
  color: var(--pink) !important;
  background: var(--pink-pale) !important;
  border-color: rgba(233, 30, 140, 0.15) !important;
}
.light-hero-page .site-header .header-search-btn:hover {
  background: var(--pink-mid) !important;
}
.light-hero-page .site-header .nav-social {
  color: var(--gray) !important;
}
.light-hero-page .site-header .nav-social:hover {
  color: var(--pink) !important;
  background: var(--pink-pale) !important;
}
.light-hero-page .site-header .logo-text {
  color: var(--dark) !important;
}

/* ────────────────────────────────────────
   SCROLLED STATE — applies to BOTH page types
   (when user has scrolled past 60px on dark-hero pages)
   Also matches light-hero pages naturally since they
   always have the .scrolled class from PHP
──────────────────────────────────────── */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
}
.site-header.scrolled .nav-menu a {
  color: var(--gray-dk);
}
.site-header.scrolled .nav-menu a:hover,
.site-header.scrolled .nav-menu a.active {
  color: var(--pink);
}
.site-header.scrolled .nav-menu a::after {
  background: var(--pink);
}
.site-header.scrolled .menu-toggle span {
  background: var(--dark);
}
.site-header.scrolled .header-search-btn {
  color: var(--pink);
  background: var(--pink-pale);
  border-color: rgba(233, 30, 140, 0.15);
}
.site-header.scrolled .nav-social {
  color: var(--gray);
}
.site-header.scrolled .nav-social:hover {
  color: var(--pink);
  background: var(--pink-pale);
}
.site-header.scrolled .logo-text {
  color: var(--dark);
}
.site-header.scrolled img.custom-logo,
.site-header.scrolled .custom-logo-link img {
  filter: none !important;
}
