/*
   Public pages. The homepage (client/landing, mounted in .hospital-home) is
   at the end of this file; everything above it serves the other public pages.
*/

.public-wrap {
  width: min(100% - 64px, 1252px);
  margin-inline: auto;
}

.hospital-kicker {
  color: var(--bp-green);
  font-family: var(--bp-font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0;
  text-transform: uppercase;
}

.hospital-text-link {
  color: var(--bp-green);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin-top: 1.2rem;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: var(--bp-gold-line);
  text-decoration-thickness: 2px;
  text-transform: uppercase;
  text-underline-offset: 0.32em;
}

.hospital-text-link:hover {
  color: #03664f;
  text-decoration-color: currentColor;
}

.hospital-section {
  padding-block: clamp(5rem, 9vw, 8.5rem);
  position: relative;
}

.hospital-gallery {
  background: #ffffff;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
  padding: 0.5rem;
}

.hospital-gallery figure {
  background: var(--bp-night);
  border-radius: 0;
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  position: relative;
}

.hospital-gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
  width: 100%;
}

.hospital-gallery figcaption {
  background: linear-gradient(180deg, transparent, rgba(2, 39, 32, 0.9));
  bottom: 0;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  left: 0;
  letter-spacing: 0.1em;
  padding: 3.5rem 1rem 1rem;
  position: absolute;
  right: 0;
  text-transform: uppercase;
}

.hospital-gallery-page {
  background: #f5f0e1;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.hospital-gallery figure:hover img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.035);
}

/* Public search is intentionally separate from patient records. */
.public-search {
  background: #ffffff;
  color: var(--ok-ink);
  min-height: 65vh;
}

.public-search__wrap {
  margin-inline: auto;
  width: min(100% - 64px, 1252px);
}

/* Same cream band as every inner page (see .site-page-header in site.css). */
.public-search__hero {
  background: var(--bp-cream);
  padding-block: 80px;
}

.public-search__kicker {
  color: var(--bp-green);
  font: 600 16px/1.5 var(--bp-font-sans);
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: uppercase;
}

.public-search__hero h1 {
  color: var(--bp-ink);
  font-family: var(--bp-font-serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.3;
  margin: 16px 0 0;
}

.public-search__hero > .public-search__wrap > p:last-of-type {
  color: var(--bp-ink);
  font-size: 18px;
  line-height: 1.5;
  margin: 16px 0 0;
}

.public-search__form {
  align-items: end;
  background: #ffffff;
  border: 1px solid #ece5d0;
  border-radius: 0;
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
  padding: 1rem;
}

.public-search__field {
  display: grid;
  gap: 0.4rem;
}

.public-search__field label {
  color: #1a1a1a;
  font-size: 0.78rem;
  font-weight: 750;
}

.public-search__field input,
.public-search__field select {
  background: #ffffff;
  border: 1px solid #c9bea0;
  border-radius: var(--ok-control-radius);
  color: var(--ok-ink);
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.public-search__field input:focus,
.public-search__field select:focus {
  border-color: var(--ok-sky-700);
  outline: none;
}

.public-search__button {
  background: var(--ok-sky-800);
  border: 0;
  border-radius: var(--ok-control-radius);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  min-height: 48px;
  padding-inline: 1.4rem;
  text-transform: uppercase;
}

.public-search__button:hover {
  background: var(--ok-sky-950);
}

.public-search__results {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.public-search__summary p {
  color: var(--ok-sky-800);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.public-search__summary h2,
.public-search__empty h2 {
  color: var(--ok-ink);
  font-family: var(--ok-font-display);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
  margin: 0.45rem 0 0;
}

.public-search__group {
  margin-top: 2.5rem;
}

.public-search__group h3 {
  color: var(--ok-ink);
  font-family: var(--ok-font-display);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.public-search__list {
  background: #ffffff;
  border: 1px solid #ece5d0;
  border-radius: 0;
  overflow: hidden;
}

.public-search__result {
  align-items: center;
  color: var(--ok-ink);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 78px;
  padding: 1rem 1.15rem;
  text-decoration: none;
}

.public-search__result + .public-search__result {
  border-top: 1px solid #ece5d0;
}

.public-search__result:hover {
  background: #f5f0e1;
  color: var(--ok-sky-900);
}

.public-search__result strong,
.public-search__result small {
  display: block;
}

.public-search__result strong {
  font-size: 1rem;
}

.public-search__result small {
  color: var(--ok-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-top: 0.3rem;
}

.public-search__empty {
  background: #ffffff;
  border: 1px solid #ece5d0;
  border-radius: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.public-search__empty p {
  color: var(--ok-muted);
  line-height: 1.65;
  margin: 0.8rem 0 0;
}

.public-search__empty a {
  color: var(--ok-sky-800);
  display: inline-block;
  font-weight: 750;
  margin-top: 1rem;
}

@media (min-width: 720px) {

  .public-search__form {
    grid-template-columns: minmax(0, 1fr) 220px auto;
  }

  .hospital-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hospital-gallery__large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .hospital-gallery__wide {
    grid-column: span 2;
  }

  .hospital-gallery figure {
    min-height: 320px;
  }

  .hospital-gallery__large {
    min-height: 641px;
  }
}

@media (max-width: 719.98px) {
  .public-wrap {
    width: min(100% - 40px, 1252px);
  }

  .public-search__wrap {
    width: min(100% - 40px, 1252px);
  }

  .public-search__hero {
    padding-block: 48px;
  }

  .public-search__hero h1 {
    font-size: 28px;
  }

  .hospital-section {
    padding-block: 3.5rem;
  }

  .hospital-gallery figure {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hospital-home *,
  .hospital-home *::before,
  .hospital-home *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* Reading-first hospital notes and guides. */
.editorial-index,
.editorial-article {
  --editorial-ink: #1a1a1a;
  --editorial-muted: #525252;
  --editorial-line: #ece5d0;
  --editorial-paper: #ffffff;
  --editorial-accent: #047760;
  --hospital-clay: #047760;
  --hospital-teal: #047760;
  --hospital-night: #022720;
  background: var(--editorial-paper);
  color: var(--editorial-ink);
}

.editorial-index a,
.editorial-article a {
  color: inherit;
}

.editorial-index a:focus-visible,
.editorial-article a:focus-visible {
  outline: 3px solid rgba(4, 119, 96, 0.6);
  outline-offset: 4px;
}

.editorial-article__header h1 {
  font-family: var(--ok-font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.editorial-stream {
  padding-block: clamp(3rem, 8vw, 6.5rem);
}

.editorial-lead {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.editorial-lead--text-only {
  grid-template-columns: minmax(0, 780px);
}

.editorial-lead__image {
  background: #f5f0e1;
  display: block;
  overflow: hidden;
}

.editorial-lead__image img {
  aspect-ratio: 16 / 9;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

.editorial-lead__image:hover img {
  transform: scale(1.018);
}

.editorial-byline {
  align-items: center;
  color: var(--editorial-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.72rem;
  font-weight: 750;
  gap: 0.55rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.editorial-lead h2 {
  font-family: var(--ok-font-display);
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 1rem 0 1.15rem;
}

.editorial-lead h2 a,
.editorial-row h3 a,
.editorial-more h3 a {
  text-decoration: none;
}

.editorial-lead h2 a:hover,
.editorial-row h3 a:hover,
.editorial-more h3 a:hover {
  color: var(--editorial-accent);
}

.editorial-lead__copy > p {
  color: var(--editorial-muted);
  font-size: 1.03rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.editorial-stream__heading {
  align-items: baseline;
  border-bottom: 1px solid var(--editorial-ink);
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.8rem;
}

.editorial-stream__heading h2 {
  font-family: var(--ok-font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 400;
  margin: 0;
}

.editorial-stream__heading > span,
.editorial-stream__heading > a {
  color: var(--editorial-muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.editorial-row {
  align-items: start;
  border-bottom: 1px solid var(--editorial-line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 155px minmax(0, 1fr) 80px;
  padding-block: 2rem;
}

.editorial-row__meta {
  color: var(--editorial-muted);
  display: grid;
  font-size: 0.7rem;
  font-weight: 700;
  gap: 0.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editorial-row h3 {
  font-family: var(--ok-font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin: 0 0 0.6rem;
}

.editorial-row__copy p,
.editorial-more article p {
  color: var(--editorial-muted);
  line-height: 1.65;
  margin: 0;
}

.editorial-row__read {
  color: var(--editorial-muted);
  display: grid;
  font-size: 0.75rem;
  gap: 0.5rem;
  justify-items: end;
  white-space: nowrap;
}

.editorial-row__read a {
  color: var(--editorial-accent);
  font-weight: 800;
  text-decoration: none;
}

.editorial-empty {
  border-block: 1px solid var(--editorial-line);
  max-width: 760px;
  padding-block: 3rem;
}

.editorial-empty h2 {
  font-family: var(--ok-font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.08;
  margin: 0.75rem 0 1rem;
}

.editorial-empty > p:not(.hospital-kicker) {
  color: var(--editorial-muted);
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.editorial-article {
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.editorial-article__header {
  border-bottom: 1px solid var(--editorial-line);
  padding-block: clamp(3.5rem, 9vw, 7.5rem);
}

.editorial-reading-column {
  margin-inline: auto;
  max-width: 760px;
  padding-inline: 1.25rem;
}

.editorial-back-link {
  color: var(--editorial-accent) !important;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  margin-bottom: 2.5rem;
  text-decoration: none;
  text-transform: uppercase;
}

.editorial-article__header h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 1.08;
  margin: 1rem 0 1.4rem;
}

.editorial-article__dek {
  color: var(--editorial-muted);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.7;
  margin: 0;
}

.editorial-article__author {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
}

.editorial-article__author-mark {
  align-items: center;
  background: var(--editorial-ink);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-family: var(--ok-font-display);
  font-size: 0.8rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.editorial-article__author div {
  display: grid;
  font-size: 0.78rem;
  gap: 0.1rem;
}

.editorial-article__author span:last-child {
  color: var(--editorial-muted);
}

.editorial-article__hero {
  margin: clamp(2.5rem, 6vw, 5rem) auto;
  max-width: 1120px;
  padding-inline: 1.25rem;
}

.editorial-article__hero img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.editorial-prose {
  font-family: var(--ok-font-display);
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  line-height: 1.86;
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.editorial-article__hero + .editorial-reading-column .editorial-prose {
  padding-top: 0;
}

.editorial-prose p {
  margin: 0 0 1.55rem;
}

.editorial-prose h2 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 2.8rem 0 1rem;
}

.editorial-prose ul,
.editorial-prose ol {
  margin: 0 0 1.8rem;
  padding-left: 1.4rem;
}

.editorial-prose li {
  margin-bottom: 0.65rem;
  padding-left: 0.35rem;
}

/* BAPOM origin story: a feature-story treatment rather than a document dump. */
.about-story {
  background: #ffffff;
}

.about-story > .mx-auto {
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.about-story > .mx-auto > aside {
  border-color: #ece5d0;
  background: rgba(255, 253, 249, 0.55);
  padding: 1.25rem;
}

.about-story > .mx-auto > aside nav a {
  align-items: baseline;
  display: flex;
  gap: 0.6rem;
  text-decoration: none;
}

.about-story > .mx-auto > aside nav a span {
  color: #9b8a55;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-story .editorial-prose {
  background: #ffffff;
  border: 1px solid #ece5d0;
  margin-top: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 6vw, 5.5rem) clamp(1.25rem, 6vw, 5.75rem);
}

.about-story .editorial-prose > p:first-of-type::first-letter {
  color: #047760;
  float: left;
  font-family: var(--ok-font-display);
  font-size: 5.2rem;
  font-weight: 400;
  line-height: 0.72;
  margin: 0.35rem 0.55rem 0 0;
}

.about-story .editorial-prose h2 {
  border-top: 1px solid #ece5d0;
  color: #022720;
  margin-top: 5rem;
  padding-top: 1.4rem;
  position: relative;
}

.about-story .editorial-prose h2:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.about-story .editorial-prose h2[data-chapter]::before {
  color: #9b8a55;
  content: attr(data-chapter);
  display: block;
  font-family: var(--ok-font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 0.7rem;
}

.about-story .editorial-prose h2 span {
  color: #525252;
  display: block;
  font-family: var(--ok-font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  margin-top: 0.85rem;
  text-transform: uppercase;
}

.about-story .editorial-prose blockquote {
  margin-left: clamp(-2rem, -6vw, -5.75rem);
  margin-right: clamp(-2rem, -6vw, -5.75rem);
}

.about-story .editorial-prose li::marker {
  color: #9b8a55;
}

@media (max-width: 899px) {
  .about-story > .mx-auto {
    gap: 1.5rem;
  }

  .about-story > .mx-auto > aside {
    margin-top: 1.5rem;
  }
}

@media (max-width: 640px) {

  .about-story > .mx-auto {
    padding-inline: 1rem;
  }

  .about-story .editorial-prose {
    padding: 2rem 1.2rem 2.75rem;
  }

  .about-story .editorial-prose blockquote {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }
}

.editorial-health-note {
  background: #f5f0e1;
  border-left: 4px solid var(--editorial-accent);
  margin-top: 3rem;
  padding: 1.25rem 1.4rem;
}

.editorial-health-note strong {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.editorial-health-note p {
  color: var(--editorial-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0.55rem 0 0;
}

.editorial-share {
  align-items: center;
  border-block: 1px solid var(--editorial-line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-block: 2.5rem;
  padding-block: 1.1rem;
}

.editorial-share span {
  color: var(--editorial-muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-share a {
  color: var(--editorial-accent);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.editorial-care-cta {
  background: #f5f0e1;
  margin-top: 3rem;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.editorial-care-cta h2 {
  font-family: var(--ok-font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0.75rem 0 0.8rem;
}

.editorial-care-cta > p:not(.hospital-kicker) {
  color: var(--editorial-muted);
  line-height: 1.65;
}

.editorial-care-cta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.editorial-more {
  border-top: 1px solid var(--editorial-ink);
  margin-top: clamp(4rem, 9vw, 8rem);
  padding-top: 1rem;
}

.editorial-more__grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-more article {
  border-right: 1px solid var(--editorial-line);
  padding: 2rem;
}

.editorial-more article:first-child {
  padding-left: 0;
}

.editorial-more article:last-child {
  border-right: 0;
  padding-right: 0;
}

.editorial-more article > span {
  color: var(--editorial-muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.editorial-more h3 {
  font-family: var(--ok-font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0.7rem 0;
}

@media (max-width: 799.98px) {
  .editorial-lead {
    grid-template-columns: 1fr;
  }

  .editorial-row {
    gap: 0.8rem;
    grid-template-columns: 1fr;
  }

  .editorial-row__meta {
    display: flex;
    gap: 1rem;
  }

  .editorial-row__read {
    display: flex;
    justify-content: space-between;
  }

  .editorial-more__grid {
    grid-template-columns: 1fr;
  }

  .editorial-more article,
  .editorial-more article:first-child,
  .editorial-more article:last-child {
    border-bottom: 1px solid var(--editorial-line);
    border-right: 0;
    padding: 1.5rem 0;
  }
}

/* =========================================================
   Impact figures — published by the Nigeria Family Helper Program
   ========================================================= */

.impact-band {
  background: var(--ok-sky-950);
  color: #ffffff;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.impact-band__head {
  max-width: 46rem;
}

.impact-band__head .hospital-kicker {
  color: var(--ok-sky-100);
}

.impact-band__head h2 {
  color: #ffffff;
  font-family: var(--ok-font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.14;
  margin: 0.75rem 0 0;
}

.impact-band__head p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 1rem 0 0;
}

.impact-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.impact-grid > div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.5rem 0;
}

.impact-grid strong {
  color: #ffffff;
  display: block;
  font-family: var(--ok-font-display);
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.impact-grid span {
  color: #ffffff;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.65rem;
}

.impact-grid em {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.55;
  margin-top: 0.3rem;
}

.impact-band__source {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  line-height: 1.6;
  margin-top: 1.75rem;
}

.impact-band__source a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (min-width: 640px) {
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .impact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

/* =========================================================
   Inner-page building blocks, taken from the homepage design so every public
   page shares its rhythm: white and cream sections on the 1252px column,
   44px serif section headings, hairline cards, gold-divided story rows
   (.home-story*) and the booking chooser (.home-booking*).
   ========================================================= */

.page-section {
  background: #ffffff;
  padding-block: 80px;
}

.page-section--cream {
  background: var(--bp-cream);
}

.page-subheading {
  color: var(--bp-ink);
  font-family: var(--bp-font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin: 0;
}

.page-intro {
  color: var(--bp-ink);
  font-size: 18px;
  line-height: 1.5;
  margin: 24px 0 0;
  max-width: 720px;
}

.page-body {
  color: var(--bp-body);
  font-size: 16px;
  line-height: 1.5;
  max-width: 560px;
}

.page-card-grid {
  margin-top: 48px;
}

.page-points {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-points li {
  color: var(--bp-body);
  font-size: 16px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.page-points li::before {
  background: var(--bp-green);
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 9px;
  width: 6px;
}

.page-split {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-story__copy .hospital-kicker,
.home-service-card .hospital-kicker {
  color: var(--bp-green);
  font-size: 14px;
}

.booking-details {
  display: inline-block;
}

.booking-details > summary {
  list-style: none;
}

.booking-details > summary::-webkit-details-marker {
  display: none;
}

.booking-details__icon {
  color: var(--bp-mint);
  flex: 0 0 auto;
  height: 24px;
  transition: transform 0.18s ease;
  width: 24px;
}

.booking-details[open] .booking-details__icon {
  transform: rotate(90deg);
}

/* Booking forms (appointment and teleconsultation): one white panel of
   numbered steps beside a short cream "What happens next" aside. They ask
   only for what staff need to call back; clinical details are taken by phone. */
.booking-layout {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.booking-panel {
  border: 1px solid var(--bp-card-line);
  padding: 40px;
}

.booking-panel--widget {
  padding: 0;
}

.booking-panel--widget .ok-widget-header {
  background: var(--bp-cream);
  padding: 32px 40px;
}

.booking-panel--widget .ok-stepper {
  padding: 32px 40px 0;
}

.booking-panel--widget .ok-widget-body {
  padding: 32px 40px 40px;
}

.booking-panel--widget noscript .booking-form {
  border-top: 1px solid var(--bp-card-line);
  padding: 32px 40px 40px;
}

.booking-form {
  display: grid;
  gap: 40px;
}

.booking-step {
  border: 0;
  display: grid;
  gap: 20px;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.booking-step + .booking-step {
  border-top: 1px solid var(--bp-card-line);
  padding-top: 40px;
}

.booking-step__title {
  align-items: center;
  color: var(--bp-ink);
  display: flex;
  float: left;
  font-family: var(--bp-font-serif);
  font-size: 24px;
  gap: 12px;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin-bottom: 4px;
  padding: 0;
  width: 100%;
}

.booking-step__title + * {
  clear: both;
}

.booking-step__number {
  align-items: center;
  background: var(--bp-green);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font: 600 14px/1 var(--bp-font-sans);
  height: 28px;
  justify-content: center;
  letter-spacing: 0;
  width: 28px;
}

.booking-form__pair {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-form__phone {
  display: grid;
  gap: 8px;
  grid-template-columns: 9.25rem minmax(0, 1fr);
}

.booking-form__submit {
  border-top: 1px solid var(--bp-card-line);
  display: grid;
  gap: 16px;
  justify-items: start;
  padding-top: 32px;
}

.booking-aside {
  background: var(--bp-cream);
  padding: 32px;
  position: sticky;
  top: 112px;
}

.booking-aside__steps {
  color: var(--bp-ink);
  counter-reset: booking-step;
  display: grid;
  gap: 16px;
  font-size: 16px;
  line-height: 1.5;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.booking-aside__steps li {
  counter-increment: booking-step;
  padding-left: 40px;
  position: relative;
}

.booking-aside__steps li::before {
  align-items: center;
  border: 1px solid var(--bp-green);
  border-radius: 999px;
  color: var(--bp-green);
  content: counter(booking-step);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  height: 28px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: -2px;
  width: 28px;
}

.booking-aside__urgent {
  border-top: 1px solid var(--bp-gold-line);
  color: var(--bp-ink);
  margin: 24px 0 0;
  padding-top: 20px;
}

@media (max-width: 1023.98px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-aside {
    position: static;
  }
}

@media (max-width: 719.98px) {
  .booking-panel {
    padding: 24px 20px;
  }

  .booking-panel--widget {
    padding: 0;
  }

  .booking-panel--widget .ok-widget-header,
  .booking-panel--widget .ok-widget-body,
  .booking-panel--widget noscript .booking-form {
    padding: 24px 20px;
  }

  .booking-panel--widget .ok-stepper {
    padding: 24px 20px 0;
  }

  .booking-form__pair {
    grid-template-columns: 1fr;
  }

  .booking-form__submit {
    justify-items: stretch;
  }

  .booking-aside {
    padding: 24px 20px;
  }
}

/* Stories on inner pages carry more copy than the homepage's, so the photo
   keeps its 348px height but the text no longer has to fill it. */
.page-section .home-story__text {
  justify-content: flex-start;
}

@media (max-width: 719.98px) {
  .page-section {
    padding-block: 48px;
  }

  .page-subheading {
    font-size: 20px;
    line-height: 1.4;
  }

  .page-intro {
    font-size: 16px;
  }

  .page-card-grid {
    margin-top: 32px;
  }

  .page-split {
    grid-template-columns: 1fr;
  }

  .booking-details,
  .booking-details > summary {
    width: 100%;
  }

  .booking-details > summary {
    justify-content: space-between;
  }
}

/* =========================================================
   Homepage (client/landing). Pixel values come from the Figma
   "Boniface - Paulina" file: desktop frame 121:1970 (1252px content
   column) and mobile frame 125:602 (362px content column). Tokens
   (--bp-*) and .bp-wrap live with the site chrome in site.css.
   ========================================================= */

.hospital-home {
  background: #ffffff;
  color: var(--bp-ink);
  font-family: var(--bp-font-sans);
}

.hospital-home img {
  display: block;
  max-width: 100%;
}

.hospital-home a {
  color: inherit;
}

.hospital-home a:focus-visible,
.hospital-home button:focus-visible {
  outline: 3px solid var(--bp-green);
  outline-offset: 3px;
}

.home-heading,
.page-heading {
  color: var(--bp-ink);
  font-family: var(--bp-font-serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.3;
  margin: 0;
}

/* ---- Buttons ---- */
.home-button {
  align-items: flex-start;
  cursor: pointer;
  display: inline-flex;
  font: 600 16px/24px var(--bp-font-sans);
  gap: 10px;
  padding: 12px 8px 12px 16px;
  text-decoration: none;
  white-space: nowrap;
}

.home-button--solid {
  background: var(--bp-green);
  border: 0;
  color: #ffffff;
}

.home-button--solid:hover {
  background: #03664f;
}

.home-button--outline {
  background: transparent;
  border: 1px solid var(--bp-green);
  color: var(--bp-green);
}

.home-button--outline:hover {
  background: rgba(4, 119, 96, 0.08);
}

.home-button__icon {
  flex: 0 0 auto;
  height: 24px;
  width: 24px;
}

.home-button--solid .home-button__icon {
  color: var(--bp-mint);
}

/* Card calls to action are plain text in the design; the padding and matching
   negative margin give them a 44px tap target without moving the text. */
.home-text-action {
  background: none;
  border: 0;
  color: var(--bp-ink);
  cursor: pointer;
  display: block;
  font: 600 16px/24px var(--bp-font-sans);
  margin-block: -10px;
  padding: 10px 0;
  text-align: left;
  text-decoration: none;
  width: fit-content;
}

.home-text-action:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ---- Booking chooser: one "Book" action covers a visit or a video call ---- */
.home-booking {
  position: relative;
}

.home-booking__panel {
  background: #ffffff;
  border: 1px solid var(--bp-card-line);
  box-shadow: 0 16px 40px rgba(2, 39, 32, 0.14);
  display: grid;
  left: 0;
  margin-top: 8px;
  min-width: 290px;
  position: absolute;
  text-align: left;
  top: 100%;
  z-index: 20;
}

.home-booking__option {
  color: var(--bp-ink);
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  text-decoration: none;
}

.home-booking__option + .home-booking__option {
  border-top: 1px solid var(--bp-card-line);
}

.home-booking__option:hover {
  background: var(--bp-cream);
}

.home-booking__option strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.home-booking__option span {
  color: var(--bp-body);
  font-size: 14px;
  line-height: 1.5;
}

/* ---- Hero ---- */
/* Clip sideways only, so the palms never cause horizontal scroll but the
   booking chooser can still open down over the photo band. */
.home-hero {
  background: var(--bp-cream);
  overflow-x: clip;
  padding: 139px 0 54px;
  position: relative;
  text-align: center;
}

.home-hero .home-hero__palm {
  bottom: 0;
  height: auto;
  pointer-events: none;
  position: absolute;
  width: min(541px, 28.18vw);
}

.home-hero__palm--left {
  left: 0;
  transform: scaleX(-1);
}

.home-hero__palm--right {
  right: -1px;
}

.home-hero__content {
  margin-inline: auto;
  position: relative;
  width: min(100% - 64px, 668px);
}

.home-hero__kicker {
  color: var(--bp-green);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0;
  text-transform: uppercase;
}

.home-hero__kicker-break {
  display: none;
}

.home-hero__title {
  color: var(--bp-ink-strong);
  font-family: var(--bp-font-serif);
  font-size: 96px;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.1667;
  margin: 32px 0 0;
}

.home-hero__title-thin {
  font-weight: 100;
}

.home-hero__title strong,
.home-hero__tagline strong {
  font-weight: 600;
}

.home-hero__tagline {
  color: var(--bp-ink);
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1.5;
  margin: 16px auto 0;
  max-width: 573px;
}

.home-hero__actions {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
}

.home-photo,
.page-photo {
  aspect-ratio: 1920 / 453;
  background: #d9d9d9;
  overflow: hidden;
}

.home-photo picture {
  display: block;
  height: 100%;
}

.home-photo img,
.page-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* ---- Services ---- */
.home-services {
  background: #ffffff;
  padding: 96px 0 80px;
}

.home-services__layout {
  column-gap: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-services .home-heading {
  grid-column: 1 / span 2;
  grid-row: 1;
  max-width: 511px;
}

.home-services__all {
  align-items: flex-start;
  background: var(--bp-grey);
  color: var(--bp-ink);
  display: flex;
  font: 600 16px/24px var(--bp-font-sans);
  grid-column: 3;
  grid-row: 2;
  justify-content: space-between;
  margin-top: 19px;
  padding: 12px 8px 12px 16px;
  text-decoration: none;
}

.home-services__all:hover {
  background: #e0e0e0;
}

.home-services__all .home-button__icon {
  color: var(--bp-body);
}

.home-services__grid {
  display: grid;
  gap: 32px;
  grid-column: 1 / -1;
  grid-row: 3;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 17px 0 0;
  padding: 0;
}

.home-service-card {
  border: 1px solid var(--bp-card-line);
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 16px;
}

.home-service-card .home-service-card__icon {
  height: 48px;
  width: 48px;
}

.home-service-card__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-service-card h3 {
  color: var(--bp-ink);
  font-family: var(--bp-font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
}

.home-service-card p {
  color: var(--bp-body);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.home-service-card__action {
  margin-top: auto;
}

/* ---- What makes us different ---- */
.home-different {
  background: var(--bp-cream);
  padding: 80px 0 90px;
}

.home-different__intro {
  margin-left: calc(50% + 16px);
  max-width: 605px;
}

.home-different__intro p {
  color: var(--bp-ink);
  font-size: 18px;
  line-height: 1.5;
  margin: 32px 0 0;
}

.home-stories {
  display: grid;
  gap: 72px;
  margin-top: 72px;
}

.home-story {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-story__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
}

.home-story__text::before {
  background: var(--bp-gold-line);
  content: "";
  height: 1px;
}

.home-story__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.home-story h3 {
  color: var(--bp-ink);
  font-family: var(--bp-font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin: 0;
}

.home-story__copy p {
  color: var(--bp-body);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.home-story__media {
  border: 1px solid rgba(0, 0, 0, 0.1);
  height: 348px;
  overflow: hidden;
}

.home-story__media picture {
  display: block;
  height: 100%;
}

.home-story__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.home-story--media-first .home-story__media {
  order: -1;
}

/* ---- Tablet: the design has no tablet frame, so the desktop layout
   narrows to two columns and the hero type steps down. ---- */
@media (max-width: 1023.98px) {
  .home-hero .home-hero__palm {
    display: none;
  }

  .home-hero__title {
    font-size: 72px;
  }

  .home-services__layout,
  .home-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-services__all {
    grid-column: 2;
  }
}

/* ---- Phone: the mobile frame ---- */
@media (max-width: 719.98px) {
  .home-heading,
  .page-heading {
    font-size: 28px;
  }

  .home-button {
    justify-content: space-between;
    white-space: normal;
    width: 100%;
  }

  .home-booking__panel {
    min-width: 0;
    right: 0;
  }

  .home-hero {
    padding: 114px 0 48px;
  }

  .home-hero__content {
    width: min(100% - 40px, 362px);
  }

  .home-hero__kicker {
    font-size: 14px;
  }

  .home-hero__kicker-break {
    display: inline;
  }

  .home-hero__title {
    font-size: 44px;
    margin-top: 24px;
  }

  .home-hero__tagline {
    font-size: 18px;
  }

  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 32px;
  }

  .home-photo {
    aspect-ratio: 402 / 348;
  }

  .page-photo {
    aspect-ratio: 402 / 240;
  }

  .home-services {
    padding: 48px 0 38px;
  }

  .home-services__layout {
    display: flex;
    flex-direction: column;
  }

  .home-services .home-heading {
    max-width: 351px;
  }

  .home-services__grid {
    gap: 16px;
    grid-template-columns: 1fr;
    margin-top: 47px;
  }

  .home-services__all {
    margin-top: 40px;
    order: 3;
  }

  .home-different {
    padding: 48px 0;
  }

  .home-different__intro {
    margin-left: 0;
    max-width: none;
  }

  .home-different__intro p {
    font-size: 16px;
  }

  .home-stories {
    gap: 32px;
    margin-top: 16px;
  }

  .home-story {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .home-story__text,
  .home-story__copy {
    gap: 24px;
    justify-content: flex-start;
  }

  .home-story h3 {
    font-size: 20px;
    line-height: 1.4;
  }

  .home-story__break {
    display: none;
  }

  .home-story__media {
    aspect-ratio: 362 / 200;
    border: 0;
    height: auto;
  }

  .home-story--media-first .home-story__media {
    order: 0;
  }
}
