/* ===================================================================
   Daily Junction — editorial stylesheet
   Fonts: Fraunces (display serif) + Inter (UI/body)
   =================================================================== */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f7f6f3;
  --bg-sunk:   #efeee9;
  --ink:       #15171c;
  --ink-soft:  #4d5562;
  --ink-faint: #79818e;
  --line:      #e6e5df;
  --line-soft: #f0efe9;
  --brand:     #0b5cad;
  --accent:    #e8401f;
  --link:      #0b5cad;
  --radius:    14px;
  --radius-sm: 9px;
  --wrap:      1200px;
  --shadow:    0 1px 2px rgba(15,23,42,.05), 0 8px 24px -12px rgba(15,23,42,.18);
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #14161a;
    --bg-soft:   #1b1e24;
    --bg-sunk:   #20242b;
    --ink:       #eef0f3;
    --ink-soft:  #b3bbc6;
    --ink-faint: #8a93a0;
    --line:      #2c313a;
    --line-soft: #232830;
    --brand:     #6ea8e6;
    --link:      #7fb4ec;
    --shadow:    0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.7);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; font-weight: 700; letter-spacing: -.012em; }
ul, ol { padding-left: 1.2em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; width: 100%; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ===================================================================
   Header
   =================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar { background: var(--ink); color: #cfd6df; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; gap: 16px; padding-block: 7px; }
.topbar-date { font-weight: 600; color: #fff; }
.topbar-date .d-short { display: none; }
.topbar-tag { color: #aab3bf; font-style: italic; }
.topbar-social { margin-left: auto; display: flex; gap: 16px; }
.topbar-social a { color: #cfd6df; }
.topbar-social a:hover { color: #fff; }

.masthead-inner { display: flex; align-items: center; gap: 20px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; flex: none; display: block;
  border-radius: 10px; object-fit: cover;
}
.brand--footer .brand-mark { width: 40px; height: 40px; }
.brand-text { font-family: var(--serif); font-weight: 900; font-size: 30px; letter-spacing: -.025em; }
.brand--footer .brand-text { font-size: 24px; }

.search-mini { margin-left: auto; display: flex; align-items: center; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 14px; }
.search-mini input { border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink);
  width: 180px; outline: none; }
.search-mini button { border: 0; background: var(--brand); color: #fff; width: 34px; height: 34px;
  border-radius: 999px; display: grid; place-items: center; cursor: pointer; }
.search-mini button:hover { filter: brightness(1.08); }

.mainnav { border-top: 1px solid var(--line-soft); }
.nav-list { list-style: none; display: flex; align-items: stretch; gap: 2px; padding: 0; margin: 0; flex-wrap: wrap; }
.nav-list > li > a, .nav-more > button {
  display: inline-flex; align-items: center; padding: 12px 14px; font-size: 14.5px; font-weight: 600;
  color: var(--ink-soft); border: 0; background: none; cursor: pointer; font-family: var(--sans);
  border-bottom: 3px solid transparent;
}
.nav-list > li > a:hover, .nav-more > button:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--accent); }
.nav-home { color: var(--ink) !important; font-weight: 700 !important; }

.nav-more { position: relative; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: var(--shadow);
  list-style: none; padding: 8px; margin: 0; display: none; z-index: 120;
}
.nav-more.open .nav-dropdown, .nav-more:hover .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; color: var(--ink-soft); }
.nav-dropdown a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ===================================================================
   Shared bits
   =================================================================== */
.card-cat, .article-cat, .side-cat, .rail-cat {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .07em; color: var(--cat, var(--accent));
}
.card-cat:hover, .article-cat:hover { text-decoration: none; opacity: .8; }
.dot { color: var(--ink-faint); margin-inline: 2px; }
.card-meta, .side-meta, .rail-meta { color: var(--ink-faint); font-size: 13px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }

.section { padding-block: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 22px; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.section-title { font-size: 26px; position: relative; }
.section--band .section-title { padding-left: 14px; border-left: 5px solid var(--cat, var(--brand)); }
.section-link { font-family: var(--sans); font-weight: 600; font-size: 14px; white-space: nowrap; }

.btn { display: inline-block; background: var(--brand); color: #fff; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; }
.btn:hover { filter: brightness(1.08); text-decoration: none; }

.ph { width: 100%; height: 100%; object-fit: cover; }

/* ===================================================================
   Hero
   =================================================================== */
.hero { display: grid; grid-template-columns: 1.7fr 1fr; gap: 36px; padding-top: 34px; }
.lead-media, .card-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-sunk); aspect-ratio: 16/9; display: block; }
.lead-media img, .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lead-card a.lead-media:hover img, .card:hover .card-media img { transform: scale(1.04); }
.lead-body { padding-top: 18px; }
.lead-title { font-size: clamp(28px, 4vw, 44px); margin-top: 10px; }
.lead-title a { color: var(--ink); }
.lead-title a:hover { color: var(--brand); text-decoration: none; }
.lead-excerpt { color: var(--ink-soft); font-size: 18px; margin: 12px 0 14px; }

.hero-side { border-left: 1px solid var(--line); padding-left: 28px; }
.rail-title { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--sans);
  font-weight: 800; color: var(--ink); padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 6px; }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.side-num { font-family: var(--serif); font-weight: 900; font-size: 26px; color: var(--line); line-height: 1; }
.side-cat { display: block; margin-bottom: 3px; }
.side-title { display: block; font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.25; color: var(--ink); }
.side-title:hover { color: var(--brand); text-decoration: none; }
.side-meta { display: block; margin-top: 4px; }

/* ===================================================================
   Card grid
   =================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 28px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; }
.card-body { padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card-title { font-size: 20px; line-height: 1.25; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--brand); text-decoration: none; }
.card-excerpt { color: var(--ink-soft); font-size: 15px; }
.card--wide .card-title { font-size: 24px; }
.card--compact .card-title { font-size: 17px; }
.card--text .card-media { display: none; }

/* ===================================================================
   Category tiles
   =================================================================== */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg); border-left: 5px solid var(--cat, var(--brand));
  transition: transform .15s ease, box-shadow .15s ease; }
.cat-tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-tile-name { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink); }
.cat-tile-desc { font-size: 13.5px; color: var(--ink-faint); line-height: 1.45; }

/* ===================================================================
   Newsletter band
   =================================================================== */
.newsletter { background: var(--ink); color: #fff; margin-top: 30px; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 40px; flex-wrap: wrap; }
.newsletter h2 { font-size: 28px; color: #fff; }
.newsletter p { color: #b9c1cc; margin-top: 6px; }
.newsletter-form { display: flex; gap: 10px; flex: 1; min-width: 280px; max-width: 460px; }
.newsletter-form input { flex: 1; padding: 13px 16px; border-radius: 999px; border: 0; font: inherit; font-size: 15px; }
.newsletter-form button { background: var(--accent); color: #fff; border: 0; padding: 13px 24px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 15px; }
.newsletter-form button:hover { filter: brightness(1.08); }

/* ===================================================================
   Page hero (category / search)
   =================================================================== */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: 36px;
  border-top: 5px solid var(--cat, var(--brand)); }
.page-hero--plain { border-top-color: var(--brand); }
.page-hero-title { font-size: clamp(30px, 5vw, 48px); margin-top: 8px; }
.page-hero-desc { color: var(--ink-soft); font-size: 18px; max-width: 70ch; margin-top: 8px; }
.page-hero-count { color: var(--ink-faint); font-size: 14px; margin-top: 10px; font-weight: 600; }
.breadcrumb { font-size: 13.5px; color: var(--ink-faint); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb-current { color: var(--ink-faint); }

.search-page { display: flex; gap: 10px; margin-top: 16px; max-width: 560px; }
.search-page input { flex: 1; padding: 13px 18px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 16px; background: var(--bg); color: var(--ink); }
.search-page button { background: var(--brand); color: #fff; border: 0; padding: 13px 26px; border-radius: 999px; font-weight: 600; cursor: pointer; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.pagination a { font-weight: 600; }
.page-status { color: var(--ink-faint); font-size: 14px; }
.empty { color: var(--ink-faint); padding: 40px 0; text-align: center; font-size: 17px; }

/* ===================================================================
   Article
   =================================================================== */
.article-head { max-width: 820px; padding-top: 30px; }
.article-cat { margin: 16px 0 10px; font-size: 13px; }
.article-title { font-size: clamp(30px, 5vw, 52px); line-height: 1.08; }
.article-dek { font-size: clamp(18px, 2.4vw, 23px); color: var(--ink-soft); margin-top: 16px; line-height: 1.45;
  font-family: var(--serif); font-weight: 400; }
.article-byline { display: flex; align-items: center; gap: 13px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.byline-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 20px; flex: none; }
.byline-name { font-weight: 600; font-size: 15.5px; }
.byline-name a { color: var(--ink); }
.byline-role { color: var(--ink-faint); font-weight: 400; }
.byline-meta { display: block; color: var(--ink-faint); font-size: 13.5px; margin-top: 2px; }

.article-hero { margin-block: 30px; max-width: 1000px; }
.hero-media { position: relative; aspect-ratio: 16/8; border-radius: var(--radius); overflow: hidden; background: var(--bg-sunk); background-size: cover; background-position: center; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero figcaption { color: var(--ink-faint); font-size: 13px; margin-top: 8px; text-align: center; }

.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 50px; align-items: start; }
.article-layout--single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.article-main { max-width: 720px; margin-inline: auto; width: 100%; }

/* Body typography */
.article-body { font-size: 19px; line-height: 1.75; color: var(--ink); }
.article-body > p { margin-block: 1.1em; }
.article-body > p:first-child::first-letter { } /* room for drop cap if wanted */
.article-body h2 { font-size: 28px; margin-top: 1.7em; margin-bottom: .5em; scroll-margin-top: 120px; }
.article-body h3 { font-size: 22px; margin-top: 1.4em; margin-bottom: .4em; scroll-margin-top: 120px; }
.article-body h4 { font-size: 19px; font-family: var(--sans); font-weight: 700; margin-top: 1.3em; }
.article-body ul, .article-body ol { margin-block: 1.1em; padding-left: 1.4em; }
.article-body li { margin-block: .5em; }
.article-body li::marker { color: var(--brand); }
.article-body ul.task-list { list-style: none; padding-left: 0; }
.article-body li.task { display: flex; align-items: flex-start; gap: .55em; }
.article-body li.task input { margin-top: .4em; accent-color: var(--brand); }
.article-body a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--accent);
  font-family: var(--serif); font-size: 23px; line-height: 1.4; color: var(--ink); font-style: italic; }
.article-body blockquote p { margin: .3em 0; }
.article-body img { border-radius: var(--radius-sm); margin-block: 1.5em; }
.article-body pre { background: var(--bg-sunk); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; overflow-x: auto; margin-block: 1.4em; font-size: 14.5px; }
.article-body code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88em;
  background: var(--bg-sunk); padding: 2px 6px; border-radius: 5px; }
.article-body pre code { background: none; padding: 0; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.2em; }
.table-wrap { overflow-x: auto; margin-block: 1.5em; }
.article-body table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.article-body th { background: var(--bg-soft); font-family: var(--sans); font-weight: 700; }

/* Takeaways */
.takeaways { background: var(--bg-soft); border: 1px solid var(--line); border-left: 5px solid var(--brand);
  border-radius: var(--radius-sm); padding: 22px 26px; margin-bottom: 30px; }
.takeaways h2 { font-size: 15px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--brand); margin-bottom: 12px; }
.takeaways ul { margin: 0; padding-left: 1.2em; }
.takeaways li { margin-block: .5em; font-size: 16.5px; line-height: 1.55; }
.takeaways li::marker { color: var(--brand); }

/* FAQ */
.faq { margin-top: 50px; border-top: 2px solid var(--ink); padding-top: 24px; }
.faq > h2 { font-size: 26px; margin-bottom: 14px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq-item summary { cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: 19px; padding: 12px 0; list-style: none; position: relative; padding-right: 34px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 8px; font-size: 24px; color: var(--brand); font-family: var(--sans); transition: transform .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { color: var(--ink-soft); font-size: 16.5px; padding-bottom: 14px; }
.faq-answer p { margin-block: .6em; }

/* Sources */
.sources { margin-top: 40px; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 22px 26px; }
.sources h2 { font-size: 18px; font-family: var(--sans); margin-bottom: 10px; }
.sources ol { margin: 0; padding-left: 1.3em; }
.sources li { margin-block: .5em; font-size: 15px; color: var(--ink-soft); }

/* Tags / share / author */
.article-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 36px; }
.tag { font-size: 13.5px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft);
  padding: 6px 13px; border-radius: 999px; font-weight: 500; }
.tag:hover { background: var(--bg-sunk); text-decoration: none; color: var(--ink); }

.share { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding-block: 18px; border-block: 1px solid var(--line); }
.share-label { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.share a { font-size: 13.5px; font-weight: 600; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }

.author-box { display: flex; gap: 16px; margin-top: 30px; padding: 24px; background: var(--bg-soft); border-radius: var(--radius); }
.author-box-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 26px; flex: none; }
.author-box-name { font-size: 19px; }
.author-box-role { color: var(--brand); font-weight: 600; font-size: 14px; margin-top: 2px; }
.author-box-bio { color: var(--ink-soft); font-size: 15px; margin-top: 8px; line-height: 1.55; }

/* Article aside / related rail */
.aside-sticky { position: sticky; top: 130px; }
.rail-list { list-style: none; padding: 0; margin: 8px 0 0; }
.rail-list li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.rail-cat { display: block; margin-bottom: 4px; font-size: 11px; }
.rail-link { font-family: var(--serif); font-weight: 700; font-size: 16.5px; line-height: 1.3; color: var(--ink); display: block; }
.rail-link:hover { color: var(--brand); text-decoration: none; }
.rail-meta { display: block; margin-top: 4px; }
.section--more { border-top: 1px solid var(--line); margin-top: 24px; }

/* ===================================================================
   404
   =================================================================== */
.notfound { text-align: center; padding-block: 70px 30px; }
.notfound-code { font-family: var(--serif); font-weight: 900; font-size: 90px; color: var(--accent); line-height: 1; }
.notfound-title { font-size: 34px; margin-top: 6px; }
.notfound-text { color: var(--ink-soft); max-width: 50ch; margin: 14px auto 24px; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 50px; padding-block: 50px; }
.footer-desc { color: var(--ink-soft); font-size: 14.5px; margin-top: 14px; max-width: 40ch; }
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-social a { font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h3 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-block: 9px; }
.footer-col a { color: var(--ink-soft); font-size: 14.5px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; font-size: 13px; color: var(--ink-faint); flex-wrap: wrap; }

/* ===================================================================
   Portal widgets (weather, trending, sidebar, ads)
   =================================================================== */
.topbar-wx { margin-left: auto; color: #fff; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.topbar-wx:hover { color: #fff; text-decoration: none; opacity: .85; }

.portal-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 30px; }
.widgets { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }
.widget { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); padding: 18px; }
.widget-title { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); margin: 0 0 14px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.widget-text { color: var(--ink-soft); font-size: 14px; margin-bottom: 10px; }

.wx-current { display: flex; align-items: center; gap: 12px; }
.wx-icon { font-size: 38px; line-height: 1; }
.wx-temp { font-family: var(--serif); font-weight: 900; font-size: 40px; line-height: 1; }
.wx-meta { font-size: 13px; color: var(--ink-soft); }
.wx-days { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 8px; }
.wx-days li { flex: 1; text-align: center; background: var(--bg-soft); border-radius: 8px; padding: 8px 4px; font-size: 12.5px; }
.wx-day { display: block; color: var(--ink-faint); font-weight: 600; }
.wx-dicon { font-size: 20px; display: block; margin: 2px 0; }
.wx-hl { font-weight: 700; }
.wx-hl em { color: var(--ink-faint); font-style: normal; font-weight: 400; }
.wx-cities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.wx-cities a { font-size: 12px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.wx-cities a:hover { text-decoration: none; border-color: var(--brand); color: var(--brand); }
.wx-cities a.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.trend-list { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.trend-list li { padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line-soft); position: relative; counter-increment: t; }
.trend-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.trend-list li::before { content: counter(t); position: absolute; left: 0; top: 10px; font-family: var(--serif); font-weight: 900; color: var(--line); font-size: 18px; }
.trend-cat { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cat, var(--accent)); }
.trend-cat:hover { text-decoration: none; opacity: .8; }
.trend-link { font-family: var(--serif); font-weight: 700; font-size: 15.5px; line-height: 1.3; color: var(--ink); }
.trend-link:hover { color: var(--brand); text-decoration: none; }

.newsletter-form--mini { flex-direction: column; gap: 8px; max-width: none; min-width: 0; }
.newsletter-form--mini input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; background: var(--bg); color: var(--ink); }
.newsletter-form--mini button { width: 100%; }

.widget-catlist { list-style: none; padding: 0; margin: 0; }
.widget-catlist li { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.widget-catlist li:last-child { border-bottom: 0; }
.widget-catlist a { color: var(--ink-soft); }
.widget-catlist a:hover { color: var(--ink); }
.widget-catlist span { color: var(--ink-faint); font-size: 12px; background: var(--bg-soft); border-radius: 999px; padding: 1px 8px; }

.ad-slot { margin: 18px 0; text-align: center; min-height: 1px; }
.ad-band { margin: 0 0 24px; }
.ad-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 4px; }
.ad-adcash { text-align: center; }
.ad-adcash--250 { min-height: 250px; display: flex; align-items: center; justify-content: center; }
.ad-adcash--inline { min-height: 250px; display: flex; align-items: center; justify-content: center; }
.ad-adcash > * { margin: 0 auto; }
.ad-incontent { display: block; margin: 30px 0; padding: 12px 0; border-top: 1px solid var(--rule, #eee); border-bottom: 1px solid var(--rule, #eee); }
.ad-band { display: block; margin: 8px auto 28px; text-align: center; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-aside { display: none; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .portal-strip { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; gap: 26px; }
  .hero-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav-toggle { display: flex; }
  .search-mini { order: 3; width: 100%; margin-left: 0; margin-top: 4px; }
  .masthead-inner { flex-wrap: wrap; }
  .brand { margin-inline: auto; }
  .mainnav { display: none; }
  .mainnav.open { display: block; }
  .nav-list { flex-direction: column; }
  .nav-list > li > a, .nav-more > button { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-more .nav-dropdown { position: static; display: block; border: 0; box-shadow: none; padding-left: 16px; }
  .nav-more > button { display: none; }
  .topbar-tag { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .card-grid, .card-grid--4 { grid-template-columns: 1fr; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .brand-text { font-size: 24px; }
  .article-body { font-size: 18px; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .section { padding-block: 30px; }
  .topbar { font-size: 12px; }
  .topbar-inner { gap: 10px; flex-wrap: wrap; }
  .topbar-date .d-full { display: none; }
  .topbar-date .d-short { display: inline; }
  .topbar-wx .wx-city { display: none; }
}
