/* ==========================================================================
   All Bangla Newspapers List — site stylesheet
   No framework, no webfont, no external request. Light and dark are both
   first-class; every colour is a token so a theme change is one block.
   ========================================================================== */

:root {
  --bg:        #ffffff;
  --surface:   #f6f6f4;
  --surface-2: #eeeeeb;
  --line:      #e0e0dc;
  --line-soft: #ebebe7;
  --ink:       #16181d;
  --ink-2:     #4a4f59;
  --ink-3:     #6f7580;
  --brand:     #8f1d1d;
  --brand-ink: #ffffff;
  --brand-soft:#fdf1f1;
  --link:      #9a2020;
  --focus:     #1f6feb;
  --shadow:    0 1px 2px rgba(20,22,28,.06), 0 4px 14px rgba(20,22,28,.05);
  --shadow-lg: 0 2px 6px rgba(20,22,28,.08), 0 18px 40px rgba(20,22,28,.10);
  --radius:    12px;
  --radius-sm: 8px;
  --wrap:      1180px;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Noto Sans Bengali", "Nirmala UI", "SolaimanLipi", "Kalpurush", sans-serif;
  --serif: Georgia, "Times New Roman", "Noto Serif Bengali", serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #14171c;
    --surface:   #1a1e25;
    --surface-2: #222731;
    --line:      #2c323d;
    --line-soft: #232830;
    --ink:       #e8eaee;
    --ink-2:     #b3b9c4;
    --ink-3:     #8b929e;
    --brand:     #d95c5c;
    --brand-ink: #1a1013;
    --brand-soft:#25191b;
    --link:      #eb8080;
    --shadow:    0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.3);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.45), 0 18px 40px rgba(0,0,0,.45);
  }
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(15px, 0.95rem + 0.15vw, 16.5px)/1.65 var(--sans);
  overflow-wrap: break-word;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--link); text-decoration-color: color-mix(in srgb, var(--link) 35%, transparent); text-underline-offset: 2px; }
a:hover { text-decoration-color: currentColor; }

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

h1, h2, h3 { line-height: 1.22; letter-spacing: -0.011em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.6rem); }
h2 { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem); }
h3 { font-size: 1.1rem; }
p  { margin: 0 0 1em; }

code { font: 500 .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--brand); color: var(--brand-ink); padding: .7rem 1rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2rem, 780px); }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }

/* --- header --------------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 62px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; flex: 0 0 auto; }
.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: .98rem; letter-spacing: -.01em; }
.brand-text span { font-size: .74rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .12em; }

.head-search { flex: 1 1 auto; display: flex; max-width: 460px; margin-inline-start: auto; }
.head-search input {
  flex: 1; min-width: 0; font: inherit; font-size: .92rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-right: 0;
  border-radius: 999px 0 0 999px; padding: .5rem .95rem;
}
.head-search input::placeholder { color: var(--ink-3); }
.head-search button {
  border: 1px solid var(--line); border-left: 0; border-radius: 0 999px 999px 0;
  background: var(--surface); color: var(--ink-2); padding: 0 .95rem; cursor: pointer;
  display: grid; place-items: center;
}
.head-search button:hover { color: var(--brand); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top: 6px; }

.site-nav { border-top: 1px solid var(--line-soft); background: var(--bg); }
.nav-row { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.nav-row::-webkit-scrollbar { display: none; }
.nav-row a {
  padding: .6rem .8rem; font-size: .9rem; font-weight: 500; white-space: nowrap;
  text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent;
}
.nav-row a:hover { color: var(--ink); }
.nav-row a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.nav-more { margin-inline-start: auto; color: var(--ink-3) !important; }

@media (max-width: 720px) {
  .brand-text { display: none; }
  .nav-toggle { display: block; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .nav-row { flex-direction: column; padding-bottom: .5rem; }
  .nav-row a { border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav-more { margin-inline-start: 0; }
}

/* --- hero ----------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(120% 140% at 15% -20%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 1rem + 5vw, 3.6rem) 0;
}
.hero h1 { max-width: 18ch; margin-bottom: .4em; }
.hero-sub { max-width: 62ch; color: var(--ink-2); font-size: 1.05rem; }
.hero-sub strong { color: var(--ink); }

.hero-search { display: flex; gap: .5rem; max-width: 560px; margin: 1.4rem 0 1rem; }
.hero-search input {
  flex: 1; min-width: 0; font: inherit; padding: .75rem 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.hero-search button {
  font: inherit; font-weight: 600; padding: .75rem 1.3rem; cursor: pointer;
  background: var(--brand); color: var(--brand-ink); border: 0; border-radius: var(--radius-sm);
}
.hero-search button:hover { filter: brightness(1.08); }

.hero-jump { font-size: .88rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: .1rem .9rem; margin: 0; }
.hero-jump a { color: var(--ink-2); }

/* --- bands / sections ----------------------------------------------------- */
.band { padding: clamp(1.8rem, 1rem + 2.5vw, 2.8rem) 0; border-bottom: 1px solid var(--line-soft); }
.band:last-of-type { border-bottom: 0; }
.prose-band { background: var(--surface); border-top: 1px solid var(--line); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.section-head h2 { margin: 0; }
.more { font-size: .9rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.more:hover { text-decoration: underline; }

.sub-head { font-size: 1rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3); margin: 1.8rem 0 .8rem; }

/* --- tiles ---------------------------------------------------------------- */
.tiles {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .7rem;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}
.tile a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem;
  height: 100%; padding: .85rem .6rem .75rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tile a:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); transform: translateY(-1px); }
.tile-logo {
  display: grid; place-items: center; width: 100%; height: 52px;
  background: #fff; border-radius: var(--radius-sm); padding: .3rem;
}
.tile-logo img { max-height: 46px; width: auto; object-fit: contain; }
.tile-name { font-size: .84rem; font-weight: 600; text-align: center; line-height: 1.3; }
.tile-bn { font-size: .78rem; color: var(--ink-3); text-align: center; }
.tile-ext { position: absolute; top: .4rem; right: .5rem; font-size: .7rem; color: var(--ink-3); }

/* --- chips ---------------------------------------------------------------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; }
.chips a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .42rem .85rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  font-size: .88rem; font-weight: 500; text-decoration: none; color: var(--ink);
}
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.chips a span {
  font-size: .74rem; font-variant-numeric: tabular-nums; color: var(--ink-3);
  background: var(--surface-2); border-radius: 999px; padding: .05rem .4rem;
}

/* --- headlines ------------------------------------------------------------ */
.headlines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.headlines li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .62rem 0; border-bottom: 1px solid var(--line-soft);
}
.headlines li:last-child { border-bottom: 0; }
.headlines a { font-weight: 500; text-decoration: none; color: var(--ink); }
.headlines a:hover { color: var(--brand); text-decoration: underline; }
.hl-meta { display: flex; gap: .6rem; flex: 0 0 auto; font-size: .78rem; color: var(--ink-3); white-space: nowrap; }
.hl-src { font-weight: 600; color: var(--ink-2); }

@media (min-width: 820px) {
  .headlines { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}

/* --- page head + breadcrumbs ---------------------------------------------- */
.crumbs { padding: .9rem 0 0; font-size: .82rem; color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: .35rem; color: var(--line); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

.page-head { padding: 1.2rem 0 1.4rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 1.6rem; }
.page-head h1 { margin-bottom: .25rem; }
.page-count { margin: 0; color: var(--ink-3); font-size: .92rem; }

/* --- prose ---------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius-sm); }
.prose iframe { width: 100%; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .92rem; }
.prose th, .prose td { text-align: start; padding: .55rem .7rem; border-bottom: 1px solid var(--line-soft); }
.prose th { color: var(--ink); font-weight: 600; background: var(--surface); }
.intro { margin-bottom: 1.6rem; }

/* --- FAQ ------------------------------------------------------------------ */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem 1rem; margin-bottom: .6rem; background: var(--bg);
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq summary::marker { color: var(--brand); }
.faq details[open] summary { margin-bottom: .6rem; }
.faq p { margin: 0; color: var(--ink-2); }

/* --- outlet profile ------------------------------------------------------- */
.outlet-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 1.4rem 0 1.6rem; margin-bottom: 1.8rem; }
.outlet-head-row { display: flex; gap: 1.3rem; align-items: center; flex-wrap: wrap; }
.outlet-logo {
  flex: 0 0 auto; display: grid; place-items: center; width: 168px; height: 76px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem;
}
.outlet-logo img { max-height: 62px; width: auto; object-fit: contain; }
.outlet-id { flex: 1 1 320px; }
.outlet-id h1 { margin-bottom: .1em; }
.outlet-bn { font-size: 1.15rem; color: var(--ink-2); margin: 0 0 .8rem; }

.outlet-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.05rem;
  border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.outlet-body { display: grid; gap: 2.2rem; align-items: start; }
@media (min-width: 940px) { .outlet-body { grid-template-columns: minmax(0,1fr) 292px; } }

.facts {
  display: grid; gap: 0; margin: 0 0 1.8rem;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: .62rem .95rem; border-bottom: 1px solid var(--line-soft); }
.facts > div:last-child { border-bottom: 0; }
.facts > div:nth-child(odd) { background: var(--surface); }
.facts dt { color: var(--ink-3); font-size: .86rem; }
.facts dd { margin: 0; font-weight: 500; }

/* reader panel */
.reader { margin: 2.2rem 0; }
.reader-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.reader-head h2 { margin: 0; }
.reader-open { font-size: .88rem; font-weight: 600; white-space: nowrap; }
.reader-frame {
  position: relative; height: min(78vh, 900px); min-height: 420px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.reader-frame iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.reader-load {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .3rem; cursor: pointer;
  background: var(--surface); border: 0; color: var(--ink); font: inherit;
}
.reader-load:hover { background: var(--surface-2); }
.reader-load-title { font-weight: 700; font-size: 1.05rem; }
.reader-load-title::before { content: "▶"; color: var(--brand); margin-inline-end: .5rem; font-size: .85em; }
.reader-load-note { color: var(--ink-3); font-size: .88rem; }
.reader-note { font-size: .82rem; color: var(--ink-3); margin: .6rem 0 0; }

.reader-blocked {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.4rem;
  background: var(--surface); text-align: center;
}
.reader-blocked p { color: var(--ink-2); max-width: 56ch; margin-inline: auto; }

.outlet-feed { margin: 2.2rem 0; }
.also-known { margin-top: 2rem; }
.tag-line { font-size: .86rem; color: var(--ink-3); }

.outlet-side { display: grid; gap: 1.2rem; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; background: var(--bg); }
.side-box h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: .7rem; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .92rem; }
.side-outlets { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.side-outlets a { display: flex; align-items: center; gap: .6rem; padding: .35rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-size: .9rem; }
.side-outlets a:hover { background: var(--surface); }
.side-outlets img { width: 56px; height: 24px; object-fit: contain; background: #fff; border-radius: 4px; padding: 2px; flex: 0 0 auto; }

/* --- collection / search -------------------------------------------------- */
.collection-body { padding-bottom: 2.5rem; }
.siblings { margin-top: 2.5rem; }

.headline-body { display: grid; gap: 2rem; align-items: start; padding-bottom: 2.5rem; }
@media (min-width: 940px) { .headline-body { grid-template-columns: minmax(0,1fr) 260px; } }
.headline-side { display: grid; gap: 1.2rem; }
.headline-main .headlines { grid-template-columns: 1fr; }

.search-form { display: flex; gap: .5rem; margin-bottom: 1.8rem; }
.search-form input {
  flex: 1; min-width: 0; font: inherit; padding: .7rem .95rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.search-form button {
  font: inherit; font-weight: 600; padding: .7rem 1.2rem; cursor: pointer;
  background: var(--brand); color: var(--brand-ink); border: 0; border-radius: var(--radius-sm);
}

.result-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.result-list li { padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
.result-list a { font-weight: 600; font-size: 1.02rem; text-decoration: none; }
.result-list a:hover { text-decoration: underline; }
.result-kind {
  display: inline-block; margin-inline-start: .6rem; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink-3); background: var(--surface-2);
  border-radius: 999px; padding: .1rem .5rem; vertical-align: middle;
}
.result-desc { margin: .3rem 0 0; font-size: .9rem; color: var(--ink-3); }

/* --- forms ---------------------------------------------------------------- */
.stack-form { display: grid; gap: 1rem; max-width: 560px; margin: 1.6rem 0 3rem; }
.stack-form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.stack-form input, .stack-form textarea {
  font: inherit; font-weight: 400; padding: .65rem .85rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.stack-form textarea { resize: vertical; }
.stack-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }

.notice { padding: .85rem 1rem; border-radius: var(--radius-sm); font-weight: 500; }
.notice-ok  { background: color-mix(in srgb, #1a7f4b 14%, var(--bg)); border: 1px solid color-mix(in srgb, #1a7f4b 40%, transparent); }
.notice-bad { background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); }

/* --- footer --------------------------------------------------------------- */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); margin-top: 3rem; padding: 2.4rem 0 1.4rem; }
.foot-grid { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot-about { grid-column: span 2; max-width: 42ch; }
@media (max-width: 640px) { .foot-about { grid-column: span 1; } }
.foot-about img { max-width: 150px; margin-bottom: .7rem; }
.foot-about p { font-size: .9rem; color: var(--ink-2); }
.foot-note { font-size: .84rem !important; color: var(--ink-3) !important; }
.foot-col h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: .7rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .89rem; }
.foot-col a { color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--brand); text-decoration: underline; }
.foot-legal { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.1rem; }
.foot-legal p { font-size: .82rem; color: var(--ink-3); margin: 0; }

/* --- print ---------------------------------------------------------------- */
@media print {
  .site-head, .site-foot, .reader, .outlet-side, .hero-search, .chips { display: none !important; }
  body { color: #000; background: #fff; }
}

/* --- advertising ---------------------------------------------------------- *
   Slots are reserved with min-height so an ad loading late cannot push content
   down — an unreserved unit is the most common cause of a poor CLS score.
   -------------------------------------------------------------------------- */
.ad-slot {
  display: block; margin: 1.6rem 0; min-height: 100px;
  background: var(--surface); border-radius: var(--radius-sm); overflow: hidden;
}
.ad-slot.ad-inline { margin: 1.2rem 0; }
.ad-slot.ad-side   { margin: 0; min-height: 250px; }
.ad-slot ins { display: block; }

.ad-anchor {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
  display: flex; justify-content: center; align-items: flex-end;
  padding: .4rem; background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-top: 1px solid var(--line); backdrop-filter: blur(8px);
}
.ad-anchor[hidden] { display: none; }
.ad-anchor-close {
  position: absolute; top: -13px; inset-inline-end: 8px; width: 26px; height: 26px;
  border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--ink-2);
  font-size: 17px; line-height: 1; cursor: pointer;
}
.ad-anchor-desktop { display: none; }
.ad-anchor-mobile  { display: block; }
@media (min-width: 800px) {
  .ad-anchor-desktop { display: block; }
  .ad-anchor-mobile  { display: none; }
}
/* Leave room so the sticky bar never covers the last line of the footer. */
body.has-anchor .site-foot { padding-bottom: 7rem; }
.ad-placeholder {
  display: grid; place-items: center; border: 1px dashed var(--line);
  color: var(--ink-3); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
}

/* --- narrow-viewport safety ------------------------------------------------ *
   Flex items default to min-width:auto, so a long masthead name or a nowrap
   meta line can push the whole document wider than the screen. These rules let
   every row shrink or wrap instead.
   -------------------------------------------------------------------------- */
.head-row > *, .section-head > *, .reader-head > *,
.headlines li > *, .outlet-head-row > *, .outlet-id { min-width: 0; }

.head-search { min-width: 0; }
.head-search input { width: 100%; }

.section-head, .reader-head { flex-wrap: wrap; }
.headlines li { flex-wrap: wrap; row-gap: .15rem; }
.headlines a { flex: 1 1 auto; }
.hl-meta { flex: 0 0 auto; }

.crumbs ol { overflow-wrap: anywhere; }
.tag-line, .facts dd { overflow-wrap: anywhere; }
