/* Feeding the Beast: public site styles. Four page styles picked from the gear menu. */
:root, [data-theme="newsprint"] {
  --bg:#f6f1e7; --paper:#fffdf8; --ink:#1b1a17; --muted:#5a554b; --rule:#c9bfae; --accent:#8a2a1e; --accent-ink:#fff;
  --media:#ddd3c1; --media-ink:#3d382f; --video:#2b2824;
  --head:'Playfair Display', Georgia, serif; --body:'Source Serif 4', Georgia, serif; --ui:'Libre Franklin', Arial, sans-serif; --size:17px;
}
[data-theme="broadsheet"] {
  --bg:#fff; --paper:#f4f6f8; --ink:#111418; --muted:#4f5660; --rule:#d3d8de; --accent:#0b4f8a; --accent-ink:#fff;
  --media:#dfe4ea; --media-ink:#2f3640; --video:#1c2733; --head:'Libre Franklin', Arial, sans-serif;
}
[data-theme="night"] {
  --bg:#15171a; --paper:#1d2024; --ink:#ece8df; --muted:#aaa499; --rule:#3a3f45; --accent:#e0ac64; --accent-ink:#15171a;
  --media:#2a2e33; --media-ink:#c9c3b8; --video:#0b0c0e;
}
[data-theme="contrast"] {
  --bg:#fff; --paper:#fff; --ink:#000; --muted:#1f1f1f; --rule:#000; --accent:#0033cc; --accent-ink:#fff;
  --media:#e6e6e6; --media-ink:#000; --video:#000;
  --head:'Libre Franklin', Arial, sans-serif; --body:'Libre Franklin', Arial, sans-serif; --size:19px;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin:0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: var(--size); line-height: 1.55; }
a { color: inherit; }
a:hover { color: var(--accent); }
img, video { max-width: 100%; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip { position:absolute; left:-999px; top:0; background:var(--accent); color:var(--accent-ink); padding:10px 14px; z-index:10; font-family:var(--ui); }
.skip:focus { left:8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.small { font-family: var(--ui); font-size: 14px; }
.empty { color: var(--muted); font-style: italic; margin: 6px 0; }

/* Top strip */
.strip { background: var(--ink); color: var(--bg); font-family: var(--ui); font-size: 13px; }
.strip a { color: var(--bg); text-decoration: none; }
.strip-in { display:flex; flex-wrap:wrap; gap:6px 16px; align-items:center; justify-content:space-between; min-height:48px; }
.crumbs { display:flex; flex-wrap:wrap; gap:0 8px; align-items:center; padding:8px 0; }
.strip-tools { display:flex; flex-wrap:wrap; gap:8px; align-items:center; padding:4px 0; }
.search { display:flex; gap:6px; }
.search input { height:36px; width:220px; max-width:46vw; padding:0 10px; border:1px solid var(--bg); background:transparent; color:var(--bg); font:14px var(--ui); }
.search input::placeholder { color: var(--bg); opacity:.75; }
.search button, .stylepanel button { height:36px; padding:0 12px; border:1px solid var(--bg); background:transparent; color:var(--bg); font:600 13px var(--ui); cursor:pointer; }
.search button { background: var(--bg); color: var(--ink); }
.stylepanel { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.stylepanel[hidden] { display:none; }
.stylepanel button[aria-pressed="true"] { background: var(--bg); color: var(--ink); }
.gear { width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; background:transparent; color:var(--bg); border:1px solid var(--bg); cursor:pointer; }
.gear[aria-expanded="true"] { background: var(--bg); color: var(--ink); }

/* Masthead */
.mast { text-align:center; padding-top:26px; }
.mast-date { font-family:var(--ui); font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.mast-title { margin:6px 0 4px; font-family:var(--head); font-weight:900; font-size:clamp(40px, 8vw, 84px); line-height:1; letter-spacing:-.01em; }
.mast-title a { text-decoration:none; color: inherit; }
.mast-sub { margin:12px 0 16px; font-family:var(--ui); font-size:15px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.rule2 { border-top: 3px double var(--rule); }

/* Ads (only shown once switched on in admin) */
.ad { margin: 16px auto 0; max-width: 970px; font-family: var(--ui); text-align: center; }
.ad-label { display:block; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:4px; }
.side .ad { margin-top: 24px; }

/* Layout with collapsible left column */
.layout { display:flex; flex-wrap:wrap; gap:32px; align-items:flex-start; padding-top:24px; padding-bottom:16px; }
.side { flex: 1 1 240px; min-width:0; max-width:100%; font-family:var(--ui); font-size:15px; }
.main { flex: 999 1 640px; min-width:0; }
.nav-toggle { min-height:44px; padding:0 12px; margin-bottom:6px; background:transparent; color:var(--ink); border:1px solid var(--rule); font:600 13px var(--ui); cursor:pointer; }
.nav-toggle .when-closed { display:none; }
.nav-closed .side { flex: 0 0 auto; }
.nav-closed .sidenav { display:none; }
.nav-closed .nav-toggle .when-open { display:none; }
.nav-closed .nav-toggle .when-closed { display:inline; }
.sidenav { border-top: 4px solid var(--ink); }
.home-link { display:block; padding:10px 0; font-weight:800; text-decoration:none; }
.grp { border-bottom:1px solid var(--rule); }
.grp-btn { width:100%; min-height:44px; display:flex; justify-content:space-between; align-items:center; gap:8px; background:none; border:0; padding:0; cursor:pointer; text-align:left; font:800 15px var(--ui); color:var(--ink); }
.grp.here .grp-btn { color: var(--accent); }
.sign { font-weight:400; }
.grp-links { display:flex; flex-direction:column; padding:0 0 8px 12px; }
.grp-links[hidden] { display:none; }
.grp-links a, .tools a { display:block; padding:8px 0; text-decoration:none; }
.grp-links a[aria-current] { font-weight:800; }
.tools { margin-top:20px; border-top:2px solid var(--ink); padding-top:6px; }
.tools-h { display:block; font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; padding:6px 0; }

/* Blocks */
.block { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.block:first-child { padding-top: 0; }
.bh { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px; margin-bottom:12px; }
.bh h2, .block > h2 { margin:0; font-family:var(--head); font-size:30px; line-height:1.15; }
.bh a { font-family:var(--ui); font-size:14px; font-weight:600; }
.block-sub { margin:-6px 0 16px; color:var(--muted); }
.sub-h { margin:18px 0 10px; font-family:var(--ui); font-size:13px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.kick { display:block; font-family:var(--ui); font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); }

/* News */
.news { display:flex; flex-wrap:wrap; gap:32px; }
.lead { flex: 999 1 520px; min-width:0; }
.lead-img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; background:var(--media); }
.lead figcaption { font-family:var(--ui); font-size:13px; color:var(--muted); margin-top:6px; }
.lead .kick { margin-top:14px; font-size:12px; }
.lead h2, .lead h3 { margin:6px 0 10px; font-family:var(--head); font-weight:700; font-size:clamp(26px,4vw,42px); line-height:1.1; }
.lead h2 a, .lead h3 a { text-decoration:none; }
.lead p { margin:0 0 10px; font-size:1.1em; }
.meta { font-family:var(--ui); font-size:13px; color:var(--muted); }
.latest { flex: 1 1 280px; min-width:0; border-top:4px solid var(--ink); padding-top:8px; }
.latest h3 { margin:0 0 4px; font-family:var(--ui); font-size:13px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.li { display:block; text-decoration:none; padding:12px 0; border-bottom:1px solid var(--rule); }
.li-t { display:block; font-family:var(--head); font-weight:700; font-size:19px; line-height:1.25; margin-top:2px; }
.li-m { display:block; font-family:var(--ui); font-size:12px; color:var(--muted); margin-top:4px; }

/* Resources and documents */
.res-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr)); gap:24px; }
.rl { display:block; padding:9px 0; border-bottom:1px solid var(--rule); text-decoration:none; }
.rl-t { display:block; font-weight:600; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.rl-m { display:block; font-size:14px; color:var(--muted); }
.docs { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px,1fr)); gap:0 24px; }
.doc { display:flex; gap:12px; align-items:flex-start; padding:10px 0; border-bottom:1px solid var(--rule); }
.tag { flex:0 0 auto; font-family:var(--ui); font-size:11px; font-weight:800; padding:3px 6px; border:1px solid var(--ink); text-transform:uppercase; }
.doc-t { display:block; font-weight:600; }
.doc:last-child, .ev:last-child { border-bottom:0; }
.doc-m { display:block; font-size:14px; color:var(--muted); }

/* Media */
.grid { display:grid; gap:24px; }
.g-video { grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); }
.g-img { grid-template-columns:repeat(auto-fill, minmax(180px,1fr)); gap:16px; }
.vid, .img { margin:0; }
.vid video { width:100%; aspect-ratio:16/9; background:var(--video); display:block; }
.embed { position:relative; aspect-ratio:16/9; background:var(--video); display:block; }
.embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.embed-link { display:flex; align-items:center; justify-content:center; color:#fff; font-family:var(--ui); font-weight:600; }
.card-t { display:block; font-family:var(--head); font-weight:700; font-size:18px; line-height:1.25; margin-top:8px; }
.card-s { display:block; font-size:15px; color:var(--muted); }
.img img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; background:var(--media); }
.img figcaption { font-family:var(--ui); font-size:13px; color:var(--muted); margin-top:4px; }
.audio-list { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px,1fr)); gap:16px; }
.aud { border:1px solid var(--rule); background:var(--paper); padding:12px 14px; }
.aud .card-t { margin-top:0; }
.aud audio { width:100%; margin-top:8px; }

/* Events */
.events { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px,1fr)); gap:0 32px; }
.ev { display:flex; gap:14px; padding:12px 0; border-bottom:1px solid var(--rule); }
.ev-date { flex:0 0 60px; text-align:center; border:1px solid var(--rule); padding:6px 0; font-family:var(--ui); align-self:flex-start; }
.ev-date span { display:block; font-size:12px; font-weight:800; color:var(--accent); }
.ev-date b { display:block; font-size:22px; }
.ev-t { display:block; font-weight:600; }
.ev-m, .ev-s { display:block; font-size:15px; color:var(--muted); }

/* Trackers and tables */
.tbl-wrap { overflow-x:auto; }
.tbl { width:100%; min-width:560px; border-collapse:collapse; font-size:15px; }
.tbl th { text-align:left; font-family:var(--ui); font-size:12px; color:var(--muted); padding:6px 8px; }
.tbl td { padding:8px; border-top:1px solid var(--rule); vertical-align:top; }

/* Cards (take action) */
.cards { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:20px; }
.card { display:block; text-decoration:none; background:var(--paper); border:1px solid var(--rule); border-top:4px solid var(--accent); padding:16px; }
.card .card-t { margin-top:0; font-size:20px; }

/* RSS box */
.rssbox { display:flex; flex-wrap:wrap; gap:24px; align-items:flex-start; background:var(--paper); border:1px solid var(--rule); padding:24px; margin:28px 0; color: var(--ink); }
.rssbox > svg { color: var(--accent); flex:0 0 auto; }
.rss-main { flex:999 1 380px; min-width:0; }
.rss-main h2 { margin:0 0 6px; font-family:var(--head); font-size:28px; }
.rss-main label { display:block; font-family:var(--ui); font-size:13px; font-weight:600; margin-bottom:4px; }
.rss-other { flex:1 1 200px; font-family:var(--ui); font-size:14px; }
.rss-other a { display:block; padding:5px 0; font-weight:600; }
.row { display:flex; flex-wrap:wrap; gap:8px; }
.row input { flex:1 1 240px; min-width:0; height:44px; padding:0 12px; border:1px solid var(--ink); background:var(--bg); color:var(--ink); font:14px var(--ui); }
.btn { min-height:44px; padding:0 18px; cursor:pointer; font:600 15px var(--ui); background:var(--accent); color:var(--accent-ink); border:1px solid var(--accent); text-decoration:none; display:inline-flex; align-items:center; }
.btn-line { background:transparent; color:var(--ink); border-color:var(--rule); }

/* Forms (tip) */
.form { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:16px; background:var(--paper); border:1px solid var(--rule); padding:24px; }
.form .full { grid-column:1/-1; }
.form label { display:block; font-family:var(--ui); font-size:13px; font-weight:600; margin-bottom:4px; }
.form input[type=text], .form input[type=email], .form textarea { width:100%; min-height:44px; padding:8px 12px; border:1px solid var(--ink); background:var(--bg); color:var(--ink); font:15px var(--body); }
.hp { position:absolute; left:-5000px; }
.notice { padding:12px 16px; border:1px solid var(--accent); background:var(--paper); font-family:var(--ui); margin-bottom:16px; }

/* Article */
.article { max-width: 760px; }
.article h1 { margin:6px 0 10px; font-family:var(--head); font-weight:700; font-size:clamp(30px,5vw,48px); line-height:1.1; }
.article .dek { font-size:1.15em; margin:0 0 12px; }
.article .body { font-size:1.05em; line-height:1.7; }
.article .body h2 { font-family:var(--head); font-size:26px; margin:28px 0 8px; }
.article .body h3 { font-family:var(--ui); font-size:18px; margin:22px 0 6px; }
.article .body blockquote { margin:18px 0; padding:0 0 0 16px; border-left:3px solid var(--ink); font-style:italic; color:var(--muted); }
.article .body img { height:auto; }
.article .body table { border-collapse:collapse; width:100%; font-size:15px; }
.article .body td, .article .body th { border:1px solid var(--rule); padding:6px 8px; }
.sources { margin-top:28px; border-top:2px solid var(--ink); padding-top:8px; font-size:15px; }
.sources h2 { font-family:var(--ui); font-size:13px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; margin:0 0 8px; }
.sources ol { padding-left:20px; }
.sources li { margin-bottom:6px; word-break:break-word; }
.correction { border:1px solid var(--rule); background:var(--paper); padding:10px 14px; font-family:var(--ui); font-size:14px; margin:16px 0; }
.share { display:flex; flex-wrap:wrap; gap:8px 16px; font-family:var(--ui); font-size:14px; margin-top:20px; }

.pager { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; font-family:var(--ui); }
.archive-months a { display:inline-block; margin:0 12px 8px 0; font-family:var(--ui); }

/* Footer */
.foot { border-top:3px double var(--rule); font-family:var(--ui); font-size:13px; color:var(--muted); text-align:center; padding:20px 0 28px; margin-top:16px; }
.foot-nav { display:flex; flex-wrap:wrap; justify-content:center; gap:4px 20px; margin-bottom:8px; }
.foot-nav a { padding:6px 0; }
.foot-by { color:var(--ink); font-weight:600; margin:4px 0; }
.foot-copy { font-size:11px; margin:4px 0; }

@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .search input { width: 150px; }
}
@media print {
  .strip, .side, .ad, .rssbox, .foot-nav, .share { display:none !important; }
}
.article .body iframe, .article .body video { width:100%; height:auto; aspect-ratio:16/9; border:0; background:var(--video); }

/* ---- 2026-11-16: bylines, resources column, all-articles and all-media pages ---- */

/* Bylines: small, set apart from the story text. Dek in italic so the three layers read differently. */
.lead p.dek { font-style:italic; color:var(--muted); font-size:1.12em; line-height:1.45; }
.lead p.meta, .lead .meta { display:inline-block; margin:6px 0 0; padding-top:8px; border-top:2px solid var(--ink);
  font:700 11px var(--ui); letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.lead .meta .by { color:var(--ink); }
.li-m { font-size:11px; letter-spacing:.06em; text-transform:uppercase; }
.li .kick + .li-t { margin-top:3px; }
.li-x { color:var(--accent); font-weight:800; }

/* Section fronts: main column plus a Resources column on the right */
.front-cols { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:36px; align-items:start; }
.front-main { min-width:0; }
.front-side { position:sticky; top:16px; max-height:calc(100vh - 32px); overflow:auto; margin-top:0;
  background:var(--paper); border:1px solid var(--rule); border-top:4px solid var(--accent); padding:14px 16px 16px; font-family:var(--ui); }
.side-h { margin:0; font:800 13px var(--ui); letter-spacing:.12em; text-transform:uppercase; }
.side-sub { margin:6px 0 10px; font-size:13px; line-height:1.4; color:var(--muted); }
.xg { margin:14px 0 4px; font:800 11px var(--ui); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.xlist { list-style:none; margin:0; padding:0; }
.xlist li { border-top:1px dotted var(--rule); }
.xl { display:block; padding:8px 0; text-decoration:none; font-size:14px; line-height:1.35; }
.xl-t { display:block; font-weight:600; color:var(--ink); text-decoration:underline; text-decoration-style:dotted; text-underline-offset:3px; }
.xl:hover .xl-t { color:var(--accent); text-decoration-style:solid; }
.xl-host { display:block; margin-top:2px; font-size:12px; color:var(--accent); }
.xl-ico { font-weight:800; }
.xl-s { display:block; margin-top:2px; font-size:12px; color:var(--muted); }
@media (max-width: 1100px) {
  .front-cols { grid-template-columns:1fr; }
  .front-side { position:static; max-height:none; }
}

/* All articles / All media */
.page-h { font-family:var(--head); margin:0 0 6px; }
.sortbar { display:flex; flex-wrap:wrap; gap:10px 16px; align-items:end; margin:0 0 16px; font:600 13px var(--ui); }
.sortbar label { display:flex; flex-direction:column; gap:4px; }
.sortbar select, .sortbar button { min-height:38px; padding:0 10px; font:14px var(--ui); border:1px solid var(--rule); background:var(--paper); color:var(--ink); }
.sortbar button { font-weight:700; border-color:var(--ink); cursor:pointer; }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; font-family:var(--ui); }
.chip { display:inline-block; padding:6px 12px; border:1px solid var(--rule); text-decoration:none; font-size:14px; font-weight:600; }
.chip[aria-current] { background:var(--ink); color:var(--bg); border-color:var(--ink); }
.tbl th a { color:inherit; text-decoration:none; }
.tbl th a:hover { color:var(--accent); }
.nowrap { white-space:nowrap; font-family:var(--ui); font-size:13px; color:var(--muted); }
.arts-t { display:block; font-family:var(--head); font-weight:700; font-size:18px; line-height:1.25; text-decoration:none; }
.arts-d { display:block; font-style:italic; color:var(--muted); font-size:14px; margin-top:2px; }
.arts-s { font-family:var(--ui); font-size:13px; color:var(--muted); }
.pager { display:flex; flex-wrap:wrap; gap:6px; margin-top:20px; font-family:var(--ui); }
.pager a, .pager span { min-width:36px; padding:6px 10px; text-align:center; border:1px solid var(--rule); text-decoration:none; }
.pager span { background:var(--ink); color:var(--bg); }
/* Article page: same treatment, byline small and ruled off from the dek and body */
.article .dek { font-style:italic; color:var(--muted); }
.article > .meta, .article header .meta { display:inline-block; padding:8px 0; border-top:2px solid var(--ink); border-bottom:1px solid var(--rule);
  font:700 11px var(--ui); letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin:4px 0 18px; }
.article .body img, .article .body video { max-width:100%; height:auto; }
.g-video { align-items:start; }

/* All media list/details view (2026-11-19) */
.chip-sep{align-self:center;opacity:.45;padding:0 4px}
.mlist td{vertical-align:top}
.mlist .mlist-f{font-size:.82em;opacity:.8;word-break:break-all}
.mlist .mlist-p{margin-top:6px}
.mlist .mlist-p summary{cursor:pointer;font-weight:600;font-size:.9em}
.mlist .mlist-p video{display:block;width:100%;max-width:380px;max-height:420px;margin-top:6px;background:#000}
.mlist .mlist-p audio{display:block;width:100%;max-width:380px;margin-top:6px}


/* ---- 2026-11-20: broadsheet front page, section bar under the masthead, left menu closed by default ---- */
.mast { padding-top:22px; }
.mast-title { font-size:clamp(44px, 9vw, 96px); }
.mast-sub { margin:8px 0 14px; }
.mast-line { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 16px; padding:6px 2px; border-top:3px double var(--ink); border-bottom:1px solid var(--ink);
 font:700 12px var(--ui); letter-spacing:.12em; text-transform:uppercase; }
.mast-line .mast-date { color:var(--ink); font-size:12px; }
.mast-ed { color:var(--muted); }
.secbar { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:0 18px; padding:6px 0; border-bottom:3px double var(--ink);
 font:700 12.5px var(--ui); letter-spacing:.07em; text-transform:uppercase; }
.secbar a { text-decoration:none; padding:7px 0; white-space:nowrap; }
.secbar a[aria-current] { color:var(--accent); box-shadow:inset 0 -2px 0 var(--accent); }
.secbar .nav-toggle { margin:0; min-height:34px; letter-spacing:.04em; text-transform:uppercase; border-color:var(--ink); }
.nav-closed .side { display:none; }
.layout { padding-top:22px; }

.bs { display:grid; grid-template-columns:minmax(0,2fr) minmax(240px,1fr); column-gap:32px; padding-bottom:12px; border-bottom:1px solid var(--rule); }
.bs-lead { padding-right:32px; border-right:1px solid var(--rule); min-width:0; }
.bs-lead .kick { font-size:12px; }
.bs-lead-h { margin:6px 0 12px; font-family:var(--head); font-weight:900; font-size:clamp(34px, 5.2vw, 62px); line-height:1.04; letter-spacing:-.01em; }
.bs-lead-h a, .bs-story h3 a { text-decoration:none; }
.bs-lead .dek { margin:0 0 12px; font-size:1.25em; line-height:1.4; font-style:italic; color:var(--muted); }
.bs-lead .meta, .bs-story .meta { margin:0; font:700 11px var(--ui); letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.bs .meta .by { color:var(--ink); }
.bs-more { margin:12px 0 0; font:700 14px var(--ui); }
.bs-inside { align-self:start; border:1px solid var(--ink); border-top:5px solid var(--ink); padding:10px 14px 12px; font-family:var(--ui); background:var(--paper); }
.bs-inside h3 { margin:0 0 6px; text-align:center; font:900 15px var(--ui); letter-spacing:.3em; text-transform:uppercase; border-bottom:1px solid var(--ink); padding-bottom:6px; }
.bs-inside ul { list-style:none; margin:0; padding:0; }
.bs-inside li a { display:flex; align-items:baseline; gap:6px; padding:5px 0; text-decoration:none; font-size:14px; font-weight:600; }
.bs-inside .dots { flex:1 1 auto; border-bottom:1px dotted var(--muted); transform:translateY(-3px); min-width:12px; }
.bs-inside .n { font-weight:800; font-variant-numeric:tabular-nums; }
.bs-inside-tools { display:flex; flex-wrap:wrap; gap:0 14px; margin-top:8px !important; padding-top:6px !important; border-top:1px solid var(--rule); }
.bs-inside-tools li a { display:inline; font-size:13px; text-decoration:underline; text-underline-offset:3px; }
.teaser { grid-column:1 / -1; margin:20px 0 0; padding:9px 2px; border-top:2px solid var(--ink); border-bottom:1px solid var(--rule); font:15px var(--ui); }
.teaser-k { font-weight:900; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); margin-right:6px; }
.teaser a { font-weight:700; white-space:nowrap; }
.bs-cols { grid-column:1 / -1; columns:3 250px; column-gap:40px; column-rule:1px solid var(--rule); padding-top:14px; }
.bs-story { break-inside:avoid; padding:0 0 16px; margin:0 0 14px; border-bottom:1px solid var(--rule); }
.bs-story h3 { margin:4px 0 8px; font-family:var(--head); font-weight:700; font-size:24px; line-height:1.15; }
.bs-dek { margin:0 0 8px; font-size:16px; line-height:1.5; }
.bs-briefs { grid-column:1 / -1; padding-top:6px; }
.bs-briefs .sub-h { margin:6px 0 10px; border-top:4px solid var(--ink); padding-top:8px; }
.bs-briefs ul { list-style:none; margin:0; padding:0; columns:3 250px; column-gap:40px; column-rule:1px solid var(--rule); }
.bs-briefs li { break-inside:avoid; padding:0 0 10px; margin:0 0 10px; border-bottom:1px dotted var(--rule); font-family:var(--head); font-weight:700; font-size:17px; line-height:1.25; }
.bs-briefs li a { text-decoration:none; }
.bs-briefs .li-m { margin-top:3px; font-weight:400; }
.bs-older { display:inline-block; margin-top:4px; font-weight:700; }
.bysec-grid { columns:3 250px; column-gap:40px; column-rule:1px solid var(--rule); }
.bysec-col { break-inside:avoid; margin:0 0 20px; }
.bysec-col .sub-h { margin:0; border-top:2px solid var(--ink); padding-top:8px; }
.bysec-col .sub-h a { text-decoration:none; }
@media (max-width: 860px) {
 .bs { grid-template-columns:1fr; }
 .bs-lead { padding-right:0; border-right:0; }
 .bs-inside { margin-top:18px; }
}
@media (max-width: 700px) {
 .mast-line { justify-content:center; text-align:center; }
 .secbar { flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; scrollbar-width:thin; gap:0 16px; }
 .secbar .nav-toggle { flex:0 0 auto; }
 .bs-lead-h { font-size:34px; }
}
@media print {
 .secbar, .bs-inside-tools, .teaser { display:none !important; }
}

/* ---- 2026-11-20: accounts ---- */
.acct-link { display:inline-flex; align-items:center; min-height:36px; padding:0 10px; border:1px solid var(--bg); font-weight:600; }
.acct-link:hover { background:var(--bg); color:var(--ink) !important; }
.acct { max-width:760px; }
.acct-form { margin:16px 0; }
.acct-form input[type=password] { width:100%; min-height:44px; padding:8px 12px; border:1px solid var(--ink); background:var(--bg); color:var(--ink); font:15px var(--body); }
.acct-dl { display:grid; grid-template-columns:max-content 1fr; gap:6px 18px; font-family:var(--ui); margin:12px 0 16px; }
.acct-dl dt { font-weight:800; font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.acct-dl dd { margin:0; }
.lock-tag { display:inline-block; margin-left:6px; padding:1px 6px; border:1px solid var(--accent); color:var(--accent); font:800 10px var(--ui); letter-spacing:.08em; text-transform:uppercase; vertical-align:middle; }

/* ---- 2026-11-20: front page Resources (Links and Government links) ---- */
.fr-cols { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:0 40px; }
.fr-col .sub-h { margin:0 0 4px; border-top:2px solid var(--ink); padding-top:8px; }
.fr .xl { font-family:var(--ui); }

/* ---- 2026-11-20: Download link under every video ---- */
.dl-link { display:inline-block; margin-top:6px; font-weight:700; }

/* ---- 2026-11-22: a little more room between front page sections ---- */
.bs { padding-bottom:18px; }
.teaser { margin-top:26px; }
.bs-cols { padding-top:20px; }
.bs-briefs { padding-top:12px; }
.bs ~ .block { padding:34px 0; }
.bs ~ .rssbox { margin:34px 0; padding:24px; }

/* ---- 2026-11-22: small "Collapse Top Nav" toggle; left menu button moves to the top strip ---- */
.secbar { flex-direction:column; gap:2px; }
.secbar-links { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:0 18px; }
.topnav-toggle { align-self:flex-start; background:none; border:0; padding:2px 0; margin:0; cursor:pointer; color:var(--muted);
 font:600 10px var(--ui); letter-spacing:.08em; text-transform:uppercase; text-decoration:underline; text-underline-offset:2px; }
.topnav-toggle:hover { color:var(--accent); }
.topnav-toggle .when-closed { display:none; }
.topnav-closed .topnav-toggle .when-open { display:none; }
.topnav-closed .topnav-toggle .when-closed { display:inline; }
.topnav-closed .secbar-links { display:none; }
.topnav-closed .secbar { padding:4px 0; }
.strip .strip-menu { min-height:36px; margin:0; padding:0 10px; background:transparent; color:var(--bg); border:1px solid var(--bg); font:600 13px var(--ui); letter-spacing:0; text-transform:none; }
.strip .strip-menu:hover { background:var(--bg); color:var(--ink); }
@media (max-width: 700px) {
 .secbar { flex-wrap:nowrap; overflow:visible; }
 .secbar-links { flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; scrollbar-width:thin; gap:0 16px; width:100%; }
}

/* ---- 2026-11-22: series and media search ---- */
.ser-label { display:block; margin-top:3px; font:600 12px var(--ui); color:var(--muted); }
.ser-label a { color:var(--accent); }
.ser-list { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:18px; }
.ser-card { display:block; text-decoration:none; background:var(--paper); border:1px solid var(--rule); border-top:4px solid var(--ink); padding:14px 16px; }
.ser-card .card-t { margin-top:0; }
.sortbar .sb-q { flex:1 1 260px; }
.sortbar .sb-q input { min-height:38px; padding:0 10px; font:14px var(--ui); border:1px solid var(--ink); background:var(--paper); color:var(--ink); width:100%; }

/* ---- 2026-11-23: Newsprint only. Story headlines and descriptions sit on a slightly darker
   tint than the page. To change the shade, change --story (the page itself is --bg #f6f1e7). ---- */
[data-theme="newsprint"] { --story:#ede5d3; }
[data-theme="newsprint"] .bs-lead,
[data-theme="newsprint"] .bs-story,
[data-theme="newsprint"] .news .lead { background:var(--story); }
[data-theme="newsprint"] .bs-lead { padding:18px 20px; border-right:0; }
[data-theme="newsprint"] .bs-story { padding:12px 14px 14px; border-bottom:0; }
[data-theme="newsprint"] .news .lead { padding:16px 18px; }
@media print {
 [data-theme="newsprint"] .bs-lead, [data-theme="newsprint"] .bs-story, [data-theme="newsprint"] .news .lead { background:none; }
}
