/* NewzNow 3.0 — public site
   Palette: river ink, gamosa red, muga gold, Brahmaputra blue, mist.
   Type: Noto Serif Bengali (headlines) + Noto Sans Bengali (reading). Self-hosted. */

@font-face { font-family: "NN Serif"; font-weight: 600; font-display: swap; src: url(../fonts/noto-serif-bengali-bengali-600-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "NN Serif"; font-weight: 700; font-display: swap; src: url(../fonts/noto-serif-bengali-bengali-700-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "NN Serif"; font-weight: 600 700; font-display: swap; src: url(../fonts/noto-serif-bengali-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "NN Sans"; font-weight: 400; font-display: swap; src: url(../fonts/noto-sans-bengali-bengali-400-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "NN Sans"; font-weight: 600; font-display: swap; src: url(../fonts/noto-sans-bengali-bengali-600-normal.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "NN Sans"; font-weight: 400; font-display: swap; src: url(../fonts/noto-sans-bengali-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "NN Sans"; font-weight: 600; font-display: swap; src: url(../fonts/noto-sans-bengali-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --ink: #1d2433;
    --ink-2: #3b4456;
    --muted: #5f6878;
    --line: #e2e5ea;
    --mist: #f3f5f7;
    --paper: #ffffff;
    --red: #b3121f;
    --red-deep: #8f0d18;
    --gold: #c8932e;
    --river: #21405a;
    --river-2: #2c5574;
    --serif: "NN Serif", "Noto Serif Bengali", Georgia, serif;
    --sans: "NN Sans", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1180px;
    --gutter: 16px;
    --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 17px/1.7 var(--sans);
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.38; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Masthead ---------- */

.gamosa {
    height: 18px;
    background:
        linear-gradient(var(--red), var(--red)) top / 100% 4px no-repeat,
        linear-gradient(var(--red), var(--red)) bottom / 100% 4px no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='18'%3E%3Cpath d='M12 4.5l4.5 4.5-4.5 4.5-4.5-4.5z' fill='%23b3121f'/%3E%3Cpath d='M12 7.6l1.4 1.4-1.4 1.4-1.4-1.4z' fill='%23fff'/%3E%3Ccircle cx='0' cy='9' r='1.4' fill='%23b3121f'/%3E%3Ccircle cx='24' cy='9' r='1.4' fill='%23b3121f'/%3E%3C/svg%3E") left center / 24px 18px repeat-x,
        #fff;
}

.masthead {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 12px;
}
.wordmark {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark-b { color: var(--red); }
.wordmark { display: inline-flex; align-items: center; }
.logo-img { display: block; height: 44px; width: auto; }
.logo-img--footer { height: 40px; }
.masthead-date { color: var(--muted); font-size: 14px; }
.masthead-tools { display: flex; align-items: center; gap: 14px; }
.lang-link { font-size: 14px; font-weight: 600; color: var(--river); border: 1px solid var(--line); padding: 4px 10px; border-radius: 20px; }
.search-form { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 22px; padding: 2px 4px 2px 14px; background: var(--mist); }
.search-form input { border: 0; background: transparent; font: inherit; font-size: 15px; width: 170px; padding: 5px 0; color: var(--ink); }
.search-form input:focus { outline: none; }
.search-form:focus-within { border-color: var(--river-2); background: #fff; }
.search-form button { border: 0; background: transparent; color: var(--ink-2); padding: 6px 8px; display: flex; }

.section-nav { background: var(--river); }
.section-nav-inner {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-nav a {
    flex: none;
    color: #e6edf3;
    font-size: 16px;
    font-weight: 600;
    padding: 9px 12px 8px;
    border-bottom: 3px solid transparent;
}
.section-nav a:hover { color: #fff; background: var(--river-2); }
.section-nav a.is-current { color: #fff; border-bottom-color: var(--gold); }

.breaking { background: #fff4f4; border-bottom: 1px solid #f1d4d6; }
.breaking-inner { display: flex; align-items: baseline; gap: 14px; padding-top: 9px; padding-bottom: 9px; }
.breaking-label {
    flex: none;
    background: var(--red);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 1px 10px;
    border-radius: var(--radius);
}
.breaking-list { list-style: none; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.breaking-list a { font-weight: 600; color: var(--red-deep); }
.breaking-list time { color: var(--muted); font-size: 13px; margin-left: 6px; white-space: nowrap; }

/* ---------- Story cards ---------- */

.story { display: grid; gap: 10px; align-content: start; }
.story-media { display: block; position: relative; aspect-ratio: 16 / 9; background: var(--mist); border-radius: var(--radius); overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-noimg {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-family: var(--serif); font-size: 44px; color: #c9d1da;
    background: linear-gradient(135deg, var(--mist), #e7ebef);
}
.story-kicker { font-size: 14px; font-weight: 600; color: var(--red); line-height: 1.3; }
.story-body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.story-title { font-size: 19px; line-height: 1.42; font-weight: 700; }
.story-title a:hover { color: var(--red-deep); }
.story-excerpt { color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.story-time { color: var(--muted); font-size: 13px; }

.story--lead .story-title { font-size: clamp(26px, 4.6vw, 40px); line-height: 1.3; letter-spacing: -0.005em; }
.story--lead .story-excerpt { font-size: 17.5px; max-width: 62ch; }
.story--lead .story-noimg { font-size: 80px; }

.story--row { grid-template-columns: 1fr 118px; gap: 14px; align-items: start; }
.story--row .story-media { order: 2; aspect-ratio: 4 / 3; }
.story--row .story-title { font-size: 17.5px; }
.story--row .story-excerpt { display: none; }

.story--text .story-title { font-size: 17px; }

/* ---------- Home ---------- */

.top-stories {
    display: grid;
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 26px;
}
.top-side { display: grid; gap: 18px; align-content: start; }
.top-side .story + .story { padding-top: 18px; border-top: 1px solid var(--line); }

.block-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-top: 3px solid var(--ink);
    padding-top: 10px;
    margin-bottom: 18px;
}
.block-head h2 { font-size: 24px; }
.block-head a { font-size: 15px; font-weight: 600; color: var(--river-2); white-space: nowrap; }
.block-head a:hover { color: var(--red); }

.home-columns { display: grid; gap: 34px; padding-bottom: 34px; }

/* The latest-news river: chronological, so it gets a time line. */
.river-list { list-style: none; position: relative; }
.river-list > li { position: relative; padding: 0 0 20px 22px; }
.river-list > li::before {
    content: ""; position: absolute; left: 4px; top: 10px; bottom: -10px;
    width: 2px; background: #d6dee6;
}
.river-list > li:last-child::before { display: none; }
.river-list > li::after {
    content: ""; position: absolute; left: 0; top: 6px;
    width: 10px; height: 10px; border-radius: 50%;
    background: #fff; border: 2px solid var(--river-2);
}
.river-list > li:first-child::after { background: var(--red); border-color: var(--red); }
.river-list .story--row .story-excerpt { display: block; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.rail { display: grid; gap: 30px; align-content: start; }
.most-read h2, .district-box h2 { font-size: 21px; margin-bottom: 12px; }
.most-read ol { list-style: none; display: grid; gap: 0; }
.most-read li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.most-read li:first-child { border-top: 0; padding-top: 0; }
.most-read .rank { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--red); font-weight: 700; }
.most-read a { font-weight: 600; font-size: 16.5px; line-height: 1.5; }

.district-box { background: var(--mist); border-radius: var(--radius); padding: 18px; }
.district-box p { font-size: 15px; color: var(--muted); margin: -4px 0 14px; }
.district-all { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--river-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; margin-bottom: 8px; scrollbar-width: thin; }
.chip {
    flex: none;
    display: inline-block;
    font-size: 15px;
    line-height: 1.4;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #d5dbe2;
    border-radius: 20px;
    color: var(--ink-2);
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-current { background: var(--river); border-color: var(--river); color: #fff; }
.chip--plain { background: var(--mist); border-color: transparent; }

.cat-block { padding-bottom: 34px; }
.cat-grid { display: grid; gap: 18px; }
.cat-grid > .story--row { padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Article ---------- */

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--red); }

.article-wrap { display: grid; gap: 34px; padding-top: 20px; padding-bottom: 30px; }
.article { min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--red); font-weight: 600; }
.crumbs a:first-child { color: var(--muted); font-weight: 400; }
.article-title { font-size: clamp(27px, 5vw, 42px); line-height: 1.3; letter-spacing: -0.005em; margin-bottom: 14px; }
.article-dek { font-size: 19px; line-height: 1.65; color: var(--ink-2); margin-bottom: 18px; max-width: 64ch; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline;
    font-size: 14.5px; color: var(--muted);
    padding: 12px 0; border-top: 1px solid var(--line);
}
.byline { font-weight: 600; color: var(--ink); }
.dates { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.updated { color: var(--red-deep); }

.share { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 18px; }
.share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14.5px; font-weight: 600; line-height: 1;
    padding: 9px 14px;
    border: 1px solid #d5dbe2; border-radius: 22px;
    background: #fff; color: var(--ink-2);
}
.share-btn:hover { border-color: var(--ink-2); color: var(--ink); }
.share-btn--wa { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.share-btn--wa:hover { background: #17834a; border-color: #17834a; color: #fff; }
.share-btn.is-done { border-color: #1f9d55; color: #17834a; }

.article-hero { margin: 0 0 22px; }
.article-hero img { width: 100%; border-radius: var(--radius); background: var(--mist); }
.article-hero figcaption { font-size: 14px; color: var(--muted); line-height: 1.55; padding-top: 8px; }
.article-hero .credit { margin-left: 6px; color: #8a93a1; }

.article-body { font-size: 19px; line-height: 1.9; max-width: 68ch; overflow-wrap: break-word; }
.article-body > * + * { margin-top: 1.05em; }
.article-body h2 { font-size: 25px; margin-top: 1.5em; }
.article-body h3 { font-size: 21px; margin-top: 1.3em; }
.article-body a { color: var(--river-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--red); }
.article-body blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--red); color: var(--ink-2); font-family: var(--serif); font-size: 20px; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li + li { margin-top: 0.4em; }
.article-body img { border-radius: var(--radius); }
.article-body figure { margin-left: 0; margin-right: 0; }
.article-body figcaption { font-size: 14px; color: var(--muted); padding-top: 6px; }
.article-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.article-body table { border-collapse: collapse; width: 100%; font-size: 16px; display: block; overflow-x: auto; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-body hr { border: 0; border-top: 1px solid var(--line); }

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.article-end { margin-top: 28px; padding-top: 18px; border-top: 3px solid var(--ink); max-width: 68ch; }
.article-end > p:first-child { font-weight: 600; }
.article-correction { font-size: 15px; color: var(--muted); }
.article-correction a { color: var(--river-2); text-decoration: underline; }

.related { padding-bottom: 36px; }
.related-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }

/* ---------- Listing / pages ---------- */

.listing-head { padding-top: 24px; padding-bottom: 18px; }
.listing-head h1 { font-size: clamp(28px, 4.5vw, 38px); }
.listing-head p { color: var(--muted); margin-top: 6px; max-width: 62ch; }
.listing-top { padding-bottom: 24px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.listing-list { list-style: none; max-width: 820px; }
.listing-list > li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.listing-list .story--row { grid-template-columns: 1fr 150px; }
.listing-list .story--row .story-excerpt { display: block; font-size: 15.5px; }
.result-count { color: var(--muted); margin-bottom: 4px; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 820px; padding: 26px 0 40px; }
.pager-btn { font-weight: 600; padding: 9px 18px; border: 1px solid #ccd3db; border-radius: 22px; }
.pager-btn.is-disabled { color: #aab2bd; border-color: var(--line); }
.pager-status { color: var(--muted); font-size: 15px; }

.district-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding-bottom: 40px; }
.district-tile { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.district-tile:hover { border-color: var(--red); }
.district-name { font-family: var(--serif); font-weight: 700; font-size: 19px; }
.district-en { font-size: 13px; color: var(--muted); }
.district-count { font-size: 13px; color: var(--red); font-weight: 600; margin-top: 4px; }

.search-big { display: flex; gap: 10px; margin-top: 16px; max-width: 640px; }
.search-big input { flex: 1; min-width: 0; font: inherit; padding: 10px 16px; border: 1px solid #c8d0d9; border-radius: 26px; }
.search-big input:focus { outline: none; border-color: var(--river-2); box-shadow: 0 0 0 3px rgba(44, 85, 116, .15); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 15.5px; padding: 10px 20px; border-radius: 26px; border: 1px solid #c8d0d9; background: #fff; color: var(--ink); }
.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); color: #fff; }

.empty-state { padding: 40px 0; max-width: 60ch; }
.empty-state h1, .empty-state h2 { font-size: 26px; margin-bottom: 10px; }
.empty-state p { color: var(--ink-2); margin-bottom: 10px; }
.empty-state a { color: var(--river-2); text-decoration: underline; }
.empty-state--page { padding: 60px var(--gutter) 80px; }

.page-wrap { padding-top: 28px; padding-bottom: 50px; }
.page-body { max-width: 68ch; font-size: 18px; line-height: 1.85; }
.page-body h1 { font-size: clamp(28px, 4.5vw, 38px); margin-bottom: 18px; }
.page-body h2 { font-size: 22px; margin: 1.5em 0 0.4em; }
.page-body p + p, .page-body ul { margin-top: 0.9em; }
.page-body ul { padding-left: 1.3em; }
.page-body a { color: var(--river-2); text-decoration: underline; }
.page-updated { margin-top: 2em; font-size: 14px; color: var(--muted); }
.contact-list { display: grid; gap: 4px 20px; margin: 1.2em 0; }
.contact-list dt { font-weight: 600; margin-top: 10px; }
.contact-list dd { margin: 0; }

/* ---------- Share card dialog ---------- */

.card-dialog { border: 0; border-radius: 10px; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); color: var(--ink); }
.card-dialog::backdrop { background: rgba(20, 26, 38, .62); }
.card-dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.card-dialog-head h2 { font-size: 20px; }
.card-close { border: 0; background: none; font-size: 20px; color: var(--muted); padding: 4px 8px; }
.card-formats { display: flex; gap: 8px; padding: 12px 18px 0; }
.card-formats button { flex: 1; border: 1px solid #d5dbe2; background: #fff; border-radius: 22px; padding: 7px 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.card-formats button[aria-checked="true"] { background: var(--river); color: #fff; border-color: var(--river); }
.card-preview { padding: 14px 18px; display: grid; place-items: center; background: var(--mist); margin: 12px 18px 0; border-radius: var(--radius); }
.card-preview canvas { width: auto; max-width: 100%; max-height: 52vh; border-radius: 3px; box-shadow: 0 1px 3px rgba(20, 26, 38, .2); }
.card-actions { display: flex; gap: 10px; padding: 14px 18px 18px; }
.card-actions .btn { flex: 1; }

/* ---------- Footer ---------- */

.site-footer { background: var(--river); color: #cfdae4; margin-top: 20px; }
.footer-grid { display: grid; gap: 28px; padding-top: 34px; padding-bottom: 26px; grid-template-columns: 1fr 1fr; }
.footer-about { grid-column: 1 / -1; }
.footer-about p { font-size: 15.5px; line-height: 1.7; margin-top: 12px; max-width: 46ch; }
.wordmark-light { color: #fff; font-size: 30px; }
.wordmark-light:hover { color: #fff; }
.wordmark-light .wordmark-b { color: #ff8f96; }
.site-footer h2 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; font-size: 15.5px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-social { display: flex !important; flex-wrap: wrap; gap: 8px 16px !important; margin-top: 14px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-size: 13.5px; color: #a9bccc; padding-top: 14px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }

/* ---------- Responsive ---------- */

@media (max-width: 719px) {
    body { font-size: 16.5px; }
    .masthead { grid-template-columns: 1fr auto; padding-top: 10px; padding-bottom: 10px; }
    .masthead-date { display: none; }
    .wordmark { font-size: 28px; }
    .logo-img { height: 34px; }
    .search-form input { width: 0; padding: 0; transition: width .2s; }
    .search-form:focus-within input { width: 130px; }
    .search-form { padding-left: 4px; background: #fff; }
    .article-body { font-size: 18px; line-height: 1.88; }
    .story--row { grid-template-columns: 1fr 104px; }
    .listing-list .story--row { grid-template-columns: 1fr 108px; }
    .listing-list .story--row .story-excerpt { display: none; }
    .river-list .story--row .story-excerpt { display: none; }
}

@media (min-width: 720px) {
    .top-stories { grid-template-columns: 1.7fr 1fr; gap: 30px; padding-top: 28px; }
    .top-side .story--row { grid-template-columns: 1fr 112px; }
    .cat-grid { grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(3, auto); column-gap: 30px; }
    .cat-grid > .story--tile { grid-row: span 3; }
    .cat-grid > .story--row:nth-child(2) { border-top: 0; padding-top: 0; }
    .related-grid { grid-template-columns: repeat(3, 1fr); }
    .district-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
    .footer-about { grid-column: auto; }
}

@media (min-width: 1000px) {
    .home-columns { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
    .article-wrap { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
    .article-rail { position: sticky; top: 20px; align-self: start; }
    .district-grid { grid-template-columns: repeat(5, 1fr); }
    .breaking-list { flex-direction: row; flex-wrap: wrap; gap: 4px 26px; }
}


/* ---------- Phase 2: live blog, notifications, install ---------- */

.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: middle; animation: nn-pulse 1.6s ease-in-out infinite; }
@keyframes nn-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.live-badge { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: #fff; background: var(--red); padding: 2px 10px; border-radius: var(--radius); margin-bottom: 10px; }
.live-badge--ended { background: var(--mist); color: var(--muted); }
.live-tag { display: inline-flex; align-items: center; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--red); margin-right: 4px; vertical-align: 2px; }

.live-strip { display: flex; align-items: baseline; gap: 14px; padding-top: 16px; }
.live-strip .live-badge { flex: none; margin: 0; }
.live-strip ul { list-style: none; display: grid; gap: 4px; min-width: 0; }
.live-strip a { font-weight: 600; }
.live-strip time { color: var(--muted); font-size: 13px; margin-left: 6px; white-space: nowrap; }

.live { margin: 0 0 30px; padding: 18px 0 4px; border-top: 3px solid var(--red); max-width: 68ch; }
.live-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.live-head h2 { font-size: 23px; }
.live-count, .live-auto { font-size: 14px; color: var(--muted); }
.live-new[hidden], .install-bar[hidden], .push-panel[hidden], .bell[hidden] { display: none !important; }
.live-new { display: block; width: 100%; margin: 0 0 14px; padding: 9px; border: 0; border-radius: 22px; background: var(--river); color: #fff; font-weight: 600; font-size: 15px; position: sticky; top: 8px; z-index: 5; }
.live-list { list-style: none; }
.live-item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.live-item.is-pinned { background: #fff8ec; margin: 0 -12px; padding: 16px 12px; border-radius: var(--radius); border-bottom: 0; }
.live-item.is-new { animation: nn-flash 2.4s ease-out 1; }
@keyframes nn-flash { from { background: #fff1f2; } to { background: transparent; } }
.live-time { font-size: 14px; color: var(--red-deep); font-weight: 600; display: grid; align-content: start; gap: 2px; }
.live-date { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.live-pin { color: var(--gold); font-size: 12.5px; }
.live-title { font-size: 19px; margin-bottom: 6px; }
.live-body { font-size: 18px; line-height: 1.8; }
.live-body > * + * { margin-top: .8em; }
.live-body a { color: var(--river-2); text-decoration: underline; }
.live-content img { margin-top: 10px; border-radius: var(--radius); }
.live-empty, .live-ended { color: var(--muted); font-size: 15px; padding: 12px 0; }

.bell { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); background: #fff; color: var(--river); border-radius: 20px; padding: 4px 11px; font-size: 14px; font-weight: 600; }
.bell.is-on { background: var(--river); border-color: var(--river); color: #fff; }
.push-panel {
    position: fixed; z-index: 60; right: 16px; top: 72px; width: min(340px, calc(100vw - 32px));
    background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(20, 26, 38, .18);
}
.push-panel h2 { font-size: 19px; margin-bottom: 6px; padding-right: 26px; }
.push-panel p { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }
.push-panel fieldset { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.push-panel label { display: flex; gap: 8px; align-items: baseline; font-size: 15.5px; }
.push-panel small { color: var(--muted); }
.push-actions { display: flex; gap: 8px; align-items: center; }
.push-close { position: absolute; top: 10px; right: 10px; border: 0; background: none; color: var(--muted); font-size: 18px; padding: 4px 8px; }
.push-actions .push-close { position: absolute; }

.install-bar {
    position: fixed; z-index: 55; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin: 0 auto;
    display: flex; align-items: center; gap: 12px; padding: 12px 44px 12px 16px;
    background: var(--river); color: #fff; border-radius: 10px; font-size: 15px; line-height: 1.5;
    box-shadow: 0 8px 24px rgba(20, 26, 38, .25);
}
.install-bar .btn { flex: none; }
.install-bar .push-close { color: #cfdae4; top: 50%; transform: translateY(-50%); }
.offline-list { margin: 10px 0 20px 1.2em; display: grid; gap: 6px; }
.offline-list a { color: var(--river-2); text-decoration: underline; word-break: break-all; }

@media (max-width: 719px) {
    .bell-label { display: none; }
    .bell { padding: 6px 8px; }
    .push-panel { top: auto; bottom: 12px; right: 16px; }
    .live-item { grid-template-columns: 1fr; gap: 4px; }
    .live-time { grid-auto-flow: column; justify-content: start; gap: 8px; }
    .live-strip { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .site-footer, .share, .rail, .related, .read-progress, .article-end .share { display: none !important; }
    .article-body { font-size: 12pt; max-width: none; }
}
