:root {
  --pfb-primary: #123a5a;
  --pfb-accent: #9e1b32;
  --pfb-teal: #2e6f73;
  --pfb-text: #252a31;
  --pfb-muted: #5d6a74;
  --pfb-subtle: #e8eef2;
  --pfb-paper: #f7f9fb;
  --pfb-white: #ffffff;
  --pfb-shadow: 0 18px 44px rgba(18, 58, 90, .13);
  --pico-font-family: "Source Sans 3", system-ui, sans-serif;
  --pico-primary: var(--pfb-accent);
  --pico-primary-hover: #7f1427;
  --pico-border-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--pfb-paper);
  color: var(--pfb-text);
  font-family: "Source Sans 3", system-ui, sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  color: var(--pfb-primary);
  font-family: "Merriweather", Georgia, serif;
  letter-spacing: 0;
  line-height: 1.18;
}

a {
  text-underline-offset: .18em;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.skip-link {
  background: var(--pfb-primary);
  color: #fff;
  left: 1rem;
  padding: .5rem .75rem;
  position: absolute;
  top: -4rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--pfb-subtle);
  box-shadow: 0 8px 28px rgba(18, 58, 90, .08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 1rem;
  min-height: 74px;
  padding-bottom: .55rem;
  padding-top: .55rem;
}

.site-nav ul {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
}

.site-nav__links {
  justify-content: flex-end;
}

.site-brand {
  align-items: center;
  color: var(--pfb-primary);
  display: inline-flex;
  gap: .65rem;
  min-width: 14rem;
  text-decoration: none;
}

.site-brand img {
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.site-nav a:not(.nav-cta) {
  color: #39434c;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus {
  color: var(--pfb-accent);
}

.nav-cta {
  background: var(--pfb-accent);
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  padding: .55rem .8rem;
  text-decoration: none;
}

.nav-dropdown {
  margin: 0;
  position: relative;
}

.nav-dropdown summary {
  color: #39434c;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown[open] ul {
  background: #fff;
  border: 1px solid var(--pfb-subtle);
  box-shadow: var(--pfb-shadow);
  display: grid;
  gap: .35rem;
  left: 0;
  min-width: 15rem;
  padding: .75rem;
  position: absolute;
  top: 1.7rem;
  z-index: 12;
}

.site-main {
  min-height: 62vh;
}

.home-hero {
  background: linear-gradient(105deg, rgba(18, 58, 90, .96), rgba(18, 58, 90, .7)), url("/assets/images/portrait.jpeg") center 22% / cover;
  color: #fff;
}

.home-hero__inner {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1.08fr) minmax(19rem, .92fr);
  min-height: 560px;
  padding-bottom: 4.75rem;
  padding-top: 4.75rem;
}

.home-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  margin-bottom: 1rem;
  max-width: 46rem;
}

.home-hero .eyebrow {
  color: #d6e7ea;
  max-width: 44rem;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.hero-actions a:not([role="button"]) {
  color: #fff;
  font-weight: 700;
}

.hero-panel {
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  box-shadow: var(--pfb-shadow);
  color: var(--pfb-text);
  padding: 1.65rem;
}

.hero-panel p {
  border-left: 3px solid var(--pfb-teal);
  margin: 0 0 1rem;
  padding-left: .85rem;
}

.hero-panel p:last-child {
  margin-bottom: 0;
}

.breadcrumbs {
  padding-top: 1.15rem;
}

.breadcrumbs ul {
  flex-wrap: wrap;
}

.breadcrumbs a,
.breadcrumbs span {
  color: var(--pfb-muted);
  font-size: .95rem;
}

.page-shell,
.content-band {
  padding-bottom: 3.5rem;
  padding-top: 2.5rem;
}

.page-shell--narrow,
.page-shell--article {
  max-width: 960px;
}

.content-panel {
  background: #fff;
  border: 1px solid var(--pfb-subtle);
  border-radius: 8px;
  box-shadow: var(--pfb-shadow);
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.homepage-panel {
  margin-top: -2.7rem;
  position: relative;
}

.page-title {
  border-bottom: 1px solid var(--pfb-subtle);
  margin-bottom: 1.6rem;
  padding-bottom: 1.15rem;
}

.page-title h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: .75rem;
}

.eyebrow {
  color: var(--pfb-teal);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: .6rem;
  text-transform: uppercase;
}

.lead {
  color: var(--pfb-muted);
  font-size: 1.12rem;
}

.site-prose {
  font-size: 1.04rem;
}

.site-prose a,
.content-category-grid a,
.article-toc a {
  color: var(--pfb-accent);
  text-decoration: underline;
  text-decoration-color: rgba(158, 27, 50, .35);
}

.site-prose a:hover,
.content-category-grid a:hover,
.article-toc a:hover {
  color: var(--pfb-primary);
  text-decoration-color: currentColor;
}

.site-prose p {
  margin-bottom: .95rem;
}

.site-prose h2,
.site-prose h3,
.site-prose h4 {
  margin-top: 1.75rem;
}

.site-figure {
  margin: 1.15rem 0 1.35rem;
}

.site-figure img,
.site-gallery img,
.content-card img,
.main-image img {
  border-radius: 8px;
  border: 1px solid var(--pfb-subtle);
}

.site-figure figcaption,
.site-gallery figcaption {
  color: var(--pfb-muted);
  font-size: .92rem;
  margin-top: .4rem;
}

.site-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  margin: 1.2rem 0;
}

.listing-flow,
.clinic-flow,
.contact-flow {
  display: flow-root;
}

.listing-flow .site-figure,
.clinic-flow .site-figure {
  background: var(--pfb-paper);
  border-radius: 8px;
  padding: .65rem;
}

.contact-panel {
  border-top: 5px solid var(--pfb-accent);
}

.clinic-panel {
  border-top: 5px solid var(--pfb-teal);
}

.alert-article {
  border-top: 5px solid var(--pfb-accent);
}

.prevention-article {
  border-top: 5px solid var(--pfb-teal);
}

.article-dates {
  color: var(--pfb-muted);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .5rem;
}

.main-image {
  float: right;
  margin: 0 0 1rem 1.25rem;
  max-width: min(18rem, 40%);
}

.article-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(12rem, .32fr) minmax(0, 1fr);
}

.article-layout--right {
  grid-template-columns: minmax(0, 1fr) minmax(12rem, .32fr);
}

.toc-column {
  align-self: start;
  position: sticky;
  top: 96px;
}

.toc-mobile {
  display: none;
}

.article-toc {
  background: #fff;
  border: 1px solid var(--pfb-subtle);
  border-radius: 8px;
  padding: 1rem;
}

.article-toc ul {
  display: grid;
  gap: .45rem;
  margin: .65rem 0 0;
  padding-left: 1.1rem;
}

.table-wrap {
  overflow-x: auto;
}

.embed-block {
  border: 1px solid var(--pfb-subtle);
  border-radius: 8px;
  overflow: hidden;
}

.content-category-grid {
  display: grid;
  gap: 1rem;
}

.content-category-grid.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-category-grid.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  background: var(--pfb-paper);
  border: 1px solid var(--pfb-subtle);
  border-radius: 8px;
  display: grid;
  gap: .85rem;
  padding: 1rem;
}

.content-card h2 {
  font-size: 1.25rem;
}

.content-card--horizontal {
  grid-template-columns: minmax(8rem, .38fr) minmax(0, 1fr);
}

.content-card--minimal {
  background: #fff;
  border-left: 4px solid var(--pfb-teal);
  box-shadow: none;
}

.read-more {
  font-weight: 700;
}

.site-sidebar {
  background: #fff;
  border: 1px solid var(--pfb-subtle);
  border-radius: 8px;
  padding: 1rem;
}

.site-footer {
  background: var(--pfb-primary);
  color: rgba(255, 255, 255, .82);
  padding: 2.75rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr 1fr 1fr;
}

.site-footer strong {
  color: #fff;
}

.site-footer p,
.site-footer ul {
  margin-bottom: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, .86);
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav__links {
    justify-content: flex-start;
  }

  .home-hero__inner,
  .article-layout,
  .article-layout--right,
  .footer-grid,
  .content-category-grid.columns-2,
  .content-category-grid.columns-3 {
    grid-template-columns: 1fr;
  }

  .toc-column {
    display: none;
  }

  .toc-mobile {
    display: block;
  }

  .main-image {
    float: none;
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .site-brand {
    min-width: 0;
  }

  .site-nav ul {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero__inner {
    min-height: 0;
    padding-bottom: 3rem;
    padding-top: 3rem;
  }

  .content-panel {
    padding: 1rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .breadcrumbs,
  .hero-actions {
    display: none;
  }

  body {
    background: #fff;
  }

  .content-panel {
    border: 0;
    box-shadow: none;
  }
}
