/* Bird flu and backyard birds (/bird-flu-backyard-birds/). Loaded after guide.css. Pieces the magpie
   template doesn't have: the hotline in the headline band, the "found a bird" picker (CSS only: the
   chosen answer shows through :has(); browsers without it show all four), the dated status block with
   its bar list, and body paragraphs. Page colour: Pacific black duck speculum green (sp-duck). */

/* Phone links: bold, never split across lines */
.bf-body a.tel, .fp-steps a.tel, .dd a.tel, .faq-a a.tel, .bf-call-alt a.tel { font-weight: 700; white-space: nowrap; }

/* ---------- Headline band: the hotline ---------- */
.bf-call { border-top: 3px solid var(--cn); padding: 14px 0 32px; }
.bf-call-org { font-stretch: 112%; font-weight: 800; font-size: 19px; line-height: 1.15; margin: 0; color: #fff; }
.bf-num {
  display: inline-block; white-space: nowrap;
  font-stretch: 75%; font-weight: 820; font-size: clamp(52px, 15vw, 104px); line-height: .95;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: #fff; text-decoration: none;
  border-bottom: 4px solid var(--cn); padding-bottom: 4px; margin: 6px 0 14px;
  transition: border-color .2s var(--ease), transform .15s var(--ease);
}
.dark a.bf-num { color: #fff; }
.bf-num:hover { border-color: #fff; }
.bf-num:active { transform: scale(.98); }
.bf-call-note { font-size: 15.5px; line-height: 1.42; color: var(--ink2-n); margin: 0 0 12px; max-width: 30em; }
.bf-call-alt { font-size: 15.5px; line-height: 1.42; color: var(--ink2-n); margin: 0; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); max-width: 30em; }
.bf-call-alt b { color: #fff; font-weight: 700; }
@media (min-width: 1024px) {
  .bf-call { padding-bottom: 0; }
}

/* ---------- Quick facts: four equal columns ---------- */
@media (min-width: 760px) { .bf-qf { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Body text ---------- */
.bf-body p:not(.lede):not(.law-note):not(.rel-more) { font-size: 17px; line-height: 1.55; max-width: 36em; margin: 0 0 14px; }
.bf-body .law-note { margin: 0 0 16px; max-width: 36em; }
.bf-body .rel-more { margin-top: 18px; }
.bf-h3 { font-stretch: 112%; font-weight: 820; font-size: 20px; line-height: 1.15; letter-spacing: -.01em; margin: 26px 0 10px; }
.bf-body > .bf-h3:first-child { margin-top: 0; }
.bf-after { font-size: 17px; line-height: 1.55; max-width: 38em; margin: 18px 0 0; }
.bf-signs, .bf-list { list-style: none; margin: 0 0 16px; padding: 0; max-width: 36em; }
.bf-signs { border-top: 3px solid var(--ink); }
.bf-signs li, .bf-list li { position: relative; padding: 9px 0 9px 24px; border-bottom: 1px solid var(--hair2); font-size: 16.5px; line-height: 1.4; }
.bf-signs li::before, .bf-list li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 9px; background: var(--c); }
.bf-ph { margin: 26px 0 0; max-width: 560px; }
.bf-ph figcaption { font-stretch: 75%; font-size: 13.5px; line-height: 1.4; color: var(--ink2); padding-top: 8px; }
.bf-ph figcaption a:not(.src) { color: var(--ink2); }
@media (min-width: 1024px) {
  .bf-h3 { font-size: 22px; }
  .bf-body p:not(.lede):not(.law-note):not(.rel-more), .bf-after { font-size: 18px; }
}

/* ---------- "Found a dead bird": the picker ---------- */
.fp { display: grid; gap: 24px; margin-top: 28px; }
.fp-pick { border: 0; margin: 0; padding: 0; min-width: 0; }
.fp-pick legend { font-stretch: 75%; font-weight: 700; font-size: 14px; color: var(--ink2); margin-bottom: 8px; padding: 0; }
.fp-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fp-opts label { position: relative; display: block; -webkit-tap-highlight-color: transparent; }
.fp-opts input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fp-opts span {
  display: flex; align-items: center; height: 100%; min-height: 58px; padding: 10px 12px;
  font-stretch: 75%; font-weight: 750; font-size: 16.5px; line-height: 1.15;
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 2px;
  transition: background-color .15s var(--ease), color .15s, transform .15s var(--ease);
}
.fp-opts label:hover span { background: #F4F5F2; }
.fp-opts input:checked + span { background: var(--ink); color: #fff; }
.fp-opts input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.fp-opts label:active span { transform: scale(.96); }

.fp-p { border-top: 3px solid var(--ink); padding-top: 14px; min-width: 0; }
.fp-p + .fp-p { margin-top: 34px; }
.fp-h { font-stretch: 112%; font-weight: 820; font-size: 22px; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 8px; }
.fp-call { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 10px; }
.fp-num {
  white-space: nowrap; font-stretch: 75%; font-weight: 820; font-size: clamp(40px, 11vw, 66px); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--ink); text-decoration: none;
  border-bottom: 3px solid var(--c); padding-bottom: 2px;
  transition: border-color .2s var(--ease), transform .15s var(--ease);
}
.fp-num:hover { border-color: var(--ink); }
.fp-num:active { transform: scale(.98); }
.fp-org { font-stretch: 75%; font-weight: 650; font-size: 15px; line-height: 1.3; color: var(--ink2); }
.fp-steps { list-style: none; counter-reset: f; margin: 0; padding: 0; }
.fp-steps li { counter-increment: f; position: relative; padding: 12px 0 12px 42px; border-top: 1px solid var(--hair2); font-size: 16.5px; line-height: 1.45; }
.fp-steps li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-stretch: 75%; font-weight: 800; font-size: 20px; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--c); }
.fp-steps b { font-weight: 750; }

/* With :has(), only the chosen answer shows, and its heading is read but not shown (the button says it). */
@supports selector(:has(*)) {
  .fp-p { display: none; }
  .fp-p + .fp-p { margin-top: 0; }
  .fp:has(input[value="wild"]:checked) .fp-p[data-k="wild"],
  .fp:has(input[value="hurt"]:checked) .fp-p[data-k="hurt"],
  .fp:has(input[value="flock"]:checked) .fp-p[data-k="flock"],
  .fp:has(input[value="pet"]:checked) .fp-p[data-k="pet"] { display: block; animation: fp-in .28s var(--ease); }
  .fp-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}
@keyframes fp-in { from { opacity: 0; } }

@media (min-width: 760px) {
  .fp-opts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fp-opts span { min-height: 64px; font-size: 17.5px; }
}
@media (min-width: 1024px) {
  .fp { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 64px; align-items: start; }
  .fp-opts { grid-template-columns: 1fr; gap: 8px; }
  .fp-opts span { min-height: 66px; padding: 12px 16px; font-size: 21px; }
  /* A notch on the chosen button, pointing at its answer */
  .fp-opts input:checked + span { position: relative; }
  .fp-opts input:checked + span::after { content: ""; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--ink); transform: rotate(45deg); }
  .fp-steps li { font-size: 17.5px; }
}

/* ---------- Where things stand: the dated status block ---------- */
.bf-status { border: 2px solid var(--ink); background: var(--white); min-width: 0; }
.bf-st-top { margin: 0; background: var(--ink); color: #fff; padding: 10px 14px 11px; font-stretch: 75%; font-weight: 750; font-size: 16.5px; line-height: 1.25; }
.bf-st-cols { display: grid; }
.bf-st-cols > div { padding: 16px 14px 8px; min-width: 0; }
.bf-st-cols > div + div { border-top: 1px solid var(--hair2); }
.bf-st-h { font-stretch: 112%; font-weight: 820; font-size: 20px; line-height: 1.1; margin: 0 0 8px; }
.bf-st-list { list-style: none; margin: 0; padding: 0; }
.bf-st-list li { padding: 9px 0; border-top: 1px solid var(--hair); font-size: 15.5px; line-height: 1.42; }
.bf-st-list b { font-weight: 750; }
.bf-st-big { margin: 0 0 12px; font-size: 15.5px; line-height: 1.35; color: var(--ink2); }
.bf-st-big b { display: block; font-stretch: 75%; font-weight: 820; font-size: 56px; line-height: 1; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
/* Confirmed events by state: one grey for all, WA in the page colour */
.bf-bars { list-style: none; margin: 0 0 14px; padding: 0; }
.bf-bars li { display: grid; grid-template-columns: 38px minmax(0, 1fr) 34px; column-gap: 8px; align-items: center; height: 24px; }
.bf-bar-k { font-stretch: 75%; font-weight: 700; font-size: 13.5px; text-decoration: none; color: var(--ink2); }
.bf-bar-trk { position: relative; height: 12px; border-left: 1px solid var(--ink); }
.bf-bar-trk b { position: absolute; left: 0; top: 0; bottom: 0; width: max(2px, calc(var(--v) / var(--max) * 100%)); background: #8A908D; border-radius: 0 2px 2px 0; transform-origin: 0 50%; transition: transform .8s var(--ease); }
.bf-bar-n { font-stretch: 75%; font-weight: 700; font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.bf-bars li.is-here .bf-bar-trk b { background: var(--c); }
.bf-bars li.is-here .bf-bar-k, .bf-bars li.is-here .bf-bar-n { color: var(--c); font-weight: 820; }
.bf-bars.is-hidden .bf-bar-trk b { transform: scaleX(0); }
.bf-bars-note { margin: -6px 0 12px; font-stretch: 75%; font-size: 13px; color: var(--ink2); }
.bf-st-foot { margin: 0; padding: 10px 14px 12px; border-top: 1px solid var(--hair2); font-size: 14px; line-height: 1.45; color: var(--ink2); }
@media (min-width: 760px) {
  .bf-st-cols { grid-template-columns: 1fr 1fr; }
  .bf-st-cols > div { padding: 18px 18px 10px; }
  .bf-st-cols > div + div { border-top: 0; border-left: 1px solid var(--hair2); }
  .bf-st-top, .bf-st-foot { padding-left: 18px; padding-right: 18px; }
}
@media (min-width: 1024px) {
  .bf-cols { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 56px; margin-top: 30px; }
}
