*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial,
    sans-serif;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: #0b0c0c;
  background: #fff;
}

/* GOV-style top bar (no search) */
.site-header {
  position: relative;
  z-index: 2;
  background: #0c2b64;
  color: #fff;
  overflow: visible;
}

/* 10px white gap (from <main> bg), then 10px brand bar; above main’s paint so the strip is visible */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  height: 5px;
  background-color: #0c2b64;
  pointer-events: none;
  opacity: 0.2;
}

.site-header__bar {
  --bar-pad-t: 0.5rem;
  --bar-pad-b: 0.75rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  padding: var(--bar-pad-t) 0 var(--bar-pad-b);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  overflow: visible;
}

/* Shared horizontal band: same max width as hero / main / footer (not “header only”) */
.layout-container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem 0 0.5rem;
  box-sizing: border-box;
}

@media (min-width: 40rem) {
  .layout-container {
    padding: 0 1.5rem 0 0.5rem;
  }
}

.site-header__bar .layout-container {
  width: 100%;
}

.site-header__top {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 2.5rem;
  overflow: visible;
}

.site-header__hero {
  padding: 4.2rem 0;
}

.site-header__title {
  margin: 0;
  max-width: 20em;
  min-width: 0;
  font-size: clamp(1.75rem, 1.1rem + 2.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.site-header__subtitle {
  margin: 15px 0 0;
  max-width: 20em;
  min-width: 0;
  font-size: clamp(1.225rem, 0.77rem + 1.75vw, 1.925rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  opacity: 0.5;
}

.site-header__title span{
  font-weight: 300;
  /*opacity: 0.5;*/
}

.site-header__intro {
  margin: 1rem 0 0;
  max-width: 40rem;
  min-width: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
}

/* GOV-style contents sidebar (main) */
.page-main__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
  overflow: visible; /* let sticky .page-main__side use viewport as scrollport */
}

@media (min-width: 48rem) {
  .page-main__row {
    grid-template-columns: minmax(0, 40rem) minmax(11rem, 17rem);
    column-gap: 2.5rem;
    row-gap: 1.75rem;
  }
}

/* Contents column: sticky (desktop) + bottom sheet (mobile) */
.page-main__side {
  min-width: 0;
}

@media (min-width: 48rem) {
  /* Sticky the whole column so the panel stays in view (nested nav sticky is unreliable) */
  .page-main__side {
    position: -webkit-sticky;
    position: sticky;
    top: 1rem;
    z-index: 1;
    align-self: start;
  }

  .page-main__side .contents__backdrop,
  .page-main__side .contents__toggle {
    display: none;
  }

  .page-main__side .contents__sheet {
    max-height: none;
    overflow: visible;
  }

  .page-main__side .contents {
    position: static;
  }
}

.contents {
  margin: 0;
  min-width: 0;
  padding: 1rem 1rem 1.25rem;
  background: #fff;
  color: #0b0c0c;
  border: 1px solid #b1b4b6;
  border-top: 5px solid #0c2b64;
  box-sizing: border-box;
}

.contents__label {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0b0c0c;
}

.contents__link {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  color: #1d70b8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1em;
}

.contents__link:hover {
  text-decoration-thickness: 3px;
}

.contents__link:focus {
  outline: 3px solid #fd0;
  outline-offset: 0;
  color: #0b0c0c;
  background: #ffdd00;
  text-decoration: none;
  box-shadow: 0 0 0 2px #0b0c0c;
}

.contents__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contents__list li {
  margin: 0 0 0.5rem;
}

.contents__list li:last-child {
  margin-bottom: 0;
}

/* Mobile: contents docked to bottom, tap to expand */
@media (max-width: 47.99rem) {
  .page-main__row {
    display: block;
  }

  .page-main__prose {
    width: 100%;
    max-width: none;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .layout-container,
  .site-header__hero,
  .site-menu__inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .page-main__side {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .contents__backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(11, 12, 12, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .page-main__side.is-open .contents__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .contents__sheet {
    position: relative;
    z-index: 1;
    max-height: 0;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: max-height 0.35s ease;
  }

  .page-main__side.is-open .contents__sheet {
    max-height: min(70vh, 32rem);
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  }

  .page-main__side .contents {
    margin: 0;
    max-height: min(70vh, 32rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 3px solid #0c2b64;
    border-left: 1px solid #b1b4b6;
    border-right: 1px solid #b1b4b6;
    border-bottom: 0;
    border-radius: 0.5rem 0.5rem 0 0;
  }

  .contents__toggle {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding-top: 0.9rem;
    padding-bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
    padding-left: 1rem;
    padding-right: 1.75rem;
    border: 0;
    border-top: 1px solid #b1b4b6;
    background: #fff;
    font: inherit;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0b0c0c;
    text-align: left;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .contents__toggle:focus {
    outline: none;
  }

  .contents__toggle:focus-visible {
    outline: 3px solid #fd0;
    outline-offset: 0;
    z-index: 3;
  }

  .contents__toggle-chevron {
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    border-right: 2px solid #0b0c0c;
    border-bottom: 2px solid #0b0c0c;
    flex-shrink: 0;
    transform: rotate(45deg) translateY(-0.1rem);
    transform-origin: 50% 50%;
    transition: transform 0.2s ease;
  }

  /* translateY after rotate() moves along the turned axis, not screen “down”: use margin for a true vertical nudge */
  .page-main__side.is-open .contents__toggle-chevron {
    margin-top: 0.45rem;
    transform: rotate(225deg) translateY(-0.1rem);
  }

  @media (prefers-reduced-motion: reduce) {
    .contents__sheet {
      transition: none;
    }

    .contents__backdrop,
    .contents__toggle-chevron {
      transition: none;
    }
  }
}

.site-header__mark {
  align-self: center;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.5rem 0.2rem 0;
  border-left: 3px solid rgba(255, 255, 255, 0.5);
  padding-left: 0.5rem;
  line-height: 1.2;
  max-width: 10rem;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  vertical-align: top;
  box-sizing: border-box;
}

.site-header__mark-b {
  font-weight: 700;
  letter-spacing: 0;
  font-size: 13px;
}

.site-header__mark-line {
  display: block;
  line-height: 1;
}

.site-header__mark:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.1em;
}

/* Bar mark: logo + two-line text (no left rule; logo sized to text block) */
.site-header__mark.site-header__mark--with-logo {
  border-left: 0;
  padding: 0.2rem 0.5rem 0.2rem 0;
  max-width: none;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  top: 2px;
}

.site-header__mark.site-header__mark--with-logo .site-header__mark-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.site-header__mark.site-header__mark--with-logo:hover {
  text-decoration: none;
}

.site-header__mark.site-header__mark--with-logo:hover .site-header__mark-text {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.1em;
}

.site-header__mark.site-header__mark--with-logo:focus {
  outline: 3px solid #fd0;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #0b0c0c, 0 4px 0 0 #0b0c0c;
}

.site-header__mark.site-header__mark--with-logo .site-header__mark-img {
  display: block;
  flex-shrink: 0;
  /* ~matches 13px/12px two-line mark + 0.15rem gap (line-height 1.2) */
  height: 1.95rem;
  width: 1.95rem;
  object-fit: contain;
  background: #fff;
  border-radius: 7px;
  box-sizing: border-box;
  padding: 0.12rem;
}

.site-header__util {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 0;
  margin: calc(-1 * var(--bar-pad-t, 0.5rem)) 0
    calc(-1 * var(--bar-pad-b, 0.75rem)) 0;
  z-index: 1;
}

.site-header__util-btn {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 0.4rem;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  margin: 0;
  padding: 0 0.5rem;
  line-height: 1;
  text-decoration: none;
}

.site-header__util-btn:hover {
  text-decoration: none;
}

.site-header__util-btn:focus-visible {
  outline: 3px solid #fd0;
  outline-offset: 0;
}

.site-header__util-btn[aria-expanded="true"] {
  text-decoration: none;
  color: #0b0c0c;
  background: #fff;
  padding: 0 0.75rem;
  margin: 0;
}

.site-header__util-btn[aria-expanded="true"]:hover {
  background: #f3f2f1;
  text-decoration: none;
}

.site-header__util-btn[aria-expanded="true"]:focus-visible {
  outline: 3px solid #0b0c0c;
  outline-offset: 0;
}

.site-header__menu-arrows {
  position: relative;
  display: inline-block;
  width: 0.75rem;
  height: 0.5rem;
  flex-shrink: 0;
}

.menu-arrow {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
}

.menu-arrow--up {
  display: none;
}

.site-header__util-btn[aria-expanded="true"] .menu-arrow--down {
  display: none;
}

.site-header__util-btn[aria-expanded="true"] .menu-arrow--up {
  display: block;
}

.site-menu {
  width: 100%;
  background: #f4f8fb;
  border-bottom: 1px solid #b1b4b6;
}

.site-menu[hidden] {
  display: none !important;
}

.site-menu__inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
}

@media (min-width: 40rem) {
  .site-menu__inner {
    padding: 1.5rem 1.5rem 2.5rem;
  }
}

.site-menu__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2.5rem;
}

/* Single full-width block of link columns (replaces former two-section layout) */

.site-menu__heading {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0b0c0c;
}

.site-menu__link-cols {
  display: grid;
  grid-template-columns: 1fr;
  /* row-gap: space between the two <ul> blocks when the grid is single column (mobile) */
  gap: 1.5rem 1.5rem;
}

@media (min-width: 32rem) {
  .site-menu__link-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.site-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu__list li {
  margin: 0 0 0.85rem;
  padding: 0;
  line-height: 1.3;
}

.site-menu__list li:last-child {
  margin-bottom: 0;
}

.site-menu a {
  position: relative;
  color: #0c2b64;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1em;
  font-size: 1.1875rem;
  font-weight: 700;
}

/* SEO-only fragments: in DOM, visually hidden; screen readers & copy get full text */
.site-menu a .alt,
.site-footer__list a .alt,
main h2 .alt,
main h3 .alt,
main a .alt {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main a:has(.alt) {
  position: relative;
}

/* Visual “PFA” in place of the long phrase (h2 only); in-page nav uses .nav-link-viz::after */
main h2 .pfa {
  user-select: none;
}

main h2 .pfa::after {
  content: "PFA";
  font: inherit;
}

/* UI-only short labels for “What you will learn” + Page contents (full phrase stays in .alt) */
main a .nav-link-viz {
  user-select: none;
  font: inherit;
}

main a .nav-link-viz::after {
  font: inherit;
}

main a .nav-link-viz--it::after {
  content: "What is it?";
}

main a .nav-link-viz--how::after {
  content: "How it works";
}

main a .nav-link-viz--examples::after {
  content: "Examples";
}

main a .nav-link-viz--when::after {
  content: "When & who it’s for";
}

main a .nav-link-viz--training::after {
  content: "Training & certification";
}

main a .nav-link-viz--pdf::after {
  content: "PDF & manual";
}

main a .nav-link-viz--vs-therapy::after {
  content: "PFA vs therapy";
}

main a .nav-link-viz--limitations::after {
  content: "Limitations";
}

main a .nav-link-viz--second-aid::after {
  content: "Public integration";
}

main a .nav-link-viz--train-types::after {
  content: "Types of training";
}

main a .nav-link-viz--train-online::after {
  content: "Online training";
}

main a .nav-link-viz--train-free::after {
  content: "Free training";
}

main a .nav-link-viz--train-courses::after {
  content: "Courses";
}

main a .nav-link-viz--train-cert::after {
  content: "Certification";
}

main a .nav-link-viz--train-learn::after {
  content: "What you learn";
}

main a .nav-link-viz--pdf-types::after {
  content: "Types of PDF";
}

main a .nav-link-viz--pdf-manual::after {
  content: "Manual PDF";
}

main a .nav-link-viz--pdf-training::after {
  content: "Training PDF";
}

main a .nav-link-viz--pdf-free::after {
  content: "Free download";
}

main a .nav-link-viz--pdf-cheat::after {
  content: "Cheat sheets";
}

main a .nav-link-viz--pdf-how::after {
  content: "How they are used";
}

main a .nav-link-viz--steps-overview::after {
  content: "The 3 Steps";
}

main a .nav-link-viz--steps-prep::after {
  content: "Preparation";
}

main a .nav-link-viz--steps-look::after {
  content: "1. Look";
}

main a .nav-link-viz--steps-listen::after {
  content: "2. Listen";
}

main a .nav-link-viz--steps-link::after {
  content: "3. Link";
}

main a .nav-link-viz--steps-who::after {
  content: "Who needs more?";
}

main a .nav-link-viz--steps-check::after {
  content: "Checklist";
}

main a .nav-link-viz--steps-sum::after {
  content: "Summary";
}

main a .nav-link-viz--ex-lll::after {
  content: "Look, Listen, Link";
}

main a .nav-link-viz--ex-comm::after {
  content: "Communication";
}

main a .nav-link-viz--ex-sit-home::after {
  content: "Example: Home";
}

main a .nav-link-viz--ex-sit-schools::after {
  content: "Example: School";
}

main a .nav-link-viz--ex-sit-work::after {
  content: "Example: At work";
}

main a .nav-link-viz--ex-sit-emergencies::after {
  content: "Example: After accidents or emergencies";
}

main a .nav-link-viz--ex-pfa-not::after {
  content: "Not PFA";
}

main a .nav-link-viz--ex-good::after {
  content: "Good PFA";
}

main a .nav-link-viz--pr-5::after {
  content: "The 5 Principles";
}

main a .nav-link-viz--pr-safety::after {
  content: "Safety";
}

main a .nav-link-viz--pr-calm::after {
  content: "Calm";
}

main a .nav-link-viz--pr-efficacy::after {
  content: "Self-Efficacy";
}

main a .nav-link-viz--pr-connected::after {
  content: "Connectedness";
}

main a .nav-link-viz--pr-hope::after {
  content: "Hope";
}

main a .nav-link-viz--pr-summary::after {
  content: "Summary";
}

main a .nav-link-viz--ca-8::after {
  content: "The 8 Core Actions";
}

main a .nav-link-viz--ca-overview::after {
  content: "The 8 Core Actions";
}

main a .nav-link-viz--ca-contact::after {
  content: "1. Contact";
}

main a .nav-link-viz--ca-safety::after {
  content: "2. Safety";
}

main a .nav-link-viz--ca-stab::after {
  content: "3. Stabilization";
}

main a .nav-link-viz--ca-info::after {
  content: "4. Information";
}

main a .nav-link-viz--ca-practical::after {
  content: "5. Practical";
}

main a .nav-link-viz--ca-connect::after {
  content: "6. Connection";
}

main a .nav-link-viz--ca-coping::after {
  content: "7. Coping";
}

main a .nav-link-viz--ca-linkage::after {
  content: "8. Linkage";
}

main a .nav-link-viz--ca-check::after {
  content: "Checklist";
}

main a .nav-link-viz--ca-sum::after {
  content: "Summary";
}

main a .nav-link-viz--cert-what::after {
  content: "What Certification Is";
}

main a .nav-link-viz--cert-need::after {
  content: "Do You Need It?";
}

main a .nav-link-viz--cert-online::after {
  content: "Online";
}

main a .nav-link-viz--cert-cost::after {
  content: "Cost";
}

main a .nav-link-viz--cert-duration::after {
  content: "Duration";
}

main a .nav-link-viz--fr-what::after {
  content: "What It Is";
}

main a .nav-link-viz--fr-how::after {
  content: "How It's Used";
}

main a .nav-link-viz--fr-disaster::after {
  content: "Disaster";
}

main a .nav-link-viz--fr-scene::after {
  content: "On Scene";
}

main a .nav-link-viz--fr-training::after {
  content: "Training";
}

.site-footer__list a.with-pfa::before {
  content: "PFA ";
}

.site-menu a:hover {
  color: #0a224f;
  text-decoration-thickness: 3px;
}

.site-menu a:focus {
  outline: 3px solid #fd0;
  outline-offset: 0;
  color: #0b0c0c;
  background: #ffdd00;
  text-decoration: none;
  box-shadow: 0 0 0 2px #0b0c0c, 0 4px 0 0 #0b0c0c;
}

.site-menu__annotated {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu__annotated li {
  margin: 0 0 1.5rem;
}

.site-menu__annotated li:last-child {
  margin-bottom: 0;
}

.site-menu__annotated a {
  display: block;
  font-size: 1.1875rem;
}

.site-menu__annotated p {
  margin: 0.4rem 0 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  color: #0b0c0c;
  text-align: left;
}

/* Page body */
main {
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 4.2rem 0 2.5rem; /* top: same as main h2 margin-top */
  background: #fff;
  color: #0b0c0c;
  overflow: visible; /* do not establish clip so sticky .page-main__side works */
}

main > .layout-container {
  overflow: visible;
}

@media (max-width: 47.99rem) {
  main {
    /* Space so in-page text is not covered by the fixed Page Contents bar */
    padding-bottom: 4.25rem;
    /* Entire <main> (incl. fixed .page-main__side) must stack above later siblings, or
       footer will paint on top of the mobile Page Contents bar (main had z-index:0). */
    z-index: 1;
  }

  .page-main__sources {
    position: relative;
    z-index: 0;
  }

  .site-footer {
    position: relative;
    z-index: 0;
  }
}

.page-main__prose {
  margin: 0;
  min-width: 0;
  max-width: 40rem;
}

/* No h1 in index body; used on 404 and similar */
main h1 {
  margin: 0 0 2.5rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0b0c0c;
}

main h2 {
  position: relative;
  margin: 6rem 0 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0b0c0c;
}
/* Thin rule directly under a main h2 (first heading of a section) */
main .page-h2__separator {
  display: block;
  width: 100px;
  height: 7px;
  margin: 1.2rem 0;
  background: rgba(0, 0, 0, 0.1);
  border: 0;
}

/* Section spacing when multiple h2s are present */
main h2 + p {
  margin-top: 0.75rem;
}

/* Section topic button (end of section): brand blue; full phrase in .alt (menu/footer pattern) */
main .page-section__button-wrap {
  margin: 1.5rem 0 0;
}

/* Decorative rule between major sections (e.g. before PFA vs therapy) */
/* Equal space above and below the bar; with the 10px bar, total = same 6rem as main h2’s default top margin */
main .page-section__separator {
  display: block;
  margin: calc(3rem - 5px) 0;
  border-top: 3px dashed rgba(0, 0, 0, .07);
  margin-top: 6rem;
}

main a.page-section__button {
  position: relative;
  display: inline-block;
  max-width: 100%;
  /* Extra right space for the absolutely positioned chevron (≈2.35em wide + inset) */
  padding: 0.85rem 2.9rem 0.85rem 1.35rem;
  background: #0c2b64;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.35;
  box-sizing: border-box;
}

main a.page-section__button .page-section__button__text {
  min-width: 0;
}

main a.page-section__button::after {
  content: "›";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  font-size: 2.35em;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0.95;
  transform: translateY(calc(-50% - 0.04em));
  pointer-events: none;
  margin-top: -3.5px;
}

main a.page-section__button:hover {
  color: #fff;
  text-decoration: none;
  background: #0a224f;
}

main a.page-section__button:focus {
  color: #fff;
  text-decoration: none;
  background: #0c2b64;
  outline: 3px solid #fd0;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #0b0c0c, 0 4px 0 0 #0b0c0c;
}

main h3 {
  position: relative;
  margin: 3rem 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #0b0c0c;
}

main p {
  margin: 0 0 1.25em;
  font-size: 1.1875rem;
  line-height: 1.5;
  font-weight: 400;
  color: #0b0c0c;
  text-align: left;
}

main p:last-child {
  margin-bottom: 0;
}

.page-main__prose p.page-main__section-cta {
  border-left: 6px solid #0c2b64;
  padding: calc(0.5rem + 7px) calc(0.75rem + 5px);
  margin: 1.75rem 0 1.25em 0;
  font-weight: 400;
  color: #0c2b64;
  background: rgb(234,249,255);
}

main a {
  color: #1d70b8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1em;
}

main a:hover {
  text-decoration-thickness: 3px;
}

main a:focus {
  outline: 3px solid #fd0;
  outline-offset: 0;
  color: #0b0c0c;
  background: #ffdd00;
  text-decoration: none;
  box-shadow: 0 0 0 2px #0b0c0c, 0 4px 0 0 #0b0c0c;
}

main ul,
main ol {
  margin: 0 0 1.25em 0;
  padding-left: 1.25em;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: #0b0c0c;
}

main ul {
  list-style-type: disc;
}

main li {
  margin: 0.25em 0;
}

/* Examples page: Look / Listen / Link blocks under everyday h3s; match main p paragraph spacing */
main ol.page-examples-situation-steps li {
  margin: 0;
}

main ol.page-examples-situation-steps li + li {
  margin-top: 1.25em;
}

/* Site footer */
/* Pre-footer source strip: flush to footer (replaces default footer top margin) */
body.page-source-strip .site-footer {
  margin-top: 0;
}

.page-main__sources {
  background: #f3f2f1;
  color: #0b0c0c;
  margin-top: 7.5rem;
  padding: 1.5rem 0 1.5rem;
}

.page-main__sources__link {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.5;
}

.page-main__sources a {
  color: #1d70b8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1em;
}

.page-main__sources a:hover {
  color: #003078;
  text-decoration-thickness: 3px;
}

.page-main__sources a:focus {
  outline: 3px solid #fd0;
  outline-offset: 0;
  color: #0b0c0c;
  background: #ffdd00;
  text-decoration: none;
  box-shadow: 0 0 0 2px #0b0c0c;
}

.site-footer {
  margin-top: 8rem;
  padding: 3rem 0 3.5rem;
  background: #0c2b64;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* After base .site-footer padding — mobile needs extra bottom space for fixed Page contents bar */
@media (max-width: 47.99rem) {
  .site-footer {
    padding-bottom: calc(3.5rem + 2.25rem + env(safe-area-inset-bottom, 0px));
  }
}

.site-footer__inner {
  padding-bottom: 0;
}

.site-footer__tagline {
  margin: 0 0 1.75rem;
  font-size: 1.1875rem;
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
  max-width: 64rem;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

@media (min-width: 40rem) {
  .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 56rem) {
  .site-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  line-height: 1.5;
}

.site-footer__list li {
  margin: 0.35em 0;
}

.site-footer__list a {
  position: relative;
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.1em;
}

.site-footer__list a:hover {
  color: #e4edf8;
  text-decoration-thickness: 3px;
}

.site-footer__list a:focus {
  outline: 3px solid #fd0;
  outline-offset: 2px;
  color: #0b0c0c;
  background: #ffdd00;
  text-decoration: none;
  box-shadow: 0 0 0 2px #0b0c0c, 0 4px 0 0 #0b0c0c;
}

.site-footer__copyright {
  margin: 2rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 400;
  color: #fff;
  opacity: 0.8;
  max-width: 64rem;
}
