/* hub-page.css — page-level styles for the conditions hub prototype (design test, branch
   design/conditions-hub): the slim hero and the "full detail" rows that wrap the existing
   /conditions sections. The hub itself is styled by hub.css (every rule under #hub, every class hb-). */
#hub{display:block;min-height:60vh}
main .hub-hero{padding-top:18px;padding-bottom:0;min-height:0}
main .hub-hero .data-note:empty{display:none}
main .hub-hero h1{margin-bottom:6px}
/* phones: the "Conditions" eyebrow row is the hero's tallest line and says what the H1 says; it stays in the markup */
@media (max-width:560px){main .hub-hero .eyebrow{display:none}main .hub-hero{padding-top:10px}main .hub-hero h1{font-size:1.75rem;padding-right:50px}} /* --bp-sm */
.hub-more-head{margin-top:36px}
details.hub-more{max-width:1120px;margin:10px auto;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--card);overflow:hidden}
details.hub-more>summary{list-style:none;cursor:pointer;display:flex;flex-direction:column;gap:2px;min-height:64px;justify-content:center;padding:12px 56px 12px 20px;position:relative;color:var(--ink)}
details.hub-more>summary::-webkit-details-marker{display:none}
details.hub-more>summary::after{content:"";position:absolute;right:24px;top:50%;width:12px;height:12px;margin-top:-9px;border-right:2.5px solid var(--ink);border-bottom:2.5px solid var(--ink);transform:rotate(45deg);transition:transform .25s}
details.hub-more[open]>summary::after{transform:rotate(225deg);margin-top:-3px}
details.hub-more>summary:hover{background:rgba(28,36,31,.04)}
details.hub-more>summary:focus-visible{outline:3px solid var(--lake-text);outline-offset:-3px}
/* One-line teasers for content that moved to its canonical page (2026-11-25, decision 3). */
section.hub-teaser{max-width:1120px;margin:10px auto;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--card)}
section.hub-teaser>.wrap{padding:14px 20px}
.hub-teaser__p{margin:0;color:var(--ink);font-size:1rem;line-height:1.5}
.hub-teaser__p a{color:var(--link);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.hub-teaser__p a:focus-visible{outline:3px solid var(--lake-text);outline-offset:2px}
.hub-more__t{font-size:1.2rem;font-weight:700}
.hub-more__h{font-size:1rem;color:var(--ink-soft)}
details.hub-more>section.band{background:transparent;border:0;border-top:1px solid var(--line);padding-top:20px;padding-bottom:24px}
@media (max-width:1160px){details.hub-more{margin-left:14px;margin-right:14px}}
@media (prefers-reduced-motion:reduce){details.hub-more>summary::after{transition:none}}

/* ── alerts above the hub ──
   Shown ONLY when something is in force (the owner, 2026-11-19: no bar just to say there is nothing).
   data-quiet="1" hides the whole section. It is set by the deploy-time bake when the feed then
   showed nothing in force, and by hub.js live (GVHub.inForce, the same rule); hub.js removes it the
   moment anything is in force, and conditions.js removes it when the feed fails to load (nothing
   can be confirmed). A link to #alerts or into it opens the section even on a quiet day. */
main .hub-alerts{padding-top:16px;padding-bottom:12px}
main .hub-alerts[data-quiet="1"]{display:none}
/* "In force near the lake": in force, but with no row of its own in the alert lists below. */
.hub-alerts__also{margin:4px 0 18px}
.hub-alerts__also .cat-head{margin-top:0}
.hub-alerts__item--danger a,.hub-alerts__item--danger span{font-weight:700}
.hub-hunt{margin-top:20px}
.hub-hunt:empty{display:none}
/* the answer block now sits below the hub's readings */
#hub+.answer-strip,#hub~.answer-strip{margin-top:20px}
/* On this page the section sits above the readings, so its chrome is cut to the heading, the
   county link and the alerts themselves. Nothing that is an alert is hidden. */
main .hub-alerts .eyebrow,main .hub-alerts .about-data,main .hub-alerts .wrap>.sec-lead:first-of-type,main .hub-alerts #alertsFire>p:last-child{display:none}
main .hub-alerts .sec-title{font-size:1.5rem;margin-bottom:6px}
main .hub-alerts .wrap>.sec-lead{margin-bottom:10px}
/* Nothing inside a CLOSED detail row may animate or transition. The lake bar's width transition
   (styles.css) starts when conditions.js paints the level, and inside a closed <details> it never
   finishes: the browser recalculated style on every frame for as long as the page was open
   (measured 2026-11-19: 60 recalcs a second, about 50 ms of main thread a second, with no script
   running). The row draws at its final state when it is opened. */
details.hub-more:not([open]) *,details.hub-more:not([open]) *::before,details.hub-more:not([open]) *::after{transition:none!important;animation:none!important}
/* Alert detail rows (2026-11-23): .datalist rows are flex/space-between site-wide, but these rows write their
   separators ("· until …", "— the lake …") into the text, so flex scattered the pieces across the row and a phone
   started lines with a dangling "·". Here they read as one sentence. */
main .hub-alerts .datalist li{display:block;line-height:1.5}
main .hub-alerts .datalist li>*{margin-right:4px}
main .panel a.btn-pine,main .panel a.btn-pine:hover{color:var(--on-dark);text-decoration:none}   /* a site link rule outranks .btn-pine inside a panel; the dark sky sheet used to hide this */
