/* =====================================================================
   DailyScopeNow — Digital Editorial System (v5)
   Identity: Black + White + Lime
   Type:     Space Grotesk (display) + Inter (body/UI)
   Language: black sticky masthead, full-bleed cover, story-row feed,
             giant-number trending, black editorial bands, thin rules
   ===================================================================== */

:root {
  /* --- Core palette --- */
  --black:      #0A0A0A;
  --black-soft: #161616;
  --black-2:    #1E1E1E;

  --white:      #FFFFFF;
  --off-white:  #F5F5F0;
  --gray-100:   #EEEEEA;
  --gray-300:   #D4D4CF;
  --gray-500:   #777777;
  --gray-700:   #3F3F3F;

  --lime:       #B8F000;
  --lime-dark:  #91C700;

  /* --- Compatibility aliases (inline styles + admin override + errors) --- */
  --primary-color: var(--black);
  --accent-color: var(--lime);
  --secondary-color: var(--black-soft);
  --text-color: var(--black);
  --muted-text-color: var(--gray-500);
  --background-color: var(--off-white);
  --card-background: var(--white);
  --border-color: var(--gray-300);
  --link-color: var(--black);
  --hover-color: var(--lime-dark);
  /* legacy tokens some templates still reference */
  --ink: var(--black); --charcoal: var(--black); --charcoal-2: var(--black-soft);
  --teal: var(--lime); --teal-dark: var(--lime-dark); --teal-soft: var(--lime);
  --warm-white: var(--off-white); --soft-gray: var(--gray-100);
  --gray: var(--gray-500); --gray-light: var(--gray-500);
  --border: var(--gray-300); --border-2: var(--gray-300);
  --mint: #EAFBB6; --mint-soft: #F4FDD6;

  /* --- Typography --- */
  --font-heading: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-meta: "Inter", system-ui, sans-serif;

  /* --- Structure --- */
  --container: 1400px;
  --reading: 760px;
  --radius: 2px;

  --ease: .25s cubic-bezier(.2,.6,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body { margin: 0; font-family: var(--font-body); color: var(--black); background: var(--off-white); line-height: 1.6; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

img { max-width: 100%; display: block; }
a { color: var(--black); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--lime-dark); }

h1,h2,h3,h4,h5 { font-family: var(--font-heading); color: var(--black); line-height: 1.05; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }

:focus-visible { outline: 2px solid var(--lime-dark); outline-offset: 3px; }

/* Kicker / category label */
.kicker, .badge-cat { font-family: var(--font-meta); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--black); display: inline-block; position: relative; }
.badge-cat { padding-left: 16px; }
.badge-cat::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; background: var(--lime); }

/* Section heading */
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 88px 0 32px; border-top: 2px solid var(--black); padding-top: 16px; }
.section-head h2 { font-size: 14px; margin: 0; text-transform: uppercase; letter-spacing: 3px; font-weight: 700; font-family: var(--font-meta); }
.section-head .more { font-size: 11px; font-family: var(--font-meta); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--black); display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--black); color: var(--white); }
.section-head .more:hover { background: var(--lime); color: var(--black); }
.section-head .more i { transition: transform var(--ease); }
.section-head .more:hover i { transform: translateX(4px); }

/* =============================== MASTHEAD =============================== */
.site-masthead { position: sticky; top: 0; z-index: 60; background: var(--black); }
.masthead-top { background: var(--black); color: #fff; }
.masthead-top .container { display: flex; align-items: center; justify-content: space-between; height: 70px; transition: height var(--ease); }
.masthead-brand { display: flex; align-items: baseline; gap: 10px; }
.masthead-brand .logo-text { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1; text-transform: uppercase; }
.masthead-brand .logo-text span { color: var(--lime); }
.masthead-brand img { max-height: 40px; }
.masthead-nav-inline { display: flex; }
.masthead-tools { display: flex; align-items: center; gap: 6px; }
.masthead-tools .tool-btn { background: none; border: none; color: #cfcfca; width: 40px; height: 40px; cursor: pointer; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; transition: color var(--ease); }
.masthead-tools .tool-btn:hover { color: var(--lime); }
.masthead-tools .nav-toggle-top { display: none; }
.masthead-date { color: var(--gray-500); font-family: var(--font-meta); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-right: 6px; }

.site-masthead.is-shrunk .masthead-top .container { height: 58px; }

/* Nav row */
.masthead-nav { background: var(--black); border-top: 1px solid rgba(255,255,255,.1); }
.masthead-nav .container { display: flex; align-items: center; justify-content: center; position: relative; }
.nav-list { list-style: none; display: flex; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: block; color: #b5b5b0; padding: 15px 18px; font-family: var(--font-meta); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1.6px; position: relative; white-space: nowrap; }
.nav-list > li > a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.nav-list > li > a:hover, .nav-list > li > a.active { color: #fff; }
.nav-list > li > a:hover::after, .nav-list > li > a.active::after { transform: scaleX(1); }
.nav-list .has-dropdown > a .caret { font-size: 9px; margin-left: 5px; opacity: .6; }
.nav-dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); min-width: 200px; background: var(--black-soft); list-style: none; margin: 0; padding: 6px 0; border-top: 2px solid var(--lime); opacity: 0; visibility: hidden; transition: all var(--ease); z-index: 70; }
.nav-list .has-dropdown:hover .nav-dropdown, .nav-list .has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown li a { display: block; padding: 10px 20px; color: #b5b5b0; font-family: var(--font-meta); font-weight: 500; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }
.nav-dropdown li a:hover { color: var(--lime); }

/* Desktop search bar */
.masthead-searchbar { background: var(--black-soft); border-top: 1px solid rgba(255,255,255,.1); }
.masthead-searchbar .container { display: flex; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.masthead-searchbar input { flex: 1; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,.2); color: #fff; font-family: var(--font-heading); font-size: 22px; padding: 8px 2px; }
.masthead-searchbar input::placeholder { color: #6f6f6a; }
.masthead-searchbar input:focus { outline: none; border-bottom-color: var(--lime); }
.masthead-searchbar button { background: none; border: none; color: var(--lime); font-size: 20px; cursor: pointer; }

/* Full-screen mobile menu */
.mobile-menu { position: fixed; inset: 0; background: var(--black); z-index: 200; overflow-y: auto; padding: 20px 0 48px; animation: menuFade .2s ease; }
@keyframes menuFade { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; padding-bottom: 20px; }
.mobile-menu-head .logo-text { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: #fff; text-transform: uppercase; }
.mobile-menu-head .logo-text span { color: var(--lime); }
.mobile-menu-head .tool-btn { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.mobile-menu-search { display: flex; gap: 10px; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.16); padding-bottom: 14px; }
.mobile-menu-search input { flex: 1; background: transparent; border: none; color: #fff; font-family: var(--font-heading); font-size: 22px; }
.mobile-menu-search input::placeholder { color: #6f6f6a; }
.mobile-menu-search input:focus { outline: none; }
.mobile-menu-search button { background: none; border: none; color: var(--lime); font-size: 20px; cursor: pointer; }
.mobile-menu-nav { display: flex; flex-direction: column; }
.mobile-menu-nav a { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: #fff; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); text-transform: uppercase; letter-spacing: -.01em; }
.mobile-menu-nav a.active, .mobile-menu-nav a:hover { color: var(--lime); }
body.menu-open { overflow: hidden; }

/* Ticker / breaking strip */
.headlines { background: var(--black); border-top: 1px solid rgba(255,255,255,.08); color: #fff; display: flex; align-items: stretch; overflow: hidden; }
.headlines .container { display: flex; align-items: stretch; overflow: hidden; }
.headlines-label { color: var(--black); background: var(--lime); font-weight: 700; font-family: var(--font-meta); text-transform: uppercase; font-size: 11px; padding: 11px 16px; white-space: nowrap; display: flex; align-items: center; letter-spacing: 1.5px; margin-right: 20px; }
.headlines-track { overflow: hidden; flex: 1; position: relative; display: flex; align-items: center; }
.headlines-move { display: inline-flex; white-space: nowrap; animation: ticker 50s linear infinite; }
.headlines-move a { color: #d7d7d2; font-weight: 500; padding: 11px 30px 11px 0; margin-right: 30px; position: relative; font-size: 13px; font-family: var(--font-meta); }
.headlines-move a:hover { color: var(--lime); }
.headlines-move a::after { content: ""; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); width: 3px; height: 3px; background: var(--lime); }
.headlines:hover .headlines-move { animation-play-state: paused; }
@keyframes ticker { 0% { transform: translateX(0);} 100% { transform: translateX(-50%);} }

/* =============================== LAYOUT =============================== */
.layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 64px; margin: 64px 0; }
.main-col { grid-column: span 8; min-width: 0; }
.sidebar { grid-column: span 4; }

/* =============================== CARDS / STORIES =============================== */
.meta { font-family: var(--font-meta); font-size: 12px; color: var(--gray-500); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; letter-spacing: .3px; text-transform: uppercase; }
.meta i { margin-right: 5px; color: var(--black); }

.thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--gray-100); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); color: transparent; font-size: 0; }
.card:hover .thumb img, .hcard:hover .thumb img, .story-row:hover .thumb img, .feature:hover img { transform: scale(1.03); }
.thumb .badge-cat { position: absolute; left: 0; bottom: 0; background: var(--black); color: #fff; padding: 6px 12px 6px 24px; letter-spacing: 1.5px; }
.thumb .badge-cat::before { left: 12px; }

/* Story card (flat) */
.card { background: transparent; display: flex; flex-direction: column; }
.card .thumb { margin-bottom: 16px; }
.card-body { padding: 0; }
.card-body .badge-cat { margin-bottom: 10px; }
.card-body h3 { font-size: 22px; margin: 0 0 10px; line-height: 1.12; }
.card-body h3 a { color: var(--black); }
.card-body h3 a:hover { color: var(--lime-dark); }
.card-body p { color: var(--gray-500); font-size: 14.5px; margin: 0 0 12px; line-height: 1.55; }

/* Feature / hero */
.feature { position: relative; display: block; }
.feature .feature-img { aspect-ratio: 16/9; overflow: hidden; background: var(--gray-100); }
.feature .feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); color: transparent; font-size: 0; }
.feature .feature-body { padding-top: 22px; }
.feature .badge-cat { margin-bottom: 14px; }
.feature h2 { font-size: 72px; margin: 0 0 16px; line-height: .98; color: var(--black); text-transform: uppercase; letter-spacing: -.03em; }
.feature h2 a { color: var(--black); }
.feature:hover h2 a { color: var(--black); }
.feature p { color: var(--gray-700); font-size: 17px; line-height: 1.55; margin: 0 0 14px; max-width: 680px; }
.cover-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.cover-secondary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-top: 40px; border-top: 1px solid var(--gray-300); }
.cover-secondary .card-body h3 { font-size: 19px; }

/* =============================== HERO COVER (magazine masthead cover) =============================== */
.hero-cover { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: stretch; }

/* Lead: full-bleed image with overlaid text */
.hero-lead { position: relative; display: block; min-height: 560px; overflow: hidden; background: var(--black); }
.hero-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); color: transparent; font-size: 0; }
.hero-lead:hover img { transform: scale(1.03); }
.hero-lead .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,.92) 0%, rgba(10,10,10,.55) 40%, rgba(10,10,10,.05) 75%); }
.hero-lead .hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px; }
.hero-lead .hero-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); color: var(--black); font-family: var(--font-meta); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 6px 12px; margin-bottom: 18px; }
.hero-lead h2 { color: #fff; font-size: 52px; line-height: .98; letter-spacing: -.03em; text-transform: uppercase; margin: 0 0 14px; max-width: 16ch; }
.hero-lead h2 a { color: #fff; }
.hero-lead:hover h2 a { color: var(--lime); }
.hero-lead p { color: #d0d0cb; font-size: 16px; line-height: 1.5; margin: 0 0 16px; max-width: 52ch; }
.hero-lead .meta { color: #9a9a95; }
.hero-lead .meta i { color: var(--lime); }

/* Right column: stacked secondary stories */
.hero-side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 0; }
.hero-side .hero-item { display: grid; grid-template-columns: 118px 1fr; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid var(--gray-300); }
.hero-side .hero-item:first-child { padding-top: 0; border-top: none; }
.hero-side .hero-item .thumb { aspect-ratio: 1/1; }
.hero-side .hero-item .thumb .badge-cat { display: none; }
.hero-side .hero-item .badge-cat { margin-bottom: 8px; }
.hero-side .hero-item h3 { font-size: 18px; line-height: 1.12; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 8px; }
.hero-side .hero-item h3 a { color: var(--black); }
.hero-side .hero-item h3 a:hover { color: var(--lime-dark); }

@media (max-width: 1024px) { .hero-lead h2 { font-size: 42px; } }
@media (max-width: 900px) {
  .hero-cover { grid-template-columns: 1fr; gap: 32px; }
  .hero-lead { min-height: 440px; }
}
@media (max-width: 620px) {
  .hero-lead { min-height: 380px; }
  .hero-lead .hero-content { padding: 24px; }
  .hero-lead h2 { font-size: 30px; }
  .hero-lead p { display: none; }
  .hero-side .hero-item { grid-template-columns: 96px 1fr; }
}

/* Grids */
.grid { display: grid; gap: 40px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Story ROW — the signature Latest feed element */
.story-row { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; padding: 36px 0; border-top: 1px solid var(--gray-300); }
.story-row:first-child { border-top: none; }
.story-row .thumb { aspect-ratio: 4/3; }
.story-row .badge-cat { margin-bottom: 12px; }
.story-row h3 { font-size: 30px; line-height: 1.05; margin: 0 0 12px; text-transform: uppercase; letter-spacing: -.02em; }
.story-row h3 a { color: var(--black); }
.story-row h3 a:hover { color: var(--lime-dark); }
.story-row p { color: var(--gray-500); font-size: 15px; margin: 0 0 14px; max-width: 620px; line-height: 1.55; }

/* Horizontal small card (sidebar-ish lists) */
.hcard { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--gray-300); }
.hcard:first-child { border-top: none; }
.hcard .thumb { aspect-ratio: 1/1; }
.hcard .thumb .badge-cat { display: none; }
.hcard h4 { font-size: 16px; margin: 6px 0; line-height: 1.2; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.hcard h4 a { color: var(--black); }
.hcard h4 a:hover { color: var(--lime-dark); }

.split-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }

/* Trending — giant numbers */
.ranked-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.rank-item { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 26px 0; border-top: 1px solid var(--gray-300); }
.rank-item .rank { font-family: var(--font-heading); font-size: 52px; font-weight: 700; color: var(--gray-300); line-height: .8; letter-spacing: -.04em; }
.rank-item .badge-cat { margin-bottom: 6px; }
.rank-item h4 { font-size: 21px; margin: 0 0 8px; font-family: var(--font-heading); font-weight: 700; line-height: 1.1; text-transform: uppercase; letter-spacing: -.02em; }
.rank-item h4 a { color: var(--black); }
.rank-item h4 a:hover { color: var(--lime-dark); }
@media (max-width: 720px){ .ranked-list { grid-template-columns: 1fr; } }

/* Popular — number + thumb + headline */
.popular-row { display: grid; grid-template-columns: auto 88px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--gray-300); }
.popular-row:first-child { border-top: none; }
.popular-row .p-num { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--black); min-width: 30px; letter-spacing: -.03em; }
.popular-row .thumb { aspect-ratio: 1/1; }
.popular-row .thumb .badge-cat { display: none; }
.popular-row h4 { font-size: 16px; margin: 0 0 6px; font-family: var(--font-heading); font-weight: 700; line-height: 1.15; text-transform: uppercase; letter-spacing: -.01em; }
.popular-row h4 a { color: var(--black); }
.popular-row h4 a:hover { color: var(--lime-dark); }

/* Category section */
.cat-block { margin-bottom: 8px; }
.cat-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.cat-split .cat-main .card-body h3 { font-size: 34px; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; }

/* =============================== BLACK EDITORIAL PICKS =============================== */
.highlights-band { background: var(--black); color: #fff; margin: 96px 0; padding: 80px 0; }
.highlights-band .section-head { border-top-color: rgba(255,255,255,.25); }
.highlights-band .section-head h2 { color: #fff; }
.highlights-band .section-head .more { background: var(--lime); color: var(--black); }
.highlights-band .h-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }
.highlights-band .h-lead .thumb { aspect-ratio: 16/10; margin-bottom: 20px; }
.highlights-band .h-lead .thumb .badge-cat { display: none; }
.highlights-band .h-lead .badge-cat { color: var(--lime); margin-bottom: 12px; }
.highlights-band .h-lead .badge-cat::before { background: var(--lime); }
.highlights-band .h-lead h3 { color: #fff; font-size: 40px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; }
.highlights-band .h-lead h3 a { color: #fff; }
.highlights-band .h-lead:hover h3 a { color: var(--lime); }
.highlights-band .h-lead p { color: #9a9a95; font-size: 15px; }
.highlights-band .h-list { display: grid; align-content: start; }
.highlights-band .h-item { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: auto 1fr; gap: 18px; }
.highlights-band .h-item:first-child { border-top: none; }
.highlights-band .h-item .h-num { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--lime); letter-spacing: -.03em; }
.highlights-band .h-item .badge-cat { color: var(--lime); margin-bottom: 6px; }
.highlights-band .h-item .badge-cat::before { background: var(--lime); }
.highlights-band .h-item h3 { color: #fff; font-size: 19px; margin: 0 0 6px; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; }
.highlights-band .h-item h3 a { color: #fff; }
.highlights-band .h-item h3 a:hover { color: var(--lime); }
.highlights-band .h-meta { color: #6f6f6a; font-size: 12px; font-family: var(--font-meta); letter-spacing: .3px; text-transform: uppercase; }

/* =============================== SIDEBAR =============================== */
.sidebar .widget { margin-bottom: 52px; }
/* Article page: sidebar is short (just author box + related), safe to stick */
.article-page .sidebar { position: sticky; top: 24px; align-self: start; }
@media (max-width: 1024px) { .article-page .sidebar { position: static; } }
.widget-title { font-size: 12px; text-transform: uppercase; letter-spacing: 2.5px; font-family: var(--font-meta); font-weight: 700; color: var(--black); padding-bottom: 14px; margin: 0 0 8px; border-top: 2px solid var(--black); padding-top: 14px; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid var(--gray-300); font-family: var(--font-meta); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.cat-list li:first-child { border-top: none; }
.cat-list li a { color: var(--black); }
.cat-list li a:hover { color: var(--lime-dark); }
.cat-list .count { color: var(--gray-500); font-size: 12px; font-weight: 600; }

/* =============================== NEWSLETTER =============================== */
.newsletter { background: var(--black); color: #fff; padding: 64px 48px; position: relative; }
.newsletter h3 { color: #fff; font-size: 44px; margin: 0 0 12px; line-height: .98; text-transform: uppercase; letter-spacing: -.02em; }
.newsletter h3 span { color: var(--lime); }
.newsletter p { color: #9a9a95; margin: 0 0 26px; font-size: 15px; max-width: 460px; }
.newsletter form { display: flex; max-width: 520px; gap: 0; border: 1px solid rgba(255,255,255,.25); }
.newsletter input { flex: 1; border: none; padding: 16px 18px; font-size: 15px; background: transparent; color: #fff; font-family: var(--font-meta); }
.newsletter input::placeholder { color: #6f6f6a; }
.newsletter button { border: none; background: var(--lime); color: var(--black); padding: 16px 28px; font-weight: 700; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; font-family: var(--font-meta); transition: background var(--ease); }
.newsletter button:hover { background: var(--lime-dark); }
.widget .newsletter { padding: 30px 24px; }
.widget .newsletter h3 { font-size: 26px; }
.widget .newsletter form { flex-direction: column; border: none; gap: 10px; }
.widget .newsletter input { border: 1px solid rgba(255,255,255,.25); }

/* =============================== BUTTONS =============================== */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--black); color: #fff; padding: 14px 26px; border-radius: var(--radius); font-family: var(--font-meta); font-weight: 700; font-size: 12px; border: none; cursor: pointer; letter-spacing: 1.5px; text-transform: uppercase; transition: background var(--ease), color var(--ease); }
.btn:hover { background: var(--lime); color: var(--black); }
.btn-outline { background: transparent; border: 1px solid var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-accent { background: var(--lime); color: var(--black); }
.btn-accent:hover { background: var(--lime-dark); color: var(--black); }
.btn-dark { background: var(--black); }

/* =============================== ARTICLE PAGE =============================== */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--lime); z-index: 300; transition: width .1s linear; }
.article-wrap { background: transparent; border: none; padding: 0; }
.breadcrumb { font-family: var(--font-meta); font-size: 11px; color: var(--gray-500); margin-bottom: 24px; letter-spacing: 1.5px; text-transform: uppercase; }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--lime-dark); }
.article-wrap > .badge-cat { font-size: 12px; letter-spacing: 2px; }
.article-title { font-size: 40px; line-height: 1.12; margin: 16px 0 20px; letter-spacing: -.02em; font-weight: 800; }
.article-lede { font-family: var(--font-body); font-size: 21px; line-height: 1.5; color: var(--gray-700); font-weight: 400; margin: 0 0 22px; max-width: var(--reading); }
.article-meta { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; padding: 18px 0; border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300); margin: 22px 0; font-family: var(--font-meta); font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; }
.article-meta a { color: var(--black); font-weight: 600; }
.article-hero { overflow: hidden; margin: 30px 0; border-radius: 8px; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; height: auto; max-height: 520px; object-fit: cover; object-position: center; display: block; }
@media (max-width: 640px) { .article-hero img { aspect-ratio: 4 / 3; max-height: 340px; } }
.article-hero figcaption { font-size: 12px; color: var(--gray-500); padding: 10px 2px 0; font-family: var(--font-meta); }
.article-content { font-size: 19px; line-height: 1.8; color: #1a1a1a; max-width: var(--reading); }
.article-content p { margin: 0 0 28px; }
.article-content h2, .article-content h3 { margin: 44px 0 16px; text-transform: uppercase; letter-spacing: -.01em; }
.article-content h2 { font-size: 34px; } .article-content h3 { font-size: 26px; }
.article-content a { color: var(--black); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.source-box { background: var(--black); color: #fff; border-left: 4px solid var(--lime); padding: 28px; margin: 34px 0; font-size: 15px; max-width: var(--reading); }
.source-box .source-kicker { display: inline-block; font-family: var(--font-meta); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--lime); margin-bottom: 10px; }
.source-box p { margin: 0 0 16px; color: #d0d0cb; line-height: 1.6; }
.source-box strong { color: #fff; }
.source-box .btn { margin: 0; background: var(--lime); color: var(--black); }
.source-box .btn:hover { background: #fff; color: var(--black); }
.source-note { font-family: var(--font-meta); font-size: 13px; color: var(--gray-500); margin: 30px 0; padding-top: 16px; border-top: 1px solid var(--border); max-width: var(--reading); letter-spacing: .2px; }
.source-note a { color: var(--black); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.tag-list a { border: 1px solid var(--gray-300); color: var(--gray-700); padding: 8px 15px; border-radius: var(--radius); font-size: 12px; font-family: var(--font-meta); font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.tag-list a:hover { background: var(--black); color: var(--lime); border-color: var(--black); }
.share-bar { display: flex; gap: 10px; align-items: center; margin: 30px 0; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300); }
.share-bar > span { font-family: var(--font-meta); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gray-500); }
.share-bar a, .share-bar button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: var(--radius); background: var(--black); color: #fff; font-size: 12px; font-family: var(--font-meta); font-weight: 600; border: none; cursor: pointer; text-transform: uppercase; letter-spacing: .5px; transition: background var(--ease), color var(--ease); }
.share-bar a:hover, .share-bar button:hover { background: var(--lime); color: var(--black); }
.s-fb, .s-x, .s-wa, .s-copy, .s-print { background: var(--black); }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin: 32px 0; padding: 28px; background: var(--black); color: #fff; }
.author-box .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--black); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; font-family: var(--font-heading); flex: 0 0 auto; overflow: hidden; }
.author-box .avatar img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.author-box h4 { color: #fff; } .author-box h4 a { color: #fff; } .author-box h4 a:hover { color: var(--lime); }
.author-box .kicker { color: var(--lime); } .author-box .meta { color: #9a9a95; } .author-box p { color: #9a9a95; }

/* Comments */
.comment { border-top: 1px solid var(--gray-300); padding: 22px 0; }
.comment:first-of-type { border-top: none; }
.comment.reply { margin-left: 44px; }
.comment .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--black); color: var(--lime); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-heading); }
.comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }

/* Forms */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-family: var(--font-meta); font-weight: 700; font-size: 11px; margin-bottom: 8px; color: var(--black); text-transform: uppercase; letter-spacing: 1px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 13px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius); font-size: 15px; font-family: var(--font-body); background: var(--white); transition: border-color var(--ease); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--black); }
.form-field textarea { min-height: 130px; }

/* Alerts */
.alert { padding: 13px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: 14.5px; border-left: 4px solid var(--lime); background: var(--gray-100); color: var(--black); }
.alert-success { border-left-color: var(--lime); }
.alert-error { border-left-color: var(--black); background: var(--gray-100); }
.alert-info { border-left-color: var(--gray-500); }

/* Pagination */
.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 44px 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-block; padding: 11px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius); background: var(--white); font-family: var(--font-meta); font-size: 13px; font-weight: 600; color: var(--black); transition: all var(--ease); }
.pagination a:hover { background: var(--black); color: var(--lime); border-color: var(--black); }
.pagination .active span { background: var(--black); color: var(--lime); border-color: var(--black); }
.pagination [aria-disabled="true"] span { opacity: .4; }

/* Ads */
.ad-slot { text-align: center; margin: 40px 0; }
.ad-slot img { max-width: 100%; height: auto; margin: 0 auto; display: block; }
.ad-label { font-size: 9.5px; text-transform: uppercase; letter-spacing: 3px; color: var(--gray-500); margin-bottom: 8px; }

/* Sidebar sticky ad */
.ad-widget .ad-slot { margin: 0; }
.ad-widget .ad-slot img { border-radius: 6px; max-width: 100%; height: auto; display: block; }

/* Category top leaderboard */
.ad-slot.category-top { margin: 16px 0 32px; }

/* Category inline break ad (full-width across grid) */
.ad-inline-break .ad-slot { margin: 8px 0 24px; background: var(--gray-100); border-radius: 6px; padding: 12px; }

/* Placeholder */
.placeholder-thumb { width: 100%; height: 100%; background: var(--black); display: flex; align-items: center; justify-content: center; color: var(--lime); font-family: var(--font-heading); font-size: 30px; font-weight: 700; }

/* Page head */
.page-head { margin: 64px 0 8px; }
.page-head h1 { font-size: 68px; margin: 12px 0 16px; letter-spacing: -.03em; text-transform: uppercase; line-height: .98; }
.page-head p { color: var(--gray-700); max-width: var(--reading); font-size: 18px; }
.page-head .divider { height: 2px; background: var(--black); margin-top: 26px; width: 100%; position: relative; }
.page-head .divider::after { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 2px; background: var(--lime); }

/* Author hero */
.author-hero { display: flex; gap: 28px; align-items: center; margin: 64px 0 8px; padding-bottom: 34px; border-bottom: 2px solid var(--black); position: relative; }
.author-hero::after { content:""; position:absolute; left:0; bottom:-2px; width:64px; height:2px; background:var(--lime); }
.author-hero .avatar-lg { width: 104px; height: 104px; border-radius: 50%; background: var(--black); color: var(--lime); display: flex; align-items: center; justify-content: center; font-size: 42px; font-weight: 700; font-family: var(--font-heading); flex: 0 0 auto; overflow: hidden; }
.author-hero .avatar-lg img { width: 104px; height: 104px; object-fit: cover; border-radius: 50%; }
.author-hero .kicker { margin-bottom: 8px; }
.author-hero h1 { color: var(--black); margin: 0; font-size: 42px; text-transform: uppercase; letter-spacing: -.02em; }
.author-hero .designation { color: var(--lime-dark); font-family: var(--font-meta); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px; }
.author-hero p { color: var(--gray-700); margin: 14px 0 0; font-size: 15px; max-width: 640px; }

/* Empty state */
.empty-state { text-align: center; padding: 80px 24px; border: 1px solid var(--gray-300); background: var(--white); }
.empty-state .es-icon { font-size: 34px; color: var(--lime-dark); margin-bottom: 16px; }
.empty-state h3 { font-size: 30px; margin: 0 0 10px; text-transform: uppercase; letter-spacing: -.01em; }
.empty-state p { color: var(--gray-500); max-width: 440px; margin: 0 auto 22px; font-size: 15px; }

/* You may have missed */
.missed-section { background: var(--off-white); margin: 80px 0 0; padding: 8px 0 64px; border-top: 1px solid var(--gray-300); }

/* Back to top */
.back-to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; background: var(--black); color: var(--lime); border: none; cursor: pointer; z-index: 90; display: flex; align-items: center; justify-content: center; font-size: 16px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--ease); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--lime); color: var(--black); }

/* =============================== FOOTER =============================== */
.site-footer { background: var(--black); color: #9a9a95; margin-top: 0; padding: 88px 0 0; }
.footer-statement { font-family: var(--font-heading); font-size: 56px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: -.03em; line-height: .95; margin-bottom: 56px; max-width: 12ch; }
.footer-statement span { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.14); }
.site-footer h4 { color: var(--lime); font-family: var(--font-meta); text-transform: uppercase; font-size: 11px; letter-spacing: 2px; margin-bottom: 20px; font-weight: 700; }
.site-footer a { color: #9a9a95; }
.site-footer a:hover { color: var(--lime); }
.footer-logo { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 14px; text-transform: uppercase; }
.footer-logo span { color: var(--lime); }
.footer-brand p { font-size: 14.5px; line-height: 1.7; color: #6f6f6a; margin: 0 0 20px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: all var(--ease); }
.footer-social a:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 8px 0; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; font-family: var(--font-meta); }
.footer-note { font-size: 14px; color: #6f6f6a; margin: 0 0 16px; }
.footer-form { display: flex; border: 1px solid rgba(255,255,255,.2); }
.footer-form input { flex: 1; padding: 13px 14px; border: none; background: transparent; color: #fff; font-family: var(--font-meta); font-size: 14px; }
.footer-form input::placeholder { color: #6f6f6a; }
.footer-form button { border: none; border-radius: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 64px; padding: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #6f6f6a; font-family: var(--font-meta); letter-spacing: .5px; text-transform: uppercase; }
.footer-bottom-links { display: flex; gap: 22px; }

/* =============================== SCROLL REVEAL =============================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =============================== RESPONSIVE =============================== */
@media (max-width: 1200px) { .feature h2 { font-size: 60px; } .footer-statement { font-size: 46px; } }
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .main-col { grid-column: span 12; }
  .sidebar { grid-column: span 12; }
  .layout { gap: 48px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .highlights-band .h-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature h2 { font-size: 52px; }
  .article-title { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .masthead-nav .container { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .masthead-nav .container::-webkit-scrollbar { display: none; }
  .nav-list { flex-wrap: nowrap; justify-content: flex-start; }
}
@media (max-width: 900px) {
  .cover-secondary { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split-grid, .cat-split { grid-template-columns: 1fr; gap: 32px; }
  .story-row { grid-template-columns: 220px 1fr; gap: 24px; }
  .story-row h3 { font-size: 24px; }
  .feature h2 { font-size: 42px; }
  .article-title { font-size: 30px; }
  .page-head h1 { font-size: 48px; }
  .footer-statement { font-size: 38px; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .masthead-nav-inline { display: none; }
  .masthead-tools .nav-toggle-top { display: inline-flex; }
  .masthead-tools .masthead-search-toggle { display: none; }
  .masthead-nav { display: none; }
  .masthead-searchbar { display: none; }
  .section-head { margin: 56px 0 24px; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .cover-secondary { grid-template-columns: 1fr; }
  .story-row { grid-template-columns: 1fr; gap: 16px; }
  .story-row .thumb { aspect-ratio: 16/9; }
  .newsletter, .footer-form { }
  .newsletter form { flex-direction: column; border: none; gap: 10px; }
  .newsletter input { border: 1px solid rgba(255,255,255,.25); }
  .comment.reply { margin-left: 16px; }
  .article-title { font-size: 26px; }
  .article-content { font-size: 17px; }
  .page-head h1 { font-size: 36px; }
  .feature h2 { font-size: 34px; }
  .author-hero { flex-direction: column; text-align: left; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-statement { font-size: 30px; }
}

/* =============================== MOTION =============================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .headlines-move { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
