@font-face { font-family: "Public Sans"; src: url(/fonts/PublicSans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/fonts/PublicSans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/fonts/PublicSans-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }

/* On the record, local editions (tampa.otrecord.news, florida.otrecord.news, local.otrecord.news).
   Same paper, ink, type and 1320px page as otrecord.news (site/styles.css); only the masthead adds
   the place name. Footnote blue is for sources; red is for warnings and active incidents only. */
:root {
  --paper: #FFFFFF;
  --ink: #000000;
  --cite: #1F48B8;
  --quiet: #6B6B6B;
  --rail: #E9E9E6;
  --faint: #CFCFCA;
  --wash: #F4F4F1;
  --warn: #B00020;
  --warn-bg: #FBE5E8;
  --watch: #8A5A00;
  --watch-bg: #FFF2D6;
  --sans: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --gut: 32px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cite); outline-offset: 2px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 70; background: var(--paper); padding: 8px 12px; }
.skip:focus { left: 8px; }
.quiet, .note { color: var(--quiet); }
.note { font-size: 14px; }
.src { margin: 16px 0 0; font-size: 14px; color: var(--quiet); max-width: 90ch; }
.src a { color: var(--cite); }

/* Network bar: back to otrecord.news and its sections */
.net { background: var(--ink); color: var(--paper); font-size: 13px; }
.net .wrap { display: flex; gap: 22px; align-items: center; padding-top: 8px; padding-bottom: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.net .wrap::-webkit-scrollbar { display: none; }
.net a { text-decoration: none; opacity: .85; }
.net a:hover { opacity: 1; text-decoration: underline; }
.net .home { font-weight: 800; opacity: 1; }
.net .sp { margin-left: auto; }

/* Masthead */
.lm { border-bottom: 1px solid var(--ink); }
.lm .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 18px; }
.lm .id { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lm .logo img { height: 22px; width: auto; }
.lm .place { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; line-height: .95; letter-spacing: -.045em; text-decoration: none; }
.lm .place small { font-size: .38em; letter-spacing: -.01em; font-weight: 600; color: var(--quiet); margin-left: 10px; }
.lm .now { text-align: right; font-size: 14px; color: var(--quiet); min-width: 0; }
.lm .now b { display: block; font-size: 30px; color: var(--ink); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.lm .now a { text-decoration: none; }
.secnav { border-bottom: 1px solid var(--ink); position: sticky; top: 0; background: var(--paper); z-index: 20; }
.secnav .wrap { display: flex; gap: 24px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; font-size: 15px; font-weight: 600; white-space: nowrap; scrollbar-width: none; }
.secnav .wrap::-webkit-scrollbar { display: none; }
.secnav a { text-decoration: none; color: var(--quiet); }
.secnav a:hover, .secnav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Alert banner (filled by local.js from /api/alerts) */
.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); }

/* Page head */
.ph { padding: 48px 0 32px; }
.ph .kick { margin: 0 0 10px; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ph h1 { font-size: clamp(40px, 6vw, 80px); line-height: .95; letter-spacing: -.05em; font-weight: 800; max-width: 16ch; }
.ph .lede { margin: 22px 0 0; font-size: 21px; line-height: 1.4; max-width: 52ch; }

/* Sections and grids */
.sec { padding: 28px 0 36px; border-top: 1px solid var(--ink); }
.sec > .wrap > h2, .sec h2.h { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 18px; display: flex; align-items: baseline; gap: 14px; }
.sec h2 .more { margin-left: auto; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.sec h2 small { font-size: 15px; font-weight: 600; color: var(--quiet); letter-spacing: 0; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }
.box { border-top: 3px solid var(--ink); padding-top: 14px; }
.box h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 10px; }

/* Story lists */
.stories { list-style: none; margin: 0; padding: 0; }
.stories li { padding: 14px 0; border-bottom: 1px solid var(--rail); }
.stories li:first-child { padding-top: 0; }
.stories a { text-decoration: none; font-weight: 800; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.stories a:hover { text-decoration: underline; }
.stories p { margin: 6px 0 0; color: var(--quiet); font-size: 15px; }
.stories .lead a { font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.stories .lead p { font-size: 18px; color: var(--ink); }
.stories time { font-size: 13px; color: var(--quiet); }

/* Plain lists of links / rows */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; gap: 12px; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--rail); font-size: 15px; }
.rows li > :last-child { color: var(--quiet); text-align: right; }
.rows a { font-weight: 600; }
.cols { columns: 3 220px; column-gap: 32px; list-style: none; margin: 0; padding: 0; }
.cols li { break-inside: avoid; padding: 5px 0; font-size: 15px; }
.cols li small { color: var(--quiet); }

/* People rosters (officials) */
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.roster li { padding: 10px 0; border-bottom: 1px solid var(--rail); }
.roster a { font-weight: 800; }
.roster span { display: block; font-size: 14px; color: var(--quiet); }

/* Weather */
.wx-now { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.wx-now .t { font-size: 72px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.wx-now .d { font-size: 18px; }
.wx-now .d span { display: block; font-size: 14px; color: var(--quiet); }
.wx-days { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.wx-days li { border-top: 1px solid var(--ink); padding-top: 8px; font-size: 14px; }
.wx-days b { display: block; font-size: 15px; }
.wx-days .hi { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.wx-days .lo { color: var(--quiet); margin-left: 6px; }
.wx-days img { width: 48px; height: 48px; margin: 6px 0; }
.wx-hours { display: flex; gap: 0; overflow-x: auto; margin: 12px 0 0; padding: 0; list-style: none; scrollbar-width: thin; }
.wx-hours li { flex: 0 0 64px; text-align: center; font-size: 13px; padding: 8px 0; border-right: 1px solid var(--rail); }
.wx-hours b { display: block; font-size: 17px; }
.wx-hours .rain { color: var(--cite); }
.wx-mini .t { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.wx-detail { list-style: none; margin: 0; padding: 0; }
.wx-detail li { padding: 12px 0; border-bottom: 1px solid var(--rail); }
.wx-detail b { display: block; }
.radar img { width: 100%; max-width: 600px; border: 1px solid var(--rail); }
.alerts { list-style: none; margin: 0; padding: 0; }
.alerts li { border-left: 4px solid var(--warn); background: var(--warn-bg); padding: 12px 16px; margin: 0 0 12px; }
.alerts li.watch { border-color: var(--watch); background: var(--watch-bg); }
.alerts b { display: block; }
.alerts p { margin: 6px 0 0; font-size: 14px; white-space: pre-line; }
.alerts details summary { cursor: pointer; font-size: 14px; color: var(--cite); }

/* Incidents and meetings */
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rail); font-size: 15px; }
.feed time { color: var(--quiet); font-size: 14px; font-variant-numeric: tabular-nums; }
.feed b { font-weight: 800; }
.feed span { display: block; color: var(--quiet); font-size: 14px; }
.feed .sev3 b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); margin-right: 7px; vertical-align: 1px; }
.feed .doc a { color: var(--cite); margin-right: 12px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.chips button { font: 600 14px var(--sans); border: 1px solid var(--ink); background: var(--paper); padding: 5px 12px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; margin: 0 0 24px; }
.stat div { border-top: 3px solid var(--ink); padding-top: 8px; }
.stat b { display: block; font-size: 36px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--quiet); }

/* Not-yet-wired sections: say what will be here, plainly */
.soon { background: var(--wash); padding: 18px 20px; font-size: 15px; max-width: 80ch; }
.soon b { display: block; font-size: 17px; margin-bottom: 4px; }
.soon ul { margin: 10px 0 0; padding-left: 20px; }
.soon a { color: var(--cite); }
.empty { color: var(--quiet); font-size: 15px; padding: 8px 0; }

/* Directory (local.otrecord.news) */
.dir { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 32px; }
.dir li { padding: 12px 0; border-bottom: 1px solid var(--rail); }
.dir a { font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -.01em; }
.dir a:hover { text-decoration: underline; }
.dir span { display: block; font-size: 14px; color: var(--quiet); }

/* Footer */
.lf { background: var(--ink); color: var(--paper); margin-top: 56px; padding: 40px 0 56px; font-size: 14px; }
.lf .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.lf p { margin: 12px 0 0; max-width: 46ch; opacity: .85; }
.lf ul { list-style: none; margin: 0; padding: 0; }
.lf li { padding: 3px 0; }
.lf a { text-decoration: none; opacity: .85; }
.lf a:hover { opacity: 1; text-decoration: underline; }
.lf img { height: 22px; width: auto; }

@media (max-width: 900px) {
  :root { --gut: 16px; }
  .grid { grid-template-columns: 1fr; gap: 24px; }
  .c4, .c5, .c6, .c7, .c8, .c12 { grid-column: auto; }
  .lm .wrap { gap: 12px; }
  .lm .now b { font-size: 24px; }
  .wx-days { grid-template-columns: repeat(7, 120px); overflow-x: auto; }
  .lf .wrap { grid-template-columns: 1fr 1fr; }
  .stories .lead a { font-size: 24px; }
  .ph .lede { font-size: 18px; }
}
.feed.heads li { grid-template-columns: 96px 1fr; }
.feed.heads a { font-weight: 600; text-decoration: none; }
.feed.heads a:hover { text-decoration: underline; }
.feed .cx { display: inline; color: var(--warn); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.h3, .sec h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 28px 0 10px; }
.more-calls { font: 600 14px var(--sans); border: 1px solid var(--ink); background: var(--paper); padding: 8px 14px; cursor: pointer; margin-top: 12px; }
