/* Dubrovnik Daily — Public site design system, matched to Figma (node 13:6428 etc.) */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Instrument+Sans:wght@400;500;600;700&family=Geist:wght@400;500;600;700&family=Bricolage+Grotesque:wght@500;600&display=swap');

:root{
  --ink:#111111;
  --muted:#6b6b66;
  --byline:#888888;
  --stroke:#dfe4ed;
  --paper:#ffffff;
  --dark:#121212;
  --dark-input:#222222;
  --dark-input-border:#2a2a2a;
  --dark-muted:#bebebe;
}
*{box-sizing:border-box;}
/* overflow-x:clip (not hidden) — hidden here would make html/body a scroll container in some
   browsers, which silently breaks position:sticky on .site-header for every interior page. */
html{overflow-x:clip;scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto;}*{animation-duration:.01ms !important;transition-duration:.01ms !important;}}

/* ---- Site-wide scroll reveal — cards and section headers ease up into place the first
   time they cross into view (data-reveal is added by a small IntersectionObserver in the
   footer script). Reduced-motion users get the fundamentals rule above instead. */
[data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease;}
[data-reveal].is-visible{opacity:1;transform:translateY(0);}
body{margin:0;font-family:'Instrument Sans',sans-serif;color:var(--ink);background:var(--paper);overflow-x:clip;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:1440px;margin:0 auto;}
.btn-submit,.icon-btn,.hero-nav-btn,.search-submit-btn{transition:background .2s ease,transform .2s ease,opacity .2s ease;}
.btn-submit:hover{opacity:.88;}
.hero-nav-btn:hover{background:rgba(255,255,255,.18);transform:scale(1.06);}
.icon-btn:hover{opacity:.7;}
.article-card .article-image,.article-card .image-frame{display:block;overflow:hidden;}
.article-card .headline{transition:color .2s ease;}
.article-card:hover .headline{color:var(--muted);}
.section-link{transition:opacity .2s ease;}
.section-link:hover{opacity:.6;}

/* ---- placeholder image (used only until real photos are supplied — never a faked photo) ---- */
.ph-image{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#eceae3,#dfdbd0);color:#8a8578;
  font-family:'Instrument Sans',sans-serif;font-weight:600;font-size:11px;letter-spacing:1px;text-transform:uppercase;text-align:center;padding:12px;
}

/* ---- Header (interior pages) ---- */
/* Sticky on every page (not just the homepage hero, which uses its own .hero-overlay-header
   fixed-position mechanism) — stays pinned to the top of the viewport while scrolling. */
.site-header{position:sticky;top:0;left:0;right:0;width:100%;z-index:40;background:#fff;border-bottom:1px solid var(--stroke);padding:0 60px 28px;display:flex;align-items:center;justify-content:space-between;}
.brand-logo-lg{padding-top:28px;line-height:1;display:flex;}
.brand-logo-lg img{height:44px;width:auto;}
.nav-controls{display:flex;align-items:center;gap:32px;}
.lang-selector{display:flex;align-items:center;gap:6px;font-weight:600;font-size:14px;letter-spacing:1px;}
.nav-controls a{font-weight:600;font-size:14px;letter-spacing:1px;text-transform:uppercase;}
.nav-controls .icon-btn{background:none;border:none;padding:0;cursor:pointer;display:flex;}
.hamburger-btn{display:flex;align-items:center;}
/* Figma-exported search/menu icons are white-stroke by default (drawn for the dark hero header) — invert to black for the light interior header. */
/* search.svg / menu.svg already draw black — the light interior header needs no filter. */
.nav-controls .close-drawer-btn{display:flex;align-items:center;}

/* Smooth accordion reveal for the header search bar — grid-template-rows is what makes
   height:auto content animate, which plain max-height/opacity can't do cleanly. */
/* Clean full-screen search overlay — icon-only trigger, no bordered bar / button. */
.site-search-overlay{
  position:fixed;inset:0;background:#fff;z-index:95;display:flex;align-items:flex-start;justify-content:center;
  padding:120px 60px 0;opacity:0;visibility:hidden;transform:translateY(-16px);pointer-events:none;
  transition:opacity .28s ease,transform .28s ease,visibility 0s linear .28s;
}
.site-search-overlay.open{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition:opacity .28s ease,transform .28s ease;}
.site-search-close{position:absolute;top:32px;right:40px;background:none;border:1px solid var(--stroke);border-radius:100px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.site-search-close img{width:20px;height:20px;}
.site-search-inner{width:100%;max-width:680px;display:flex;align-items:center;gap:16px;border-bottom:1.5px solid var(--ink);padding-bottom:16px;}
.site-search-inner .search-icon img{width:20px;height:20px;}
.site-search-inner input{flex:1;border:none;outline:none;padding:0;font-family:inherit;font-size:22px;background:transparent;color:var(--ink);min-width:0;}
.site-search-inner input::placeholder{color:var(--muted);}

.category-nav{display:flex;gap:32px;align-items:center;justify-content:center;padding:20px 24px;flex-wrap:wrap;}
.category-nav a{position:relative;font-weight:500;font-size:13px;letter-spacing:1px;padding-bottom:5px;text-transform:uppercase;transition:color .2s ease;}
.category-nav a::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink);transform:scaleX(0);transition:transform .25s ease;}
.category-nav a:hover::after,.category-nav a.active::after{transform:scaleX(1);}
.category-nav a.active{font-weight:600;}

/* full-screen nav overlay (Figma 13:8274 desktop, 13:8322 mobile) — the hamburger icon
   shows at every screen width, so this works at every width too, not just mobile.
   Animated with opacity+transform instead of a hard display flip, so opening/closing
   is a smooth fade-and-drop rather than an instant snap. */
.nav-overlay{
  position:fixed;inset:0;background:#fff;z-index:90;display:flex;flex-direction:column;
  justify-content:space-between;padding:40px 80px 60px;overflow-y:auto;
  opacity:0;visibility:hidden;transform:translateY(-24px);pointer-events:none;
  transition:opacity .32s ease,transform .32s ease,visibility 0s linear .32s;
}
.nav-overlay.open{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition:opacity .32s ease,transform .32s ease;}
.nav-overlay-header{display:flex;align-items:center;justify-content:space-between;width:100%;}
.nav-overlay-header .brand-logo{display:flex;flex-direction:column;gap:2px;color:var(--ink);line-height:1;}
.nav-overlay-header .brand-logo img{height:44px;width:auto;}
/* No outer ring — circle-x.svg already draws its own circle+X, so a second stroke around it
   just looked like a double border. */
.nav-overlay-close{background:none;border:none;border-radius:100px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .2s ease,transform .2s ease;}
.nav-overlay-close:hover{background:#f4f4f2;transform:rotate(90deg);}
.nav-overlay-close img{width:24px;height:24px;}
.nav-overlay-content{display:flex;flex-direction:column;gap:40px;width:640px;max-width:100%;padding:60px 0 40px;}
.nav-overlay-main-links{display:flex;flex-direction:column;gap:24px;}
.nav-overlay-main-links a{
  font-weight:600;font-size:48px;text-transform:uppercase;line-height:1;
  opacity:0;transform:translateY(10px);transition:opacity .35s ease,transform .35s ease,color .2s ease;
}
.nav-overlay.open .nav-overlay-main-links a{opacity:1;transform:translateY(0);}
.nav-overlay-main-links a:hover{color:var(--muted);}
.nav-overlay.open .nav-overlay-main-links a:nth-child(1){transition-delay:.05s;}
.nav-overlay.open .nav-overlay-main-links a:nth-child(2){transition-delay:.1s;}
.nav-overlay.open .nav-overlay-main-links a:nth-child(3){transition-delay:.15s;}
.nav-overlay.open .nav-overlay-main-links a:nth-child(4){transition-delay:.2s;}
.nav-overlay.open .nav-overlay-main-links a:nth-child(5){transition-delay:.25s;}
.nav-overlay.open .nav-overlay-main-links a:nth-child(6){transition-delay:.3s;}
.nav-overlay-divider{display:none;}
.nav-overlay-secondary-links{display:flex;flex-wrap:wrap;gap:32px;font-weight:500;font-size:16px;color:var(--muted);}
.nav-overlay-secondary-links a{transition:color .2s ease;}
.nav-overlay-secondary-links a:hover{color:var(--ink);}
.nav-overlay-footer{display:flex;align-items:center;justify-content:space-between;width:100%;padding-top:20px;}
.nav-overlay-lang{display:flex;gap:16px;align-items:center;font-weight:600;font-size:14px;letter-spacing:1px;}
.nav-overlay-lang .divider-v{width:1px;height:12px;background:var(--stroke);}
.nav-overlay-lang .alt{color:var(--muted);font-weight:500;}
.nav-overlay-socials{display:flex;gap:24px;align-items:center;}
.nav-overlay-socials img{width:20px;height:20px;}

/* ---- Language control — looks like Figma's static "ENG ⌄" label, but opens a small
   menu to actually switch the site's chrome between English and Hrvatski. The chevron
   SVG (exact asset: 10×7, explicit #111 stroke) needs NO filter on a white header, and
   forced white on the dark/transparent hero (before scroll) instead. ---- */
.lang-switcher{position:relative;}
.lang-static{display:flex;align-items:center;gap:6px;font-weight:600;font-size:14px;letter-spacing:1px;background:none;border:none;cursor:pointer;color:inherit;font-family:inherit;padding:0;}
.lang-static .chevron-icon{width:10px;height:7px;transition:transform .2s ease;}
.lang-switcher.open .lang-static .chevron-icon{transform:rotate(180deg);}
/* Anchored to the RIGHT edge of the button (not the left) so the menu always opens
   directly under "ENG ⌄" and grows leftward — anchoring left overflowed off the right
   edge of the viewport whenever the button itself sat close to the right side. */
.lang-switcher-menu{
  position:absolute;top:calc(100% + 12px);right:0;left:auto;background:#fff;border:1px solid var(--stroke);border-radius:10px;
  min-width:130px;box-shadow:0 12px 32px rgba(17,17,17,.1);padding:6px;z-index:60;
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s ease,transform .2s ease,visibility 0s linear .2s;
}
.lang-switcher.open .lang-switcher-menu{opacity:1;visibility:visible;transform:translateY(0);transition:opacity .2s ease,transform .2s ease;}
.lang-switcher-menu button{width:100%;display:block;text-align:left;background:none;border:none;padding:10px 12px;border-radius:6px;font-family:inherit;font-size:14px;font-weight:500;color:var(--ink);cursor:pointer;}
.lang-switcher-menu button:hover{background:#f4f4f2;}
.lang-switcher-menu button.active{font-weight:700;}
.hero-overlay-header .lang-static .chevron-icon{filter:brightness(0) invert(1);transition:filter .3s ease,transform .2s ease;}
.hero-overlay-header.scrolled .lang-static .chevron-icon{filter:none;}
.hero-overlay-header .lang-switcher-menu{color:var(--ink);}

/* ---- Hero (homepage only) ---- */
/* isolation:isolate here (on the single outer container, not the inner slides) gives the
   whole hero one clean stacking context: the dark gradient (z-index:1) and the text block
   (z-index:6) are compared directly against each other inside it, so the text always wins
   and paints on top, on every browser. */
/* z-index:1 here is the actual fix for the header disappearing behind page content on
   scroll: isolation:isolate (needed so the gradient/text stack correctly INSIDE the hero)
   also traps the fixed header inside .hero-banner's own stacking context — from OUTSIDE,
   the whole hero-banner bundle (photo, gradient, text, AND the fixed header riding along
   inside it) is just one z-index:auto layer, tied with any other positioned element
   later in the page (like an article card), and DOM order decides ties — so later page
   content could out-rank and paint over the "fixed" header once you scrolled past it.
   Giving .hero-banner an explicit z-index lifts that whole bundle above ordinary
   z-index:auto content site-wide, so the header stays on top no matter how far you
   scroll. */
.hero-banner{position:relative;height:695px;overflow:hidden;background:#333;isolation:isolate;z-index:1;}
/* Real sliding track — every slide sits side-by-side and the whole strip translates,
   driven by inline transform in the carousel script, instead of a cross-fade. z-index:2
   keeps the whole track above the dots-wrap/header siblings at the .hero-banner level
   regardless of the JS-applied transform (a transform creates its own stacking context). */
.hero-track{position:relative;z-index:2;display:flex;width:100%;height:100%;}
.hero-slide{position:relative;flex:0 0 100%;width:100%;height:100%;}
.hero-slide .ph-image,.hero-slide > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.hero-banner .ph-image{background:linear-gradient(160deg,#2b2b2b,#141414);color:#8f8f8f;}
/* This gradient lives on EACH SLIDE (not on .hero-banner) and that placement matters: the
   carousel script puts a transform on .hero-track, which creates its own stacking context,
   so anything compared from OUTSIDE that context (like a .hero-banner::after gradient)
   ends up sandwiched in the wrong place — either hidden behind the opaque photo, or
   hiding the text, depending on the z-index tug-of-war. Putting the gradient here instead,
   as a sibling of the image and the text INSIDE the same slide, means all three (photo,
   gradient, text) are compared directly against each other by z-index, so the order is
   always correct: photo (0) -> gradient (1) -> text (6). */
.hero-slide::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.65) 0%,rgba(0,0,0,.3) 20%,rgba(0,0,0,.5) 40%,rgba(0,0,0,.9) 60%,rgba(0,0,0,.97) 100%);z-index:1;pointer-events:none;}
/* Fixed (not absolute) so it stays put and turns into a normal white header once the
   hero has scrolled past — otherwise the white logo/nav would vanish over the white page. */
.hero-overlay-header{
  position:fixed;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;
  padding:28px 40px;z-index:50;
  /* Same dark-blur assist as mobile: a soft dark scrim + backdrop blur behind the
     logo/nav so they stay legible over bright photos, before the header goes solid
     white on scroll. */
  background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,0));
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  box-shadow:none;
  transition:background .3s ease,padding .3s ease,box-shadow .3s ease,backdrop-filter .3s ease;
}
.hero-overlay-header.scrolled{background:#fff;padding:18px 40px;box-shadow:0 2px 16px rgba(17,17,17,.08);backdrop-filter:none;-webkit-backdrop-filter:none;}
.hero-overlay-header .brand-logo-lg{color:#fff;padding-top:0;transition:color .3s ease;}
.hero-overlay-header .brand-logo-lg img{filter:brightness(0) invert(1);transition:filter .3s ease;}
.hero-overlay-header.scrolled .brand-logo-lg img{filter:none;}
.hero-overlay-header .nav-controls{color:#fff;transition:color .3s ease;}
.hero-overlay-header.scrolled .nav-controls{color:var(--ink);}
/* search.svg / menu.svg are drawn with an explicit black (#111111) stroke, so the
   transparent/dark hero header (before scroll) needs to force them white; once scrolled
   to the white background they need no filter at all — they're already the right color. */
.hero-overlay-header .nav-controls .icon-btn img{filter:brightness(0) invert(1);transition:filter .3s ease;}
.hero-overlay-header.scrolled .nav-controls .icon-btn img{filter:none;}
.hero-overlay-header .lang-selector{color:#fff;}
/* The hero header's search icon only exists on mobile (Figma 31:62) — desktop's hero
   header has no search trigger, matching 13:6017/13:8274. */
.hero-search-btn{display:none;}
/* Pinned to the bottom of the image (matches the competitor reference the client pointed
   to) instead of centered — same treatment as the mobile hero below. z-index:6 keeps it
   above the ::after gradient (z-index:1) and the dots (z-index:5) on every browser. */
.hero-content{position:absolute;inset:0;left:48px;right:48px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:76px;z-index:6;}
.hero-nav-row{display:flex;align-items:center;gap:60px;width:100%;justify-content:center;}
/* Solid dark button with a white icon — reads clearly as clickable against any photo,
   light or dark, rather than the faint glass button it used to be. */
.hero-nav-btn{background:rgba(17,17,17,.65);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.15);width:48px;height:48px;border-radius:24px;display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;transition:background .2s ease;}
.hero-nav-btn:hover{background:rgba(17,17,17,.85);}
.hero-nav-btn img{width:20px;height:20px;filter:invert(1);}
.hero-center{max-width:1000px;display:flex;flex-direction:column;align-items:center;gap:24px;}
/* Same dark-blur chip as mobile, instead of solid white, so it reads consistently against
   any hero photo and matches the header treatment above. */
.hero-tag{background:rgba(17,17,17,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;padding:8px 12px;border-radius:4px;font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:1px;}
/* Semi-bold, not bold — matches the client's request to soften the headline weight. A
   text-shadow gives it a little extra separation from the photo behind it in addition to
   the gradient, so it never reads as sitting "in" the image rather than above it. */
.hero-headline{font-family:'Instrument Sans',sans-serif;font-weight:500;font-size:33px;line-height:1.25;text-align:center;color:#fff;margin:0;text-shadow:0 2px 16px rgba(0,0,0,.45);}
.hero-byline{font-family:'Geist',sans-serif;font-weight:500;font-size:11px;text-transform:uppercase;color:#fff;letter-spacing:1px;text-shadow:0 1px 8px rgba(0,0,0,.4);}
/* Dots sit pinned to the bottom of the whole hero banner, independent of headline length —
   not stacked directly under the headline block (that's what made them drift mid-image). */
.hero-dots-wrap{position:absolute;left:0;right:0;bottom:30px;display:flex;justify-content:center;z-index:5;}
/* Exact geometry from the Figma slider-dots.svg export: inactive circles are a 9.75px
   outline (r=4.875, 50%-opacity white stroke), the active circle a solid 12px fill (r=6),
   centers spaced exactly 30px apart (gap = 30 - avg diameter). */
.hero-dots{display:flex;align-items:center;gap:19.125px;}
.hero-dots span{width:9.75px;height:9.75px;border-radius:50%;background:transparent;border:2.25px solid rgba(255,255,255,.5);cursor:pointer;}
.hero-dots span.active{background:#fff;border-color:#fff;width:12px;height:12px;}

/* ---- Section shells ---- */
.section{padding:48px 60px 96px;border-top:1px solid var(--stroke);}
.section:first-of-type{border-top:none;}
.section-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:32px;}
.section-title{font-weight:600;font-size:36px;letter-spacing:3px;text-transform:uppercase;margin:0;min-width:0;}
.section-link{font-weight:600;font-size:13px;letter-spacing:1px;flex-shrink:0;white-space:nowrap;text-transform:uppercase;}
.eyebrow-row{display:flex;gap:10px;font-weight:600;font-size:14px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:24px;}

/* ---- Article grid ---- */
.article-grid{display:grid;grid-template-columns:repeat(4,1fr);column-gap:24px;row-gap:40px;}
.article-grid-3{grid-template-columns:repeat(3,1fr);}
.article-card{display:flex;flex-direction:column;min-width:0;}
.article-card .article-image{display:block;aspect-ratio:3/4;overflow:hidden;border-radius:0;}
.article-card .article-image img,.article-card .article-image .ph-image,.article-card .article-image .card-video{width:100%;height:100%;object-fit:cover;}
.article-card .cat-label{font-weight:600;font-size:11px;letter-spacing:1px;text-transform:uppercase;margin:16px 0 10px;}
.article-card .headline{font-weight:500;font-size:18px;line-height:1.3;margin:0 0 10px;}
.article-card .dek{color:var(--muted);font-size:13px;line-height:1.4;margin:0 0 10px;}
.article-card .byline{font-weight:600;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--byline);margin:0;}
.article-card > a{display:block;}
.article-card p{margin:0 0 10px;}

/* ---- Featured Advertisers — Figma node 40:557 (desktop big cards) / 40:507 (mobile big
   cards) / 40:523 (mobile small cards): row 1 = two large equal-width cards side by side
   (full-width stacked on mobile), row 2 = a 4-up grid of smaller cards (a vertical list of
   horizontal rows on mobile). The big cards are literally the site's .article-card component
   with a taller image — class="article-card featured-ad-big-v2" — so the badge/headline/
   byline match the type scale used everywhere else on the site. */
.featured-ad-big-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:40px;}
.featured-ad-big-v2 .article-image{aspect-ratio:unset;height:380px;}
/* Cap ad copy at 2 lines so cards never look crowded, no matter how much text an advertiser
   enters in Admin — the rest is only ever a click away on their own advertiser page. */
.featured-ad-big-v2 .headline{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
/* The 4 small cards reuse the site's real article-card component (same as the
   Latest / Editor's Picks four-across grid) rather than a bespoke card style. */
.featured-ad-article-grid .headline{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}

/* ---- Most read / trending row ---- */
.trending-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.trending-card{display:flex;gap:16px;}
.trending-card .image-frame{width:120px;height:140px;flex-shrink:0;border:1px solid var(--stroke);border-radius:4px;overflow:hidden;}
.trending-card .image-frame img,.trending-card .image-frame .ph-image{width:100%;height:100%;object-fit:cover;}
.trending-card .cat-label{font-weight:600;font-size:11px;letter-spacing:1px;text-transform:uppercase;margin-bottom:6px;}
.trending-card .headline{font-weight:500;font-size:14px;line-height:18px;margin:0 0 6px;}
.trending-card .byline{font-weight:600;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);}

/* ---- Pagination ---- */
.pagination-row{display:flex;gap:18px;align-items:center;justify-content:center;padding:24px 0 64px;}
.pagination-row a,.pagination-row span{font-weight:500;font-size:14px;color:#888;}
.pagination-row a.active,.pagination-row span.active{font-weight:600;color:var(--ink);}
.pagination-row img{width:24px;height:24px;}

/* ---- Page title (category header) ---- */
.page-title-section{text-align:center;padding:24px 0 48px;}
.page-title-section h1{font-weight:600;font-size:36px;letter-spacing:3px;text-transform:uppercase;margin:0 0 12px;}
.page-title-section p{color:var(--muted);font-size:15px;margin:0;}

/* ---- Subscribe band ---- */
.subscribe-band{background:var(--dark);padding:80px;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center;}
.subscribe-band h2{font-family:'Instrument Serif',serif;font-weight:400;font-size:48px;line-height:1.1;color:#fff;margin:0;max-width:680px;}
.subscribe-band p{font-family:'Geist',sans-serif;color:var(--dark-muted);font-size:15px;line-height:1.4;max-width:680px;margin:16px 0 0;}
.subscribe-form{display:flex;gap:12px;width:500px;max-width:100%;}
.subscribe-form input{flex:1;background:var(--dark-input);border:1px solid var(--dark-input-border);border-radius:4px;padding:12px 16px;color:#fff;font-size:14px;font-family:inherit;}
.subscribe-form input::placeholder{color:#888;}
.subscribe-form button{background:#fff;color:#121212;border:none;border-radius:4px;padding:12px 24px;font-weight:600;font-size:14px;cursor:pointer;}
.subscribe-note{color:var(--dark-muted);font-size:12px;}

/* Light-grey framed variant — dropped inside a page (post/advertiser detail, before the
   related grid) instead of the full-bleed black band used elsewhere. */
.subscribe-band-light{background:#f4f4f2;border-top:1px solid var(--stroke);border-bottom:1px solid var(--stroke);padding:56px 40px;}
/* Breaks the subscribe band out of the post/advertiser page's side padding so it spans the
   full browser width edge-to-edge, matching the homepage's full-bleed dark band. */
.band-full-bleed{margin-left:-60px;margin-right:-60px;}
@media (max-width: 960px){.band-full-bleed{margin-left:-17px;margin-right:-17px;}}
.subscribe-band-light h2{color:var(--ink);font-size:32px;}
.subscribe-band-light p{color:var(--muted);}
.subscribe-band-light .subscribe-form input{background:#fff;border:1px solid var(--stroke);color:var(--ink);}
.subscribe-band-light .subscribe-form input::placeholder{color:var(--muted);}
.subscribe-band-light .subscribe-form button{background:var(--ink);color:#fff;}

/* ---- Footer — Figma node 2265:2696 (desktop) / 2265:2672 (mobile): 4 columns
   (Brand / Navigation / Contact / Social), each with its own #888 uppercase label,
   a divider line, then a centered copyright + tagline row. */
.site-footer{background:var(--dark);padding:64px 60px 48px;color:#fff;}
/* Grid, not flex — fixed tracks keep all 4 columns on one row at any desktop width instead of
   Social occasionally wrapping onto its own line under a flex space-between + wrap combo. */
.footer-top{display:grid;grid-template-columns:320px 220px 1fr 160px;gap:32px;align-items:start;}
.footer-brand{width:320px;max-width:100%;}
.footer-brand img{height:64px;width:auto;filter:brightness(0) invert(1);}
.footer-col{display:flex;flex-direction:column;gap:12px;}
.footer-col .label{color:#888;font-weight:500;font-size:14px;text-transform:uppercase;margin:0;}
.footer-nav-col{width:220px;max-width:100%;}
.footer-nav-links{display:flex;flex-direction:column;gap:16px;font-weight:500;font-size:14px;text-transform:uppercase;}
.footer-contact-col{width:360px;max-width:100%;}
.footer-contact-stack{display:flex;flex-direction:column;gap:20px;}
.footer-contact-stack > div{display:flex;flex-direction:column;gap:12px;}
.footer-contact-stack .value{font-size:16px;line-height:1.4;}
.footer-social-col{width:auto;max-width:100%;}
.footer-social{display:flex;flex-direction:column;gap:12px;font-size:16px;}
.footer-line{border:none;border-top:1px solid #333;margin:48px 0;}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;row-gap:8px;column-gap:10px;font-size:12px;text-align:center;color:#ccc;}
.footer-bottom-dot{color:#555;}
.footer-bottom a{color:#ccc;text-decoration:underline;}
.footer-bottom a:hover{color:#fff;}

/* ---- Single post ---- */
/* .post-detail is the single 150px left/right gutter for the whole detail page — every
   section below fills that width instead of each picking its own narrower column, so the
   page reads as one consistent width instead of the header/hero/body drifting out of line. */
.post-detail{padding:0 60px;overflow-wrap:break-word;}
.post-header{max-width:820px;margin:0 auto;padding:48px 0 24px;text-align:center;}
.post-header .cat-label{font-weight:600;font-size:12px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:16px;}
.post-header h1{font-family:'Instrument Sans',sans-serif;font-weight:600;font-size:42px;line-height:1.2;margin:0 0 20px;overflow-wrap:break-word;}
.post-header .byline-row{color:var(--muted);font-size:13px;}
/* Article column: hero image, body copy, video, tags and the author/share bar all share this
   one centered width on desktop — a classic single-column reading layout, image and text lining
   up edge-to-edge with each other (not with the wider page gutter around them). */
.post-hero-image{max-width:820px;margin:0 auto;border-radius:4px;overflow:hidden;text-align:center;}
.post-hero-image img,.post-hero-image .ph-image{max-width:100%;width:auto;height:auto;display:inline-block;}
/* Magazine-style full-bleed hero (post.php) — image runs edge-to-edge, category tag +
   headline sit on top of it near the bottom behind a dark gradient, same idea as a
   print-magazine cover treatment. band-full-bleed (already used for the subscribe band)
   supplies the negative margins that cancel post-detail's side padding. */
.post-hero-full{margin-top:0;margin-bottom:0;}
.post-hero-media{position:relative;height:600px;overflow:hidden;background:#222;}
.post-hero-media img,.post-hero-media .ph-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.post-hero-media::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.45) 0%,rgba(0,0,0,0) 18%,rgba(0,0,0,0) 45%,rgba(0,0,0,.8) 100%);pointer-events:none;}
.post-hero-text{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:32px 60px 36px;max-width:820px;margin:0 auto;text-align:center;}
.post-hero-text .cat-label-on-image{display:inline-block;background:#fff;color:var(--ink);padding:6px 10px;border-radius:4px;font-weight:600;font-size:11px;letter-spacing:1px;text-transform:uppercase;margin-bottom:14px;}
.post-hero-text h1{font-family:'Instrument Sans',sans-serif;font-weight:600;font-size:42px;line-height:1.2;color:#fff;margin:0;overflow-wrap:break-word;}
.post-header-below-hero{padding-top:32px;padding-bottom:24px;}
/* Transparent header floating over the post-detail hero (post.php via site_header_overlay())
   — same idea as the homepage's own hero header, kept as a separate class so the homepage's
   already-approved (deliberately solid-on-mobile) header is untouched by this. This one stays
   transparent on mobile too, matching the reference the client sent. */
.post-hero-overlay-header{
  position:fixed;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;
  padding:28px 60px;z-index:50;background:transparent;box-shadow:none;
  transition:background .3s ease,padding .3s ease,box-shadow .3s ease;
}
.post-hero-overlay-header.scrolled{background:#fff;padding:18px 40px;box-shadow:0 2px 16px rgba(17,17,17,.08);}
.post-hero-overlay-header .brand-logo-lg{color:#fff;padding-top:0;transition:color .3s ease;}
.post-hero-overlay-header .brand-logo-lg img{filter:brightness(0) invert(1);transition:filter .3s ease;}
.post-hero-overlay-header.scrolled .brand-logo-lg img{filter:none;}
.post-hero-overlay-header .nav-controls{color:#fff;transition:color .3s ease;}
.post-hero-overlay-header.scrolled .nav-controls{color:var(--ink);}
.post-hero-overlay-header .nav-controls .icon-btn img{filter:brightness(0) invert(1);transition:filter .3s ease;}
.post-hero-overlay-header.scrolled .nav-controls .icon-btn img{filter:none;}
.post-hero-overlay-header .lang-selector{color:#fff;}
.post-hero-overlay-header .lang-static .chevron-icon{filter:brightness(0) invert(1);transition:filter .3s ease,transform .2s ease;}
.post-hero-overlay-header.scrolled .lang-static .chevron-icon{filter:none;}
.post-hero-overlay-header .lang-switcher-menu{color:var(--ink);}
.post-body{max-width:820px;margin:0 auto;padding:48px 0;font-size:18px;line-height:1.7;overflow-wrap:break-word;font-family:var(--content-font, inherit);}
/* Headings inside the body stay on the site's own font regardless of the Admin → Settings →
   Typography choice above — only the reading copy switches. */
.post-body h2,.post-body h3,.post-body h4{font-family:var(--heading-font,'Instrument Sans',sans-serif);}
.post-body p{margin:0 0 24px;}
.post-body img{max-width:100%;height:auto;}
.post-body h2{font-size:var(--heading-size,18px);font-weight:700;line-height:1.35;margin:32px 0 12px;}
.post-body h3{font-size:var(--heading-size,18px);font-weight:700;line-height:1.35;margin:28px 0 12px;}
.post-body h4{font-size:var(--heading-size,18px);font-weight:700;line-height:1.35;margin:24px 0 10px;}
.post-body ul,.post-body ol{margin:0 0 24px;padding-left:28px;}
.post-body li{margin:0 0 8px;}
.post-body blockquote{margin:0 0 24px;padding:4px 0 4px 20px;border-left:3px solid var(--ink);}
.post-body blockquote p{margin:0 0 8px;font-size:20px;font-style:italic;}
.post-body blockquote cite{display:block;font-size:14px;font-style:normal;color:var(--muted);}
.post-body pre{margin:0 0 24px;padding:16px;background:#1a1a1a;color:#f2f2f2;border-radius:8px;overflow-x:auto;font-size:14px;line-height:1.6;}
.post-body pre code{background:none;padding:0;color:inherit;}
.post-body code.inline-code{background:var(--stroke);padding:2px 6px;border-radius:4px;font-size:0.9em;}
.post-body mark.cdx-marker{background:#fff3b0;padding:0 2px;}
.post-body figure.post-image{margin:0 0 24px;}
.post-body figure.post-image img{width:100%;border-radius:8px;}
.post-body figure.post-image figcaption,.post-body figure.post-embed figcaption{margin-top:8px;font-size:13px;color:var(--muted);text-align:center;}
.post-body figure.post-embed{margin:0 0 24px;aspect-ratio:16/9;}
.post-body figure.post-embed iframe{width:100%;height:100%;border:0;border-radius:8px;}
.post-body hr.post-delimiter{border:none;text-align:center;margin:32px 0;height:1px;background:var(--stroke);}
/* Font Size button in the admin editor wraps a selection in <span class="fs-desktop"
   style="--fs:Npx">. It only takes effect on desktop — the mobile media query below
   forces it back off so phone readers keep the normal responsive body size regardless
   of what size was chosen for desktop. */
.post-body .fs-desktop{font-size:var(--fs, inherit);}
.post-video{max-width:820px;margin:0 auto 48px;aspect-ratio:16/9;}
.post-video iframe{width:100%;height:100%;border:0;border-radius:4px;}
.post-video video{border-radius:4px;background:#000;}
.card-video{display:block;}
.post-sponsor-tag{display:inline-block;background:#fff0e5;color:#ff6600;font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:4px 10px;border-radius:4px;margin-bottom:12px;}

.post-meta-row{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted);justify-content:center;flex-wrap:wrap;margin-top:4px;}
.post-meta-row strong{color:var(--ink);font-weight:600;}
.tags-row{display:flex;flex-wrap:wrap;gap:8px;max-width:820px;margin:0 auto;padding:0 0 24px;}
.tag-chip{border:1px solid var(--stroke);border-radius:100px;padding:6px 12px;font-size:12px;color:var(--muted);}
.author-share-bar{max-width:820px;margin:0 auto;padding:24px 0;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--stroke);flex-wrap:wrap;gap:16px;}
.author-bio{display:flex;gap:16px;align-items:center;}
.author-bio .avatar{width:48px;height:48px;border-radius:50%;background:var(--stroke);flex-shrink:0;object-fit:cover;}
.author-bio .name{font-weight:600;font-size:14px;}
.author-bio .role{color:var(--muted);font-size:12px;}
.share-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
/* One-click share icons — Facebook, Copy Link, Messenger, X, Pinterest, WhatsApp, Reddit,
   Telegram, then a "+" that opens the device's native share sheet for anything else.
   Each icon's brand color is baked into its own SVG, so the button itself is unstyled
   beyond size/shape. */
.share-icon-btn{position:relative;width:36px;height:36px;border:none;background:none;padding:0;cursor:pointer;display:block;flex-shrink:0;transition:transform .15s ease;}
.share-icon-btn:hover{transform:translateY(-2px);}
.share-icon-btn img{width:100%;height:100%;border-radius:8px;display:block;}
.share-icon-btn.copied::after{
  content:'Copied!';position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);
  background:var(--ink);color:#fff;font-size:11px;font-weight:600;padding:4px 8px;border-radius:4px;
  white-space:nowrap;pointer-events:none;
}
.related-section{padding:64px 0 60px;}
.related-section h2{font-weight:700;font-size:22px;letter-spacing:1px;text-transform:uppercase;margin:0 0 24px;}

/* ---- Contact / Advertise / About ---- */
.simple-page{max-width:720px;margin:0 auto;padding:48px 24px 96px;}
.simple-page h1{font-family:'Instrument Sans',sans-serif;font-weight:600;font-size:36px;margin:0 0 16px;text-align:center;}
.simple-page .lede{color:var(--muted);text-align:center;margin-bottom:40px;}

.page-hero{position:relative;height:360px;overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;}
.page-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.55));}
.page-hero picture,.page-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.page-hero-content{position:relative;z-index:1;max-width:640px;padding:0 24px;}
.page-hero-content h1{font-family:'Instrument Sans',sans-serif;font-weight:600;font-size:40px;margin:0 0 12px;}
.page-hero-content p{color:#f0f0f0;font-size:16px;margin:0;}

.ad-options-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:32px;}
.ad-option-card{border:1px solid var(--stroke);border-radius:8px;padding:16px;}
.ad-option-card img{width:32px;height:32px;margin-bottom:12px;}
.ad-option-card p.title{font-weight:600;margin:0 0 4px;}
.ad-option-card p.desc{color:var(--muted);font-size:13px;margin:0;}
.form-field{margin-bottom:20px;}
.form-field label{display:block;font-weight:600;font-size:13px;margin-bottom:8px;}
.form-field input,.form-field textarea,.form-field select{width:100%;border:1px solid var(--stroke);border-radius:6px;padding:12px 14px;font-family:inherit;font-size:14px;}
.form-field textarea{min-height:120px;resize:vertical;}
.btn-submit{background:var(--ink);color:#fff;border:none;border-radius:6px;padding:14px 28px;font-weight:600;font-size:14px;cursor:pointer;text-transform:uppercase;letter-spacing:.5px;}
.btn-load-more{background:#fff;color:var(--ink);border:1px solid var(--stroke);border-radius:6px;padding:12px 32px;font-weight:600;font-size:14px;cursor:pointer;transition:background .2s ease;text-transform:uppercase;letter-spacing:.5px;}
.btn-load-more:hover{background:var(--grey-50, #f9fafb);}
.btn-load-more-dark{background:var(--ink);color:#fff;border-color:var(--ink);}
.btn-load-more-dark:hover{background:#000;}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:32px 0;text-align:center;}
.stat-grid .num{font-size:32px;font-weight:700;}
.stat-grid .label{color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:1px;}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center;margin:32px 0;}
.team-grid .avatar{width:64px;height:64px;border-radius:50%;margin:0 auto 12px;}
.alert-box{padding:14px 18px;border-radius:8px;margin-bottom:20px;font-size:14px;}
.alert-box.success{background:#e6f9ef;color:#17b26a;}
.alert-box.error{background:#fde8e8;color:#f04438;}

/* ---- About / Advertise pages (Figma 13:8370 desktop, 13:8523 mobile, 13:8653 desktop, 13:8831 mobile) ---- */
.wide-hero{padding:80px 60px;display:flex;flex-direction:column;gap:40px;}
.wide-hero.centered{align-items:center;text-align:center;}
.wide-hero .eyebrow{font-weight:700;font-size:14px;letter-spacing:2px;text-transform:uppercase;color:var(--muted);margin:0 0 24px;}
.wide-hero h1{font-family:'Instrument Sans',sans-serif;font-weight:600;font-size:56px;letter-spacing:-1.5px;line-height:1.15;margin:0;max-width:800px;}
.wide-hero p.sub{color:var(--muted);font-size:20px;line-height:1.4;margin:12px 0 0;max-width:800px;}
.wide-hero-image{width:100%;border-radius:8px;overflow:hidden;aspect-ratio:16/7;}
.wide-hero-image img,.wide-hero-image .ph-image{width:100%;height:100%;object-fit:cover;}

.split-section{display:flex;gap:64px;align-items:flex-start;padding:80px 60px;border-top:1px solid var(--stroke);}
.split-section-text{flex:1;min-width:0;}
.split-section-text h2{font-weight:600;font-size:32px;letter-spacing:-0.5px;margin:0 0 28px;}
.split-section-text p{font-size:16px;line-height:26px;margin:0 0 20px;}
.split-section-image{flex:1;min-width:0;height:420px;border-radius:4px;overflow:hidden;}
.split-section-image img,.split-section-image .ph-image{width:100%;height:100%;object-fit:cover;}

.tinted-section{background:#f9f9fb;border-top:1px solid var(--stroke);border-bottom:1px solid var(--stroke);padding:80px 60px;}
.tinted-section h2{font-weight:600;font-size:32px;letter-spacing:-0.5px;margin:0 0 48px;}

.coverage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.coverage-card{background:#fff;border:1px solid var(--stroke);border-radius:8px;padding:24px;}
/* Icon badges are self-contained assets (32px, rounded #f4f4f9 tile baked in) — the wrapper
   just sizes them, it carries no styling of its own. */
.coverage-card .icon-badge{width:40px;height:40px;flex-shrink:0;margin-bottom:16px;}
.coverage-card .icon-badge img{width:100%;height:100%;display:block;}
.coverage-card h3{font-weight:600;font-size:18px;margin:0 0 8px;}
.coverage-card p{color:var(--muted);font-size:14px;line-height:22px;margin:0;}

.wide-section{padding:80px 60px;}
.wide-section h2{font-weight:600;font-size:32px;letter-spacing:-0.5px;margin:0 0 8px;}
.wide-section .section-rule{width:40px;height:2px;background:var(--ink);border:none;margin:0 0 48px;}

.about-team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.about-team-card{background:#fff;border:1px solid var(--stroke);border-radius:8px;padding:24px;display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center;}
.about-team-card .avatar{width:120px;height:120px;border-radius:50%;background:var(--stroke);flex-shrink:0;}
.about-team-card h3{font-weight:600;font-size:18px;margin:0;}
.about-team-card .role{color:var(--muted);font-size:13px;letter-spacing:1px;text-transform:uppercase;font-weight:500;margin:6px 0 0;}
.about-team-card p.bio{color:var(--muted);font-size:13px;line-height:20px;margin:0;}

.stats-bar{background:#f9f9fb;display:flex;justify-content:space-between;padding:48px 120px;}
.stats-bar .stat{display:flex;flex-direction:column;align-items:center;gap:6px;}
.stats-bar .stat .num{font-weight:700;font-size:40px;}
.stats-bar .stat .label{color:var(--muted);font-weight:600;font-size:13px;letter-spacing:1.5px;text-transform:uppercase;}
.stats-bar .label-short{display:none;}

.contact-split{display:flex;gap:64px;padding:80px 60px;}
.contact-split-info{flex:1;min-width:0;}
.contact-split-info h2{font-weight:600;font-size:32px;letter-spacing:-0.5px;margin:0 0 28px;}
.contact-split-info > p{color:var(--muted);font-size:15px;line-height:24px;margin:0 0 24px;}
.contact-row{margin-bottom:16px;}
.contact-row .label{color:var(--muted);font-weight:600;font-size:12px;letter-spacing:1px;text-transform:uppercase;margin-bottom:4px;}
.contact-row .value{font-weight:500;font-size:15px;}
.contact-split-form{flex:1;min-width:0;background:#f9f9fb;border-radius:8px;padding:40px;display:flex;flex-direction:column;gap:20px;}

.stats-row-cards{display:flex;gap:40px;}
.stat-card-box{flex:1;background:#f9fafb;border:1px solid var(--stroke);border-radius:8px;padding:32px;}
.stat-card-box .num{font-size:48px;margin:0 0 24px;}
.stat-card-box h3{font-weight:600;font-size:18px;margin:0 0 16px;}
.stat-card-box p{color:var(--muted);font-size:14px;line-height:20px;margin:0;}

.format-cards-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:24px;}
.format-card{border:1px solid var(--stroke);border-radius:8px;padding:32px;display:flex;flex-direction:column;gap:20px;}
.format-card .icon-badge{width:48px;height:48px;border-radius:4px;background:#f9fafb;display:flex;align-items:center;justify-content:center;}
.format-card .icon-badge img{width:24px;height:24px;}
.format-card h3{font-weight:600;font-size:20px;margin:0 0 8px;}
.format-card p{color:var(--muted);font-size:14px;line-height:22px;margin:0;}

.testimonial-block{background:#f9f9fb;padding:80px 60px;text-align:center;}
.testimonial-block blockquote{font-family:'Instrument Serif',serif;font-style:italic;font-size:32px;line-height:44px;margin:0 0 24px;max-width:900px;margin-left:auto;margin-right:auto;}
.testimonial-block .author{font-weight:700;font-size:16px;}
.testimonial-block .role{color:var(--muted);font-size:14px;}

.centered-contact{padding:100px 60px;display:flex;flex-direction:column;align-items:center;gap:48px;}
.centered-contact-header{text-align:center;max-width:600px;}
.centered-contact-header h2{font-weight:600;font-size:32px;margin:0 0 16px;}
.centered-contact-header p{color:var(--muted);font-size:16px;margin:0;}
.centered-contact-form{width:600px;max-width:100%;display:flex;flex-direction:column;gap:24px;}
.form-row-double{display:flex;gap:20px;}
.form-row-double .form-field{flex:1;margin-bottom:0;}
.direct-reach{text-align:center;padding-top:24px;display:flex;flex-direction:column;align-items:center;gap:12px;}
.direct-reach .note{color:var(--muted);font-size:13px;}
.direct-reach .details{display:flex;gap:24px;align-items:center;font-weight:600;font-size:15px;}
.direct-reach .details .divider{width:1px;height:14px;background:var(--stroke);}

/* =========================================================
   Mobile — collapses nav into a drawer, stacks all grids
   ========================================================= */
@media (max-width: 960px){
  .site-header{padding:16px 17px;}
  /* Now matches desktop: transparent (white logo/icons) over the hero image until the
     visitor scrolls past it, same as the post-detail page's hero header. */
  .hero-overlay-header{padding:16px 17px;}
  .hero-overlay-header.scrolled{padding:16px 17px;}
  .brand-logo-lg{padding-top:0;}
  /* Exact native size of the supplied mobile logo asset (129×49) — not scaled down. */
  .brand-logo-lg img{height:49px;width:129px;}
  /* Figma's mobile header (31:62) keeps the "ENG ⌄" label and adds the search icon —
     only the plain text links (Subscribe / Advertise) collapse into the hamburger. */
  .nav-controls > a{display:none;}
  .nav-controls{gap:20px;}
  .lang-static{gap:4px;font-size:12px;letter-spacing:0;}
  .hero-search-btn{display:flex;}

  /* Category tabs become a horizontally-scrollable strip on mobile instead of disappearing —
     swipeable, no dropdown needed. */
  .category-nav{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:24px;padding:16px 17px;scrollbar-width:none;}
  .category-nav::-webkit-scrollbar{display:none;}
  .category-nav a{flex-shrink:0;white-space:nowrap;}
  .category-nav-mobile-select{display:none !important;}

  /* 420px (original) -> 520px (+100px) -> 620px (+100px more): taller so the hero
     doesn't feel clamped on mobile, per client feedback across two rounds. */
  .hero-banner{height:620px;}
  /* Pinned to the bottom of the image instead of centered — reads more like the
     competitor reference the client pointed to, and keeps the headline clear of
     the header/status-bar area at the top of a tall phone screen. */
  .hero-content{left:17px;right:17px;gap:20px;justify-content:flex-end;padding-bottom:36px;}
  .hero-nav-row{gap:12px;}
  /* Mobile hero is dots + swipe only, per Figma — no arrow buttons. */
  .hero-nav-btn{display:none;}
  .hero-headline{font-size:33px;}
  /* Auto-advances on its own on mobile (see the script below) with no dot indicator
     to watch — a plain, gentle slideshow like the competitor site referenced. */
  .hero-dots-wrap{display:none;}
  /* Some hero photos are light enough that white text/icons lose contrast. Matches
     the competitor reference: a proper dark gradient baked into the bottom of the
     photo itself (not just a box behind the text) so the chip, headline and byline
     are always legible, plus a light blurred assist right behind the header and the
     chip for extra insurance on the lightest photos. */
  .hero-slide::after{background:linear-gradient(180deg,rgba(0,0,0,.65) 0%,rgba(0,0,0,.3) 20%,rgba(0,0,0,.5) 40%,rgba(0,0,0,.9) 60%,rgba(0,0,0,.97) 100%);}
  .hero-overlay-header{background:linear-gradient(180deg,rgba(0,0,0,.4),rgba(0,0,0,0));backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);}
  .hero-overlay-header.scrolled{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;}
  .hero-tag{background:rgba(17,17,17,.5);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;}

  .section{padding:32px 17px 56px;}
  .section-title{font-size:19px;letter-spacing:1.5px;}
  .article-grid{grid-template-columns:repeat(2,1fr);column-gap:16px;row-gap:32px;}
  .trending-grid{grid-template-columns:1fr;}
  /* Mobile article cards use a fixed image height (Figma 31:104) instead of aspect-ratio —
     Editor's Picks uses this same rule now, styled identically to the Latest cards. */
  .article-card .article-image{height:226px;aspect-ratio:unset;}

  /* Featured Advertisers on mobile (Figma 40:507): the two big cards stack full-width. */
  .featured-ad-big-row{grid-template-columns:1fr;gap:24px;margin-bottom:24px;}
  .featured-ad-big-v2 .article-image{height:226px;}
  /* Figma 40:523: the same article-card content (image/label/headline/byline), laid out
     as a vertical list of horizontal rows with a fixed 90x90 square thumbnail, instead of
     the 2-column grid the Latest section's cards use on mobile. */
  .featured-ad-article-grid{grid-template-columns:1fr;gap:20px;}
  .featured-ad-article-grid .article-card{
    display:grid;grid-template-columns:90px 1fr;grid-template-rows:auto auto auto;
    column-gap:14px;align-items:start;
  }
  .featured-ad-article-grid .article-image{grid-column:1;grid-row:1/4;width:90px;height:90px;aspect-ratio:unset;}
  .featured-ad-article-grid .cat-label{grid-column:2;grid-row:1;margin:0 0 4px;}
  .featured-ad-article-grid .headline{grid-column:2;grid-row:2;font-size:15px;margin:0 0 4px;-webkit-line-clamp:2;}
  .featured-ad-article-grid .byline{grid-column:2;grid-row:3;margin:0;}

  .subscribe-band{padding:48px 17px;}
  .site-footer{padding:40px 17px 32px;}
  .subscribe-band h2{font-size:28px;}
  .subscribe-band p{margin:12px 0 0;}
  .subscribe-form{flex-direction:column;width:100%;}

  .footer-top{display:flex;flex-direction:column;gap:32px;}
  .footer-brand,.footer-nav-col,.footer-contact-col,.footer-social-col{width:100%;}

  .post-detail{padding:0 17px;}
  .post-header{padding:32px 0 28px;}
  .post-hero-image{margin-top:8px;}
  .post-header h1{font-size:28px;}
  .post-hero-media{height:70vh;min-height:520px;}
  .post-hero-text{padding:22px 17px 26px;}
  .post-hero-text h1{font-size:26px;}
  .post-header-below-hero{padding-top:24px;padding-bottom:20px;}
  .post-hero-overlay-header{padding:16px 17px;}
  .post-hero-overlay-header.scrolled{padding:16px 17px;}
  .post-body{font-size:16px;padding:32px 0;}
  .post-body .fs-desktop{font-size:inherit !important;}
  .tags-row,.author-share-bar{padding-left:0;padding-right:0;}
  .related-section{padding:48px 0 60px;}
  .stat-grid,.team-grid{grid-template-columns:repeat(2,1fr);}

  .page-hero{height:240px;}
  .page-hero-content h1{font-size:28px;}
  .ad-options-grid{grid-template-columns:repeat(2,1fr);gap:12px;}

  .nav-overlay{padding:17px;}
  .nav-overlay-header .brand-logo img{height:32px;}
  .nav-overlay-close{width:40px;height:40px;}
  .nav-overlay-close img{width:20px;height:20px;}
  .nav-overlay-content{gap:28px;padding:40px 0 32px;width:100%;}
  .nav-overlay-main-links{gap:18px;}
  .nav-overlay-main-links a{font-size:32px;}
  .nav-overlay-secondary-links{flex-direction:column;gap:14px;font-size:14px;}
  .nav-overlay-socials img{width:18px;height:18px;}

  .wide-hero{padding:40px 17px;gap:32px;}
  .wide-hero h1{font-size:32px;letter-spacing:-1px;line-height:1.2;}
  .wide-hero p.sub{font-size:16px;}
  .wide-hero-image{aspect-ratio:auto;height:240px;}
  .split-section{flex-direction:column;gap:24px;padding:32px 17px;}
  .split-section-image{height:220px;width:100%;}
  .split-section-text h2{font-size:24px;}
  .tinted-section{padding:32px 17px;}
  .tinted-section h2{font-size:24px;margin-bottom:24px;}
  /* Figma nodes 2259:2784–2814 — icon in its own tile, header+body stacked in an autolayout
     column next to it, one row per card down the page. */
  .coverage-grid{grid-template-columns:1fr;gap:16px;}
  .coverage-card{display:flex;flex-direction:row;align-items:center;gap:16px;padding:16px;border-radius:8px;}
  .coverage-card .icon-badge{width:32px;height:32px;margin-bottom:0;flex-shrink:0;}
  .coverage-card h3{font-size:16px;font-weight:600;margin:0 0 4px;}
  .coverage-card p{font-size:13px;line-height:18px;}
  .wide-section{padding:32px 17px;}
  .wide-section h2{font-size:24px;}
  .about-team-grid{grid-template-columns:repeat(2,1fr);gap:16px;}
  .about-team-card{padding:16px;gap:12px;}
  .about-team-card .avatar{width:64px;height:64px;}
  /* Figma node 2259:2845 — explicit 2x2 grid on the #f9f9fb tile, not a wrapping flex row. */
  .stats-bar{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:16px;padding:24px;}
  .stats-bar .stat{gap:4px;}
  .stats-bar .stat .num{font-size:28px;}
  .stats-bar .stat .label{font-size:11px;letter-spacing:1px;}
  .stats-bar .label-full{display:none;}
  .stats-bar .label-short{display:inline;}
  .contact-split{flex-direction:column;gap:24px;padding:32px 17px;}
  .contact-split-form{padding:20px;}
  .stats-row-cards{flex-direction:column;gap:16px;}
  .format-cards-grid{grid-template-columns:1fr;gap:16px;}
  .format-card{padding:20px;}
  .testimonial-block{padding:48px 17px;}
  .testimonial-block blockquote{font-size:24px;line-height:32px;}
  .centered-contact{padding:48px 17px;gap:32px;}
  .centered-contact-form{width:100%;}
  .form-row-double{flex-direction:column;gap:20px;}
  .direct-reach .details{flex-direction:column;gap:8px;}
  .direct-reach .details .divider{display:none;}
}
.category-nav-mobile-select{display:none;}

/* Cookie consent banner */
.cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:9999;background:var(--dark);color:#fff;box-shadow:0 -4px 24px rgba(0,0,0,.18);}
.cookie-banner-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:32px;padding:20px 40px;}
.cookie-banner-title{font-weight:700;font-size:15px;margin:0 0 4px;letter-spacing:.2px;}
.cookie-banner-text p{margin:0;font-size:13px;line-height:20px;color:var(--dark-muted);max-width:760px;}
.cookie-banner-text a{color:#fff;text-decoration:underline;}
.cookie-banner-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.btn-cookie-primary{background:#fff;color:var(--ink);border:none;border-radius:6px;padding:11px 24px;font-weight:600;font-size:14px;cursor:pointer;white-space:nowrap;text-transform:uppercase;letter-spacing:.5px;}
.btn-cookie-secondary{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:6px;padding:11px 24px;font-weight:600;font-size:14px;cursor:pointer;white-space:nowrap;text-transform:uppercase;letter-spacing:.5px;}
.btn-cookie-secondary:hover{background:rgba(255,255,255,.08);}
.btn-cookie-primary:hover{background:#f0f0f0;}
@media (max-width: 700px){
  .cookie-banner-inner{flex-direction:column;align-items:stretch;gap:16px;padding:20px;}
  .cookie-banner-actions{justify-content:stretch;}
  .btn-cookie-primary,.btn-cookie-secondary{flex:1;text-align:center;}
}
