/* Desh News 24 — public stylesheet. Tokens first; dark mode swaps tokens only. */
:root {
  --paper: #ffffff; --surface: #f3f4f6; --ink: #15181e; --ink-2: #434a58; --ink-3: #626a78; --line: #dde1e7;
  --brand: #8a1220; --brand-ink: #ffffff; --accent: #8a1220; --brand-soft: #fbe9ec; --navy: #0f1b2d; --navy-ink: #e6ebf3;
  --focus: #1a5fd1; --ok: #14663a; --warn: #8a5a00;
  --font: "Noto Sans Bengali", "Hind Siliguri", "Kalpurush", "SolaimanLipi", "Nirmala UI", "Vrinda", "Lohit Bengali", "FreeSans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 3px; --gutter: 16px; --container: 1200px; --measure: 44rem;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #0d1117; --surface: #151b24; --ink: #e9ecf1; --ink-2: #b6bdc9; --ink-3: #8f98a7; --line: #263041;
  --brand: #a3162a; --accent: #ff8da0; --brand-soft: #2a1218; --navy: #070b12; --navy-ink: #cfd7e4; --focus: #7db0ff;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1117; --surface: #151b24; --ink: #e9ecf1; --ink-2: #b6bdc9; --ink-3: #8f98a7; --line: #263041;
    --brand: #a3162a; --accent: #ff8da0; --brand-soft: #2a1218; --navy: #070b12; --navy-ink: #cfd7e4; --focus: #7db0ff; color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.75 var(--font); text-rendering: optimizeLegibility; }
img, picture, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.45; margin: 0; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--radius); }
.skip-link:focus { top: 8px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Utility bar ───────────────────────────── */
.topbar { background: var(--navy); color: var(--navy-ink); font-size: .875rem; line-height: 1.4; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; flex-wrap: wrap; padding-block: 4px; }
.topbar__date { font-weight: 500; }
.topbar__tools { display: flex; align-items: center; gap: 4px; }
.topbar a, .topbar button { color: inherit; background: none; border: 0; padding: 6px 10px; border-radius: var(--radius); display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.topbar a:hover, .topbar button:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.topbar .sep { width: 1px; height: 16px; background: rgba(255,255,255,.25); margin-inline: 4px; }

/* ── Masthead ──────────────────────────────── */
.masthead .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.9rem; font-weight: 800; line-height: 1.3; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo__mark { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 0 .38em; font-size: .78em; line-height: 1.5; }
.masthead__actions { display: flex; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: var(--radius); border: 1px solid var(--brand); background: var(--brand); color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.btn:hover { text-decoration: none; filter: brightness(1.12); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--small { min-height: 36px; padding: 4px 12px; font-size: .9375rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.icon-btn:hover { border-color: var(--ink-3); }

/* ── Navigation ────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 3px solid var(--brand); }
.nav .container { display: flex; align-items: stretch; }
.nav__list { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__link { display: flex; align-items: center; padding: 0 14px; min-height: 48px; font-weight: 600; white-space: nowrap; }
.nav__link:hover { background: var(--surface); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.nav__all { display: flex; align-items: center; gap: 8px; padding: 0 14px; min-height: 48px; border: 0; border-inline-start: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.nav__all:hover { background: var(--surface); }
.megamenu { position: absolute; inset-inline: 0; top: 100%; background: var(--paper); border-bottom: 3px solid var(--brand); box-shadow: 0 18px 30px -18px rgba(0,0,0,.35); max-height: calc(100vh - 120px); overflow-y: auto; }
.megamenu[hidden] { display: none; }
.megamenu__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px 24px; padding-block: 22px 26px; }
.megamenu h3 { font-size: 1.05rem; margin-bottom: 4px; }
.megamenu h3 a { color: var(--accent); }
.megamenu li a { display: block; padding: 3px 0; color: var(--ink-2); }
.megamenu__tools { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 22px; border-top: 1px solid var(--line); padding-top: 16px; }

/* ── Breaking ticker ───────────────────────── */
.ticker { background: var(--brand); color: #fff; }
.ticker .container { display: flex; align-items: center; gap: 12px; min-height: 46px; }
.ticker__label { flex: none; background: var(--navy); color: #fff; font-weight: 700; padding: 2px 12px; border-radius: var(--radius); line-height: 1.7; }
.ticker__items { flex: 1; min-width: 0; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.ticker__items::-webkit-scrollbar { display: none; }
.ticker__items a { font-weight: 600; }
.ticker.is-rotating .ticker__items { display: block; overflow: hidden; position: relative; height: 1.75em; }
.ticker.is-rotating .ticker__items a { position: absolute; inset: 0 auto auto 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; opacity: 0; visibility: hidden; }
.ticker.is-rotating .ticker__items a.is-active { opacity: 1; visibility: visible; transition: opacity .3s; }
.ticker__ctl { display: none; gap: 2px; }
.ticker.is-rotating .ticker__ctl { display: flex; }
.ticker__ctl button { background: rgba(255,255,255,.15); border: 0; color: #fff; width: 32px; height: 32px; border-radius: var(--radius); }
.ticker__ctl button:hover { background: rgba(255,255,255,.28); }

/* ── Section scaffolding ───────────────────── */
main { display: block; padding-block: 20px 8px; }
.section { margin-block: 40px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 3px solid var(--brand); padding-top: 8px; margin-bottom: 18px; }
.section__title { font-size: 1.4rem; }
.section__title a:hover { text-decoration: none; color: var(--accent); }
.section__more { color: var(--accent); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.page-title { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 8px; }
.page-lead { color: var(--ink-2); max-width: var(--measure); }
.breadcrumb { font-size: .9rem; color: var(--ink-3); margin-bottom: 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li + li::before { content: "›"; margin-inline: 8px; color: var(--ink-3); }
.breadcrumb a:hover { color: var(--accent); }
.muted { color: var(--ink-3); }

/* ── Cards ─────────────────────────────────── */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; color: var(--ink-3); font-size: .875rem; line-height: 1.6; }
.meta a:hover { color: var(--accent); }
.badge { display: inline-block; font-size: .8125rem; font-weight: 700; line-height: 1.6; padding: 0 8px; border-radius: var(--radius); background: var(--brand-soft); color: var(--accent); }
.badge--sponsored { background: #fff4d6; color: #6b4600; }
:root[data-theme="dark"] .badge--sponsored { background: #3a2c08; color: #ffd98a; }
.kicker { color: var(--accent); font-weight: 700; font-size: .95rem; display: block; }
.card__media { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); border-radius: inherit; pointer-events: none; }
.card__tag { position: absolute; inset-inline-start: 8px; inset-block-end: 8px; display: inline-flex; align-items: center; gap: 4px; background: rgba(15,27,45,.88); color: #fff; font-size: .8125rem; padding: 2px 8px; border-radius: var(--radius); line-height: 1.6; }
.card__title { font-size: 1.1rem; line-height: 1.5; }
.card__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card__summary { color: var(--ink-2); font-size: 1rem; margin: 6px 0 0; line-height: 1.7; }
.card--lead .card__media { aspect-ratio: 16 / 10; }
.card--lead .card__title { font-size: clamp(1.5rem, 3.2vw, 2.15rem); line-height: 1.4; margin: 12px 0 8px; }
.card--lead .card__summary { font-size: 1.0625rem; }
.card--grid .card__media { aspect-ratio: 16 / 10; margin-bottom: 10px; }
.card--row { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: start; }
.card--row .card__media { aspect-ratio: 4 / 3; }
.card--row .card__title { font-size: 1.0625rem; }
.card--row.no-img { grid-template-columns: 1fr; }
.card--text .card__title { font-size: 1.0625rem; }
.card--big-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .card--big-row { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 20px; } }
.card--big-row .card__media { aspect-ratio: 16 / 10; }
.card--big-row .card__title { font-size: 1.5rem; }
.list-divided > li + li { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }

/* ── Home hero: lead / supporting / timeline ── */
.hero { display: grid; gap: 28px; }
@media (min-width: 720px) { .hero { grid-template-columns: 1fr 1fr; } .hero__lead { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .hero { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px; } .hero__lead { grid-column: auto; } }
.hero__support { display: grid; gap: 16px; align-content: start; }
.hero__support .list-divided > li + li { margin-top: 16px; padding-top: 16px; }
.timeline { position: relative; background: var(--surface); border-radius: var(--radius); padding: 14px 16px 6px; }
.timeline__head { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 8px; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.timeline__list { position: relative; margin-inline-start: 4px; }
.timeline__list::before { content: ""; position: absolute; inset-block: 10px 14px; inset-inline-start: 4px; width: 2px; background: var(--line); }
.timeline__item { position: relative; padding: 0 0 14px 24px; }
.timeline__item::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand); }
.timeline__time { display: block; font-size: .8125rem; color: var(--ink-3); line-height: 1.5; }
.timeline__item a { font-weight: 600; line-height: 1.55; }
.timeline__foot { padding: 4px 0 12px 24px; font-weight: 600; }
.timeline__foot a { color: var(--accent); }

/* ── Section layouts ───────────────────────── */
.feature-list { display: grid; gap: 22px; }
@media (min-width: 820px) { .feature-list { grid-template-columns: 1.25fr 1fr; gap: 28px; } }
.grid-4 { display: grid; gap: 22px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid-3 { display: grid; gap: 22px 24px; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.split { display: grid; gap: 32px; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; } }
.rank { counter-reset: rank; }
.rank li { counter-increment: rank; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding-block: 12px; border-top: 1px solid var(--line); }
.rank li:first-child { border-top: 0; }
.rank li::before { content: counter(rank, bengali); font-size: 1.5rem; font-weight: 800; line-height: 1.2; color: var(--accent); }
.rank a { font-weight: 600; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 14px 18px 8px; }
.panel h2 { font-size: 1.2rem; margin-bottom: 4px; }

/* Video + photo bands */
.band-dark { background: var(--navy); color: var(--navy-ink); padding-block: 8px 36px; margin-block: 48px; }
.band-dark .section { margin-block: 28px 0; }
.band-dark .section__head { border-top-color: #fff; }
.band-dark .meta, .band-dark .card__summary { color: #a9b4c6; }
.band-dark .section__more { color: #ffb4c0; }
.video-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .video-grid { grid-template-columns: 2fr 1fr; } .video-grid__side { display: grid; gap: 16px; align-content: start; } }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play span { width: 56px; height: 56px; border-radius: 50%; background: rgba(15,27,45,.8); border: 2px solid #fff; display: grid; place-items: center; }
.play svg { fill: #fff; stroke: none; width: 22px; height: 22px; margin-inline-start: 3px; }
.mosaic { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; } .mosaic > :first-child { grid-column: span 2; grid-row: span 2; } }
.mosaic .card__media { height: 100%; min-height: 150px; }
.mosaic figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 22px 12px 10px; font-weight: 600; font-size: .95rem; line-height: 1.5; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.78), transparent); }
.opinion-item { display: grid; grid-template-columns: 1fr; gap: 4px; }
.opinion-item__quote { font-size: 1.1rem; font-weight: 600; line-height: 1.6; }
.opinion-item__who { color: var(--accent); font-weight: 600; font-size: .95rem; }
.newsletter { background: var(--brand-soft); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; margin-block: 40px; }
@media (min-width: 760px) { .newsletter { grid-template-columns: 1fr minmax(280px, 380px); align-items: center; } }
.newsletter h2 { font-size: 1.35rem; }

/* ── Ads (always labelled, size-stable) ────── */
.ad { position: relative; margin-block: 24px; text-align: center; }
.ad__label { display: block; font-size: .75rem; color: var(--ink-3); line-height: 1.6; text-align: center; margin-bottom: 2px; }
.ad a { display: inline-block; max-width: 100%; }
.ad__img { margin-inline: auto; border-radius: var(--radius); }
.ad--home_top, .ad--header, .ad--footer, .ad--home_between { min-height: 60px; }
.ad--mobile_sticky { position: fixed; inset-inline: 0; bottom: 0; margin: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--line); padding: 2px 8px 6px; }
.ad--mobile_sticky.is-closed { display: none; }
.ad__close { position: absolute; inset-inline-end: 4px; top: 0; width: 28px; height: 28px; border: 0; background: var(--surface); border-radius: 50%; line-height: 1; }
.only-mobile { display: block; } .only-desktop { display: none; }
@media (min-width: 768px) { .only-mobile { display: none !important; } .only-desktop { display: block; } }
body:has(.ad--mobile_sticky:not(.is-closed)) { padding-bottom: 76px; }
@media (min-width: 768px) { body:has(.ad--mobile_sticky) { padding-bottom: 0; } }

/* ── Article ───────────────────────────────── */
.article-layout { display: grid; gap: 36px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.article { max-width: 50rem; min-width: 0; }
.article__title { font-size: clamp(1.75rem, 4.6vw, 2.5rem); line-height: 1.45; margin: 6px 0 10px; }
.article__sub { font-size: 1.15rem; color: var(--ink-2); line-height: 1.75; margin-bottom: 14px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-block: 12px; margin-block: 14px; border-block: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.article__meta strong { color: var(--ink); }
.article__meta .updated { color: var(--accent); font-weight: 600; }
.article__figure { margin: 0 0 22px; }
.article__figure .card__media { aspect-ratio: auto; border-radius: var(--radius); }
.article__figure figcaption { font-size: .9rem; color: var(--ink-3); padding-top: 8px; line-height: 1.6; }
.prose { font-size: 1.1875rem; line-height: 1.95; max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; } .prose h3 { font-size: 1.3rem; margin-top: 1.6em; } .prose h4 { font-size: 1.15rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-inline-start: 1.4em; } .prose ol { list-style: decimal; padding-inline-start: 1.5em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-inline-start: 4px solid var(--brand); font-size: 1.25rem; line-height: 1.8; color: var(--ink); font-weight: 500; }
.prose img { border-radius: var(--radius); margin-inline: auto; }
.prose figure { margin-inline: 0; } .prose figcaption { font-size: .9rem; color: var(--ink-3); margin-top: 6px; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 6px 12px; text-align: left; }
.prose pre { overflow-x: auto; background: var(--surface); padding: 12px; border-radius: var(--radius); font-size: .95rem; }
.prose figure.embed, .prose .embed { position: relative; aspect-ratio: 16 / 9; }
.prose .embed iframe, .prose figure.embed iframe, .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.prose iframe:not([class]) { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin-bottom: 20px; background: #000; border-radius: var(--radius); }
.note { border-inline-start: 4px solid var(--brand); background: var(--surface); padding: 10px 16px; border-radius: var(--radius); font-size: .975rem; margin-block: 18px; }
.note--correction { border-inline-start-color: var(--warn); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 22px; }
.tags a { border: 1px solid var(--line); padding: 2px 12px; border-radius: 999px; font-size: .95rem; }
.tags a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-block: 18px; }
.share__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: .95rem; font-weight: 600; }
.share__btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.share__status { font-size: .9rem; color: var(--ok); }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: var(--surface); padding: 16px; border-radius: var(--radius); margin-block: 24px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; gap: 14px; margin-block: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery figure { margin: 0; } .gallery figcaption { font-size: .9rem; color: var(--ink-3); margin-top: 6px; line-height: 1.6; }
.gallery img { border-radius: var(--radius); width: 100%; height: auto; }

/* ── Forms, comments ───────────────────────── */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .975rem; }
.input, .textarea, .select { width: 100%; padding: 10px 12px; min-height: 44px; border: 1px solid var(--ink-3); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.help { font-size: .875rem; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; border-inline-start: 4px solid; background: var(--surface); }
.alert--ok { border-color: var(--ok); } .alert--error { border-color: #c0182f; } .alert--info { border-color: var(--focus); }
.comments { margin-top: 36px; }
.comment { padding-block: 14px; border-top: 1px solid var(--line); }
.comment__head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.comment__body { margin: 6px 0; white-space: pre-line; overflow-wrap: anywhere; }
.comment__report { font-size: .85rem; color: var(--ink-3); background: none; border: 0; padding: 0; text-decoration: underline; }
.empty { text-align: center; padding: 48px 16px; background: var(--surface); border-radius: var(--radius); }
.empty h2 { font-size: 1.25rem; margin-bottom: 6px; }

/* ── Pagination + load more + skeleton ─────── */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-block: 32px; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; }
.pager a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.pager .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .is-gap { border: 0; }
.skeleton { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding-block: 12px; }
.skeleton i { display: block; background: linear-gradient(90deg, var(--surface) 25%, var(--line) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--radius); min-height: 14px; }
.skeleton i:first-child { aspect-ratio: 4 / 3; grid-row: span 3; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Footer ────────────────────────────────── */
.footer { background: var(--navy); color: var(--navy-ink); margin-top: 56px; padding-block: 40px 28px; font-size: .975rem; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.footer .logo { color: #fff; font-size: 1.6rem; }
.footer li { padding-block: 3px; }
.footer__copy { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 16px; font-size: .875rem; color: #a9b4c6; }
.consent { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 80; max-width: 560px; margin-inline: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 14px 16px; box-shadow: 0 10px 40px rgba(0,0,0,.25); font-size: .95rem; line-height: 1.6; }
.consent[hidden] { display: none; }
.consent__actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
mark { background: #ffe58a; color: #1a1300; padding: 0 2px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 767px) { .topbar__social { display: none; } .logo { font-size: 1.55rem; } .masthead .epaper-btn { display: none; } }

/* ── Print ─────────────────────────────────── */
@media print {
  .topbar, .masthead__actions, .nav, .ticker, .ad, .share, .comments, .newsletter, .footer, .consent, .related, .sidebar, .skip-link, .tags, .pager { display: none !important; }
  body { font-size: 12pt; line-height: 1.6; color: #000; background: #fff; }
  .article-layout { display: block; }
  .prose { font-size: 12pt; max-width: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; word-break: break-all; }
  .print-only { display: block !important; }
  img { max-width: 60% !important; break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
}
.print-only { display: none; }
@counter-style bengali { system: numeric; symbols: "০" "১" "২" "৩" "৪" "৫" "৬" "৭" "৮" "৯"; }

.ratio-16-10 { aspect-ratio: 16 / 10; }
.search-form { display: none; gap: 6px; }
.search-form .input { width: 230px; }
@media (min-width: 768px) { .search-form { display: flex; } }
@media (max-width: 767px) { .masthead__actions::before { content: none; } }
.footer address { font-style: normal; }

/* ── additions ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 16px; }
.chips a { display: inline-block; padding: 2px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; }
.chips a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.band-dark { padding-inline: clamp(16px, 3vw, 28px); border-radius: var(--radius); }
.card--mosaic { position: relative; }
.card__body { min-width: 0; }
.card__title { overflow-wrap: anywhere; }
body { overflow-x: clip; }
.sidebar > .section:first-child { margin-top: 0; }
.js-loading .skeleton { display: grid; }
.more-state { text-align: center; margin: 12px 0 28px; }

/* Ads render at their declared size (never stretched), scale down on narrow screens */
.ad a { display: block; }
.ad__img { width: 100%; height: auto; }
.ad--header .ad__img, .ad--home_between .ad__img, .ad--footer .ad__img, .ad--article_inline .ad__img { max-width: 728px; }
.ad--home_top .ad__img { max-width: 970px; }
.ad--article_sidebar .ad__img, .ad--mobile_inline .ad__img { max-width: 300px; }
.ad--mobile_sticky .ad__img { max-width: 320px; }
.ad picture { display: block; margin-inline: auto; }
.ad--header .ad__img, .ad--home_between .ad__img, .ad--footer .ad__img, .ad--article_inline .ad__img, .ad--home_top .ad__img, .ad--article_sidebar .ad__img, .ad--mobile_inline .ad__img, .ad--mobile_sticky .ad__img { margin-inline: auto; }

/* Picture elements are inline by default: make them fill their media frame */
.card__media picture { display: block; width: 100%; height: 100%; }
.hero__under { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 559px) { .hero__under { grid-template-columns: 1fr; } }
.hero { align-items: start; }
