/* Family stylesheet (FAM03) - the ONE copy of the rules these pages used to carry each in their own
   <style> (DUPE-SITEWIDE1 / COPY-ONE1). Linked by each page immediately BEFORE its own <style>, so
   the cascade order is unchanged. Edit a shared rule HERE, never back in a page.
   Pages: /nhs/flu/index.html, /nhs/pharmacy-first/impetigo/index.html, /nhs/pharmacy-first/infected-insect-bite/index.html, /nhs/pharmacy-first/otitis-media/index.html, /nhs/pharmacy-first/shingles/index.html, /nhs/pharmacy-first/sinusitis/index.html, /nhs/pharmacy-first/sore-throat/index.html, /nhs/pharmacy-first/uti/index.html, /nhs/pharmacy-first/what-happens-next/index.html
   Also linked by /nhs/pharmacy-first/index.html (the hub, release 117), before its own <style>, for the .related-guides
   rules, the PF-06 emergency signpost and SHORT-LANDSCAPE-HERO1 (both below): the hub's own sheet restates every other
   rule here, so its look is unchanged. */

:root { --teal: #0f5257; --dark-teal: #0A2E36; --cream: #F5F5F2; --terracotta: #9c4a2f; --nhs-blue: #005EB8; --text: #1f2937; --muted: #5b6470; --border: #e5e7eb; --ok: #2e7d32; --warn: #c17b00; --error: #c0392b; }

* { box-sizing: border-box; }

body { font-family: 'Proxima Nova', -apple-system, sans-serif; background: var(--cream); color: var(--text); line-height: 1.65; margin: 0; }

h1, h2, h3 { font-family: 'Proxima Nova', sans-serif; color: var(--dark-teal); font-weight: 700; margin: 0 0 14px; }

a { color: var(--teal); }
 strong { color: var(--dark-teal); }

main { max-width: 880px; margin: 0 auto; padding: 0 24px 64px; }

.crumbs { font-size: 13px; color: var(--muted); margin: 24px 0 16px; }

.crumbs a { color: var(--muted); text-decoration: none; }

.hero h1 { color: var(--cream); font-size: 38px; line-height: 1.12; margin-bottom: 12px; }

.hero .lead { font-size: 17px; opacity: 0.95; margin-bottom: 0; }

.hero .pill { display: inline-block; background: rgba(255,255,255,0.15); padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 12px; letter-spacing: 0.4px; }

/* PF-06 (14 Nov 2026, PF-JOURNEY-20261114): on every Pharmacy First page (the hub included) a one-line emergency signpost
   sits ABOVE the hero's booking buttons and jumps to the page's own 999 / 111 box (#red-flags) - safety before booking. */
.hero .pf-safety { font-size: 14px; line-height: 1.5; margin: 12px 0 18px; opacity: 0.95; }
.hero .pf-safety a, .hero .lead a { color: #fff; font-weight: 700; text-underline-offset: 3px; }

/* SHORT-LANDSCAPE-HERO1 (15 Nov 2026, PF-04's hero half, PF-JOURNEY-20261114): a phone held sideways - 1000px wide or less
   AND 500px tall or less, STICKY-SIDEWAYS1's spelling, the site's one short-landscape condition for a page's own aids -
   shows the booking button on its first screen on the 8 Pharmacy First pages that have one (.pf-hero, the hub; .pf-hero2,
   the seven pathways). Measured 15 Nov at 844x390: header 104px (SHORT-LANDSCAPE2), screen above the cookie notice ends at
   272, button top at 508-713 (the lead, the picture column and a two-row button block came first). Here only: one column,
   the decorative picture not drawn, tighter padding, a 26px heading, and the reading order pill -> heading -> the PF-06
   emergency signpost (safety still before booking) -> the buttons -> the lead, its eligibility words immediately after the
   buttons -> the trust line. Every word stays, and the lead stops short of the floating WhatsApp / Call circles. Placed
   by explicit grid rows whose signpost and button rows hold their room before those lines arrive, so a half-loaded page
   never paints the lead under the heading and then pushes it down (design studio 4.5 rule 7). Two classes on every
   selector: each page's own <style> loads AFTER this sheet. */
@media (max-width: 1000px) and (max-height: 500px) {
  .hero.pf-hero, .hero.pf-hero2 { display: block; padding: 12px 20px 16px; border-radius: 14px; }
  .hero.pf-hero .pf-hero-art, .hero.pf-hero2 .pf-hero-art { display: none; }
  .hero.pf-hero .pf-hero-copy, .hero.pf-hero2 .pf-hero-copy { display: grid; grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(29px, auto) minmax(46px, auto) auto auto; }
  .hero.pf-hero .pill, .hero.pf-hero2 .pill { grid-row: 1; justify-self: start; margin: 0 0 6px; padding: 4px 12px; line-height: 1.4; }
  .hero.pf-hero h1, .hero.pf-hero2 h1 { grid-row: 2; font-size: 26px; line-height: 1.12; margin: 0 0 6px; }
  .hero.pf-hero .pf-safety, .hero.pf-hero2 .pf-safety { grid-row: 3; margin: 0 0 8px; }
  .hero.pf-hero .hero-cta, .hero.pf-hero2 .hero-cta { grid-row: 4; margin: 0; }
  .hero.pf-hero .btn-xl, .hero.pf-hero2 .btn-xl { min-height: 46px; padding: 10px 22px; line-height: 1.5; }
  .hero.pf-hero .lead, .hero.pf-hero2 .lead { grid-row: 5; font-size: 16px; line-height: 1.5; max-width: min(70ch, calc(100vw - 120px)); margin: 14px 0 12px; }
  .hero.pf-hero .pf-trust, .hero.pf-hero2 .pf-trust { grid-row: 6; }
}


section.block { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 28px 32px; margin-bottom: 24px; }

section.block h2 { font-size: 24px; margin-bottom: 14px; }

section.block h3 { font-size: 17px; margin: 18px 0 8px; }

section.block p, section.block li { font-size: 15px; }

section.block ul { padding-left: 22px; margin: 0 0 12px; }

section.block li { margin-bottom: 6px; }

.red-flag-callout strong { color: var(--error); }

/* RELATED-GUIDES-ONE1 (release 117): the Pharmacy First guides block that scripts/gen_pharmacy_first.py writes on the 8
   pathway pages and the hub - body text at the 16px floor and every link a 44px target (docs/mobile-design-patterns.md). */
section.block.related-guides p { font-size: 16px; line-height: 1.6; }

.related-guides a { display: inline-block; min-height: 44px; min-width: 44px; padding: 10px 0; }


.faq dt { font-weight: 600; color: var(--dark-teal); font-size: 15.5px; margin-top: 14px; }

.faq dd { margin: 4px 0 0; font-size: 14.5px; color: var(--text); }


footer.compliance-footer { background: var(--dark-teal); color: var(--cream); padding: 32px 24px; font-size: 13px; margin-top: 60px; }
