/* ═══════════════════════════════════════════════
   THE DAILY DRIP — Complete Stylesheet
   ═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #FAF9F6;
  --bg-warm: #F5F3EE;
  --bg-card: #FFF;
  --ink: #1B1B18;
  --ink-2: #52524E;
  --ink-m: #8C8C87;
  --ink-f: #B5B5B0;
  --red: #D4362C;
  --red-d: #B32E25;
  --gold: #C8951A;
  --gold-bg: #FDF8ED;
  --green: #1A8C5E;
  --border: #E9E8E4;
  --border-s: #D4D3CF;
  --tag-bg: #F0EFEB;
  --display: 'Instrument Serif', Georgia, serif;
  --body: 'Newsreader', Georgia, serif;
  --ui: 'Outfit', -apple-system, sans-serif;
  --max: 1100px;
  --g: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--ui); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.6; }
::selection { background: var(--red); color: #fff; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--ui); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); }

/* ── TOPBAR ── */
.topbar { background: var(--ink); color: rgba(255,255,255,.85); font-size: 12.5px; font-weight: 500; letter-spacing: .3px; }
.topbar-inner { max-width: var(--max); margin: 0 auto; padding: 9px var(--g); display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.topbar-right { display: flex; gap: 20px; }
.topbar-right a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 12px; transition: color .2s; }
.topbar-right a:hover { color: #fff; }

/* ── HEADER ── */
.site-header { background: rgba(250,249,246,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-main { max-width: var(--max); margin: 0 auto; padding: 0 var(--g); display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-family: var(--display); font-size: 26px; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.logo-mark { width: 28px; height: 28px; background: var(--red); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--display); font-size: 18px; line-height: 1; flex-shrink: 0; }
.nav-tabs { display: flex; gap: 0; height: 60px; align-items: stretch; }
.nav-tab { padding: 0 20px; display: flex; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--ink-m); border: none; border-bottom: 2.5px solid transparent; transition: all .2s; cursor: pointer; letter-spacing: .2px; background: none; text-decoration: none; }
.nav-tab:hover { color: var(--ink); }
.nav-tab.active { color: var(--ink); border-bottom-color: var(--red); }
.tab-badge { margin-left: 6px; background: var(--red); color: #fff; font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 100px; letter-spacing: .5px; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-topics { display: flex; gap: 20px; }
.nav-topics a { font-size: 13px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav-topics a:hover { color: var(--ink); }
.btn-sub { background: var(--ink); color: #fff; border: none; padding: 8px 20px; border-radius: 100px; font-size: 12.5px; font-weight: 600; letter-spacing: .3px; transition: transform .15s, opacity .2s; }
.btn-sub:hover { opacity: .88; transform: translateY(-1px); }
.mobile-btn { display: none; background: none; border: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.mobile-btn span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav { display: none; flex-direction: column; padding: 12px var(--g) 16px; border-bottom: 1px solid var(--border); background: var(--bg); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.mobile-tabs { display: flex; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mobile-tabs .nav-tab { height: auto; padding: 8px 16px; border: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 100px; font-size: 13px; }
.mobile-tabs .nav-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; animation: pageFade .4s ease; }
@keyframes pageFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── COMMON ── */
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.meta { font-size: 12.5px; color: var(--ink-m); font-weight: 500; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.meta-dot { width: 3px; height: 3px; background: var(--ink-f); border-radius: 50%; }
.badge-ai { display: inline-flex; align-items: center; gap: 4px; background: var(--tag-bg); padding: 2px 8px; border-radius: 100px; font-size: 10px; font-weight: 600; letter-spacing: .5px; color: var(--ink-m); }
.badge-ed { background: var(--gold-bg); color: var(--gold); padding: 2px 8px; border-radius: 100px; font-size: 10px; font-weight: 600; letter-spacing: .5px; }
.section-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.section-bar h2 { font-family: var(--display); font-size: 22px; }
.section-bar a { font-size: 12px; font-weight: 600; color: var(--red); letter-spacing: .8px; text-transform: uppercase; }
.excerpt { font-family: var(--body); font-size: 14px; color: var(--ink-2); line-height: 1.55; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.topic-pill { padding: 5px 13px; background: var(--tag-bg); border-radius: 100px; font-size: 12.5px; color: var(--ink-2); font-weight: 500; transition: background .2s; }
.topic-pill:hover { background: var(--border); }

/* ── ADS ── */
.ad-unit { background: var(--bg-warm); border: 1px dashed var(--border-s); border-radius: 8px; text-align: center; color: var(--ink-m); font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; display: flex; align-items: center; justify-content: center; }
.ad-lb { padding: 22px; margin: 36px auto 0; max-width: var(--max); }
.ad-sb { padding: 40px 16px; }
.ad-in { padding: 28px; margin: 8px 0; }

/* ── PLACEHOLDERS ── */
.ph { position: relative; overflow: hidden; }
.ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.15)); }
.ph-1 { background: linear-gradient(135deg, #1B2838, #2C3E50); }
.ph-2 { background: linear-gradient(135deg, #4A2C5E, #7B5EA7); }
.ph-3 { background: linear-gradient(135deg, #1A4341, #2E7D6E); }
.ph-4 { background: linear-gradient(135deg, #8B3A2A, #C76B50); }
.ph-5 { background: linear-gradient(135deg, #1A3A5C, #3D7ABD); }
.ph-6 { background: linear-gradient(135deg, #6B5B1A, #BFA42E); }
.ph-7 { background: linear-gradient(135deg, #5C1A3A, #A84C7A); }
.ph-8 { background: linear-gradient(135deg, #1A4A5C, #3DA8BD); }

/* ═══ EDITORIAL PAGE ═══ */
.ed-hero { padding: 44px 0 40px; }
.ed-date { font-size: 12px; font-weight: 600; color: var(--ink-m); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 28px; }
.ed-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; }
.ed-featured { cursor: pointer; }
.ed-featured-img { width: 100%; height: 400px; border-radius: 10px; overflow: hidden; margin-bottom: 20px; position: relative; }
.overlay-tag { position: absolute; top: 16px; left: 16px; background: rgba(0,0,0,.7); backdrop-filter: blur(8px); color: #fff; font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 100px; letter-spacing: .8px; text-transform: uppercase; z-index: 2; }
.ed-featured h2 { font-family: var(--display); font-size: 34px; line-height: 1.2; margin-bottom: 12px; letter-spacing: -.3px; transition: color .2s; }
.ed-featured:hover h2 { color: var(--red); }
.ed-featured > p { font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink-2); margin-bottom: 14px; }
.ed-side { display: flex; flex-direction: column; }
.ed-side-item { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--border); cursor: pointer; color: inherit; text-decoration: none; }
.ed-side-item:first-child { padding-top: 0; }
.ed-side-item:last-child { border-bottom: none; }
.ed-side-item:hover h3 { color: var(--red); }
.ed-side-img { width: 120px; height: 85px; border-radius: 8px; }
.ed-side-item h3 { font-family: var(--display); font-size: 18px; line-height: 1.3; margin-bottom: 6px; transition: color .2s; }
.ed-stories { padding: 44px 0; }
.ed-row { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.story-feed { display: flex; flex-direction: column; }
.story-item { display: grid; grid-template-columns: 1fr 200px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--border); cursor: pointer; color: inherit; text-decoration: none; }
.story-item:hover h3 { color: var(--red); }
.story-item h3 { font-family: var(--display); font-size: 21px; line-height: 1.28; margin-bottom: 8px; transition: color .2s; }
.story-item .excerpt { font-size: 15px; line-height: 1.6; margin-bottom: 10px; }
.story-thumb { width: 200px; height: 140px; border-radius: 8px; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 32px; }
.side-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.side-card h3 { font-family: var(--display); font-size: 17px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.trend-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); cursor: pointer; color: inherit; text-decoration: none; }
.trend-item:last-child { border-bottom: none; }
.trend-item:hover .trend-title { color: var(--red); }
.trend-num { font-family: var(--display); font-size: 26px; color: var(--border-s); min-width: 26px; line-height: 1; }
.trend-title { font-family: var(--display); font-size: 14.5px; line-height: 1.35; margin-bottom: 3px; transition: color .2s; }
.trend-meta { font-size: 11px; color: var(--ink-m); font-weight: 500; }

/* ═══ DAILY BRIEFING PAGE ═══ */
.daily-header { padding: 40px 0 32px; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.daily-header h1 { font-family: var(--display); font-size: 36px; margin-bottom: 6px; letter-spacing: -.3px; }
.daily-sub { font-family: var(--body); font-size: 17px; color: var(--ink-2); margin-bottom: 16px; }
.daily-meta-bar { display: flex; align-items: center; gap: 20px; font-size: 13px; color: var(--ink-m); font-weight: 500; }
.live-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; margin-right: 4px; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.daily-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; padding-bottom: 56px; }
.briefing-list { display: flex; flex-direction: column; }
.brief-card { border-bottom: 1px solid var(--border); padding: 28px 0; }
.brief-card:first-child { padding-top: 0; }
.brief-top { display: flex; align-items: flex-start; gap: 16px; cursor: pointer; }
.brief-number { font-family: var(--display); font-size: 38px; color: var(--border-s); line-height: 1; min-width: 36px; padding-top: 2px; user-select: none; }
.brief-content { flex: 1; }
.brief-card h3 { font-family: var(--display); font-size: 22px; line-height: 1.28; margin-bottom: 8px; transition: color .2s; }
.brief-top:hover h3 { color: var(--red); }
.brief-summary { font-family: var(--body); font-size: 15.5px; line-height: 1.65; color: var(--ink-2); margin-bottom: 10px; }
.brief-summary strong { color: var(--ink); font-weight: 500; }
.brief-expand { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .3s; opacity: 0; padding-left: 52px; }
.brief-card.open .brief-expand { max-height: 800px; opacity: 1; }
.brief-body { font-family: var(--body); font-size: 16px; line-height: 1.75; color: var(--ink-2); padding: 16px 0 8px; border-top: 1px solid var(--border); margin-top: 12px; }
.brief-body p { margin-bottom: 14px; }
.brief-body p:last-child { margin-bottom: 0; }
.read-toggle { background: none; border: none; color: var(--red); font-size: 12.5px; font-weight: 600; letter-spacing: .5px; padding: 0; display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; }
.read-toggle:hover { gap: 7px; }
.read-toggle .arrow { transition: transform .3s; font-size: 14px; }
.brief-card.open .read-toggle .arrow { transform: rotate(180deg); }
.signal-take { background: var(--gold-bg); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; padding: 24px 28px; margin-left: 0; margin-top: 12px; }
.signal-take-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.signal-take p { font-family: var(--body); font-style: italic; font-size: 15px; line-height: 1.6; color: var(--ink); }
.market-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px; }
.market-card h3 { font-family: var(--display); font-size: 16px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.market-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.market-row:last-child { border-bottom: none; }
.market-name { font-weight: 600; }
.market-val { font-weight: 500; }
.market-chg { font-weight: 600; font-size: 12px; }
.up { color: var(--green); }
.down { color: var(--red); }

/* ═══ ARTICLE PAGE ═══ */
.article-page { padding-bottom: 20px; }
.article-header { padding: 32px 0 28px; }
.back-link { font-size: 13px; font-weight: 600; color: var(--red); display: inline-block; margin-bottom: 4px; }
.back-link:hover { text-decoration: underline; }
.article-page-title { font-family: var(--display); font-size: 40px; line-height: 1.15; margin-bottom: 14px; letter-spacing: -.5px; }
.article-page-subtitle { font-family: var(--body); font-size: 19px; line-height: 1.6; color: var(--ink-2); margin-bottom: 24px; }
.article-page-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 20px; border-top: 1px solid var(--border); }
.author-row { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.author-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.share-row { display: flex; gap: 8px; }
.share-btn { padding: 6px 14px; border: 1px solid var(--border); border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--ink-2); transition: all .2s; display: inline-flex; align-items: center; gap: 4px; }
.share-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.article-hero-img { width: 100%; max-width: 900px; height: 420px; margin: 0 auto 40px; border-radius: 10px; }
.article-body-wrap { }
.article-body { font-family: var(--body); font-size: 18px; line-height: 1.8; color: var(--ink); }
.article-body p { margin-bottom: 20px; }
.article-body .lead { font-size: 20px; line-height: 1.75; color: var(--ink); font-weight: 400; }
.article-body h2 { font-family: var(--display); font-size: 28px; margin: 40px 0 16px; letter-spacing: -.2px; }
.article-body blockquote { border-left: 3px solid var(--red); padding: 16px 24px; margin: 28px 0; background: var(--bg-warm); border-radius: 0 8px 8px 0; font-style: italic; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.article-body blockquote cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; font-family: var(--ui); font-weight: 600; color: var(--ink-m); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.article-tag-pill { padding: 5px 14px; background: var(--tag-bg); border-radius: 100px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); font-family: var(--ui); }
.article-share-bar { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; margin-top: 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.article-nl-box { background: var(--bg-warm); border-radius: 12px; padding: 32px; margin: 32px 0; text-align: center; }
.article-nl-box h3 { font-family: var(--display); font-size: 22px; margin-bottom: 6px; }
.article-nl-box p { font-size: 14px; color: var(--ink-2); margin-bottom: 18px; }
.related-section { margin-top: 40px; }
.related-section h3 { font-family: var(--display); font-size: 22px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { text-decoration: none; color: inherit; }
.related-card:hover h4 { color: var(--red); }
.related-img { width: 100%; height: 140px; border-radius: 8px; margin-bottom: 12px; }
.related-card h4 { font-family: var(--display); font-size: 16px; line-height: 1.3; margin-bottom: 8px; transition: color .2s; }

/* ═══ ABOUT PAGE ═══ */
.about-page { padding: 48px 0 56px; }
.about-page h1 { font-family: var(--display); font-size: 42px; margin-bottom: 20px; letter-spacing: -.3px; }
.about-page .about-lead { font-family: var(--body); font-size: 19px; line-height: 1.7; color: var(--ink-2); margin-bottom: 36px; }
.about-page h2 { font-family: var(--display); font-size: 26px; margin: 36px 0 12px; }
.about-page p { font-family: var(--body); font-size: 16.5px; line-height: 1.75; color: var(--ink-2); margin-bottom: 16px; }

/* ═══ NEWSLETTER ═══ */
.nl-strip { background: var(--ink); padding: 52px var(--g); }
.nl-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.nl-inner h2 { font-family: var(--display); color: #fff; font-size: 30px; margin-bottom: 8px; }
.nl-inner p { color: rgba(255,255,255,.5); font-size: 15px; margin-bottom: 24px; line-height: 1.6; }
.nl-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.nl-form input { flex: 1; padding: 13px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 100px; background: rgba(255,255,255,.06); color: #fff; font-size: 14px; font-family: var(--ui); outline: none; transition: border-color .2s; }
.nl-form input::placeholder { color: rgba(255,255,255,.3); }
.nl-form input:focus { border-color: rgba(255,255,255,.35); }
.nl-form button { padding: 13px 26px; background: var(--red); color: #fff; border: none; border-radius: 100px; font-size: 13.5px; font-weight: 600; font-family: var(--ui); transition: background .2s, transform .15s; white-space: nowrap; }
.nl-form button:hover { background: var(--red-d); transform: translateY(-1px); }
/* Override for light background forms */
.article-nl-box .nl-form input { background: #fff; color: var(--ink); border: 1px solid var(--border); }
.article-nl-box .nl-form input::placeholder { color: var(--ink-m); }

/* ═══ FOOTER ═══ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 52px var(--g) 28px; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand .logo-mark { background: var(--red); }
.footer-brand p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.35); margin-top: 10px; }
.footer-col h4 { color: rgba(255,255,255,.9); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.4); font-size: 14px; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--max); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: rgba(255,255,255,.25); }
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: rgba(255,255,255,.3); transition: color .2s; }
.footer-social a:hover { color: #fff; }

/* ═══ NIGHT MODE ═══ */
.night-mode-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--ink-2);
  transition: all .2s;
  cursor: pointer;
  flex-shrink: 0;
}
.night-mode-btn:hover { background: var(--tag-bg); color: var(--ink); border-color: var(--border-s); }

[data-theme="dark"] {
  --bg: #0F1114;
  --bg-warm: #141619;
  --bg-card: #1C1F24;
  --ink: #E8E6E1;
  --ink-2: #A8A6A1;
  --ink-m: #6E6C68;
  --ink-f: #3D3C39;
  --border: #252830;
  --border-s: #343840;
  --tag-bg: #1E2127;
  --gold-bg: #1A1708;
}
[data-theme="dark"] .site-header { background: rgba(15,17,20,.97); }
[data-theme="dark"] .topbar { background: #0A0B0D; }
[data-theme="dark"] .nl-strip { background: #0A0B0D; }
[data-theme="dark"] .site-footer { background: #0A0B0D; }
[data-theme="dark"] .btn-sub { background: var(--red); }
[data-theme="dark"] .mobile-nav { background: var(--bg); }
[data-theme="dark"] .mobile-tabs .nav-tab.active { background: var(--red); border-color: var(--red); }
[data-theme="dark"] .share-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
[data-theme="dark"] .author-avatar { background: var(--border-s); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .ed-grid { grid-template-columns: 1fr; }
  .ed-row { grid-template-columns: 1fr; }
  .daily-layout { grid-template-columns: 1fr; }
  .nav-topics { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .topbar-right { display: none; }
  .mobile-btn { display: flex; }
  .btn-sub { display: none; }
  .night-mode-btn { width: 30px; height: 30px; font-size: 14px; }
  .nav-tabs { display: none; }
  .ed-featured-img { height: 240px; }
  .ed-featured h2 { font-size: 26px; }
  .story-item { grid-template-columns: 1fr; }
  .story-thumb { width: 100%; height: 180px; order: -1; }
  .brief-number { font-size: 28px; min-width: 28px; }
  .brief-card h3 { font-size: 19px; }
  .signal-take { padding: 18px 20px; }
  .brief-expand { padding-left: 40px; }
  .nl-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .daily-header h1 { font-size: 28px; }
  .ed-side-item { grid-template-columns: 1fr 90px; }
  .ed-side-img { width: 90px; height: 65px; }
  .article-page-title { font-size: 30px; }
  .article-hero-img { height: 240px; border-radius: 0; }
  .related-grid { grid-template-columns: 1fr; }
  .article-share-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .article-page-meta { flex-direction: column; align-items: flex-start; }
}
