/* localhead.css — the local editions' masthead, Nov 23 2026 overhaul (LOCAL2). The otrecord.news F6 masthead
   (copied from its /_d26/otr26.css, scoped to body[data-d26] the same way) with "On the <City>" where the wordmark
   sits, the date and temperature inline, a small "Part of On the record" link, then the white section bar.
   Loaded on every local page and over On the record's story pages served on a city site (worker.js storyPage).
   Card rules follow ~/otr-work/v17/cards.css: square corners, 1px hairlines, no shadows, gradients or pills. */
body[data-d26] {
  --ink: #0F1B2D; --paper: #FFFFFF; --wash: #F1F4F9; --rail: #D8DFEA; --quiet: #586377; --cite: #1F4FD1; --brk: #C8102E;
  --warn: #B00020; --warn-bg: #FBE5E8; --watch: #8A5A00; --watch-bg: #FFF2D6;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif; --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --m26-band: 64px;
}
body[data-d26] .wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; box-sizing: border-box; }

/* ---- F6 masthead (same rules as otrecord.news) */
body[data-d26] .mast.m26 { position: relative; background: none; border: 0; padding: 0; z-index: 40; }
body[data-d26] .m26-band { background: var(--ink); color: #fff; }
body[data-d26] .mast.m26 .m26-band .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--m26-band); padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; justify-content: flex-start; }
body[data-d26] .m26 .logo { flex: none; display: block; line-height: 0; }
body[data-d26] .m26 .logo img { height: 28px; width: auto; }
body[data-d26] .m26-ed { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; font-size: 13.5px; line-height: 1.3; color: #C3CEDF; }
body[data-d26] .m26-ed time { color: #fff; font-weight: 600; }
body[data-d26] .m26-tools { flex: none; display: flex; align-items: center; gap: 14px; }
body[data-d26] .m26 .srch-btn, body[data-d26] .m26-menu {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; cursor: pointer;
  font: 600 14.5px/1 var(--sans); color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,.55); border-radius: 0;
}
body[data-d26] .m26 .srch-btn:hover, body[data-d26] .m26-menu:hover { border-color: #fff; }
body[data-d26] .m26-menu { display: none; }
body[data-d26] .m26-menu svg { width: 16px; height: 16px; }
body[data-d26] .m26-nav { position: sticky; top: 0; z-index: 39; background: var(--paper); border-bottom: 1px solid var(--rail); }
body[data-d26] .mast.m26 .m26-nav .wrap { display: block; padding-top: 0; padding-bottom: 0; }
body[data-d26] .mast.m26 nav { display: block; overflow: visible; max-width: none; padding-bottom: 0; }
body[data-d26] .m26-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
body[data-d26] .m26-nav a { position: relative; display: block; padding: 15px 12px 14px; font: 600 15px/1.2 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; }
body[data-d26] .m26-nav li:first-child a { padding-left: 0; }
body[data-d26] .m26-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: transparent; }
body[data-d26] .m26-nav li:first-child a::after { left: 0; }
body[data-d26] .m26-nav a:hover::after { background: var(--rail); }
body[data-d26] .m26-nav a[aria-current]::after { background: var(--cite); }
body[data-d26] .m26-nav a[aria-current] { color: var(--cite); }
body[data-d26] .m26-nav .m26-brk { color: var(--brk); }
body[data-d26] .m26-nav .m26-brk.is-live::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--brk); vertical-align: 1px; }
body[data-d26] .m26-panel { background: var(--paper); border-bottom: 1px solid var(--ink); }
body[data-d26] .m26-panel[hidden] { display: none; }
body[data-d26] .m26-panel ul { list-style: none; margin: 0; padding: 8px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
body[data-d26] .m26-panel a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rail); font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; }
body[data-d26] .m26-panel a[aria-current] { color: var(--cite); }
body[data-d26] .m26-panel .m26-brk { color: var(--brk); }
body[data-d26] .m26-panel .m26-acct { display: none; }
body[data-d26] .m26-band a:focus-visible, body[data-d26] .m26-band button:focus-visible { outline: 3px solid #9DB8FF; outline-offset: 2px; }

/* ---- the city's name where the wordmark sits, the weather after the date, the small link home */
/* "On the <City>¹": the wordmark's own type (logo-wordmark-white.svg is outlined Public Sans 800, tracked -0.067em,
   the ¹ at half size, top-aligned, #8FA8FF on navy). 30.5px = the 28px-tall logo image. */
body[data-d26] .otl-name, body[data-d26] .otl-big { flex: none; margin: 0; font-family: "Public Sans", var(--sans); font-weight: 800;
  letter-spacing: -.067em; line-height: 1; color: #fff; white-space: nowrap; }
body[data-d26] .otl-name { font-size: 30.5px; }
body[data-d26] :is(.otl-name, .otl-big) a { color: #fff; text-decoration: none; }
body[data-d26] :is(.otl-name, .otl-big) sup { font-size: .5em; line-height: 0; position: relative; top: -.66em; vertical-align: baseline;
  margin-left: .07em; letter-spacing: 0; color: #8FA8FF; font-weight: 800; }
body[data-d26] .otl-wx:empty { display: none; }
body[data-d26] .otl-wx a { color: #C3CEDF; text-decoration: none; }
body[data-d26] .otl-wx a:hover { color: #fff; text-decoration: underline; }
body[data-d26] .otl-wx b { color: #fff; font-weight: 600; margin-right: 6px; }
body[data-d26] .otl-partof { flex: none; color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  border: 1.5px solid rgba(255,255,255,.55); padding: 9px 12px; line-height: 1; }
body[data-d26] .otl-partof:hover { border-color: #fff; }

/* ---- weather alert bar (local.js fills it from /api/alerts, only when one is active) */
.alert-bar:empty { display: none; }
.alert-bar { background: var(--warn-bg); border-bottom: 1px solid var(--warn); }
.alert-bar .wrap { padding-top: 10px; padding-bottom: 10px; font-size: 15px; }
.alert-bar b { color: var(--warn); }
.alert-bar.watch { background: var(--watch-bg); border-color: var(--watch); }
.alert-bar.watch b { color: var(--watch); }

@media (max-width: 760px) {
  body[data-d26] { --m26-band: 56px; }
  body[data-d26] .wrap { padding: 0 16px; }
  body[data-d26] .mast.m26 .m26-band .wrap { gap: 12px; }
  body[data-d26] .m26 .logo img { height: 22px; }
  body[data-d26] .m26-ed { font-size: 12.5px; }
  body[data-d26] .m26 .srch-btn span { display: none; }
  body[data-d26] .m26 .srch-btn { padding: 0 10px; }
  body[data-d26] .m26-menu { display: inline-flex; padding: 0 10px; }
  body[data-d26] .mast.m26 .m26-nav .wrap { padding-left: 0; padding-right: 0; }
  body[data-d26] .m26-nav ul { overflow-x: auto; scrollbar-width: none; padding: 0 16px; }
  body[data-d26] .m26-nav ul::-webkit-scrollbar { display: none; }
  body[data-d26] .m26-nav a { padding: 13px 10px 12px; font-size: 14.5px; }
  body[data-d26] .m26-panel .m26-acct { display: block; }
  body[data-d26] .otl .m26-ed time { display: none; }
  body[data-d26] .otl .m26-ed { align-items: flex-end; text-align: right; }
  body[data-d26] .otl-partof { font-size: 12.5px; padding: 7px 8px; }
  body[data-d26] .otl-po-l, body[data-d26] .otl-wx span { display: none; }
  body[data-d26] .otl-wx b { margin-right: 0; font-size: 15px; }
}
@media (max-width: 400px) {
  body[data-d26] .m26:not(.otl) .m26-ed { display: none; }
}

/* ---- city front: big photo hero that collapses into the slim band (Nov 23 2026, user request). The header is sticky
   with top = band - hero, so it scrolls until only the band + section bar remain; local.js adds .is-stuck then, which
   turns the band navy and brings the small wordmark in. No layout shift: every height is fixed by CSS. */
body[data-d26] .mast.m26.otl-hero { --hero-h: min(62vh, 620px); position: sticky; top: calc(var(--m26-band) - var(--hero-h)); }
body[data-d26] .otl-hero-top { position: relative; height: var(--hero-h); display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); overflow: hidden; }
body[data-d26] .otl-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
body[data-d26] .otl-hero-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,18,32,0), rgba(10,18,32,.72)); }
body[data-d26] .otl-hero-name, body[data-d26] .otl-hero .m26-band, body[data-d26] .otl-cr { position: relative; z-index: 1; }
body[data-d26] .otl-big { font-size: clamp(52px, 7.6vw, 112px); padding-bottom: 6px; text-shadow: none; }
body[data-d26] .otl-cr { position: absolute; right: 12px; top: 10px; margin: 0; max-width: 46%; text-align: right; font-size: 11px; line-height: 1.3;
  color: rgba(255,255,255,.8); }
body[data-d26] .otl-cr a { color: inherit; }
body[data-d26] .otl-hero .m26-band { background: transparent; transition: background-color .25s ease; }
body[data-d26] .otl-hero .otl-name { opacity: 0; transition: opacity .25s ease; }
body[data-d26] .otl-hero .m26-nav { position: static; }
body[data-d26] .otl-hero.is-stuck .m26-band { background: var(--ink); }
body[data-d26] .otl-hero.is-stuck .otl-name { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  body[data-d26] .otl-hero .m26-band, body[data-d26] .otl-hero .otl-name { transition: none; }
}
@media (max-width: 760px) {
  body[data-d26] .otl-name { font-size: 24px; }
  body[data-d26] .mast.m26.otl-hero { --hero-h: 40vh; }
  body[data-d26] .otl-big { font-size: clamp(38px, 11vw, 56px); }
  body[data-d26] .otl-cr { font-size: 10px; max-width: 70%; }
}
body[data-d26] .otl-hero-name { width: 100%; }
body[data-d26] .otl-hero:not(.is-stuck) .otl-name { display: none; }
@media (max-width: 760px) {
  body[data-d26] .otl-name.otl-l2 { font-size: 20px; }
  body[data-d26] .otl-name.otl-l3 { font-size: 17px; }
  body[data-d26] .otl-big { white-space: normal; line-height: .95; }
}
body[data-d26] .otl-hero-top.nophoto .otl-cr { display: none; }
body[data-d26] .otl-wx a { display: inline-flex; align-items: center; gap: 4px; }
body[data-d26] .otl-wx .wxi { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body[data-d26] .otl-wx .wxi .a-sun { stroke: #FFC94D; }
body[data-d26] .otl-wx .wxi .a-rain { stroke: #8FA8FF; }
