.public-page-footer {
  margin-top: auto;
  border-top: 1px solid var(--border, #d9e1eb);
  background: var(--bg2, #f4f7fb);
  color: var(--text, #0f2645);
}

.public-footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 clamp(14px, 3vw, 28px);
  width: min(calc(100% - 40px), 1160px);
  margin-inline: auto;
  padding-block: 8px;
}

.public-footer-nav a,
.wa-emergency__back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.public-footer-nav a[aria-current="page"] {
  text-decoration-thickness: 2px;
}

.public-footer-nav a:focus-visible,
.wa-emergency :is(a, summary):focus-visible,
.sd-hero__actions a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.sd-hero__actions .btn {
  min-height: 44px;
  white-space: normal;
}

/* Reserve an icon-sized box even before the icon font arrives. */
.material-symbols-outlined {
  display: inline-block;
  flex: none;
  inline-size: 1em;
  block-size: 1em;
  overflow: hidden;
  white-space: nowrap;
}

main :is(h1, h2, h3) {
  overflow-wrap: anywhere;
}

.wa-emergency__hero {
  padding-block: clamp(22px, 5vw, 55px);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.wa-emergency__hero .breadcrumb {
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.wa-emergency__hero .eyebrow {
  color: var(--muted);
  font-size: .9rem;
  margin: 0 0 8px;
}

.wa-emergency h1 {
  max-width: 22ch;
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 5vw, 3.5rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.wa-emergency__intro {
  max-width: 60ch;
  margin: 0 0 16px;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.wa-emergency__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wa-emergency__actions .btn {
  min-height: 44px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.wa-emergency__body {
  padding-block: clamp(24px, 5vw, 62px);
}

.wa-emergency__guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 26px);
}

.wa-emergency__guide {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: var(--card);
}

.wa-emergency__guide--urgent {
  border-inline-start: 4px solid var(--danger);
}

.wa-emergency h2:not(.sr-only) {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

.wa-emergency__faq {
  max-width: 70ch;
  margin-top: 30px;
}

.wa-emergency__faq details {
  border-bottom: 1px solid var(--border);
}

.wa-emergency__faq summary {
  align-content: center;
  min-height: 44px;
  padding: 8px 0;
  font-weight: 700;
  cursor: pointer;
}

.wa-emergency__faq details p {
  margin: 0 0 12px;
  color: var(--muted);
}

.wa-emergency__back {
  margin-top: 10px;
}

@media (max-width: 700px) {
  .wa-emergency__guides {
    grid-template-columns: minmax(0, 1fr);
  }

  .wa-emergency__actions {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .wa-emergency__actions .btn--danger {
    grid-column: 1 / -1;
  }
}
