/* === TABLE OF CONTENTS ===
 * 0. Fonts
 * 1. CSS Layers (reset, base, utilities, components, templates)
 * 2. Reset
 * 3. Base (Custom Properties, Globals)
 * 4. Utils (.screen-reader-text, .wrapper-*, video embeds)
 * 5. Components (layer: components)
 *    - Featured Banner (+ find-care / search variants)
 *    - Buttons (.btn), Pagination, Eyebrow
 *    - Search Form / Search Modal
 *    - Navigation (header, mega menu, hamburger)
 *    - Drawer
 *    - Footer
 * 6. Templates (layer: templates)
 *    - Search Results, CTA Banner
 * 7. Unlayered sections (cascade wins over all layers above)
 *    - Plugin Overrides (Splide)
 *    - Front Page (hero, next-step, find-care, intro, services, news)
 *    - Cards (service-list, link-cards, document-links)
 *    - Careers (benefits), FAQs
 *    - Archives (news/locations/staff filters + grids)
 *    - Singles (news, staff, location), Testimonials
 *    - Service Locations / Providers
 */

/* Password-protected content: retain the native WordPress form and validation. */
.post-password-form {
  container: password-form / inline-size;
  box-sizing: border-box;
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: 0;
  color: var(--dark-blue);
  text-align: start;
}

.post-password-form > p {
  margin: 0;
}

.post-password-form > p:first-of-type {
  font-size: var(--fs-base);
  line-height: 1.7;
  text-align: center;
}

.post-password-form > p:last-of-type {
  position: relative;
  margin-block-start: 1.75rem;
}

.post-password-form label {
  display: grid;
  flex: 1;
  gap: 0.5rem;
  min-width: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.post-password-form input[type="password"] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 3.5rem;
  padding: 0.75rem 7.25rem 0.75rem 1.375rem;
  border: 1px solid #767676;
  border-radius: 9999px;
  background: #fff;
  color: var(--dark-blue);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}

.post-password-form input[type="submit"] {
  position: absolute;
  inset-block-end: 0.375rem;
  inset-inline-end: 0.375rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--blue);
  border-radius: 9999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.post-password-form input[type="submit"]:hover {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
}

.post-password-form input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.post-password-form-invalid-password {
  margin-block-end: 1.25rem;
  color: var(--red);
}

.post-password-form-invalid-password p {
  margin: 0;
}

.password-form-error input[type="password"] {
  border-color: var(--red);
}

/* Extremely narrow containers keep the label, field and submit usable. */
@container password-form (width < 18rem) {
  .post-password-form input[type="password"] {
    padding-inline-end: 1.375rem;
  }
  .post-password-form input[type="submit"] {
    position: static;
    margin-block-start: 0.75rem;
    width: 100%;
  }
}

.password-protected__form {
  padding: clamp(2rem, 4vw, 3rem) var(--gutter) calc(var(--section-space) * 1.5);
}

.password-protected .featured-banner__title {
  color: var(--white);
  overflow-wrap: anywhere;
}

/* === 0. Fonts === */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-VariableFont_wght.woff2")
    format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-Italic-VariableFont_wght.woff2")
    format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* === 1. CSS Layers === */
@layer reset, base, utilities, components, templates;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: inherit;
  }
  html {
    box-sizing: border-box;
    line-height: 1.7;
    letter-spacing: -0.02em;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
  }
  body {
    margin: 0;
  }
  img,
  iframe,
  embed,
  object,
  video {
    display: block;
    max-width: 100%;
    height: auto;
  }
  :where(.menu, .sub-menu) {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  @media (prefers-reduced-motion: reduce) {
    html:focus-within {
      scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}

@layer base {
  /* Subtle native scrollbars, including nested panels and horizontal scrollers.
   * Component rules can still hide a scrollbar where that is intentional.
   * currentColor adapts the thumb to light and dark surfaces.
   */
  :where(html, body *) {
    scrollbar-color: color-mix(in srgb, currentColor 55%, transparent) transparent;
  }
  :where(html) {
    --page-scrollbar-thumb: var(--primary);
    --page-scrollbar-track: var(--white);
    scrollbar-color: var(--page-scrollbar-thumb) var(--page-scrollbar-track);
  }
  @media (pointer: fine) {
    :where(html, body *) {
      scrollbar-width: thin;
    }
  }
  @supports not (scrollbar-color: auto) {
    :where(html, body *)::-webkit-scrollbar-track {
      background: transparent;
    }
    :where(html, body *)::-webkit-scrollbar-thumb {
      border: 2px solid transparent;
      border-radius: 999px;
      background-color: color-mix(in srgb, currentColor 55%, transparent);
      background-clip: padding-box;
    }
    :where(html, body *)::-webkit-scrollbar-thumb:hover {
      background-color: color-mix(in srgb, currentColor 75%, transparent);
    }
    :where(html, body *)::-webkit-scrollbar-corner {
      background: transparent;
    }
    :where(html)::-webkit-scrollbar-track,
    :where(html)::-webkit-scrollbar-corner {
      background: var(--page-scrollbar-track);
    }
    :where(html)::-webkit-scrollbar-thumb {
      background-color: var(--page-scrollbar-thumb);
    }
    :where(html)::-webkit-scrollbar-thumb:hover {
      background-color: var(--primary);
    }
    @media (pointer: fine) {
      :where(html, body *)::-webkit-scrollbar {
        width: 10px;
        height: 10px;
      }
    }
  }
  /* Chromium/Safari support a track divider; Firefox uses the colors above. */
  @supports selector(::-webkit-scrollbar) {
    @media (pointer: fine) and (forced-colors: none) {
      :where(html) {
        scrollbar-color: auto;
        scrollbar-width: auto;
      }
      :where(html)::-webkit-scrollbar {
        width: 12px;
        height: 12px;
      }
      :where(html)::-webkit-scrollbar-track {
        border: 0;
        border-radius: 0;
        background: var(--white);
      }
      :where(html)::-webkit-scrollbar-track:vertical {
        border-inline-start: 1px solid var(--primary);
      }
      :where(html)::-webkit-scrollbar-track:horizontal {
        border-block-start: 1px solid var(--primary);
      }
      :where(html)::-webkit-scrollbar-thumb {
        /* Transparent spacing keeps the visible thumb narrow, with no outline. */
        border: 3px solid transparent;
        border-radius: 999px;
        background: var(--primary);
        background-clip: padding-box;
      }
      :where(html)::-webkit-scrollbar-corner {
        background: var(--white);
      }
      :where(html)::-webkit-scrollbar-button {
        display: none;
      }
    }
  }
  @media (forced-colors: active) {
    :where(html, body *) {
      scrollbar-color: auto;
      scrollbar-width: auto;
    }
    :where(html, body *)::-webkit-scrollbar-thumb {
      background-color: ButtonText;
    }
  }

  /* === 2. CSS Custom Properties === */
  :root {
    /* --- Colors --- */
    --blue-base: 0.475846 0.087378 221.1817;
    --red-base: 0.5148 0.2006 15.96;
    --yellow-base: 0.7607 0.163 71.72;
    --light-blue-base: 0.9469 0.0406 215.88;
    --medium-blue-base: 0.506 0.0512 246.92;
    --dark-blue-base: 0.2755 0.0761 249.07;
    --bg-blue-base: 0.9818 0.011862 223.5203;
    --light-gray-base: 0.92 0 0;
    --white-base: 100% 0 0;
    --black-base: 18.22% 0 0; /* #121212 */

    --blue: oklch(var(--blue-base));
    --red: oklch(var(--red-base));
    --yellow: oklch(var(--yellow-base));
    --light-blue: oklch(var(--light-blue-base));
    --medium-blue: oklch(var(--medium-blue-base));
    --dark-blue: oklch(var(--dark-blue-base));
    --bg-blue: var(--primary);
    --light-gray: oklch(var(--light-gray-base));
    --white: oklch(var(--white-base));
    --black: oklch(var(--black-base));

    --primary-base: var(--blue-base);
    --secondary-base: var(--red-base);
    --tertiary-base: var(--black-base);
    --primary: var(--blue);
    --secondary: var(--red);
    --tertiary: var(--black);

    /* --- Typography --- */
    --ff-heading: "Plus Jakarta Sans", sans-serif;
    --ff-body: "Plus Jakarta Sans", sans-serif;

    --fs-xs: clamp(0.71rem, -0.14cqi + 0.82rem, 0.78rem);
    --fs-sm: clamp(0.82rem, -0.01cqi + 0.87rem, 0.88rem);
    --fs-base: clamp(0.94rem, 0.12cqi + 0.91rem, 1rem);
    --fs-md: clamp(1.03rem, 0.32cqi + 0.95rem, 1.19rem);
    --fs-lg: clamp(1.24rem, 0.88cqi + 1rem, 1.71rem);
    --fs-xl: clamp(1.47rem, 1.85cqi + 0.99rem, 2.47rem);
    --fs-xxl: clamp(1.76rem, 3.09cqi + 0.95rem, 3.42rem);
    --fs-xxxl: clamp(2.09rem, 4.95cqi + 0.79rem, 4.75rem);
    --fs-jumbo: clamp(2.52rem, 7.69cqi + 0.5rem, 6.65rem);

    /* --- Sizing & Spacing --- */
    --gutter: 2rem;
    --section-space: clamp(2.5rem, 6vw, 5rem);
    --max-w-max: 125rem;
    --max-w-content: 90rem;
    --max-w-text: 68rem;

    /* --- Effects --- */
    --shadow-color: oklch(var(--black-base) / 0.15);
    --shadow-color-hover: oklch(var(--black-base) / 0.25);
    --shadow: 0 0 10px var(--shadow-color);
    --shadow-hover: 0 0 10px var(--shadow-color-hover);
    --shadow-card: 0 2px 9px 0 var(--light-gray);
    --shadow-card-hover: 0 4px 8px 0 var(--light-gray);
    --card-hover-duration: 250ms;
    --card-hover-ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* --- Dynamic Header Height --- */
    --header-height: 0px;
    --drawer-surface-left: auto;
    --drawer-surface-width: min(500px, 100%);
  }
  html {
    overflow-x: clip;
  }

  @media (width <= 768px) {
    :root {
      --gutter: 1rem;
    }
  }

  /* === 4. Globals === */
  body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    background-color: var(--white);
    color: var(--black);
  }
  [id] {
    scroll-margin-top: 150px;
  }
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
  }
  b,
  strong {
    font-weight: bolder;
  }
  :where(h1, h2, h3, h4, h5, h6) {
    color: inherit;
    font-family: var(--ff-heading);
    font-weight: 500;
    line-height: 1.33;
    margin-block: 0 0.5em;
    text-wrap: balance;
    letter-spacing: -0.02em;
  }
  h1 {
    font-size: var(--fs-xxl);
  }
  h2 {
    font-size: var(--fs-xl);
  }
  h3 {
    font-size: var(--fs-lg);
  }
  h4 {
    font-size: var(--fs-md);
  }
  h5 {
    font-size: var(--fs-md);
  }
  h6 {
    font-size: var(--fs-md);
  }
  hr {
    width: 100%;
    height: 2px;
    border: none;
    margin: 2em 0;
    background-color: oklch(var(--black-base) / 0.15);
  }
  a:not(.btn) {
    color: var(--primary);
  }
  a:not(.btn):hover {
    color: color-mix(in oklch, var(--primary) 75%, black 25%);
    text-decoration-thickness: 0.1em;
  }
  #page a[href="#"] {
    pointer-events: none;
    cursor: default;
  }
  :focus-visible {
    outline: 2px solid var(--focus-ring-color, var(--primary));
    outline-offset: 2px;
    border-radius: 0.25rem;
  }
  :is(
      .featured-banner__content,
      .site-header__utility,
      .site-footer,
      .hero,
      .next-step,
      .services-page-hero,
      .feature-card,
      .testimonials__inner
    ) {
    --focus-ring-color: var(--white);
  }
  #page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  #main {
    flex-grow: 1;
  }
}

/* === 5. Utils === */
@layer utilities {
  .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .screen-reader-text:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
  .skip-link {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.5rem 1rem;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    z-index: 1000;
    transform: translateY(-120%);
  }
  .skip-link:focus,
  .skip-link:focus-visible {
    transform: translateY(0);
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
  }
  .wrapper-max {
    max-width: var(--max-w-max);
    margin-inline: auto;
  }
  .wrapper-content {
    max-width: var(--max-w-content);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .wrapper-text {
    max-width: var(--max-w-text);
    margin-inline: auto;
  }
  body.has-drawer-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }
  html:has(body.has-drawer-open) {
    overflow: hidden;
  }
  .yt-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--bg-blue);
  }
  .yt-video iframe,
  .yt-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }
  .yt-video video {
    object-fit: cover;
    background-color: var(--black);
  }
  .freeman-video {
    margin: 0;
  }
  .freeman-video__caption {
    margin-block-start: 0.75rem;
    font-size: var(--fs-sm);
    text-align: center;
  }
  .freeman-video__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 1rem;
    font-size: var(--fs-sm);
    text-align: center;
  }
  .single-news main img {
    border-radius: 1rem;
  }
  .single-staff main img {
    border-radius: 1rem;
  }
}

/* === 6. Components === */
@layer components {
  /* --- Featured Banner --- */
  .featured-banner {
    container: featured-banner / inline-size;
    width: 100%;
  }
  .featured-banner__wrapper {
    display: grid;
    width: 100%;
    max-width: var(--max-w-content);
    margin: 2rem auto var(--section-space);
    padding-inline: var(--gutter);
  }
  .featured-banner--has-image .featured-banner__wrapper {
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    gap: 0.5rem;
    align-items: stretch;
  }
  .featured-banner__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 22rem;
    background-color: var(--primary);
    padding: clamp(3rem, 6vw, 5rem);
    border-radius: 1rem;
    color: var(--white);
    text-align: center;
  }
  .featured-banner__content a:not(.btn),
  .featured-banner__content a:not(.btn):is(:hover, :focus-visible) {
    color: var(--white);
  }
  .featured-banner--has-image .featured-banner__content {
    min-height: clamp(22rem, 30vw, 28rem);
    padding: clamp(2.5rem, 4vw, 4rem);
    text-align: left;
  }
  .featured-banner__title {
    font-size: var(--fs-xl);
    margin: 0;
    color: var(--white);
    text-wrap: balance;
  }
  .featured-banner__back {
    margin-block: 0.75rem 0;
    font-size: var(--fs-base);
  }
  .featured-banner__subtitle {
    max-width: 42rem;
    margin-block-start: 1.25rem;
    margin-inline: auto;
    color: color-mix(in srgb, var(--white) 82%, transparent);
    line-height: 1.6;
    text-wrap: pretty;
  }
  .featured-banner__subtitle > :first-child {
    margin-block-start: 0;
  }
  .featured-banner__subtitle > :last-child {
    margin-block-end: 0;
  }
  .featured-banner--has-image .featured-banner__subtitle {
    margin-inline: 0;
  }
  .featured-banner__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-block-start: 1.5rem;
    justify-content: center;
  }
  .featured-banner--has-image .featured-banner__buttons {
    justify-content: flex-start;
  }
  /* A lone text link has 0.8rem of its own padding, so top it up to the
   * subtitle's 1.25rem gap and the rhythm matches title to subtitle. */
  .featured-banner__buttons:not(:has(.btn)) {
    margin-block-start: 0.25rem;
  }
  .featured-banner__buttons .btn {
    margin: 0;
  }
  .featured-banner__text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 0;
    color: var(--white);
    font-weight: 400;
    text-decoration: none;
  }
  .featured-banner__text-link:hover,
  .featured-banner__text-link:focus-visible {
    color: var(--white);
  }
  .featured-banner__text-link:is(:hover, :focus-visible)
    .featured-banner__text-link-label {
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
  .featured-banner .featured-banner__media {
    position: relative;
    min-width: 0;
    min-height: clamp(22rem, 30vw, 28rem);
    margin: 0;
    overflow: hidden;
    border-radius: 1rem;
  }
  .featured-banner__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
  .featured-banner__media > img.featured-banner__image {
    object-fit: cover;
  }
  .featured-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  @container featured-banner (width <= 64rem) {
    .featured-banner__wrapper {
      margin-block: 2rem;
    }
    .featured-banner__content {
      padding-block: clamp(3rem, 8vw, 6rem);
    }
  }
  @container featured-banner (width <= 48rem) {
    .featured-banner--has-image .featured-banner__wrapper {
      grid-template-columns: 1fr;
    }
    .featured-banner--has-image .featured-banner__content {
      min-height: 0;
      text-align: center;
    }
    .featured-banner--has-image .featured-banner__subtitle {
      margin-inline: auto;
    }
    .featured-banner--has-image .featured-banner__buttons {
      justify-content: center;
    }
    .featured-banner .featured-banner__media {
      width: 100%;
      max-width: 100%;
      min-height: 0;
      aspect-ratio: 16 / 10;
    }
  }
  @container featured-banner (width <= 40rem) {
    .featured-banner__content {
      padding-block: 2.5rem;
      padding-inline: 1.5rem;
    }
  }

  .featured-banner--compact .featured-banner__content {
    min-height: clamp(14rem, 20cqi, 17.5rem);
    padding-block: clamp(2.25rem, 4.5cqi, 4rem);
  }
  .featured-banner--compact .featured-banner__media {
    min-height: clamp(17rem, 24cqi, 23rem);
  }
  @container featured-banner (width <= 48rem) {
    .featured-banner--compact .featured-banner__media {
      min-height: 0;
      aspect-ratio: 2 / 1;
    }
  }

  /* Search hero */
  .featured-banner--search {
    text-align: center;
  }
  .featured-banner--search .featured-banner__wrapper {
    margin-block: clamp(1.5rem, 4vw, 2.5rem) clamp(0.5rem, 2vw, 1rem);
  }
  .featured-banner--search .featured-banner__content {
    padding: clamp(2rem, 5vw, 3rem) var(--gutter);
    text-align: center;
  }
  .featured-banner--search .search-hero__title {
    max-width: 24ch;
    margin-block: 0 0.35rem;
    margin-inline: auto;
    font-size: clamp(1.51rem, 2vw + 1rem, 2.5rem);
    text-wrap: pretty;
  }
  .featured-banner--search .search-hero__meta {
    margin: 0.35rem 0 0;
    font-size: var(--fs-base);
    line-height: 1.45;
  }
  .featured-banner--search .search-hero__controls {
    width: 100%;
    max-width: 35rem;
    margin-block-start: 1.25rem;
    margin-inline: auto;
    text-align: center;
  }
  .featured-banner--search .search-hero__controls .find-care__search {
    width: 100%;
    margin-inline: auto;
  }
  .featured-banner--search .find-care__search-icon {
    fill: currentColor;
  }
  @media (width <= 1024px) {
    .featured-banner--search .featured-banner__content {
      padding-block: clamp(1.75rem, 5vw, 2.5rem);
    }
    .featured-banner--search .search-hero__title {
      font-size: var(--fs-xl);
      max-width: none;
    }
  }
  /* --- Buttons --- */
  .btn {
    --border-color: var(--blue);
    --background-color: var(--blue);
    --text-color: var(--white);
    --btn-hover-layer: var(--secondary);
    --btn-transition-duration-in: 1.05s;
    --btn-transition-duration-out: 0.3s;
    --btn-transition-ease: cubic-bezier(0.25, 0.9, 0.35, 1);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: start;
    background-color: var(--background-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 0.6rem 1.2rem;
    line-height: 1.25;
    text-decoration: none;
    width: fit-content;
    transition:
      color var(--btn-transition-duration-out) var(--btn-transition-ease),
      border-color var(--btn-transition-duration-out) var(--btn-transition-ease),
      background-color var(--btn-transition-duration-out) ease,
      opacity var(--btn-transition-duration-out) ease;
  }
  .btn--has-icon {
    gap: 0.45rem;
  }
  .btn__icon {
    flex-shrink: 0;
  }
  .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-color: var(--btn-hover-layer);
    clip-path: circle(0% at 50% 100%);
    z-index: -1;
    pointer-events: none;
    transition:
      clip-path var(--btn-transition-duration-out) var(--btn-transition-ease),
      background-color 0.15s ease;
  }
  @media (hover: hover) {
    .btn:hover {
      transition:
        color var(--btn-transition-duration-in) var(--btn-transition-ease),
        border-color var(--btn-transition-duration-in)
          var(--btn-transition-ease),
        background-color var(--btn-transition-duration-out) ease,
        opacity var(--btn-transition-duration-out) ease;
    }
    .btn:hover::before {
      clip-path: circle(150% at 50% 100%);
      transition:
        clip-path var(--btn-transition-duration-in) var(--btn-transition-ease),
        background-color 0.15s ease;
    }
  }
  @media (hover: none) {
    .btn:active::before {
      clip-path: circle(150% at 50% 100%);
      transition:
        clip-path var(--btn-transition-duration-in) var(--btn-transition-ease),
        background-color 0.15s ease;
    }
  }
  .btn:active::before {
    background-color: color-mix(in oklch, var(--btn-hover-layer) 92%, black 8%);
  }
  .btn-primary__outline {
    --border-color: var(--blue);
    --background-color: transparent;
    --text-color: var(--blue);
    --btn-hover-layer: var(--blue);
  }
  .btn-white__outline {
    --border-color: var(--white);
    --background-color: transparent;
    --text-color: var(--white);
    --btn-hover-layer: var(--white);
  }
  .btn-white {
    --border-color: var(--white);
    --background-color: var(--white);
    --text-color: var(--blue);
    --btn-hover-layer: var(--blue);
  }
  .btn-red {
    --border-color: var(--red);
    --background-color: var(--red);
    --text-color: var(--white);
    --btn-hover-layer: var(--secondary);
  }
  .btn-red__outline {
    --border-color: var(--red);
    --background-color: transparent;
    --text-color: var(--red);
    --btn-hover-layer: var(--red);
  }
  :is(.btn-primary__outline, .btn-white__outline, .btn-red__outline)::before {
    content: none;
  }
  @media (hover: hover) {
    .btn-white:hover {
      color: var(--white);
    }
    :is(.btn-primary__outline, .btn-white__outline, .btn-red__outline):hover {
      background-color: color-mix(in srgb, var(--border-color) 8%, transparent);
      color: var(--text-color);
      opacity: 0.88;
    }
  }
  :is(.btn-primary__outline, .btn-white__outline, .btn-red__outline):active {
    background-color: color-mix(in srgb, var(--border-color) 12%, transparent);
    color: var(--text-color);
    opacity: 0.82;
  }
  @media (width <= 768px) {
    .btn {
      padding: 0.55rem 1.2rem;
    }
  }

  .freeman-button {
    display: flow-root;
  }
  .freeman-button--align-left {
    text-align: left;
  }
  .freeman-button--align-center {
    text-align: center;
  }
  .freeman-button--align-right {
    text-align: right;
  }

  /* --- Pagination --- */
  .pagination {
    margin-block-start: clamp(2rem, 4vw, 3rem);
    padding-block-start: clamp(1.5rem, 3vw, 2rem);
    border-top: 1px solid oklch(var(--blue-base) / 0.12);
  }
  .pagination__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .pagination__item {
    display: contents;
  }
  .pagination__link,
  .pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid oklch(var(--blue-base) / 0.18);
    border-radius: 9999px;
    background-color: var(--white);
    color: var(--black);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
      background-color 0.2s ease,
      border-color 0.2s ease,
      color 0.2s ease,
      box-shadow 0.2s ease;
  }
  .pagination__link--prev,
  .pagination__link--next {
    gap: 0.45rem;
    padding-inline: 1.1rem;
  }
  .pagination__link--current {
    background-color: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    box-shadow: var(--shadow-card);
    pointer-events: none;
  }
  .pagination__ellipsis {
    min-width: 2rem;
    padding-inline: 0.35rem;
    border-color: transparent;
    background-color: transparent;
    color: oklch(var(--blue-base) / 0.45);
    letter-spacing: 0.12em;
  }
  .pagination__arrow svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
  }
  @media (hover: hover) {
    .pagination__link:not(.pagination__link--current):hover,
    .pagination__link:not(.pagination__link--current):focus-visible {
      background-color: var(--bg-blue);
      border-color: oklch(var(--blue-base) / 0.35);
      color: var(--white);
      box-shadow: var(--shadow-card);
    }
  }
  @media (width <= 640px) {
    .pagination__list {
      gap: 0.35rem;
    }
    .pagination__label {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    .pagination__link--prev,
    .pagination__link--next {
      padding-inline: 0.85rem;
    }
  }

  /* --- Eyebrow --- */
  .eyebrow {
    font-weight: 600;
    color: var(--primary);
    margin-block-start: 0;
  }
  /* --- Search Form --- */
  .search-form {
    position: relative;
    max-width: 100%;
  }
  .search-form__field {
    position: relative;
    display: flex;
    align-items: center;
    background-color: oklch(var(--white-base));
    border: 2px solid oklch(var(--black-base) / 0.15);
    border-radius: 0.5rem;
    overflow: hidden;
    transition:
      border-color 150ms ease,
      box-shadow 150ms ease;
  }
  .search-form__field:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px oklch(var(--primary-base) / 0.1);
  }
  .search-form__input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    font-size: var(--fs-base);
    outline: none;
  }
  .search-form__input::placeholder {
    color: var(--black);
    opacity: 0.7;
  }
  .search-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.33rem;
    border: none;
    background-color: var(--blue);
    color: oklch(var(--white-base));
    cursor: pointer;
    transition: background-color 150ms ease;
    min-width: 3rem;
  }
  .search-form__submit:hover {
    background-color: color-mix(in oklch, var(--blue) 85%, black 15%);
  }
  .search-form__submit:focus {
    outline: 2px solid oklch(var(--white-base));
    outline-offset: -2px;
  }
  .search-form__icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: currentColor;
  }
  .site-header__search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    padding: 0.75rem;
    border: none;
    border-radius: 0;
    background-color: transparent;
    color: var(--black);
    cursor: pointer;
    transition: color 150ms ease;
  }
  .site-header__search-toggle:hover,
  .site-header__search-toggle:focus-visible {
    background-color: transparent;
    color: var(--secondary);
  }
  .site-header__search-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
  }

  html:has(body.has-search-modal-open),
  body.has-search-modal-open {
    overflow: hidden;
  }
  .search-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: start center;
    padding: calc(var(--header-height, 0px) + 1rem) clamp(1rem, 4vw, 3rem) 1rem;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s 180ms;
  }
  .search-modal::before,
  .search-modal__backdrop {
    position: absolute;
    inset: 0;
  }
  .search-modal::before {
    content: "";
    background: oklch(var(--dark-blue-base) / 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 180ms ease;
  }
  .search-modal__backdrop {
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .search-modal__surface {
    position: relative;
    z-index: 1;
    width: min(100%, 36rem);
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: var(--black);
    box-shadow: none;
    opacity: 0;
    transform: translateY(-0.35rem);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }
  .search-modal.is-open {
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }
  .search-modal.is-open::before,
  .search-modal.is-open .search-modal__surface {
    opacity: 1;
  }
  .search-modal.is-open .search-modal__surface {
    transform: translateY(0);
  }
  .search-modal__form {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 0.35rem;
    border: 1px solid oklch(var(--black-base) / 0.1);
    border-radius: 9999px;
    background-color: var(--white);
    box-shadow: var(--shadow-card);
  }
  .search-modal__form:focus-within {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
  }
  .search-modal__input {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 0.5rem;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    color: var(--black);
    font-size: var(--fs-base);
    transition: border-color 150ms ease;
  }
  .search-modal__input::placeholder {
    color: oklch(var(--black-base) / 0.45);
    opacity: 1;
  }
  .search-modal__input:focus {
    outline: none;
  }
  .search-modal__submit {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 2.75rem;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background-color: transparent;
    color: var(--black);
    cursor: pointer;
    transition:
      background-color 150ms ease,
      border-color 150ms ease,
      color 150ms ease;
  }
  .search-modal__submit:hover,
  .search-modal__submit:focus-visible {
    background-color: color-mix(in srgb, var(--primary) 8%, transparent);
    color: var(--primary);
  }
  .search-modal__submit:focus-visible {
    outline: 2px solid oklch(var(--primary-base) / 0.8);
    outline-offset: 2px;
  }
  .search-modal__close {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    width: auto;
    min-height: 2.75rem;
    padding-inline: 0 0.5rem;
    border: none;
    border-radius: 0;
    background: none;
    color: var(--white);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 150ms ease;
  }
  .search-modal__close:hover,
  .search-modal__close:focus-visible {
    color: var(--white);
    background: none;
    text-decoration: none;
  }
  .search-modal__close:is(:hover, :focus-visible) .search-modal__close-label {
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
  .search-modal__close:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
  }
  .search-modal__hint {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    align-items: center;
    justify-content: center;
    margin: 0.35rem 0 0;
    color: var(--white);
    font-size: var(--fs-sm);
    text-align: center;
  }
  .search-modal__hint-separator {
    opacity: 0.55;
  }
  .search-modal__hint kbd {
    display: inline-block;
    margin-inline: 0.15rem;
    padding: 0.1rem 0.4rem;
    border: 1px solid rgb(255 255 255 / 0.45);
    border-radius: 0.3rem;
    background-color: rgb(255 255 255 / 0.12);
    color: var(--white);
    font: inherit;
    font-weight: 600;
    line-height: 1.25;
    box-shadow: 0 1px 0 rgb(255 255 255 / 0.18);
  }
  @media (prefers-reduced-motion: reduce) {
    .search-modal,
    .search-modal::before,
    .search-modal__surface {
      transition: none;
    }
  }
  @media (width <= 1024px) {
    .search-modal {
      display: none;
    }
  }

  /* Search Highlight */
  .search-highlight {
    background-color: color-mix(in srgb, var(--secondary) 10%, transparent);
    color: inherit;
    font-weight: inherit;
    padding: 0.05em 0.1em;
    border-radius: 0.15em;
  }

  /* --- Navigation --- */
  .site-header {
    container: site-header / inline-size;
    position: sticky;
    top: 0;
    z-index: 101;
    background-color: var(--white);
    color: var(--black);
    border-block-end: 1px solid oklch(var(--blue-base) / 0.12);
  }
  body.has-drawer-open .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }
  .site-header.is-locked {
    box-shadow: none;
  }
  .site-header__utility {
    background-color: var(--primary);
    color: var(--white);
  }
  .site-header__utility-inner {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    max-width: var(--max-w-content);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .site-header__utility-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  .site-header__back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    margin-inline-end: auto;
    color: var(--white);
    font-size: var(--fs-sm);
    text-decoration: none;
  }
  .site-header__back-link-icon {
    display: block;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
  }
  .site-header__back-link:is(:hover, :focus-visible) {
    color: var(--white);
    text-decoration: none;
  }
  .site-header__back-link:is(:hover, :focus-visible) .site-header__back-link-label {
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
  .site-header__utility-nav > .menu {
    gap: 0.15rem;
  }
  .site-header__utility-donate {
    flex-shrink: 0;
    margin-block: 0.5rem;
    margin-inline-start: 0.55rem;
  }
  .site-header__utility-donate.btn--sm {
    padding: 0.3rem 0.8rem;
    font-size: var(--fs-sm);
  }
  .site-header__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-w-content);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  .site-header__primary-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
  }
  .site-header__primary-nav-wrapper > .btn {
    --border-color: var(--black);
    --text-color: var(--black);
    --btn-hover-layer: var(--secondary);
    flex-shrink: 0;
    gap: 0.45rem;
    justify-content: center;
    margin-inline: 0.5rem;
    white-space: nowrap;
  }
  .site-header__contact-icon {
    flex-shrink: 0;
  }
  .site-header__logo {
    display: block;
    width: 7.75rem;
    max-width: 32vw;
    margin-block: 1rem;
  }
  .site-header__logo img {
    display: block;
    width: 100%;
    height: auto;
    /* Enlarge the artwork without changing the navigation row's layout height. */
    transform: scale(1.35);
    transform-origin: left center;
  }
  .site-header__logo:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
  }
  .site-header__primary-nav-actions {
    justify-self: end;
  }
  @container site-header (width > 68rem) {
    .site-header__primary-nav-actions {
      display: flex;
      align-items: center;
    }
    .site-header__primary-nav-actions::before {
      content: "";
      flex-shrink: 0;
      align-self: center;
      width: 1px;
      height: 1.75em;
      margin-inline: 0.5rem;
      background: oklch(var(--white-base) / 0.2);
      pointer-events: none;
    }
  }
  @container site-header (width <= 68rem) {
    .site-header__primary-nav,
    .site-header__utility-nav,
    .site-header__primary-nav-actions,
    .site-header .btn,
    .site-header__search-toggle {
      display: none;
    }
  }
  :is(
      .site-header__primary-nav,
      .site-header__primary-nav-actions,
      .site-header__utility-nav
    )
    .menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  .site-header .menu-item a {
    position: relative;
    display: block;
    padding: 0.25rem 1rem;
    text-decoration: none;
  }
  .site-header__utility-nav .menu-item a {
    font-size: var(--fs-sm);
    color: inherit;
  }
  .site-header__utility-nav .menu-item > a {
    padding-block: 0.2rem;
    padding-inline: 0.65rem;
  }
  .site-header__utility-nav .menu-item a:is(:hover, :focus-visible) {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
  :is(.site-header__utility-nav, .drawer__utility-nav) .menu-item-gtranslate {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-inline-start: 0.5rem;
    padding-block: 0.15rem;
    padding-inline: 0.2rem;
    border-radius: 9999px;
    color: inherit;
    transition: background-color 150ms ease;
  }
  :is(.site-header__utility-nav, .drawer__utility-nav) .menu-item__gtranslate-icon {
    display: block;
    flex-shrink: 0;
    width: 0.9rem;
    height: 0.9rem;
    color: currentColor;
    pointer-events: none;
  }
  :is(.site-header__utility-nav, .drawer__utility-nav) .menu-item__gtranslate-caret {
    position: absolute;
    inset-inline-end: 0.3rem;
    top: 50%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.85em;
    height: 0.85em;
    pointer-events: none;
    line-height: 0;
    transform: translateY(-50%);
  }
  :is(.site-header__utility-nav, .drawer__utility-nav) .menu-item__gtranslate-caret-icon {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
    opacity: 0.92;
    transition: opacity 0.18s ease;
  }
  :is(.site-header__utility-nav, .drawer__utility-nav) .menu-item-gtranslate .gt_selector {
    width: 4.75rem;
    min-width: 4.75rem;
    padding: 0.2rem 0.7rem 0.2rem 0.35rem;
    border: 0;
    border-radius: 9999px;
    background-color: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: var(--fs-sm);
    line-height: 1.25;
    appearance: none;
    -webkit-appearance: none;
  }
  .site-header__utility-nav .menu-item-gtranslate:is(:hover, :focus-within) {
    background-color: rgb(255 255 255 / 0.12);
  }
  .drawer__utility-nav .menu-item-gtranslate:is(:hover, :focus-within) {
    background-color: oklch(var(--black-base) / 0.06);
    color: var(--primary);
  }
  :is(.site-header__utility-nav, .drawer__utility-nav)
    .menu-item-gtranslate:is(:hover, :focus-within)
    .menu-item__gtranslate-caret-icon {
    opacity: 1;
  }
  .site-header__utility-nav .menu-item-gtranslate:focus-within {
    outline: 2px solid var(--white);
    outline-offset: 2px;
  }
  .drawer__utility-nav .menu-item-gtranslate:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
  :is(.site-header__utility-nav, .drawer__utility-nav) .menu-item-gtranslate .gt_selector:focus-visible {
    outline: none;
  }
  :is(.site-header__utility-nav, .drawer__utility-nav) .menu-item-gtranslate .gt_selector option {
    background-color: var(--white);
    color: var(--black);
  }
  :where(.menu-item > a:has(.menu-item__external)) {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
  .menu-item__external {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    line-height: 0;
    pointer-events: none;
  }
  .menu-item__external-icon {
    display: block;
    width: 0.85em;
    height: 0.85em;
    fill: none;
    stroke: currentColor;
    opacity: 0.92;
  }
  .site-header__utility-nav .menu-item a:has(.menu-item__external) {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
  .site-header__utility-nav .menu-item__external {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    line-height: 0;
    pointer-events: none;
  }
  .site-header__utility-nav .menu-item__external-icon {
    display: block;
    width: 0.85em;
    height: 0.85em;
    fill: none;
    stroke: currentColor;
    opacity: 0.92;
  }
  :is(.site-header__primary-nav, .site-header__primary-nav-actions)
    .menu-item
    a {
    padding: 1.65rem 0.75rem;
    white-space: nowrap;
    color: var(--black);
  }
  :is(.site-header__primary-nav, .site-header__primary-nav-actions)
    > .menu
    > .menu-item
    > a:is(:hover, :focus-visible),
  :is(.site-header__primary-nav, .site-header__primary-nav-actions)
    > .menu
    > .menu-item-has-children:is(:hover, :focus-within, .is-open)
    > a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
  @container site-header (68rem < width <= 87.5rem) {
    .site-header__main {
      padding-inline: 1rem;
    }
    .site-header__logo {
      width: 6.5rem;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu-item
      a {
      padding-inline: 0.4rem;
      font-size: var(--fs-base);
    }
  }
  .sub-menu {
    display: none;
    position: absolute;
    align-items: center;
  }
  /* Desktop mega menu: main-menu + main-menu-actions */
  @container site-header (width > 68rem) {
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu-item-has-children {
      position: static;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu
      > .menu-item-has-children
      > a {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      white-space: nowrap;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu-item__caret {
      display: inline-flex;
      flex-shrink: 0;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      line-height: 0;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu-item__caret-icon {
      display: block;
      width: 0.85em;
      height: 0.85em;
      fill: currentColor;
      transform-origin: 50% 50%;
      transform: translateY(0.06em) rotate(0deg);
      opacity: 0.92;
      transition:
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.18s ease;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu-item-has-children:is(:hover, :focus-within, .is-open)
      > a
      .menu-item__caret-icon {
      opacity: 1;
      transform: translateY(0.06em) rotate(180deg);
    }
    @media (prefers-reduced-motion: reduce) {
      :is(.site-header__primary-nav, .site-header__primary-nav-actions)
        .menu-item__caret-icon {
        transition: none;
      }
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu-item__external {
      display: inline-flex;
      flex-shrink: 0;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      line-height: 0;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu-item__external-icon {
      display: block;
      width: 0.85em;
      height: 0.85em;
      fill: none;
      stroke: currentColor;
      opacity: 0.92;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu
      > .menu-item
      > a:has(.menu-item__external) {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      white-space: nowrap;
    }
    /* Hover gap bridge so cursor can reach the panel */
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu-item-has-children
      > a::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 12px;
      transform: translateY(100%);
      z-index: 1;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu-item-has-children
      > .sub-menu.mega-menu__panel {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      position: fixed;
      left: 0;
      right: 0;
      top: var(--header-height, 0px);
      z-index: 100;
      width: 100%;
      max-width: none;
      max-height: min(72vh, 42rem);
      overflow-y: auto;
      overflow-x: hidden;
      margin: 0;
      padding: clamp(2.5rem, 4vw, 4rem)
        max(
          var(--gutter),
          calc((100vw - var(--max-w-content)) / 2 + var(--gutter))
        )
        clamp(3rem, 5vw, 5rem);
      list-style: none;
      background: var(--white);
      color: var(--black);
      border-block-start: 0;
      box-shadow: 0 1rem 1.25rem -1rem rgb(0 0 0 / 0.28);
      gap: 2rem clamp(2.5rem, 5vw, 6rem);
      align-items: start;
      overscroll-behavior: contain;
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-0.4rem);
      transition:
        opacity 180ms ease,
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 220ms;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu-item-has-children
      > .sub-menu.mega-menu__panel:has(.mega-menu__feature) {
      grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(22rem, 1.25fr);
      /* Five rows per column keep up to ten links consistently spaced. */
      grid-template-rows: repeat(5, minmax(2rem, 1fr));
      grid-auto-flow: column;
      row-gap: 1rem;
      align-content: start;
      align-items: start;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .menu-item-has-children:is(:hover, :focus-within, .is-open)
      > .sub-menu.mega-menu__panel {
      visibility: visible;
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
      transition-delay: 0s;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .mega-menu__panel
      > .menu-item {
      min-width: 0;
      max-width: 18rem;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .mega-menu__panel
      .sub-menu {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.55rem;
      position: static !important;
      width: 100%;
      max-height: none;
      overflow: visible;
      margin: 0;
      padding: 0.65rem 0 0;
      background: transparent;
      border: none;
      box-shadow: none;
      border-block-start: none;
      text-align: left;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .mega-menu__panel
      .menu-item
      a {
      padding: 0.25rem 0;
      color: var(--black);
      font-size: var(--fs-base);
      line-height: 1.45;
      text-align: left;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .mega-menu__panel
      > .menu-item
      > a {
      font-weight: 400;
      font-size: var(--fs-base);
      padding-block: 0;
      margin-block: 0;
      border-block-end: 0;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .mega-menu__panel
      > .menu-item:not(.menu-item-has-children)
      > a {
      border-block-end: none;
      margin-block-end: 0;
      padding-block: 0.25rem;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .mega-menu__panel
      .menu-item
      a:is(:hover, :focus-visible) {
      color: var(--primary);
      text-decoration: underline;
      text-underline-offset: 0.2em;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .mega-menu__panel
      .menu-item
      a:has(.menu-item__external) {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }
    :is(.site-header__primary-nav, .site-header__primary-nav-actions)
      .mega-menu__panel
      .menu-item__external-icon {
      flex-shrink: 0;
      opacity: 0.88;
    }
    .mega-menu__feature {
      grid-column: 3;
      grid-row: 1 / -1;
      width: 100%;
      max-width: none;
      justify-self: end;
      align-self: start;
      list-style: none;
    }
    .mega-menu__feature-link {
      position: relative;
      display: block;
      height: 100%;
      min-height: 16rem;
      padding: 0 !important;
      overflow: hidden;
      border-radius: 1rem;
      color: var(--white) !important;
      text-decoration: none !important;
    }
    .mega-menu__feature-image,
    .mega-menu__feature-shade {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }
    .mega-menu__feature-image {
      object-fit: cover;
      transform: scale(1.001);
      transform-origin: center;
      will-change: transform;
      transition:
        opacity 400ms ease,
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    .mega-menu__feature-shade {
      background: linear-gradient(0deg, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.02) 70%);
      pointer-events: none;
    }
    .mega-menu__feature-label {
      position: absolute;
      right: 1.5rem;
      bottom: 1.4rem;
      left: 1.5rem;
      display: flex;
      gap: 0.75rem;
      align-items: center;
      justify-content: space-between;
      color: var(--white);
      font-size: var(--fs-md);
      font-weight: 500;
      line-height: 1.25;
    }
    .mega-menu__feature-arrow {
      flex: 0 0 auto;
      font-size: 1.5em;
      font-weight: 400;
      line-height: 0.75;
    }
    .mega-menu__feature-link:is(:hover, :focus-visible) .mega-menu__feature-label-text {
      text-decoration: underline;
      text-underline-offset: 0.2em;
    }
    .mega-menu__feature-link:is(:hover, :focus-visible) .mega-menu__feature-image {
      transform: scale(1.06);
    }
    @media (prefers-reduced-motion: reduce) {
      :is(.site-header__primary-nav, .site-header__primary-nav-actions)
        .menu-item-has-children
        > .sub-menu.mega-menu__panel,
      .mega-menu__feature-image {
        transition: none !important;
      }
    }
  }

  /* Menu Toggle (Hamburger) */
  .menu-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    padding: 12px 10px;
    margin-inline-end: -10px;
    color: var(--primary);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  @container site-header (width > 68rem) {
    .menu-toggle {
      display: none;
    }
  }
  .menu-toggle__line {
    --menu-toggle-ease: linear(
      0,
      0.453 7.8%,
      0.803 16.1%,
      1.048 24.9%,
      1.132 29.5%,
      1.194 34.4%,
      1.227 38.4%,
      1.245 42.5%,
      1.25 46.9%,
      1.242 51.7%,
      1.2 60.5%,
      1.038 84.9%,
      1.009 92.5%,
      1
    );
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 9999px;
    background-color: currentColor;
    transition:
      transform 225ms var(--menu-toggle-ease),
      opacity 225ms var(--menu-toggle-ease);
    transform-origin: center;
  }
  .menu-toggle.is-active .menu-toggle__line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  .menu-toggle.is-active .menu-toggle__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .menu-toggle.is-active .menu-toggle__line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  /* --- Drawer --- */
  .drawer {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s 380ms;
  }
  .drawer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: oklch(var(--black-base) / 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 380ms cubic-bezier(0.32, 0.72, 0, 1);
  }
  .drawer.is-open {
    pointer-events: auto;
    visibility: visible;
    transition: visibility 0s 0s;
  }
  .drawer.is-open::before {
    opacity: 1;
  }
  .drawer__surface {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(500px, 100%);
    background: var(--white);
    color: var(--black);
    transform: translateX(100%);
    transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    will-change: transform;
    overflow-x: hidden;
  }
  @media (width <= 1024px) {
    .drawer__surface {
      width: 100%;
      max-width: 500px;
    }
  }
  html.has-drawer-surface-fixed .drawer__surface {
    position: fixed;
    top: var(--header-height);
    right: auto;
    bottom: 0;
    left: var(--drawer-surface-left);
    width: var(--drawer-surface-width);
    max-width: none;
  }
  .drawer.is-open .drawer__surface {
    transform: translateX(0);
  }
  .drawer__search {
    flex-shrink: 0;
    padding: 0.5rem var(--gutter);
    border-top: 1px solid oklch(var(--black-base) / 0.06);
  }
  .drawer__search-form {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid transparent;
  }
  .drawer__search-form:focus-within {
    border-bottom-color: oklch(var(--black-base) / 0.2);
  }
  .drawer__search-form .drawer__search-input {
    flex: 1;
    order: 2;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0.65rem 0.5rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--black);
    font: inherit;
    font-size: 1rem;
    box-shadow: none;
    outline: none;
  }
  .drawer__search-input::placeholder {
    color: oklch(var(--black-base) / 0.5);
    opacity: 1;
  }
  .drawer__search-submit {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    order: 1;
    width: 32px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: oklch(var(--black-base) / 0.5);
    cursor: pointer;
  }
  .drawer__search-submit svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
  .drawer__search-submit:is(:hover, :focus-visible) {
    color: var(--black);
  }
  .drawer__search-submit:focus-visible {
    outline: 1px solid var(--primary);
    outline-offset: -2px;
  }
  .drawer__body {
    flex: 1;
    overflow: hidden;
    border-top: 1px solid oklch(var(--black-base) / 0.08);
  }
  .drawer__panels {
    position: relative;
    height: 100%;
  }
  .drawer__nav {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }
  .drawer__nav .menu {
    display: flex;
    flex-direction: column;
  }
  .drawer__nav .menu + .menu {
    border-block-start: 1px solid oklch(var(--black-base) / 0.08);
    padding-block-start: 0.35rem;
    margin-block-start: 0.35rem;
  }
  .drawer__nav .menu-item {
    border-bottom: 1px solid oklch(var(--black-base) / 0.06);
  }
  .drawer__nav .menu-item > a {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.35rem;
    font-size: var(--fs-md);
    padding: 0.875rem var(--gutter);
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
  }
  .drawer__nav .menu-item__external {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    line-height: 0;
  }
  .drawer__nav .menu-item__external-icon {
    display: block;
    width: 0.9em;
    height: 0.9em;
    fill: none;
    stroke: currentColor;
    opacity: 0.88;
  }
  .drawer__nav .sub-menu {
    display: block;
    position: static;
    padding-left: 1rem;
  }
  .drawer__panel {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--white);
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 320ms cubic-bezier(0.32, 0.72, 0, 1),
      opacity 280ms ease;
    will-change: transform;
  }
  .drawer__panel.is-active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
  }
  .drawer__panel.is-behind {
    transform: translateX(-35%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
  }
  .drawer__panel-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 3rem;
    border-bottom: 1px solid oklch(var(--black-base) / 0.08);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .drawer__back {
    border: none;
    border-inline-end: 1px solid oklch(var(--black-base) / 0.06);
    background: none;
    padding: 18px;
    color: oklch(var(--black-base) / 0.4);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
      color 150ms ease,
      background 150ms ease;
  }
  .drawer__back:hover,
  .drawer__back:focus-visible {
    color: var(--black);
  }
  .drawer__back:focus-visible {
    outline: 2px solid oklch(var(--primary-base) / 0.8);
    outline-offset: 2px;
    border-radius: 4px;
  }
  .drawer__back-icon {
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    rotate: 45deg;
    transform: translate3d(2px, -2px, -2px);
  }
  .drawer__panel-title {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    font-weight: 700;
    font-size: var(--fs-md);
    padding: 0.875rem var(--gutter);
  }
  .drawer__menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  .drawer__menu-item {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid oklch(var(--black-base) / 0.06);
  }
  .drawer__link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.875rem var(--gutter);
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    transition:
      background 150ms ease,
      color 150ms ease;
  }
  .drawer__link:hover,
  .drawer__link:focus-visible {
    background: oklch(var(--black-base) / 0.03);
    color: var(--primary);
  }
  .drawer__link:active {
    background: oklch(var(--black-base) / 0.06);
  }
  .drawer__submenu-toggle {
    border: none;
    background: none;
    padding: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: oklch(var(--black-base) / 0.4);
    cursor: pointer;
    transition:
      color 150ms ease,
      background 150ms ease;
    border-left: 1px solid oklch(var(--black-base) / 0.06);
  }
  .drawer__submenu-toggle:hover {
    color: var(--primary);
    background: oklch(var(--primary-base) / 0.05);
  }
  .drawer__submenu-toggle:focus-visible {
    outline: 2px solid oklch(var(--primary-base) / 0.8);
    outline-offset: -2px;
    color: var(--primary);
  }
  .drawer__submenu-icon {
    display: block;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    rotate: 45deg;
    transform: translate3d(-2px, 2px, 2px);
  }
  .drawer__footer {
    border-top: 1px solid oklch(var(--black-base) / 0.08);
    background: oklch(var(--black-base) / 0.02);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .drawer__utility-nav {
    padding: 1.25rem var(--gutter) 1rem;
    border-bottom: 1px solid oklch(var(--black-base) / 0.06);
  }
  .drawer__utility-nav:not(:has(.menu-item)) {
    display: none;
    padding: 0;
    border-bottom: none;
  }
  .drawer__utility-nav .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.625rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .drawer__utility-nav .menu-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: oklch(var(--black-base) / 0.65);
    text-decoration: none;
    transition: color 150ms ease;
  }
  .drawer__utility-nav .menu-item a:hover,
  .drawer__utility-nav .menu-item a:focus-visible {
    color: var(--primary);
  }
  .drawer__utility-nav .menu-item__external {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    line-height: 0;
  }
  .drawer__utility-nav .menu-item__external-icon {
    display: block;
    width: 0.85em;
    height: 0.85em;
    fill: none;
    stroke: currentColor;
    opacity: 0.88;
  }
  .drawer__socials {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
  }
  .drawer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: oklch(var(--black-base) / 0.45);
    transition: color 150ms ease;
  }
  .drawer__socials a:hover,
  .drawer__socials a:focus-visible {
    color: var(--primary);
  }
  .drawer__socials svg {
    fill: currentColor;
  }

  /* --- Footer --- */
  .fixed-appointment {
    display: none;
  }
  @media (width > 768px) {
    .fixed-appointment {
      position: fixed;
      top: 40vh;
      right: 0;
      z-index: 99;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.5rem;
      padding: 1.25rem 0;
      border-radius: 0.65rem 0 0 0.65rem;
      background-color: var(--secondary);
      color: var(--white);
      font-size: var(--fs-sm);
      font-weight: 600;
      line-height: 1;
      text-decoration: none;
      transition: width 240ms cubic-bezier(0.22, 1, 0.36, 1);
    }
    .fixed-appointment span {
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
    }
    .fixed-appointment:hover,
    .fixed-appointment:focus-visible {
      background-color: var(--secondary);
      color: var(--white);
      width: 3rem;
    }
    .fixed-appointment:is(:hover, :focus-visible) span {
      transform: translateX(-0.25rem) rotate(180deg);
    }
    .fixed-appointment:focus-visible {
      outline: 2px solid var(--white);
      outline-offset: -4px;
    }
    @media (prefers-reduced-motion: reduce) {
      .fixed-appointment {
        transition: none;
      }
      .fixed-appointment span {
        transition: none;
      }
      .fixed-appointment:is(:hover, :focus-visible) span {
        transform: rotate(180deg);
      }
    }
  }
  .site-footer {
    padding-block-start: var(--section-space);
    background-color: var(--primary);
    color: var(--white);
    font-weight: 300;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .site-footer a:not(.btn),
  .site-footer a:not(.btn):hover,
  .site-footer a:not(.btn):focus-visible {
    color: var(--white);
  }
  .site-footer__inner {
    max-width: var(--max-w-content);
    margin-inline: auto;
    padding-inline: var(--gutter);
    padding-block-end: var(--section-space);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--gutter);
    border-block-end: 1px solid oklch(var(--white-base) / 0.15);
  }
  .site-footer__info {
    grid-column: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .site-footer__info p {
    margin: 0;
    text-wrap: balance;
  }
  .site-footer__socials {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .site-footer__socials a {
    display: flex;
    align-items: center;
    color: var(--white);
  }
  .site-footer__nav {
    grid-column: 3 / -1;
    display: grid;
    grid-template-columns: subgrid;
  }
  .site-footer__nav .menu {
    display: contents;
  }
  .site-footer__nav .menu > .menu-item > a {
    font-weight: 600;
  }
  .site-footer__nav .menu > .menu-item:has(.sub-menu) > a {
    pointer-events: none;
    cursor: default;
  }
  .site-footer__nav .menu-item a {
    display: block;
    text-decoration: none;
    padding: 0.33rem 0;
  }
  .site-footer__nav .menu-item a:has(.menu-item__external) {
    display: inline-flex;
  }
  .site-footer__nav .sub-menu .menu-item a {
    text-underline-offset: 0.2em;
  }
  .site-footer__nav .sub-menu .menu-item a:hover,
  .site-footer__nav .sub-menu .menu-item a:focus-visible {
    text-decoration: underline;
  }
  .site-footer__nav .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer__copyright {
    padding-block: 2rem;
  }
  .site-footer__copyright a {
    text-decoration: none;
  }
  .site-footer__copyright p {
    font-size: var(--fs-sm);
    margin: 0;
  }
  @media (width <= 1024px) {
    .site-footer {
      padding-block-start: var(--section-space);
    }
    .site-footer__inner {
      grid-template-columns: 1fr;
      padding-block-end: 2rem;
    }
    .site-footer__info {
      grid-column: 1 / -1;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .site-footer__nav {
      display: none;
    }
    .site-footer__copyright {
      text-align: center;
    }
  }
}

/* === 7. Template-Specific Styles === */
@layer templates {
  /* --- Search results page --- */
  .search-page {
    --search-results-width: var(--max-w-text);
    padding-block-end: var(--section-space);
  }
  .search-page__shell {
    padding-block: 0;
  }
  .search-page__column {
    max-width: var(--search-results-width);
    container: search-results / inline-size;
  }
  .search-page__body .search-page__shell {
    padding-block: clamp(1.25rem, 3vw, 2rem) 0;
  }
  .search-page__filters {
    width: 100%;
    max-width: var(--max-w-content);
    margin-block-end: 1.25rem;
  }
  .search-filters {
    width: 100%;
    margin-block-start: 0;
    border-block-end: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .search-filters::-webkit-scrollbar {
    display: none;
  }
  .search-filters__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    min-width: min-content;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .search-filters__item {
    flex: 0 0 auto;
  }
  .search-filters__tab {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--black);
    font-size: var(--fs-base);
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    border-block-end: 3px solid transparent;
    margin-block-end: -1px;
    transition:
      color 160ms ease,
      border-color 160ms ease;
  }
  .search-filters__tab:hover,
  .search-filters__tab:focus-visible {
    color: var(--primary);
  }
  .search-filters__tab.is-active {
    color: var(--primary);
    font-weight: 600;
    border-block-end-color: var(--primary);
  }
  .search-results {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-block-start: 0.4rem;
  }
  .search-result {
    padding: 0;
  }
  .search-result__kicker {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    margin-block-end: 0.45rem;
    min-width: 0;
    color: color-mix(in srgb, var(--black) 52%, transparent);
    font-size: var(--fs-xs);
    line-height: 1.35;
  }
  .search-result__url {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .search-result__title {
    margin: 0;
    font-size: var(--fs-lg);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
  }
  .search-result__title a {
    color: var(--black);
    text-decoration: none;
  }
  .search-result__title a:hover,
  .search-result__title a:focus-visible {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.15em;
  }
  .search-result__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0.55rem 0 0;
    color: color-mix(in srgb, var(--black) 66%, transparent);
    font-size: var(--fs-sm);
    line-height: 1.45;
  }
  .search-result__type {
    flex: 0 0 auto;
    color: color-mix(in srgb, var(--black) 76%, transparent);
    font-weight: 500;
  }
  .search-result__kicker-separator {
    flex: 0 0 auto;
    color: color-mix(in srgb, var(--black) 30%, transparent);
  }
  .search-result__snippet {
    max-width: 68ch;
    margin-block-start: 0.65rem;
    color: color-mix(in srgb, var(--black) 76%, transparent);
    font-size: var(--fs-base);
    line-height: 1.65;
    text-wrap: pretty;
  }
  .search-result__snippet p {
    margin: 0;
  }
  @container search-results (width <= 36rem) {
    .search-results {
      gap: 1.5rem;
    }
    .search-result__title {
      font-size: var(--fs-md);
    }
    .search-result__snippet {
      line-height: 1.55;
    }
  }
  .search-page .pagination {
    width: 100%;
    margin-block-start: 2rem;
    border-block-start-color: color-mix(in srgb, var(--black) 12%, transparent);
  }
  .search-page .pagination__link,
  .search-page .pagination__ellipsis {
    border-color: color-mix(in srgb, var(--black) 15%, transparent);
    color: var(--black);
  }
  .search-page .pagination__link--current {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
    box-shadow: none;
  }
  @media (hover: hover) {
    .search-page .pagination__link:not(.pagination__link--current):is(:hover, :focus-visible) {
      border-color: color-mix(in srgb, var(--primary) 24%, transparent);
      background-color: color-mix(in srgb, var(--primary) 8%, transparent);
      color: var(--primary);
      box-shadow: none;
    }
  }
  .search-page .search-no-results {
    max-width: 48rem;
    padding: 0;
  }
  .search-page .search-no-results__message {
    margin: 0 0 1rem;
    font-size: var(--fs-base);
    line-height: 1.55;
  }
  .search-page .search-no-results__tips {
    margin: 0;
    padding-inline-start: 1.25rem;
    font-size: var(--fs-base);
    line-height: 1.6;
  }
  .search-page .search-no-results__tips li + li {
    margin-block-start: 0.35rem;
  }

  /* Search form wrapper for search pages */
  .search-form-wrapper {
    margin-bottom: 2rem;
    padding: 0 var(--gutter);
  }

  /* 404 */
  .error-page {
    container: error-page / inline-size;
    width: 100%;
    max-width: min(var(--max-w-content), 72rem);
    margin: var(--section-space) auto;
    padding-inline: var(--gutter);
  }
  .error-page__hero {
    position: relative;
    margin-block-end: var(--section-space);
    margin-inline: auto;
    text-align: center;
  }
  .error-page__message {
    position: relative;
    max-width: 48rem;
    margin-inline: auto;
    isolation: isolate;
  }
  .error-page__code {
    position: absolute;
    z-index: -1;
    inset: 50% auto auto 50%;
    margin: 0;
    color: var(--primary);
    font-family: var(--ff-heading);
    font-size: clamp(20rem, 64cqi, 32rem);
    font-weight: 600;
    line-height: 0.8;
    letter-spacing: -0.1em;
    opacity: 0.07;
    pointer-events: none;
    transform: translate(-52%, -55%);
    user-select: none;
  }
  .error-page__message .eyebrow {
    margin-block-end: 0.75rem;
  }
  .error-page__message h1 {
    max-width: 18ch;
    margin-block: 0 1.25rem;
    margin-inline: auto;
    font-size: var(--fs-xl);
    line-height: 1.1;
    text-wrap: balance;
  }
  .error-page__description {
    max-width: 50ch;
    margin-block: 0 1.5rem;
    margin-inline: auto;
    line-height: 1.65;
  }
  .error-page__actions {
    display: flex;
    max-width: 36rem;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-inline: auto;
  }
  .error-page__search {
    min-width: 0;
    flex: 1;
    margin: 0;
  }
  .error-page__search-field {
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    overflow: hidden;
    border: 1px solid oklch(var(--black-base) / 0.16);
    border-radius: 999px;
    background-color: var(--white);
    transition:
      border-color 150ms ease,
      box-shadow 150ms ease;
  }
  .error-page__search-field:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px oklch(var(--primary-base) / 0.1);
  }
  .error-page__search-input {
    min-width: 0;
    flex: 1;
    padding: 0.85rem 1rem 0.85rem 0.25rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--black);
    font: inherit;
  }
  .error-page__search-input::placeholder {
    color: oklch(var(--black-base) / 0.65);
  }
  .error-page__search-submit {
    display: inline-flex;
    min-width: 3.25rem;
    align-items: center;
    justify-content: center;
    border: 0;
    background-color: transparent;
    color: var(--black);
    cursor: pointer;
    transition: background-color 150ms ease;
  }
  .error-page__search-submit:is(:hover, :focus-visible) {
    background-color: transparent;
    color: var(--primary);
  }
  .error-page__search-submit:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
  }
  .error-page__search-submit svg {
    fill: currentColor;
  }
  .error-page__destinations {
    container: services / inline-size;
    color: var(--black);
  }
  @media (width <= 640px) {
    .error-page {
      margin-block: var(--section-space);
    }
    .error-page__hero {
      margin-block-end: var(--section-space);
    }
    .error-page__code {
      font-size: clamp(16rem, 82cqi, 22rem);
    }
    .error-page__message h1 {
      font-size: var(--fs-lg);
    }
    .error-page__actions {
      max-width: 28rem;
    }
  }

  /* --- CTA Banner --- */
  .banner {
    --banner-bg: var(--white);
    --banner-fg: var(--black);
    --banner-eyebrow: var(--primary);
    --banner-btn-bg: var(--primary);
    --banner-btn-text: var(--white);
    --banner-btn-border: var(--primary);
    --banner-btn-outline-text: var(--primary);
    --banner-btn-outline-border: var(--primary);
    --banner-btn-hover-layer: var(--secondary);
    --banner-btn-text-hover: var(--white);
    container: cta-banner / inline-size;
    position: relative;
    margin-block: var(--section-space);
    color: var(--banner-fg);
  }
  .banner.banner--no-top-margin {
    margin-block-start: 0;
  }
  .banner.banner--no-bottom-margin {
    margin-block-end: 0;
  }
  .banner__grid {
    display: grid;
    gap: var(--gutter);
    align-items: center;
    width: 100%;
    max-width: var(--max-w-content);
    margin-inline: auto;
    padding-inline: var(--gutter);
    background-color: var(--banner-bg);
  }
  .banner__image {
    order: 2;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    border-radius: 1rem;
  }
  .banner__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .banner__text {
    order: 1;
    min-width: 0;
  }
  .banner__text .eyebrow {
    margin-block-end: 1rem;
    color: var(--banner-eyebrow);
  }
  .banner__heading {
    max-width: 18ch;
    margin-block-end: 1rem;
    color: var(--banner-fg);
    font-size: var(--fs-xl);
    line-height: 1.2;
  }
  .banner__description {
    max-width: 48ch;
    color: var(--banner-fg);
  }
  .banner__description > :first-child {
    margin-block-start: 0;
  }
  .banner__description > :last-child {
    margin-block-end: 0;
  }
  .banner__buttons .btn {
    --border-color: var(--banner-btn-border);
    --background-color: var(--banner-btn-bg);
    --text-color: var(--banner-btn-text);
    --btn-hover-layer: var(--banner-btn-hover-layer);
  }
  .banner__buttons .btn-primary__outline {
    --border-color: var(--banner-btn-outline-border);
    --background-color: transparent;
    --text-color: var(--banner-btn-outline-text);
  }
  .banner__buttons .btn:hover {
    --text-color: var(--banner-btn-text-hover);
    --btn-hover-layer: var(--banner-btn-hover-layer);
  }
  .banner__buttons .btn-primary__outline:hover {
    --text-color: var(--banner-btn-outline-text);
    color: var(--text-color);
  }
  .banner__buttons {
    margin-block-start: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
  }
  .banner:is(.banner--image-content, .banner--image-square, .banner--image-wide, .banner--image-photo, .banner--image-classic) .banner__text {
    padding-block: 1rem;
  }
  .banner:is(.banner--image-content, .banner--image-wide) .banner__image {
    aspect-ratio: 16 / 9;
  }
  .banner.banner--image-square .banner__image {
    aspect-ratio: 1;
  }
  @container cta-banner (width >= 52rem) {
    .banner:not(.banner--text-only) .banner__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .banner__image {
      align-self: stretch;
      min-height: 18rem;
      aspect-ratio: auto;
    }
    .banner:is(.banner--image-square, .banner--image-wide, .banner--image-photo, .banner--image-classic) .banner__image {
      align-self: center;
      min-height: 0;
    }
    .banner.banner--image-square .banner__image {
      aspect-ratio: 1;
    }
    .banner.banner--image-wide .banner__image {
      aspect-ratio: 16 / 9;
    }
    .banner.banner--image-photo .banner__image {
      aspect-ratio: 3 / 2;
    }
    .banner.banner--image-classic .banner__image {
      aspect-ratio: 4 / 3;
    }
    .banner.banner--image-content .banner__image {
      position: relative;
      min-height: 0;
      aspect-ratio: auto;
    }
    .banner.banner--image-content .banner__image img {
      position: absolute;
      inset: 0;
    }
    .banner:not(.banner--image-right) .banner__image {
      order: 1;
    }
    .banner:not(.banner--image-right) .banner__text {
      order: 2;
    }
  }
  @container cta-banner (width < 52rem) {
    .banner .banner__grid .banner__image {
      aspect-ratio: auto;
    }
    .banner .banner__image img {
      height: auto;
    }
    .banner__grid {
      text-align: center;
    }
    .banner__heading,
    .banner__description {
      margin-inline: auto;
    }
    .banner__buttons {
      display: inline-flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: start;
      gap: 0.5rem;
    }
    .banner__buttons .btn {
      width: 100%;
      justify-content: center;
    }
  }
}
/* === 8. Plugin Overrides === */
/* The About intro already meets the CTA's own section margin. */
.page-id-93016751 .entry-content > .wp-block-kadence-column:has(+ .banner)
  > .kt-inside-inner-col > .wrapper-content > .kt-inside-inner-col {
  padding-block-end: 0;
}

.splide .splide__pagination__page {
  background-color: oklch(var(--black-base) / 0.15);
}
.splide .splide__pagination__page.is-active {
  background-color: var(--blue);
}
.splide .splide__arrow {
  background: var(--yellow);
}
.splide .splide__arrow svg {
  fill: var(--white);
}
/* === 9. Front Page === */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(30rem, 64vh, 44rem);
  overflow: hidden;
  background-color: var(--primary);
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.36) 100%
  );
}
.hero-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  padding-inline: var(--gutter);
  max-width: var(--max-w-content);
  margin-inline: auto;
}
.hero-text {
  container: hero-actions / inline-size;
  width: 100%;
  max-width: 72rem;
  padding-block: clamp(7rem, 12vw, 11rem) 4rem;
  text-align: center;
}
.hero-text h1 {
  margin-block-end: 1.5rem;
  color: var(--white);
  font-size: var(--fs-xxl);
  line-height: 1.15;
}
.hero-text h1 span {
  display: block;
}
.hero-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 9999px;
  background-color: var(--white);
  box-shadow: var(--shadow);
}
.hero-actions__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  color: var(--black);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.hero-actions__link svg {
  flex: none;
  color: var(--secondary);
}
.hero-actions__link + .hero-actions__link::before {
  content: "";
  position: absolute;
  inset-block: 25%;
  inset-inline-start: 0;
  width: 1px;
  background-color: var(--light-gray);
}
.hero-actions__link:hover,
.hero-actions__link:focus-visible {
  background-color: color-mix(in srgb, var(--primary) 8%, transparent);
}
.hero-actions__link:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: -4px;
}
@container hero-actions (width < 40rem) {
  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 1.25rem;
  }
  .hero-actions__link {
    flex-direction: column;
    gap: 0.25rem;
    padding-block: 0.625rem;
  }
  .hero-actions__link + .hero-actions__link::before {
    display: none;
  }
  .hero-actions__link:nth-child(n + 3) {
    border-block-start: 1px solid var(--light-gray);
  }
  .hero-actions__link:nth-child(even) {
    border-inline-start: 1px solid var(--light-gray);
  }
}
@container hero-actions (width < 22rem) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .hero-actions__link {
    flex-direction: row;
  }
  .hero-actions__link + .hero-actions__link {
    border-block-start: 1px solid var(--light-gray);
    border-inline-start: 0;
  }
}
.hero-poster {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}
.hero-video-toggle {
  position: absolute;
  inset-block-end: 0.25rem;
  inset-inline-start: 0.5rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.hero-video-toggle svg {
  width: 12px;
  height: 12px;
  color: rgb(255 255 255 / 70%);
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 85%));
}
.hero-video-toggle[data-paused="true"] .hero-video-toggle__pause,
.hero-video-toggle[data-paused="false"] .hero-video-toggle__play {
  display: none;
}
.hero-video-toggle:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}
.hero-video-toggle[hidden] {
  display: none;
}
@media (width <= 768px) {
  .hero-text {
    padding-block: 5rem 3rem;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .hero-video-toggle {
    display: none;
  }
}
.next-step {
  container: next-step / inline-size;
  padding-block: var(--section-space);
  background-color: var(--primary);
  color: var(--white);
}
.next-step__inner {
  display: grid;
  gap: clamp(3rem, 5cqi, 5rem);
  align-items: center;
  width: 100%;
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.next-step__content {
  max-width: 26rem;
}
.next-step__content .eyebrow,
.next-step__content h2,
.next-step__description {
  color: var(--white);
}
.next-step__content .eyebrow {
  margin-block-end: 1rem;
}
.next-step__content h2 {
  max-width: 14ch;
  margin-block-end: 1rem;
  font-size: var(--fs-xl);
  line-height: 1.15;
}
.next-step__description {
  max-width: 42ch;
  margin-block-end: 1.5rem;
  text-wrap: pretty;
}
.next-step__visual {
  position: relative;
  min-width: 0;
}
.next-step__image {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 1rem;
  outline: 1px solid rgb(255 255 255 / 0.18);
  box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 0.18);
}
.next-step__options {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.next-step__option {
  position: absolute;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  width: min(13rem, 42%);
  min-height: 4.75rem;
  padding: 0.8rem;
  border: 0;
  border-radius: 0.75rem;
  background-color: var(--white);
  color: var(--black);
  text-decoration: none;
  box-shadow: 0 0.375rem 1.25rem rgb(0 0 0 / 0.1);
  pointer-events: auto;
  transform-origin: center;
  transition: box-shadow var(--card-hover-duration) var(--card-hover-ease);
}
.next-step__option:hover,
.next-step__option:focus-visible {
  color: var(--black);
  box-shadow: var(--shadow-card-hover);
}
.next-step__option > img {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  object-fit: contain;
}
.next-step__option span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  text-align: left;
}
.next-step__option strong {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.25;
}
.next-step__option small {
  font-size: var(--fs-xs);
  line-height: 1.25;
}
.next-step__option--emergency {
  top: 1rem;
  left: -0.75rem;
  --reveal-x: -2.5rem;
  --reveal-y: -0.8rem;
  --reveal-rotate: -1.5deg;
  --reveal-delay: 0.35s;
}
.next-step__option--specialty {
  top: 0.75rem;
  right: -0.75rem;
  --reveal-x: 2.5rem;
  --reveal-y: -0.8rem;
  --reveal-rotate: 1.5deg;
  --reveal-delay: 0.43s;
}
.next-step__option--primary {
  bottom: 0.75rem;
  left: 1.5rem;
  --reveal-x: -2.5rem;
  --reveal-y: 0.8rem;
  --reveal-rotate: 1.5deg;
  --reveal-delay: 0.51s;
}
.next-step__option--urgent {
  right: -1.25rem;
  bottom: 1.25rem;
  --reveal-x: 2.5rem;
  --reveal-y: 0.8rem;
  --reveal-rotate: -1.5deg;
  --reveal-delay: 0.59s;
}
.next-step.is-motion-ready:not(.is-visible) .next-step__content > *,
.next-step.is-motion-ready:not(.is-visible) .next-step__image,
.next-step.is-motion-ready:not(.is-visible) .next-step__option {
  opacity: 0;
}
.next-step.is-visible .next-step__content > * {
  animation: next-step-content-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.next-step.is-visible .next-step__content > :nth-child(2) {
  animation-delay: 0.08s;
}
.next-step.is-visible .next-step__content > :nth-child(3) {
  animation-delay: 0.16s;
}
.next-step.is-visible .next-step__content > :nth-child(4) {
  animation-delay: 0.24s;
}
.next-step.is-visible .next-step__image {
  animation: next-step-image-reveal 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.next-step.is-visible .next-step__option {
  animation: next-step-card-reveal 0.82s var(--reveal-delay, 0s)
    cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
@keyframes next-step-content-reveal {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes next-step-image-reveal {
  from {
    opacity: 0;
    clip-path: inset(7% 7% 7% 7% round 1rem);
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    clip-path: inset(0 round 1rem);
    transform: scale(1);
  }
}
@keyframes next-step-card-reveal {
  0% {
    opacity: 0;
    transform: translate3d(var(--reveal-x), var(--reveal-y), 0) rotate(var(--reveal-rotate)) scale(0.94);
  }
  72% {
    opacity: 1;
    transform: translate3d(calc(var(--reveal-x) * -0.04), calc(var(--reveal-y) * -0.08), 0) rotate(0) scale(1.012);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@container next-step (width >= 56rem) {
  .next-step__inner {
    grid-template-columns: minmax(16rem, 2fr) minmax(0, 3fr);
    padding-inline-end: calc(var(--gutter) + 4.75rem);
  }
  .next-step__option--emergency {
    top: 2.625rem;
    left: -1.5rem;
  }
  .next-step__option--specialty {
    top: 1.5rem;
    right: -1.875rem;
  }
  .next-step__option--primary {
    bottom: 2.125rem;
    left: 2.125rem;
  }
  .next-step__option--urgent {
    right: -4.75rem;
    bottom: 3.375rem;
  }
}
@container next-step (width < 56rem) {
  .next-step__content {
    margin-inline: auto;
    text-align: center;
  }
  .next-step__content h2,
  .next-step__description {
    margin-inline: auto;
  }
  .next-step__content .btn {
    margin-inline: auto;
  }
  .next-step__visual {
    max-width: 44rem;
    margin-inline: auto;
  }
}
@container next-step (width < 38rem) {
  .next-step__visual {
    display: grid;
    gap: 1rem;
    padding-block: 0;
  }
  .next-step__options {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .next-step__option {
    position: static;
    width: 100%;
  }
}

.next-step--services {
  margin-block: var(--section-space);
  padding-block: 0;
  background-color: var(--white);
  color: var(--black);
}
.next-step--services .next-step__inner {
  max-width: var(--max-w-content);
}
.next-step--services .next-step__content .eyebrow {
  color: var(--primary);
}
.next-step--services .next-step__content h2,
.next-step--services .next-step__description {
  color: var(--black);
}
.next-step--services .next-step__image {
  outline-color: color-mix(in srgb, var(--black) 8%, transparent);
  box-shadow: var(--shadow-card);
}
@container next-step (width >= 56rem) {
  .next-step--services .next-step__inner {
    grid-template-columns: minmax(0, 3fr) minmax(16rem, 2fr);
    column-gap: clamp(6rem, 8cqi, 7rem);
    padding-inline-end: var(--gutter);
  }
  .next-step--services .next-step__visual {
    grid-column: 1;
    grid-row: 1;
  }
  .next-step--services .next-step__content {
    grid-column: 2;
    grid-row: 1;
  }
}

.services-page-hero {
  container: services-page-hero / inline-size;
  padding-block: var(--section-space);
  background-color: var(--primary);
  color: var(--white);
}
.services-page-hero__inner {
  display: grid;
  gap: clamp(3rem, 8cqi, 8rem);
  align-items: center;
  width: 100%;
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.services-page-hero__content {
  max-width: 34rem;
}
.services-page-hero__content h1 {
  max-width: 13ch;
  margin-block-end: 1rem;
  color: var(--white);
  font-size: var(--fs-xxl);
  line-height: 1.08;
  text-wrap: balance;
}
.search-hero .search-hero__title {
  max-width: 100%;
}
.search-hero__label {
  display: block;
  margin-block-end: 0.4em;
  font-size: 0.55em;
  font-weight: 400;
}
.search-hero__query {
  display: block;
  color: color-mix(in srgb, var(--white) 85%, transparent);
  overflow-wrap: anywhere;
}
.services-page-hero__content > p {
  max-width: 38ch;
  color: var(--white);
  opacity: 0.82;
  text-wrap: pretty;
}
.services-page-hero .find-care__search {
  justify-content: flex-start;
  max-width: 34rem;
  margin-block-start: 2rem;
  padding-inline: 0.4rem;
}
.services-page-hero .find-care__search-input {
  order: 2;
  padding-inline-start: 0.35rem;
}
.services-page-hero .find-care__search-submit {
  order: 1;
  min-width: 2.5rem;
  padding: 0.6rem;
  background-color: transparent;
  color: var(--black);
}
.services-page-hero__browse > p {
  margin-block-end: 0.9rem;
  color: var(--white);
  font-weight: 500;
}
.services-page-hero__letters {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
  max-width: 33rem;
}
.services-page-hero__letters a {
  display: grid;
  width: 100%;
  max-width: 2.8rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--white) 6%, transparent);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}
.services-page-hero__letters a:is(:hover, :focus-visible) {
  background-color: var(--white);
  color: var(--primary);
}
@container services-page-hero (width >= 48rem) {
  .services-page-hero__inner {
    grid-template-columns: minmax(18rem, 1fr) minmax(24rem, 1fr);
    align-items: end;
  }
  .services-page-hero__letters {
    grid-template-columns: repeat(9, 2.8rem);
  }
}

.services-schedule {
  container: services-schedule / inline-size;
  max-width: var(--max-w-content);
  margin-inline: auto;
  margin-block: var(--section-space);
  padding-inline: var(--gutter);
}
.services-schedule__inner {
  padding: clamp(3rem, 6cqi, 5rem) var(--gutter);
  border-radius: 1rem;
  background-color: var(--secondary);
  color: var(--white);
  text-align: center;
}
.services-schedule h2 {
  margin-block-end: 0.75rem;
  color: var(--white);
  font-size: var(--fs-xl);
}
.services-schedule p {
  max-width: 58ch;
  margin-inline: auto;
  color: var(--white);
  opacity: 0.84;
}
.services-schedule__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: center;
  margin-block-start: 1.5rem;
}
.services-schedule__link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--white);
  font-weight: 400;
  text-decoration: none;
}
.services-schedule__link:is(:hover, :focus-visible) {
  color: var(--white);
  text-decoration: none;
}
.services-schedule__link:is(:hover, :focus-visible) > span:first-child {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.find-care__search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(10rem, 100%, 35rem);
  background-color: var(--white);
  border-radius: 9999px;
  text-decoration: none;
}
.find-care__search:focus-within {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}
.find-care__search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  font-size: var(--fs-base);
  color: var(--black);
  outline: none;
}
.find-care__search-input::placeholder {
  color: var(--black);
  opacity: 0.7;
}
.find-care__search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: none;
  border-radius: 9999px;
  background-color: var(--yellow);
  color: oklch(var(--white-base));
  cursor: pointer;
  min-width: 3rem;
}
.featured-banner--search .find-care__search {
  padding-inline: 0.4rem;
  border: 1px solid color-mix(in srgb, var(--black) 8%, transparent);
  box-shadow: 0 0.5rem 1.5rem color-mix(in srgb, var(--black) 10%, transparent);
}
.featured-banner--search .find-care__search-input {
  order: 2;
  padding-inline-start: 0.35rem;
}
.featured-banner--search .find-care__search-submit {
  order: 1;
  min-width: 2.5rem;
  padding: 0.6rem;
  background-color: transparent;
  color: var(--black);
}
@media (width <= 640px) {
  .find-care__search {
    width: 100%;
  }
}
.intro {
  container: intro / inline-size;
  padding-inline: var(--gutter);
  max-width: var(--max-w-content);
  margin-inline: auto;
  margin-block: var(--section-space);
}
.intro__inner {
  display: grid;
  gap: 3rem;
}
.intro__heading {
  display: flex;
  max-width: 36rem;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.intro__heading .eyebrow {
  margin-block-end: 0.75rem;
}
.intro__heading h2 {
  max-width: 20ch;
  margin-block-end: 1.5rem;
  font-size: var(--fs-xl);
  line-height: 1.15;
  text-wrap: balance;
}
.intro__grid {
  display: grid;
  gap: 0.75rem;
}
.feature-card {
  display: flex;
  min-height: 15rem;
  padding: 2rem;
  flex-direction: column;
  border-radius: 1rem;
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--card-hover-duration) var(--card-hover-ease);
}
.feature-card:hover,
.feature-card:focus-visible {
  color: var(--white);
  box-shadow: var(--shadow-card-hover);
}
.feature-card__icon {
  display: flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background-color: var(--white);
}
.feature-card__icon img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}
.feature-card__content {
  display: flex;
  max-width: 27rem;
  margin-block-start: auto;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--white);
}
.feature-card__content strong,
.feature-card__title {
  margin: 0;
  color: var(--white);
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.25;
}
.feature-card__content span,
.feature-card__content p {
  margin: 0;
  color: var(--white);
  font-size: var(--fs-sm);
  line-height: 1.5;
}
@container intro (width >= 48rem) {
  .intro__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
section.services {
  container: services / inline-size;
  padding-inline: var(--gutter);
  padding-block: 0;
  max-width: var(--max-w-content);
  margin-inline: auto;
  margin-block: var(--section-space);
}
.services__grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
.services__text {
  max-width: 27rem;
}
.services__text h2 {
  max-width: 12ch;
  margin-block-end: 1rem;
  font-size: clamp(2rem, 1.55rem + 1.4cqi, 3rem);
  line-height: 1.08;
  text-wrap: balance;
}
.services__text > p:not(.eyebrow) {
  max-width: 40ch;
  margin-block-end: 1.5rem;
}
.services__links {
  display: grid;
  gap: 0;
}
.services__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
  border-bottom: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
  color: var(--black);
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}
.services__link-arrow {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  place-items: center;
  border-radius: 50%;
  background-color: transparent;
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
  transition: background-color 180ms ease;
}
.services__link:is(:hover, :focus-visible) {
  color: var(--primary);
  text-decoration: none;
}
.services__link:is(:hover, :focus-visible) > span:first-child {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.services__link:is(:hover, :focus-visible) .services__link-arrow {
  background-color: color-mix(in srgb, var(--primary) 8%, transparent);
}
@container services (width >= 48rem) {
  .services__grid {
    grid-template-columns: minmax(15rem, 0.85fr) minmax(0, 1.65fr);
    gap: clamp(3rem, 7cqi, 8rem);
  }
  .services__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 5cqi, 5rem);
  }
}
.news {
  /* Own section spacing here; page templates must not add it again as padding. */
  margin-block: var(--section-space);
  position: relative;
  z-index: 2;
}
.news--bg-white {
  background-color: var(--white);
}
.news__inner {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}
.news__text {
  text-align: center;
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-block: 3rem;
}
.news__grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.news__grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.news__grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.freeman-cards--single {
  width: 100%;
}
.freeman-cards--single > .news__grid-item {
  width: 100%;
}
.freeman-cards--grid:not(.news) .news__grid,
.freeman-cards.news .news__grid {
  margin-block: 0;
}
.freeman-cards--horizontal .freeman-cards__cell {
  min-height: 0;
  height: 100%;
  container-type: inline-size;
  container-name: content-card;
}
.freeman-cards--horizontal .news__grid-item {
  height: 100%;
}
.news__grid-item {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background-color: var(--white);
  color: var(--black);
  border-radius: 1rem;
  text-align: start;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--card-hover-duration) var(--card-hover-ease);
}
.news__grid-item:is(:hover, :focus-visible) {
  box-shadow: var(--shadow-card-hover);
}
.news__grid-item--static {
  cursor: default;
}
.news__grid-item--static:is(:hover, :focus-visible) {
  box-shadow: var(--shadow-card);
}
.news__grid-item-image {
  min-height: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
}
.news__grid-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.news__grid-item-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 2rem;
}
.news__grid-item-text :is(h2, h3) {
  font-size: var(--fs-md);
}
.news__grid-item-text > * {
  margin: 0;
}
.news__grid-item-text :is(h2, h3):not(:last-child) {
  margin-block-end: 0.75rem;
}
.news__grid-item-excerpt:not(:last-child) {
  margin-block-end: 0.75rem;
}
.news__grid-item-date {
  margin-block-start: auto;
}
.news__inner .btn {
  justify-content: center;
}
.news__grid-item:hover img {
  transform: scale(1.05);
}
.news__grid-item:is(:hover, :focus-visible) .news__grid-item-text :is(h2, h3) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.news__grid-item:not(.news__grid-item--static):is(:hover, :focus-visible)
  .service-list__card-link {
  gap: 1rem;
  color: var(--primary);
}
.news__grid-item--static:hover img {
  transform: none;
}
.news__grid-item--static:is(:hover, :focus-visible) .news__grid-item-text :is(h2, h3) {
  color: var(--black);
  text-decoration: none;
}
/* Horizontal cards: image beside text when the card cell is wide enough. */
@container content-card (min-width: 28rem) {
  .freeman-cards--horizontal .news__grid-item:has(.news__grid-item-image) {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
  .freeman-cards--horizontal .news__grid-item-image {
    position: relative;
    aspect-ratio: unset;
    align-self: stretch;
    min-height: 100%;
    border-radius: 1rem 0 0 1rem;
  }
  .freeman-cards--horizontal .news__grid-item-image--custom-ratio {
    align-self: start;
    min-height: 0;
  }
  .freeman-cards--horizontal .news__grid-item-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }
  .freeman-cards--horizontal
    .news__grid-item:has(.news__grid-item-image)
    .news__grid-item-text {
    padding: 1.5rem 2rem;
  }
}
@media (width <= 1024px) {
  .news__grid,
  .news__grid--cols-3,
  .news__grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width <= 640px) {
  .news__grid,
  .news__grid--cols-2,
  .news__grid--cols-3,
  .news__grid--cols-4 {
    grid-template-columns: 1fr;
    margin-block: clamp(2rem, 6vw, 4rem);
  }
  .freeman-cards--grid .news__grid {
    margin-block: 0;
  }
  .news__grid-item-text {
    padding: 1.5rem;
  }
}
.service-list {
  position: relative;
  overflow-x: clip;
  margin-block: 0 var(--section-space);
}
.service-list__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.service-list__header {
  position: relative;
  z-index: 1;
  max-width: var(--max-w-text);
  margin-inline: auto;
  text-align: center;
  margin-block: 1.5rem 3rem;
}
.service-list__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}
.service-list__grid--single {
  grid-template-columns: minmax(0, 22rem);
  justify-content: center;
}
.freeman-icon-cards {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.link-cards {
  max-width: 100%;
}
.link-cards__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.link-cards--cols-2 .link-cards__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.link-cards--cols-3 .link-cards__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.link-cards__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 100%;
  padding: 1rem 1.25rem;
  background-color: var(--white);
  border: 1px solid oklch(var(--blue-base) / 0.1);
  border-radius: 0.85rem;
  color: var(--blue);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--card-hover-duration) var(--card-hover-ease);
}
.link-cards__card:hover,
.link-cards__card:focus-visible {
  box-shadow: var(--shadow-card-hover);
  text-decoration: none;
}
.link-cards__name {
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.link-cards__action {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  white-space: nowrap;
  opacity: 0.7;
}
@media (width <= 900px) {
  .link-cards--cols-3 .link-cards__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (width <= 640px) {
  .link-cards--cols-2 .link-cards__list,
  .link-cards--cols-3 .link-cards__list {
    grid-template-columns: minmax(0, 1fr);
  }
}
.document-links {
  max-width: 100%;
}
.document-links__list {
  margin: 0;
  padding: 0.5rem 1.5rem;
  list-style: none;
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
}
.document-links__row + .document-links__row {
  border-block-start: 1px solid oklch(var(--blue-base) / 0.1);
}
.document-links__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: -0.75rem;
  padding-block: 1.15rem;
  padding-inline: 0.75rem;
  border-radius: 0.5rem;
  color: var(--black);
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.document-links__item:hover,
.document-links__item:focus-visible {
  color: var(--primary);
  background-color: color-mix(in srgb, var(--primary) 4%, transparent);
  text-decoration: none;
}
.document-links__meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.document-links__type {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  padding: 0.35rem 0.4rem;
  border-radius: 0.25rem;
  background-color: var(--secondary);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}
.document-links__item:is(:hover, :focus-visible) .document-links__type {
  background-color: var(--primary);
}
.document-links__name {
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.document-links__action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--black);
  font-weight: 600;
  transition: gap 0.2s ease;
}
.document-links__item:is(:hover, :focus-visible) .document-links__action {
  color: var(--primary);
}
.document-links__arrow {
  flex-shrink: 0;
}
.document-links__item:hover .document-links__action,
.document-links__item:focus-visible .document-links__action {
  gap: 0.75rem;
}
@media (width <= 640px) {
  .document-links__list {
    padding-inline: 1rem;
  }
  .document-links__item {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }
  .document-links__action {
    padding-inline-start: calc(2.75rem + 0.85rem);
  }
}
.service-list__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 1rem;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--card-hover-duration) var(--card-hover-ease);
}
.service-list__card:is(:hover, :focus-visible) {
  box-shadow: var(--shadow-card-hover);
}
/* Block-owned colors take precedence over legacy page-specific card colors. */
.freeman-icon-cards.freeman-icon-cards .service-list__card {
  background: var(--white);
  color: var(--black);
}
.freeman-icon-cards.freeman-icon-cards--bg-primary .service-list__card {
  background: var(--primary);
}
.freeman-icon-cards .service-list__card :is(.service-list__card-title, .service-list__card-description, .service-list__card-link) {
  color: var(--black);
}
.freeman-icon-cards .service-list__card:not(.service-list__card--static):is(:hover, :focus-visible)
  :is(.service-list__card-title, .service-list__card-link) {
  color: var(--primary);
}
.service-list__card-icon {
  width: 10rem;
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-blue);
}
.service-list__card-icon img {
  width: 5rem;
  height: auto;
  transition: scale 0.2s ease;
}
.service-list__card-title {
  margin-block: 2.5rem 1.25rem;
  font-size: var(--fs-lg);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  transition: color 0.2s ease;
}
.service-list__card:not(:has(.service-list__card-icon))
  .service-list__card-title {
  margin-block-start: 0;
}
.service-list__card-title:has(+ .service-list__card-description) {
  margin-block-end: 0.5rem;
  flex: 0;
}
.service-list__card-description {
  margin: 0 0 1.25rem;
  flex: 1;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.service-list__card--static .service-list__card-description {
  margin-block-end: 0;
}
.service-list__card--static:is(:hover, :focus-visible) {
  box-shadow: var(--shadow-card);
}
.service-list__card--static:hover .service-list__card-icon img {
  scale: 1;
}
.service-list__card--static:hover .service-list__card-title {
  color: inherit;
}
.service-list__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--black);
  font-weight: 600;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
}
.service-list__card-arrow {
  flex-shrink: 0;
}
.service-list__card:hover .service-list__card-icon img {
  scale: 0.9;
}
.service-list__card:not(.service-list__card--static):is(:hover, :focus-visible)
  .service-list__card-title {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.service-list__card:not(.service-list__card--static):is(:hover, :focus-visible)
  .service-list__card-link {
  gap: 1rem;
  color: var(--primary);
}
@media (width <= 1024px) {
  .service-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (width <= 640px) {
  .service-list {
    margin-block-end: 2.5rem;
  }
  .service-list__header {
    margin-block: 1rem 2rem;
  }
  .service-list__grid {
    grid-template-columns: 1fr;
  }
  .service-list__card {
    padding: 1.5rem;
  }
  .service-list__card-icon {
    width: 8rem;
    height: 8rem;
  }
  .service-list__card-icon img {
    width: 4rem;
  }
  .service-list__card-title {
    margin-block: 1.5rem 1rem;
  }
}
.content-page--ozark-center-services .ozark-legal-notices {
  position: relative;
  z-index: 1;
  margin-block: 0;
  padding-block: clamp(2rem, 4vw, 3rem);
  background-color: var(--bg-blue);
  color: var(--white);
  line-height: 1.6;
}
.content-page--ozark-center-services .ozark-legal-notices__inner {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.content-page--ozark-center-services .ozark-legal-notices p {
  margin: 0;
}
.content-page--ozark-center-services .ozark-legal-notices p + p {
  margin-block-start: 1rem;
}
.content-page--ozark-center-services .ozark-legal-notices a {
  color: inherit;
  font-weight: 600;
}
.content-page--careers {
  overflow-x: clip;
}
.content-page--careers .benefits {
  margin-block-end: var(--global-kb-spacing-xl, 4rem);
}
.content-page--careers .faqs {
  padding-block: 0;
}
.featured-banner__media {
  margin: 0;
}
.benefits {
  margin-block: 0 var(--section-space);
}
.benefits__inner {
  container: benefits / inline-size;
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.benefits__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gutter);
  margin-block: 1.5rem 3rem;
}
.benefits__text {
  max-width: 38rem;
}
.benefits__title {
  margin-block: 0 1rem;
}
.benefits__description {
  margin: 0;
}
.benefits__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}
.benefits__item {
  min-height: 15rem;
}
@media (width <= 1024px) {
  .benefits__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }
}
@container benefits (width >= 40rem) {
  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container benefits (width >= 64rem) {
  .benefits__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.faqs {
  container: faqs / inline-size;
  padding-block: var(--section-space);
  position: relative;
  z-index: 2;
}
.faqs__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gutter);
}
.faqs__header {
  max-width: 28rem;
  align-self: start;
}
.faqs__description {
  margin: 0;
}
.faqs__panel {
  padding-block-end: 1rem;
}
.faqs__subheading {
  margin-block: 0 0.75rem;
  font-size: var(--fs-md);
  font-weight: 600;
}
.faqs__panel p {
  margin: 0;
}
.faqs__panel p:not(:last-child) {
  margin-block-end: 1rem;
}
.faqs__panel ul {
  margin: 0;
  padding-inline-start: 1.25rem;
}
.faqs__panel ul:not(:last-child) {
  margin-block-end: 1rem;
}
.faqs__panel li + li {
  margin-block-start: 0.35rem;
}
.faqs__panel a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.faqs__panel em {
  font-style: italic;
}
.faqs__list {
  display: flex;
  flex-direction: column;
}
.faqs__item {
  border-bottom: 1px solid oklch(var(--blue-base) / 0.15);
}
.faqs__item:first-child {
  border-top: 1px solid oklch(var(--blue-base) / 0.15);
}
.faqs__item-title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.faqs__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.95rem;
  padding-inline: 0 0.75rem;
  border: none;
  background: none;
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease;
}
.faqs__trigger[aria-expanded="true"] {
  padding-block-end: 0.35rem;
}
.faqs__trigger:hover,
.faqs__trigger:focus-visible {
  color: var(--primary);
}
.faqs__trigger:is(:hover, :focus-visible) .faqs__question {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.faqs__trigger:focus-visible {
  outline: 2px solid oklch(var(--primary-base) / 0.8);
  outline-offset: 2px;
}
.faqs__question {
  flex: 1;
  text-wrap: pretty;
}
.faqs__icon {
  display: grid;
  flex-shrink: 0;
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 180ms ease;
}
.faqs__trigger:is(:hover, :focus-visible) .faqs__icon {
  background-color: color-mix(in srgb, var(--primary) 8%, transparent);
}
.faqs__icon::before,
.faqs__icon::after {
  content: "";
  position: absolute;
  background-color: currentColor;
}
.faqs__icon::before {
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 2px;
  transform: translate(-50%, -50%);
}
.faqs__icon::after {
  top: 50%;
  left: 50%;
  width: 2px;
  height: 0.75rem;
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.faqs__trigger[aria-expanded="true"] .faqs__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}
@container faqs (width > 64rem) {
  .faqs__inner {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: clamp(3rem, 6cqi, 6rem);
  }
  .faqs__header {
    position: sticky;
    top: calc(var(--header-height, 0px) + 2rem);
  }
  .faqs__panel {
    padding-inline-end: 1.75rem;
  }
}

/* Kadence Accordion "Freeman FAQ" block style — mirrors .faqs above.
 * :not(#_) adds ID-level specificity so these rules beat Kadence's per-block
 * inline CSS (class-only selectors) without !important. */
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-accordion-inner-wrap {
  row-gap: 0;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-accordion-pane {
  border-bottom: 1px solid var(--freeman-faq-divider, oklch(var(--blue-base) / 0.15));
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-dark):not(#_) .kt-accordion-pane:first-child {
  border-top: 1px solid var(--freeman-faq-divider, oklch(var(--blue-base) / 0.15));
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-accordion-header-wrap {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-blocks-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.95rem;
  padding-inline: 0 0.75rem;
  border: none;
  border-radius: 0;
  background: none;
  color: inherit;
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  cursor: pointer;
  transition: color 180ms ease;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-blocks-accordion-header.kt-accordion-panel-active {
  padding-block-end: 0.35rem;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-blocks-accordion-header:is(:hover, :focus-visible) {
  color: var(--freeman-faq-hover-color, var(--primary));
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_)
  .kt-blocks-accordion-header:is(:hover, :focus-visible)
  .kt-blocks-accordion-title {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-blocks-accordion-header:focus-visible {
  outline: 2px solid var(--freeman-faq-focus-color, oklch(var(--primary-base) / 0.8));
  outline-offset: 2px;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-blocks-accordion-title-wrap {
  flex: 1;
  padding: 0;
  text-wrap: pretty;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-blocks-accordion-icon-trigger {
  flex-shrink: 0;
  position: relative;
  width: 2.25rem;
  min-width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 180ms ease;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_)
  .kt-blocks-accordion-header:is(:hover, :focus-visible)
  .kt-blocks-accordion-icon-trigger {
  background-color: var(--freeman-faq-icon-hover-background, color-mix(in srgb, var(--primary) 8%, transparent));
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-blocks-accordion-icon-trigger::before,
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-blocks-accordion-icon-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: auto;
  left: 50%;
  background-color: currentColor;
  opacity: 1;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-blocks-accordion-icon-trigger::before {
  width: 0.75rem;
  height: 2px;
  transform: translate(-50%, -50%);
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-blocks-accordion-icon-trigger::after {
  width: 2px;
  height: 0.75rem;
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_)
  .kt-accordion-panel-active
  .kt-blocks-accordion-icon-trigger::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-accordion-panel {
  /* Kadence's JS waits for this duration, so 0s makes panels open instantly. */
  transition: none;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-accordion-panel-inner {
  padding: 0 0 1rem;
  border: none;
  border-radius: 0;
  background: none;
  color: inherit;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-accordion-panel-inner :is(p, ul, ol) {
  margin: 0;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-accordion-panel-inner :is(p, ul, ol):not(:last-child) {
  margin-block-end: 1rem;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-accordion-panel-inner :is(ul, ol):not(.kt-svg-icon-list) {
  padding-inline-start: 1.25rem;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-accordion-panel-inner :is(ul, ol):not(.kt-svg-icon-list) > li + li {
  margin-block-start: 0.35rem;
}
:is(.is-style-freeman-faq, .is-style-freeman-faq-no-top-border, .is-style-freeman-faq-dark):not(#_) .kt-accordion-panel-inner a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
/* White foreground treatment; the containing Kadence block supplies the background. */
.is-style-freeman-faq-dark:not(#_) {
  --freeman-faq-divider: rgb(255 255 255 / 0.25);
  --freeman-faq-hover-color: var(--white);
  --freeman-faq-focus-color: var(--white);
  --freeman-faq-icon-hover-background: rgb(255 255 255 / 0.12);
  color: var(--white);
}
.is-style-freeman-faq-dark:not(#_) :is(
  .kt-blocks-accordion-header,
  .kt-blocks-accordion-title,
  .kt-blocks-accordion-icon-trigger,
  .kt-accordion-panel-inner
),
.is-style-freeman-faq-dark:not(#_) .kt-accordion-panel-inner :is(p, ul, ol, li, h2, h3, h4, h5, h6, a:not(.btn):not(.kb-button)) {
  color: var(--white);
}
.content-page .news .eyebrow {
  display: none;
}
.news-tag-filter {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
  /* Was `padding-block-end: clamp(...) 0` — invalid two-value declaration
     that browsers dropped; intent restored as padding-block. */
  padding-block: clamp(2rem, 4vw, 3.5rem) 0;
}
/* Filters use the spacing already supplied by the featured banner. */
.featured-banner + .content-page > .news-tag-filter {
  padding-block-start: 0;
}
.news-tag-filter__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  text-align: start;
}
.news-tag-filter__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-block-end: 1.25rem;
  border-bottom: 1px solid oklch(var(--blue-base) / 0.12);
}
.news-tag-filter__heading {
  margin: 0;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
}
.news-tag-filter__form {
  flex-shrink: 0;
  width: auto;
}
.archive-filters__form {
  width: 100%;
}
.archive-filters__bar {
  width: 100%;
}
.archive-filters__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-inline-start: auto;
}
.archive-filters .news-tag-filter__toggle {
  min-width: 12rem;
  padding-inline: 1rem;
  gap: 0.75rem;
}
.archive-filters__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.news-tag-filter__dropdown {
  position: relative;
}
.news-tag-filter__toggle {
  width: auto;
  min-width: 14rem;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}
.news-tag-filter__toggle::before {
  display: none;
}
@media (hover: hover) {
  .news-tag-filter__toggle:hover {
    color: var(--blue);
    transition: none;
  }
}
.news-tag-filter__toggle--active {
  --border-color: var(--blue);
  --text-color: var(--blue);
  color: var(--blue);
}
.news-tag-filter__chevron {
  flex-shrink: 0;
  width: 0.85em;
  height: 0.85em;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 5.5 5 5 5-5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.news-tag-filter__toggle[aria-expanded="true"] .news-tag-filter__chevron {
  transform: rotate(180deg);
}
.news-tag-filter__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.5rem);
  right: 0;
  left: auto;
  width: 22rem;
  max-width: calc(100vw - 2 * var(--gutter));
  padding: 1rem;
  background-color: var(--white);
  border: none;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}
.news-tag-filter__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 16rem;
  overflow-y: auto;
}
.news-tag-filter__option + .news-tag-filter__option {
  margin-block-start: 0.35rem;
}
.news-tag-filter__label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
}
.news-tag-filter__label:hover,
.news-tag-filter__label:focus-within {
  background-color: var(--bg-blue);
  color: var(--white);
}
.news-tag-filter__option--selected .news-tag-filter__label,
.news-tag-filter__label:has(.news-tag-filter__checkbox:checked) {
  color: var(--blue);
}
.news-tag-filter__option--selected .news-tag-filter__label:hover,
.news-tag-filter__option--selected .news-tag-filter__label:focus-within,
.news-tag-filter__label:has(.news-tag-filter__checkbox:checked):hover,
.news-tag-filter__label:has(.news-tag-filter__checkbox:checked):focus-within {
  background-color: transparent;
  color: var(--blue);
}
.news-tag-filter__checkbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.news-tag-filter__option-text {
  flex: 1;
}
.news-tag-filter__checkmark {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-radius: 0.2rem;
  position: relative;
  opacity: 0.45;
}
.news-tag-filter__option--selected .news-tag-filter__checkmark,
.news-tag-filter__label:has(.news-tag-filter__checkbox:checked)
  .news-tag-filter__checkmark {
  opacity: 1;
  background-color: var(--blue);
  border-color: var(--blue);
}
.news-tag-filter__option--selected .news-tag-filter__checkmark::after,
.news-tag-filter__label:has(.news-tag-filter__checkbox:checked)
  .news-tag-filter__checkmark::after {
  content: "";
  position: absolute;
  top: 0.05rem;
  left: 0.25rem;
  width: 0.3rem;
  height: 0.55rem;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}
.news-tag-filter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: 1rem;
  padding-block-start: 1rem;
  border-top: 1px solid oklch(var(--blue-base) / 0.12);
}
.news-tag-filter__active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
}
.news-tag-filter__active-label {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.news-tag-filter__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-tag-filter__chips li {
  display: flex;
  align-items: center;
}
.news-tag-filter__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  padding-block: 0.35rem;
  padding-inline: 0.65rem 0.45rem;
  background-color: var(--white);
  border: 1px solid oklch(var(--blue-base) / 0.18);
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1;
  color: var(--black);
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}
.news-tag-filter__chip:hover,
.news-tag-filter__chip:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
  background-color: color-mix(in srgb, var(--primary) 6%, transparent);
  color: var(--primary);
}
.news-tag-filter__chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  opacity: 0.7;
}
.news-tag-filter__chip-remove svg {
  display: block;
  width: 100%;
  height: 100%;
}
.news-tag-filter__clear-all {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.news-tag-filter__clear-all:hover,
.news-tag-filter__clear-all:focus-visible {
  color: color-mix(in oklch, var(--blue) 75%, black 25%);
}
@media (width <= 640px) {
  .news-tag-filter__form {
    width: 100%;
  }
  .archive-filters__controls {
    width: 100%;
    justify-content: stretch;
  }
  .archive-filters__dropdown,
  .archive-filters__actions,
  .archive-filters .news-tag-filter__toggle {
    width: 100%;
  }
  .archive-filters__actions {
    justify-content: stretch;
  }
  .archive-filters__actions .btn {
    flex: 1;
  }
  .news-tag-filter__panel {
    left: 0;
    right: 0;
    width: auto;
  }
}
.content-page--news .news {
  padding-block-start: 2rem;
  background-color: var(--white);
}
.content-page--news .news__grid {
  margin-block-start: 2rem;
  gap: var(--gutter);
}
.content-page--news > .news,
.content-page--news > .news > .news__inner > .news__grid {
  margin-block-start: 0;
}

/* --- Locations Archive --- */
.content-page--locations {
  background-color: var(--white);
}
.content-page--locations .locations-archive {
  padding-block: 2rem var(--section-space);
  background-color: var(--white);
}
.content-page--locations
  .locations-filters
  + .locations-archive
  .service-locations__grid {
  margin-block-start: 2rem;
}

/* --- Staff Archive --- */
.content-page--staff {
  background-color: var(--white);
}
.content-page--staff .staff-archive {
  padding-block: 2rem var(--section-space);
}
.content-page--staff .staff-filters + .staff-archive .service-providers__grid {
  margin-block-start: 2rem;
}
.content-page--education-faculty .staff-archive {
  padding-block-start: 0;
}
.content-page--education-faculty .service-providers__grid {
  margin-block-start: 0;
}

/* --- Single News --- */
.content-single-news {
  background-color: var(--white);
}
.single-news {
  padding-block-end: var(--section-space);
}
.single-news__inner {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.single-news__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.single-news__article .entry-content {
  max-width: var(--max-w-text);
}
.single-news__article .single-news__subheading {
  color: var(--primary);
  font-size: var(--fs-md);
}
.single-news__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: var(--max-w-text);
  margin-block-end: 2rem;
  padding-block-end: 1.5rem;
  border-bottom: 1px solid oklch(var(--blue-base) / 0.12);
}
.single-news__date {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.single-news__byline {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.single-news__byline-link {
  color: inherit;
  text-decoration: none;
}
.single-news__byline-link:hover,
.single-news__byline-link:focus-visible {
  text-decoration: underline;
}
.single-news__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: var(--max-w-text);
  margin-block-start: 3rem;
  padding-block-start: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--black) 10%, transparent);
}
.single-news__nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  min-height: 100%;
  text-decoration: none;
  color: color-mix(in srgb, var(--black) 70%, transparent);
}
.single-news__nav-link--next {
  text-align: end;
}
.single-news__nav-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary);
}
.single-news__nav-link--previous .single-news__nav-label::before {
  content: "\2190";
  margin-inline-end: 0.4em;
}
.single-news__nav-link--next .single-news__nav-label::after {
  content: "\2192";
  margin-inline-start: 0.4em;
}
.single-news__nav-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  color: color-mix(in srgb, var(--black) 70%, transparent);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
  transition:
    color var(--card-hover-duration) var(--card-hover-ease),
    text-decoration-color var(--card-hover-duration) var(--card-hover-ease);
}
.single-news__nav-link:hover .single-news__nav-title,
.single-news__nav-link:focus-visible .single-news__nav-title {
  color: var(--primary);
  text-decoration-color: currentcolor;
}
.single-news__nav-spacer {
  display: block;
}
@media (width <= 640px) {
  .single-news__nav {
    grid-template-columns: 1fr;
  }
  .single-news__nav-link--next {
    text-align: end;
  }
  .single-news__nav-spacer {
    display: none;
  }
}
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (width > 1024px) {
  .news-sidebar {
    position: sticky;
    top: calc(var(--header-height, 0px) + 2rem);
  }
}
.news-sidebar__featured-image {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
}
.news-sidebar__featured-image img {
  width: 100%;
  height: auto;
  min-height: 16rem;
  max-height: 28rem;
  object-fit: cover;
  display: block;
}
.news-sidebar__panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.news-sidebar__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.news-sidebar__view-more {
  flex-shrink: 0;
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.news-sidebar__view-more:hover,
.news-sidebar__view-more:focus-visible {
  color: color-mix(in srgb, var(--primary) 75%, var(--black));
}
.news-sidebar__label {
  margin: 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--primary);
}
.news-sidebar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-sidebar__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
  border-radius: 0.375rem;
  background-color: var(--white);
  color: var(--black);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}
.news-sidebar__tag:hover,
.news-sidebar__tag:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
  background-color: color-mix(in srgb, var(--primary) 6%, transparent);
  color: var(--primary);
}
.news-sidebar__tags-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.news-sidebar__tags-toggle {
  align-self: flex-start;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.news-sidebar__tags-toggle:hover,
.news-sidebar__tags-toggle:focus-visible {
  color: color-mix(in srgb, var(--primary) 75%, var(--black));
}
.news-sidebar__related-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-sidebar__related-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--black);
}
.news-sidebar__related-link:hover .news-sidebar__related-title,
.news-sidebar__related-link:focus-visible .news-sidebar__related-title {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.news-sidebar__related-title {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
}
.news-sidebar__related-date {
  font-size: var(--fs-xs);
  color: color-mix(in srgb, var(--black) 65%, transparent);
}
@media (width <= 1024px) {
  .single-news__layout {
    grid-template-columns: 1fr;
  }
  /* Stacked: image first, then the content, then the rest of the sidebar. */
  .news-sidebar {
    display: contents;
  }
  .news-sidebar__featured-image {
    order: 1;
    max-width: 20rem;
  }
  .single-news__article {
    order: 2;
  }
  .news-sidebar > :not(.news-sidebar__featured-image) {
    order: 3;
  }
}
@media (width <= 768px) {
  .single-news {
    padding-block-start: 0;
  }
}
@media (width <= 640px) {
  .news-sidebar__featured-image {
    max-width: none;
  }
}

/* --- Single Staff --- */
.content-single-staff {
  background-color: var(--white);
}
.single-staff {
  padding-block-end: var(--section-space);
}
.single-staff__inner {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.single-staff__layout {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.single-staff__article .entry-content,
.single-staff__bio,
.single-staff__additional-bio {
  max-width: var(--max-w-text);
}
.single-staff__bio {
  margin-block-end: 0;
}
.staff-practice {
  max-width: var(--max-w-text);
  margin-block-start: 2rem;
  --staff-practice-border: oklch(var(--blue-base) / 0.12);
}
.staff-practice__header {
  margin-block-end: 1.15rem;
}
.staff-practice__heading {
  margin: 0;
}
.staff-practice__heading,
.single-staff__bio h3,
.single-staff__additional-bio h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.3;
}
.staff-practice__label {
  margin: 0;
  padding-block-start: 0.18rem;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.staff-practice__row {
  display: grid;
  row-gap: 0.25rem;
}
.staff-practice__item {
  display: grid;
  grid-template-columns: minmax(7rem, 0.32fr) minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--staff-practice-border);
}
.staff-practice__item:last-child {
  border-bottom: 1px solid var(--staff-practice-border);
}
.staff-practice__location {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.staff-practice__location-name {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}
a.staff-practice__location-name {
  color: var(--black);
}
a.staff-practice__location-name:is(:hover, :focus-visible) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.staff-practice__address {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  font-style: normal;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.5;
}
.staff-practice__phone {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
}
.staff-practice__statuses {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.4;
}
.single-staff .staff-practice__item {
  align-items: start;
}
.single-staff .staff-practice__item > .staff-practice__label,
.single-staff .staff-practice__item > .staff-practice__phone {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}
.staff-practice__phone-link,
.staff-practice__text-link {
  color: var(--black);
  text-decoration: none;
}
.staff-practice__phone-link:is(:hover, :focus-visible),
.staff-practice__text-link:is(:hover, :focus-visible) {
  color: var(--primary);
}
.staff-practice__location-link {
  margin: 0;
  padding-block-start: 0.15rem;
}
.staff-practice__text-link {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
@media (width <= 560px) {
  .staff-practice__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .staff-practice__label {
    padding-block-start: 0;
  }
}
.single-staff__additional-bio {
  margin-block-start: 2.5rem;
  padding-block-start: 2rem;
  border-top: 1px solid oklch(var(--blue-base) / 0.12);
}
.single-staff__section-title {
  margin: 0 0 1rem;
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.3;
}
.staff-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (width > 1024px) {
  .staff-sidebar {
    position: sticky;
    top: calc(var(--header-height, 0px) + 2rem);
  }
}
.staff-sidebar__featured-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 8rem;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--bg-blue);
}
.staff-sidebar__featured-image > .image-zoom {
  width: 100%;
}
.staff-sidebar__featured-image img {
  width: 100%;
  height: auto;
  min-height: 8rem;
  max-height: 28rem;
  object-fit: cover;
  display: block;
}
.staff-sidebar__identity {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.staff-sidebar__name {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}
.staff-sidebar__specialty {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.5;
}
.staff-sidebar__actions {
  margin-block-start: 0.25rem;
  padding-block-end: 1.5rem;
}
@media (width <= 1024px) {
  .single-staff__layout {
    grid-template-columns: 1fr;
  }
  .staff-sidebar__featured-image {
    max-width: 20rem;
  }
}
@media (width <= 768px) {
  .single-staff {
    padding-block: var(--section-space);
  }
}

/* --- Single Location --- */
.location-sidebar .staff-sidebar__featured-image--fallback {
  padding: 1.5rem;
  background-color: #fff;
}
.location-sidebar .staff-sidebar__featured-image--fallback img {
  min-height: 0;
  object-fit: contain;
}
.content-single-location {
  background-color: var(--white);
}
.single-location {
  padding-block-end: var(--section-space);
}
.single-location__inner {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.single-location__layout {
  display: grid;
  grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.single-location__article .entry-content,
.single-location__bio {
  max-width: var(--max-w-text);
}
.single-location__bio {
  margin-block-end: 0;
}
.location-details {
  container: location-details / inline-size;
  padding-block-start: 0;
  border-top: 0;
}
.location-details__text {
  min-width: 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.location-details__note {
  margin: 0;
  white-space: pre-line;
}
.location-hours__schedule,
.location-contacts__list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.location-hours__row,
.location-contacts__item {
  display: grid;
  gap: 0.15rem;
}
.location-hours__row dt,
.location-hours__row dd,
.location-contacts__item dt,
.location-contacts__item dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.location-hours__row dt,
.location-contacts__item dt {
  font-weight: 600;
}
.location-hours__row dd,
.location-contacts__item dd {
  font-weight: 500;
}
.location-offered-services__content {
  container: location-services / inline-size;
  min-width: 0;
}
.location-offered-services__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.location-offered-services__list > li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 0;
}
.location-offered-services__icon {
  flex: 0 0 18px;
  margin-block-start: 3px;
  color: var(--secondary);
}
.location-offered-services__list :is(a, span) {
  min-width: 0;
  overflow-wrap: anywhere;
}
.location-offered-services__list a {
  color: inherit;
  text-underline-offset: 0.15em;
}
.location-offered-services__list a:is(:hover, :focus-visible) {
  color: var(--primary);
}
@container location-details (width < 28rem) {
  .location-details .staff-practice__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
@container location-services (width >= 28rem) {
  .location-offered-services__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.location-details__map {
  margin-block-start: 2rem;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 16 / 10;
}
.location-details__map iframe {
  display: block;
  width: 100%;
  height: 100%;
}
.content-single-location .service-providers {
  padding-block-start: 0;
}
@media (width <= 1024px) {
  .single-location__layout {
    grid-template-columns: 1fr;
  }
  .location-sidebar .staff-sidebar__featured-image {
    max-width: 20rem;
  }
}
@media (width <= 768px) {
  .single-location {
    padding-block: var(--section-space);
  }
}

.testimonials {
  position: relative;
  padding-inline: var(--gutter);
  max-width: var(--max-w-content);
  margin-inline: auto;
  margin-block: var(--section-space);
}
.testimonials__inner {
  position: relative;
  z-index: 1;
  padding: 5rem calc(var(--gutter) * 2);
  overflow: hidden;
  border-radius: 1rem;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
}
.testimonials__text {
  max-width: 48rem;
  margin-inline: auto;
}
.testimonials__text .eyebrow,
.testimonials__text h2,
.testimonials__text p,
.testimonials__carousel-card {
  color: var(--white);
}
.testimonials__description {
  text-wrap: balance;
}
.testimonials__carousel {
  max-width: 48rem;
  width: 100%;
  margin-inline: auto;
}
.testimonials__carousel-card {
  padding: 0.75rem 6rem 1.5rem;
  text-wrap: balance;
}
.testimonials__carousel-card-text-title {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: 1rem;
}
.testimonials__image {
  display: block;
  width: 8rem;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md, 0.5rem);
  margin: 0 auto 1.5rem;
}
.testimonials__carousel-card-text-quote {
  margin-bottom: 1rem;
}
.testimonials__carousel-card-text-quote > :first-child {
  margin-top: 0;
}
.testimonials__carousel-card-text-quote > :last-child {
  margin-bottom: 0;
}
.testimonials .splide__arrows {
  display: none;
}
.testimonials .splide__pagination__page {
  background-color: var(--white);
  opacity: 0.35;
}
.testimonials .splide__pagination__page.is-active {
  background-color: var(--white);
  opacity: 1;
}
@media (width <= 1024px) {
  .testimonials__inner {
    padding: 3rem var(--gutter);
  }
  .testimonials__carousel {
    padding-inline: 0;
  }
  .testimonials__carousel-card {
    padding: 0.75rem 2rem 1.5rem;
  }
}

/* --- Template-rendered service and specialty sections --- */
:is(.content-services, .content-specialties) > :is(.service-locations, .service-providers, .news) {
  --section-heading-gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-block: 0;
  padding-block: var(--section-space);
  background-color: var(--white);
}
/* Adjacent white sections share one section gap. */
:is(.content-services, .content-specialties)
  > :is(.service-locations, .service-providers, .news)
  + :is(.service-locations, .service-providers, .news) {
  padding-block-start: 0;
}
:is(.content-services, .content-specialties)
  > :is(.service-locations, .service-providers)
  :is(.service-locations__grid, .service-providers__grid) {
  margin-block-start: var(--section-heading-gap);
}
:is(.content-services, .content-specialties) > .news .news__grid {
  margin-block: var(--section-heading-gap);
}
/* Quiet portrait backdrops keep the emphasis on people. */
:is(.content-services, .content-specialties) > .service-providers
  .service-providers__card .service-providers__card-image,
:is(.content-services, .content-specialties) > .service-providers
  .service-providers__card:nth-child(even) .service-providers__card-image {
  background-color: oklch(var(--bg-blue-base));
}
/* --- Single Service — Locations --- */
.service-locations {
  background-color: var(--bg-blue);
  padding-block: var(--section-space);
}
.service-locations__inner,
.service-providers__inner {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.service-locations__header--center {
  text-align: center;
}
.service-locations__header {
  margin-block-end: 0;
}
.service-locations__city-state {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.4;
}
.service-locations__name {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--black);
  line-height: 1.35;
  transition: color 0.2s ease;
}
.service-locations__phone {
  margin: 0;
  color: var(--red);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
}
.service-locations__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  margin-block-start: auto;
  padding-block-start: 0.75rem;
  color: var(--black);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: color 0.2s ease;
}
.service-locations__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(var(--location-cols, 1), minmax(0, 1fr));
  margin-block-start: var(--section-space);
}
.service-locations__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  container-type: inline-size;
  container-name: location-card;
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--card-hover-duration) var(--card-hover-ease);
}
.service-locations__card:is(:hover, :focus-visible) {
  box-shadow: var(--shadow-card-hover);
}
.service-locations__card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.service-locations__card--static {
  cursor: default;
}
.service-locations__card--static:is(:hover, :focus-visible) {
  box-shadow: var(--shadow-card);
}
.service-locations__card-inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}
.service-locations__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  min-height: 0;
  isolation: isolate;
}
.service-locations__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.2s ease;
}
.service-locations__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}
.service-locations__card:hover .service-locations__media img {
  transform: scale(1.05);
}
.service-locations__media--fallback {
  background: #fff;
}
.service-locations__media--fallback img {
  box-sizing: border-box;
  padding: 1.5rem;
  object-fit: contain;
}
.service-locations__card:hover .service-locations__media--fallback img {
  transform: none;
}
.service-locations__card:not(.service-locations__card--static):is(:hover, :focus-visible)
  .service-locations__name {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.service-locations__card:not(.service-locations__card--static):is(:hover, :focus-visible)
  .service-locations__cta {
  color: var(--primary);
}
/* Archive results keep a consistent card width, even for a single match. */
.locations-archive .service-locations__grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

/* Service-page cards can expand horizontally when only 1–2 are shown. */
@container location-card (min-width: 28rem) {
  .service-locations:not(.locations-archive)[data-location-count="1"] .service-locations__card-inner,
  .service-locations:not(.locations-archive)[data-location-count="2"] .service-locations__card-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
  .service-locations:not(.locations-archive)[data-location-count="1"] .service-locations__media,
  .service-locations:not(.locations-archive)[data-location-count="2"] .service-locations__media {
    aspect-ratio: unset;
    align-self: stretch;
    min-height: 100%;
  }
  .service-locations:not(.locations-archive)[data-location-count="1"] .service-locations__body,
  .service-locations:not(.locations-archive)[data-location-count="2"] .service-locations__body {
    padding: 1.5rem 2rem;
  }
}

/* --- Single Service — Providers --- */
.service-providers {
  background-color: var(--white);
  padding-block: var(--section-space);
}
.service-providers__header {
  text-align: center;
  margin-block-end: 0;
}
.service-providers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  margin-block-start: var(--section-space);
}
.service-providers__card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background-color: var(--white);
  border-radius: 1rem;
  text-align: start;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--card-hover-duration) var(--card-hover-ease);
}
.service-providers__card:is(:hover, :focus-visible) {
  box-shadow: var(--shadow-card-hover);
}
.service-providers__card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.service-providers__card--static {
  cursor: default;
}
.service-providers__card--static:is(:hover, :focus-visible) {
  box-shadow: var(--shadow-card);
}
.service-providers__card-image {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  background-color: var(--blue);
}
.service-providers__card:nth-child(even) .service-providers__card-image {
  background-color: var(--red);
}
.service-providers__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.service-providers__card-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 1.5rem;
}
.service-providers__card-text > * {
  margin: 0;
}
.service-providers__card-name {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  transition: color 0.2s ease;
}
.service-providers__card-name:not(:last-child) {
  margin-block-end: 0.5rem;
}
.service-providers__card-location {
  font-size: var(--fs-sm);
  line-height: 1.4;
}
.service-providers__card-location:not(:last-child) {
  margin-block-end: 0.75rem;
}
.service-providers__card-cta {
  margin-block-start: auto;
  padding-block-start: 0.75rem;
  color: var(--secondary);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.service-providers__card:hover .service-providers__card-image img {
  transform: scale(1.05);
}
.service-providers__card:not(.service-providers__card--static):is(:hover, :focus-visible)
  .service-providers__card-name {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.service-providers__card:not(.service-providers__card--static):is(:hover, :focus-visible)
  .service-providers__card-cta {
  color: var(--primary);
}

@media (width >= 1200px) {
  .service-providers__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .service-providers--grid-4 .service-providers__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (width >= 1440px) {
  .service-providers__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .service-providers--grid-4 .service-providers__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (width <= 1024px) {
  .service-providers__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service-locations:not(.locations-archive)[data-location-count="2"] .service-locations__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (width <= 900px) {
  .service-providers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-locations:not(.locations-archive)[data-location-count="3"] .service-locations__grid,
  .service-locations:not(.locations-archive)[data-location-count="4"] .service-locations__grid,
  .service-locations--many:not(.locations-archive) .service-locations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (width <= 640px) {
  .service-locations__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .content-specialties .main-article-content,
  .content-services .main-article-content {
    padding-block: 2.5rem;
  }
  .service-providers__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-providers__card-text {
    padding: 1.25rem;
  }
}

/* Scope plugin overrides to the header; unlayered to match SearchWP's CSS. */
#site-search-modal .searchwp-form {
  width: 100%;
  margin: 0;
}
#site-search-modal .searchwp-form .searchwp-form-input-container {
  width: 100%;
  min-width: 0;
}
#site-search-modal .searchwp-form input[type="search"] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  margin: 0;
  padding: 1rem 1.5rem 1rem 3.5rem;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--white));
  border-radius: 9999px;
  background-color: var(--white);
  background-position: 1.25rem center;
  background-size: 22px;
  color: var(--black);
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1.5;
  box-shadow: 0 12px 36px rgb(0 0 0 / 18%);
}
#site-search-modal .searchwp-form input[type="search"]::placeholder {
  color: color-mix(in srgb, var(--black) 58%, var(--white));
  opacity: 1;
}
#site-search-modal .searchwp-form input[type="search"]:focus {
  outline: 2px solid var(--white);
  outline-offset: 4px;
  border-color: var(--primary);
}

/* SearchWP autocomplete: match the site's search controls. */
body .searchwp-live-search-results {
  min-width: 0;
  min-height: 0;
  max-width: calc(100vw - 2rem);
  max-height: min(26rem, 55dvh);
  margin-block-start: 12px;
  padding: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--primary) 15%, var(--white));
  border-radius: 20px;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 16px 48px rgb(0 0 0 / 20%);
  font-family: inherit;
  overflow: hidden;
  overscroll-behavior: contain;
}
body .searchwp-live-search-results .freeman-live-results__scroll {
  max-height: calc(min(26rem, 55dvh) - 1rem - 2px);
  padding-block-start: 0.25rem;
  padding-block-end: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--primary) var(--white);
  scrollbar-gutter: stable both-edges;
  border-radius: 12px;
}
body .searchwp-live-search-results .freeman-live-results__scroll::-webkit-scrollbar-track {
  background: var(--white);
}
body .searchwp-live-search-results .freeman-live-results__scroll::-webkit-scrollbar-thumb {
  background-color: var(--primary);
}
@media (forced-colors: active) {
  body .searchwp-live-search-results .freeman-live-results__scroll {
    scrollbar-color: auto;
  }
  body .searchwp-live-search-results .freeman-live-results__scroll::-webkit-scrollbar-track {
    background: Canvas;
  }
  body .searchwp-live-search-results .freeman-live-results__scroll::-webkit-scrollbar-thumb {
    background-color: ButtonText;
  }
}
body .searchwp-live-search-results .searchwp-live-search-result {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  transition: background-color 120ms ease;
}
body .searchwp-live-search-results .searchwp-live-search-result + .searchwp-live-search-result {
  margin-block-start: 0.25rem;
}
body .searchwp-live-search-results .searchwp-live-search-result--img {
  display: none;
}
body .searchwp-live-search-results .searchwp-live-search-result--title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}
body .searchwp-live-search-results .searchwp-live-search-result--title a {
  display: block;
  padding: 0.875rem 1rem;
  color: var(--primary);
  text-decoration: none;
  overflow-wrap: anywhere;
  border-radius: 12px;
}
body .searchwp-live-search-results .searchwp-live-search-result:is(:hover, :focus-within, .searchwp-live-search-result--focused, [aria-selected="true"]) {
  background: color-mix(in srgb, var(--primary) 8%, var(--white));
}
body .searchwp-live-search-results .searchwp-live-search-result--title a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}
body .searchwp-live-search-results .searchwp-live-search-result--desc {
  margin: -0.5rem 1.25rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
body .searchwp-live-search-results .searchwp-live-search-no-results {
  margin: 0;
  padding: 1rem;
  font-size: 1rem;
  font-style: normal;
}
body .searchwp-live-search-results .freeman-live-results__all {
  position: sticky;
  inset-block-end: 0;
  z-index: 1;
  margin-block-start: 0.5rem;
  border-top: 1px solid color-mix(in srgb, var(--primary) 15%, var(--white));
  border-radius: 0;
  background: var(--white);
}
body .searchwp-live-search-results .freeman-live-results__all:is(:hover, :focus-within, .searchwp-live-search-result--focused, [aria-selected="true"]) {
  background: var(--white);
}
body .searchwp-live-search-results .freeman-live-results__all:is(:hover, :focus-within, .searchwp-live-search-result--focused, [aria-selected="true"]) a {
  background: color-mix(in srgb, var(--primary) 8%, var(--white));
}
body .searchwp-live-search-results .freeman-live-results__all a {
  border-radius: 0 0 12px 12px;
  font-weight: 700;
}

/* --- Events (The Events Calendar) ---
 * The plugin loads only its skeleton CSS (see inc/events.php). These rules map
 * its markup onto existing patterns: search tabs, news filters, news cards and
 * pagination. `.tribe-common.tribe-events` outranks the plugin's resets. */
.content-events {
  background-color: var(--white);
}
.events-archive {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block-end: var(--section-space);
}
.events-archive .tribe-common.tribe-events {
  color: var(--black);
  font-family: var(--ff-body);
}
.events-archive .tribe-common.tribe-events .tribe-events-l-container {
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}

/* Header: view tabs, then date navigation and search. */
.events-archive .tribe-common.tribe-events .tribe-events-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.events-archive .tribe-common--breakpoint-medium.tribe-common.tribe-events :is(.tribe-events-c-events-bar, .tribe-events-c-events-bar__search-container) {
  display: contents;
}
.events-archive .tribe-common.tribe-events .tribe-events-header__messages {
  order: 3;
  flex-basis: 100%;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-events-bar__views {
  order: 0;
  flex-basis: 100%;
  border-block-end: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
}
.events-archive .tribe-common.tribe-events .tribe-events-c-top-bar {
  order: 1;
  margin: 0;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-events-bar__search {
  order: 2;
  margin-inline-start: auto;
  padding: 0;
  background: none;
}
.events-archive .tribe-common--breakpoint-medium.tribe-common.tribe-events .tribe-events-c-events-bar__search {
  flex: 0 0 auto;
  width: auto;
}
.events-archive .tribe-common--breakpoint-medium.tribe-common.tribe-events .tribe-events-header--has-event-search .tribe-events-header__top-bar {
  flex: 0 1 auto;
  width: auto;
}
.events-archive .tribe-common--breakpoint-medium.tribe-common.tribe-events .tribe-events-c-events-bar__search-form {
  width: auto;
}
.events-archive .tribe-common--breakpoint-medium.tribe-common.tribe-events .tribe-events-c-view-selector {
  width: 100%;
  justify-content: flex-start;
}

/* View tabs (same as the search results tabs). */
.events-archive .tribe-common.tribe-events .tribe-events-c-view-selector__list {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-view-selector__list-item {
  height: auto;
  margin: 0;
  padding: 0;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-view-selector__list-item::after,
.events-archive .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-icon {
  display: none;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link {
  display: block;
  margin-block-end: -1px;
  padding: 0.75rem 1rem;
  border-block-end: 3px solid transparent;
  color: var(--black);
  font-size: var(--fs-base);
  line-height: 1.3;
  text-decoration: none;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-link:is(:hover, :focus-visible) {
  color: var(--primary);
}
.events-archive .tribe-common.tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link {
  border-block-end-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-view-selector__list-item-text {
  margin: 0;
}

/* Keyword search (same controls as the news topic filter). */
.events-archive .tribe-common.tribe-events .tribe-events-c-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-search__input-group,
.events-archive .tribe-common.tribe-events .tribe-events-c-search__input-control {
  position: relative;
  margin: 0;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-search__input-control-icon-svg {
  display: none;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-search__input {
  width: 16rem;
  height: auto;
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--blue);
  border-radius: 9999px;
  background-color: var(--white);
  color: var(--black);
  font-size: var(--fs-base);
  line-height: 1.25;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-search__input::placeholder {
  color: var(--black);
  opacity: 0.7;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-search__input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-search__button {
  width: auto;
  min-height: 2.75rem;
  margin: 0;
  padding-inline: 1.5rem;
  justify-content: center;
  font-size: var(--fs-base);
  font-weight: 400;
}

/* Date navigation (same circles as pagination). */
.events-archive .tribe-common.tribe-events .tribe-events-c-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-top-bar__nav-list {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* The plugin pads each item on top of the gap, pushing the arrows apart. */
.events-archive .tribe-common.tribe-events .tribe-events-c-top-bar__nav-list-item {
  padding: 0;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-c-top-bar__nav-link, .tribe-events-c-top-bar__today-button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.5rem 0.85rem;
  border: 1px solid oklch(var(--blue-base) / 0.18);
  border-radius: 9999px;
  background-color: var(--white);
  color: var(--black);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
/* The plugin forces `display: block !important` here, so centre with line-height. */
.events-archive .tribe-common--breakpoint-medium.tribe-common.tribe-events a.tribe-events-c-top-bar__today-button {
  padding: 0 1.1rem;
  line-height: calc(2.75rem - 2px);
}
@media (hover: hover) {
  .events-archive .tribe-common.tribe-events :is(.tribe-events-c-top-bar__nav-link, .tribe-events-c-top-bar__today-button, .tribe-events-c-nav__prev, .tribe-events-c-nav__next, .tribe-events-c-nav__today):not(:disabled):is(:hover, :focus-visible) {
    border-color: oklch(var(--blue-base) / 0.35);
    background-color: var(--bg-blue);
    color: var(--white);
    box-shadow: var(--shadow-card);
  }
}
.events-archive .tribe-common.tribe-events .tribe-events-c-top-bar__nav-link:disabled {
  opacity: 0.4;
  cursor: default;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-top-bar__nav-link-icon-svg {
  display: block;
  width: 0.5rem;
  height: auto;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-c-top-bar__nav-link-icon-svg, .tribe-events-c-top-bar__datepicker-button-icon-svg) path {
  fill: currentColor;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-top-bar__datepicker {
  margin-inline-start: 0.5rem;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-top-bar__datepicker-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--black);
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-top-bar__datepicker-button:is(:hover, :focus-visible) {
  color: var(--primary);
}
.events-archive .tribe-common.tribe-events .tribe-events-c-top-bar__datepicker-button-icon-svg {
  width: 0.65rem;
  height: auto;
}

/* Date picker panel (same panel as the news topic filter). */
.events-archive .tribe-common.tribe-events .datepicker {
  padding: 1rem;
  border: 0;
  border-radius: 1rem;
  background-color: var(--white);
  box-shadow: var(--shadow);
  font-family: var(--ff-body);
}
.events-archive .tribe-common.tribe-events .datepicker :is(th, td) {
  border-radius: 9999px;
  font-size: var(--fs-sm);
}
.events-archive .tribe-common.tribe-events .datepicker :is(.day, .month, .year, .datepicker-switch, .prev, .next):hover,
.events-archive .tribe-common.tribe-events .datepicker :is(.day, .month, .year).focused {
  background-color: oklch(var(--blue-base) / 0.08);
  color: var(--primary);
}
.events-archive .tribe-common.tribe-events .datepicker :is(.day, .month, .year).active,
.events-archive .tribe-common.tribe-events .datepicker :is(.day, .month, .year).active:hover,
.events-archive .tribe-common.tribe-events .datepicker .current {
  background-color: var(--blue);
  color: var(--white);
}
.events-archive .tribe-common.tribe-events .datepicker :is(.prev, .next) path {
  fill: currentColor;
}

/* Notices such as "There are no upcoming events." (the panel itself is .empty-state) */
.events-archive .tribe-common.tribe-events .tribe-events-c-messages {
  margin-block-start: 2rem;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-messages__message {
  display: block;
  margin: 0;
  padding: 0;
  background: none;
}

/* List and day views: the news card grid, grouped by month. */
.events-archive .tribe-common.tribe-events :is(.tribe-events-calendar-list, .tribe-events-calendar-day, .tribe-events-calendar-latest-past) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-calendar-list__month-separator, .tribe-events-calendar-day__type-separator, .tribe-events-calendar-day__time-separator) {
  grid-column: 1 / -1;
  margin: 1rem 0 -0.5rem;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-calendar-list__month-separator, .tribe-events-calendar-day__type-separator, .tribe-events-calendar-day__time-separator):first-child {
  margin-block-start: 0;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-calendar-list__month-separator, .tribe-events-calendar-day__type-separator, .tribe-events-calendar-day__time-separator)::after {
  content: none;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-calendar-list__month-separator, .tribe-events-calendar-day__type-separator, .tribe-events-calendar-day__time-separator) :is(h3, time, span) {
  margin: 0;
  color: var(--black);
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.3;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-calendar-list__event-row, .tribe-events-calendar-day__event) {
  display: flex;
  margin: 0;
  padding: 0;
}
/* Day cards use our grid, not the plugin's indented timeline. */
.events-archive .tribe-common.tribe-events .tribe-events-calendar-day .tribe-events-calendar-day__event {
  min-width: 0;
  margin: 0;
  padding: 0;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-day__event::before {
  content: none;
}

.events-archive .tribe-common.tribe-events .tribe-events-calendar-latest-past {
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-latest-past__heading {
  grid-column: 1 / -1;
  margin: 0 0 -0.5rem;
  color: var(--black);
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.3;
}

/* The plugin resets every element inside .tribe-common; restore the news card. */
.event-card.news__grid-item {
  width: 100%;
}
.event-card .news__grid-item-text {
  padding: 2rem;
}
.event-card .news__grid-item-text :is(h2, h3),
.event-card .news__grid-item-text h4 {
  margin: 0 0 0.75rem;
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.33;
  text-wrap: balance;
}
.event-card .news__grid-item-excerpt {
  margin: 0 0 0.75rem;
  line-height: 1.6;
}
.event-card .news__grid-item-date {
  margin: auto 0 0;
  line-height: 1.6;
}
.event-card__venue {
  display: block;
}
.event-card .news__grid-item-image img {
  display: block;
}

/* Bottom navigation (same as pagination). */
.events-archive .tribe-common.tribe-events .tribe-events-c-nav {
  margin-block-start: clamp(2rem, 4vw, 3rem);
  padding-block-start: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid oklch(var(--blue-base) / 0.12);
}
.events-archive .tribe-common.tribe-events .tribe-events-c-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-nav__list-item {
  width: auto;
  margin: 0;
  padding: 0;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-c-nav__prev, .tribe-events-c-nav__next, .tribe-events-c-nav__today) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid oklch(var(--blue-base) / 0.18);
  border-radius: 9999px;
  background-color: var(--white);
  color: var(--black);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.events-archive .tribe-common.tribe-events :is(.tribe-events-c-nav__prev, .tribe-events-c-nav__next):disabled {
  opacity: 0.4;
  cursor: default;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-c-nav__prev-icon-svg, .tribe-events-c-nav__next-icon-svg) {
  width: 0.5rem;
  height: auto;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-c-nav__prev-icon-svg, .tribe-events-c-nav__next-icon-svg) path {
  fill: currentColor;
}

/* Subscribe link */
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown__container {
  display: flex;
  justify-content: center;
  margin-block-start: 1.5rem;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown__button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--black);
}
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown__button-text {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown__button:is(:hover, :focus-within) {
  color: var(--primary);
}
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown__button-icon {
  width: 0.6rem;
  height: auto;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown__button-icon path {
  fill: currentColor;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown__content {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  z-index: 20;
  width: 16rem;
  padding: 1rem;
  border: 0;
  border-radius: 1rem;
  background-color: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown__list-item {
  margin: 0;
  padding: 0;
  border: 0;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown__list-item-link {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 9999px;
  color: var(--black);
  font-size: var(--fs-base);
  text-decoration: none;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-subscribe-dropdown__list-item-link:is(:hover, :focus-visible) {
  background-color: oklch(var(--blue-base) / 0.08);
  color: var(--primary);
}

/* Month view */
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month {
  width: 100%;
  margin-block-start: 2rem;
  border: 1px solid oklch(var(--blue-base) / 0.12);
  border-radius: 1rem;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__header-column {
  width: auto;
  padding: 0.75rem;
  border-block-end: 1px solid oklch(var(--blue-base) / 0.12);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: start;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__header-column-title {
  color: inherit;
  font: inherit;
  text-align: inherit;
}
/* Wide screens show "Sun" rather than "S"; the full name stays for screen readers. */
.events-archive .tribe-common--breakpoint-medium.tribe-common.tribe-events .tribe-events-calendar-month__header-column-title > [aria-hidden="true"] {
  display: none;
}
.events-archive .tribe-common--breakpoint-medium.tribe-common.tribe-events .tribe-events-calendar-month__header-column::before {
  content: attr(abbr) / "";
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day {
  border-inline-end: 1px solid oklch(var(--blue-base) / 0.12);
  border-block-end: 1px solid oklch(var(--blue-base) / 0.12);
  vertical-align: top;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day:last-child {
  border-inline-end: 0;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__body tr:last-child .tribe-events-calendar-month__day {
  border-block-end: 0;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day-cell--desktop {
  min-height: 8rem;
  padding: 0.75rem;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day-date {
  margin: 0 0 0.5rem;
  padding: 0;
  color: var(--black);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__day-date {
  color: color-mix(in srgb, var(--black) 45%, transparent);
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day-date-daynum {
  display: inline-grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-cell--desktop .tribe-events-calendar-month__day-date-daynum {
  background-color: var(--blue);
  color: var(--white);
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day-date-link {
  color: inherit;
  text-decoration: none;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day-date-link:is(:hover, :focus-visible) {
  text-decoration: underline;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__calendar-event {
  margin: 0 0 0.75rem;
  padding: 0;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-calendar-month__calendar-event-featured-image-wrapper, .tribe-events-calendar-month__calendar-event-datetime-featured-icon) {
  display: none;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__calendar-event-datetime {
  color: color-mix(in srgb, var(--black) 65%, transparent);
  font-size: var(--fs-xs);
  line-height: 1.4;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__calendar-event-title {
  margin: 0.1rem 0 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-calendar-month__calendar-event-title-link, .tribe-events-calendar-month__multiday-event-hidden-link) {
  color: var(--black);
  text-decoration: none;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-calendar-month__calendar-event-title-link, .tribe-events-calendar-month__multiday-event-hidden-link):is(:hover, :focus-visible) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__multiday-event-bar {
  border-radius: 0.375rem;
  background-color: oklch(var(--blue-base) / 0.1);
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__multiday-event-bar-title {
  color: var(--black);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__more-events-link {
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* Month view on small screens: a date grid with the selected day's events below. */
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day-cell--mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--black);
  cursor: pointer;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day-cell--mobile .tribe-events-calendar-month__day-date {
  margin: 0;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day-cell--selected {
  background-color: var(--blue);
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__day-date {
  color: var(--white);
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__mobile-events-icon {
  display: block;
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  margin: 0.3rem auto 0;
  border-radius: 50%;
  background-color: var(--blue);
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__mobile-events-icon svg {
  display: none;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month__day-cell--selected .tribe-events-calendar-month__mobile-events-icon {
  background-color: var(--white);
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month-mobile-events__mobile-day {
  padding-block: 1.5rem 0;
}
.events-archive .tribe-common.tribe-events .tribe-events-c-day-marker__date {
  font-size: var(--fs-base);
  font-weight: 600;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event {
  padding-block: 0.9rem;
  border-block-end: 1px solid oklch(var(--blue-base) / 0.12);
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-datetime {
  color: color-mix(in srgb, var(--black) 65%, transparent);
  font-size: var(--fs-sm);
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title {
  margin: 0.2rem 0 0;
  font-size: var(--fs-base);
  font-weight: 600;
}
.events-archive .tribe-common.tribe-events .tribe-events-calendar-month-mobile-events__mobile-event-title-link {
  color: var(--black);
  text-decoration: none;
}

/* Month view hover preview (same panel as the news topic filter). */
.tribe-events-tooltip-theme .tooltipster-box {
  padding: 1rem;
  border: 0;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
  font-family: var(--ff-body);
}
.tribe-events-tooltip-theme .tooltipster-content {
  max-height: none;
  padding: 0;
  overflow: visible;
  color: var(--black);
}
.tribe-events-tooltip-theme .tooltipster-arrow {
  display: none;
}
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-featured-image-wrapper {
  margin-block-end: 0.75rem;
  overflow: hidden;
  border-radius: 0.75rem;
}
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-datetime {
  font-size: var(--fs-xs);
  font-weight: 600;
}
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-title {
  margin: 0.25rem 0 0.5rem;
  font-size: var(--fs-base);
  font-weight: 600;
}
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-title-link {
  color: var(--black);
  text-decoration: none;
}
.tribe-events-tooltip-theme .tribe-events-calendar-month__calendar-event-tooltip-description {
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.tribe-events-tooltip-theme .tribe-events-c-small-cta {
  display: none;
}

/* Small screens: the plugin collapses search and views into icon buttons. */
.events-archive .tribe-common.tribe-events:not(.tribe-common--breakpoint-medium) .tribe-events-c-events-bar {
  order: 2;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.events-archive .tribe-common.tribe-events:not(.tribe-common--breakpoint-medium) .tribe-events-c-events-bar__views {
  flex-basis: auto;
  border: 0;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-c-events-bar__search-button, .tribe-events-c-view-selector__button) {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid oklch(var(--blue-base) / 0.18);
  border-radius: 9999px;
  background-color: var(--white);
  color: var(--black);
  cursor: pointer;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-c-events-bar__search-button, .tribe-events-c-view-selector__button)::before,
.events-archive .tribe-common.tribe-events .tribe-events-c-view-selector__button-icon-caret-svg {
  display: none;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-c-events-bar__search-button-icon-svg, .tribe-events-c-view-selector__button-icon-svg) {
  width: 1.1rem;
  height: 1.1rem;
}
.events-archive .tribe-common.tribe-events :is(.tribe-events-c-events-bar__search-button-icon-svg, .tribe-events-c-view-selector__button-icon-svg) path {
  fill: currentColor;
}
.events-archive .tribe-common.tribe-events:not(.tribe-common--breakpoint-medium) :is(.tribe-events-c-events-bar__search-container, .tribe-events-c-view-selector__content) {
  padding: 1rem;
  border: 0;
  border-radius: 1rem;
  background-color: var(--white);
  box-shadow: var(--shadow);
}
.events-archive .tribe-common.tribe-events:not(.tribe-common--breakpoint-medium) .tribe-events-c-view-selector__list {
  flex-direction: column;
}
.events-archive .tribe-common.tribe-events:not(.tribe-common--breakpoint-medium) .tribe-events-c-search__input {
  width: 100%;
}
.events-archive .tribe-common.tribe-events:not(.tribe-common--breakpoint-medium) .tribe-events-c-search__input-group {
  flex: 1;
}

@media (width <= 1024px) {
  .events-archive .tribe-common.tribe-events :is(.tribe-events-calendar-list, .tribe-events-calendar-day, .tribe-events-calendar-latest-past) {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width <= 640px) {
  .events-archive .tribe-common.tribe-events :is(.tribe-events-calendar-list, .tribe-events-calendar-day, .tribe-events-calendar-latest-past) {
    grid-template-columns: 1fr;
  }
  .event-card .news__grid-item-text {
    padding: 1.5rem;
  }
}

/* Opt-in image enlargement, shared by singular templates. */
.image-zoom {
  display: block;
  position: relative;
  cursor: url('../images/icons/zoom-in-cursor.svg') 11 11, zoom-in;
}
.image-lightbox-open {
  overflow: hidden;
}
.image-lightbox {
  --lightbox-gutter: clamp(1rem, 4vw, 4rem);
  inset: 0;
  margin: auto;
  padding: 0;
  border: 0;
  width: fit-content;
  max-width: min(90rem, calc(100vw - 2 * var(--lightbox-gutter) - 7rem));
  max-height: calc(100dvh - 2 * var(--lightbox-gutter));
  background: transparent;
  overflow: visible;
}
.image-lightbox::backdrop {
  background: oklch(var(--dark-blue-base) / 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.image-lightbox > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 2 * var(--lightbox-gutter));
  object-fit: contain;
  border-radius: 0.35rem;
}
.image-lightbox__close {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0 auto auto calc(100% + 0.75rem);
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 50%;
  background: rgb(255 255 255 / 6%);
  color: #fff;
  cursor: pointer;
}
.image-lightbox__close:is(:hover, :focus-visible) {
  background: rgb(255 255 255 / 16%);
  border-color: rgb(255 255 255 / 70%);
}
.image-lightbox__close:focus-visible,
.image-zoom:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 7px #12343e;
}

/* --- Single event ---
 * Built on the single news layout; only the date tile intro and the venue
 * block below are event-specific. Sidebar, navigation and section type are
 * inherited from .news-sidebar, .single-news and .staff-practice. */
.content-single-event .single-news__article {
  container: event-content / inline-size;
  min-width: 0;
}
.content-single-event .entry-content > :first-child {
  margin-block-start: 0;
}
.event-intro {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: var(--max-w-text);
  margin-block-end: 2rem;
  padding-block-end: 1.5rem;
  border-bottom: 1px solid oklch(var(--blue-base) / 0.12);
}
.date-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 4.5rem;
  min-height: 5rem;
  gap: 0.25rem;
  padding: 0.65rem;
  border: 1px solid oklch(var(--blue-base) / 0.18);
  border-radius: 1rem;
  background-color: var(--white);
}
.date-tile__month {
  color: var(--primary);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
}
.date-tile__day {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 500;
  line-height: 1;
}
.event-intro--past .date-tile {
  opacity: 0.55;
}
.event-intro__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.5rem;
}
.event-intro__text p {
  margin: 0;
}
.event-intro__date {
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.4;
  text-wrap: pretty;
}
.event-intro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.5;
}
.event-intro__notice,
.event-intro__offering {
  font-size: var(--fs-sm);
  font-weight: 500;
}
.event-intro__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.event-venue {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.event-venue__details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1.25rem;
}
.event-venue__contacts {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.event-venue__map {
  margin-block-start: 0;
  aspect-ratio: 4 / 3;
}
@container event-content (width >= 42rem) {
  .event-venue:has(.event-venue__map) {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }
}
@container event-content (width < 28rem) {
  .event-intro {
    gap: 1rem;
  }
  .date-tile {
    width: 4rem;
    min-height: 4.5rem;
  }
  .event-intro__meta {
    flex-direction: column;
  }
}

/* Classes, groups & annual events: directory and single pages. */
.offerings-shell {
  max-inline-size: var(--max-w-content);
  margin-inline: auto;
  padding: 0 var(--gutter) var(--section-space);
  container: offerings / inline-size;
}
.offerings-grid { display: grid; gap: var(--gutter); }

/* Directory: type tabs, styled like the events calendar's view tabs. */
.offerings-toolbar {
  margin-block-end: 2.5rem;
  border-block-end: 1px solid color-mix(in srgb, var(--black) 14%, transparent);
}
.offerings-tabs { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.offerings-tabs__list { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.offerings-tabs__link {
  display: block;
  margin-block-end: -1px;
  padding: 0.75rem 1rem;
  border-block-end: 3px solid transparent;
  color: var(--black);
  font-size: var(--fs-base);
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease;
}
.offerings-tabs__link:is(:hover, :focus-visible) { color: var(--primary); }
.offerings-tabs__link.is-active { border-block-end-color: var(--primary); color: var(--primary); font-weight: 600; }
.offerings-group { margin-block: 0 clamp(2.5rem, 5vw, 4rem); }
.offerings-group__heading {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.2;
}
.offerings-group__count { color: color-mix(in srgb, var(--black) 55%, transparent); font-size: var(--fs-base); font-weight: 400; }
/* Reuse the same cards as the event calendar and news pages. */
.offering-card { min-inline-size: 0; }
/* Every card gets an image (the news fallback when none is set), so heights match. */
.offering-card__image img { display: block; }
.offering-card__summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-block-end: 1rem;
  line-height: 1.6;
}
.offering-card__next { display: flex; flex-direction: column; gap: 0.15rem; margin-block: auto 1rem; font-size: var(--fs-sm); line-height: 1.5; }
.offering-card__next-label { color: var(--primary); font-size: var(--fs-xs); font-weight: 700; }
.offering-card__link { color: var(--primary); font-weight: 700; }
.offerings-notice { padding: 1.5rem; border-inline-start: 4px solid var(--primary); background: var(--light-blue); }
.offerings-notice p { margin-block-end: 0; }
/* Single page: news layout; sessions are date-tile rows like the event intro. */
.offering-sessions__heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.content-single-offering .single-news__article { min-width: 0; }
.content-single-offering .entry-content > :first-child { margin-block-start: 0; }
.content-single-offering .offerings-notice { max-width: var(--max-w-text); margin-block-end: 2rem; }
.offering-sessions { margin-block-start: 2.5rem; padding-block-start: 2rem; border-block-start: 1px solid oklch(var(--blue-base) / 0.12); }
.offering-sessions__heading { align-items: center; margin-block-end: 1.25rem; }
.offering-sessions__heading .staff-practice__heading { margin: 0; }
.offering-sessions__list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; max-width: var(--max-w-text); }
.offering-session { display: flex; align-items: flex-start; gap: 1.5rem; padding-block: 1.25rem; border-block-end: 1px solid oklch(var(--blue-base) / 0.12); }
.offering-session:first-child { padding-block-start: 0; }
.offering-session:last-child { padding-block-end: 0; border-block-end: 0; }
.offering-session__text { display: flex; flex-direction: column; min-width: 0; gap: 0.25rem; }
.offering-session__text p { margin: 0; }
.offering-session__title { margin: 0; font-size: var(--fs-md); font-weight: 600; line-height: 1.4; }
.offering-session__title a { color: var(--black); text-decoration: none; }
.offering-session__title a:hover, .offering-session__title a:focus-visible { color: var(--primary); text-decoration: underline; text-underline-offset: 0.15em; }
.offering-session__date { font-size: var(--fs-sm); font-weight: 600; line-height: 1.5; }
.offering-session__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: var(--fs-sm); line-height: 1.5; }
.offering-sessions__empty { margin: 0; font-size: var(--fs-sm); }
.news-sidebar__text { margin: 0; font-size: var(--fs-sm); line-height: 1.5; }
@container offerings (width >= 36rem) {
  .offerings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container offerings (width >= 56rem) {
  .offerings-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@container offerings (width < 36rem) {
  .offering-card__body { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .offering-card, .offering-card__image img { transition: none; }
}

/* Empty state: a message and one way forward (directory and calendar). */
/* div.: outranks the events plugin's `.tribe-common div` reset. */
div.empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 2rem;
  border: 1px solid oklch(var(--blue-base) / 0.12);
  border-radius: 1rem;
}
.empty-state .empty-state__title {
  margin: 0;
  color: var(--black);
  font-family: var(--ff-heading);
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: 1.33;
  text-wrap: balance;
}
.empty-state .empty-state__text {
  max-inline-size: var(--max-w-text);
  margin: 0;
  line-height: 1.6;
}
.empty-state .empty-state__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-block-start: 0.5rem;
  padding: 0.6rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.3;
}

/* Shared directory region chooser. */
.featured-banner:has(+ .content-page--location-regions) .featured-banner__wrapper { margin-block-end: clamp(1.5rem, 3vw, 2rem); }
.location-regions { padding-block: 0 var(--section-space); }
.location-regions__inner { max-width: var(--max-w-content); padding-inline: var(--gutter); margin-inline: auto; container: location-regions / inline-size; }
.location-regions__grid { display: grid; gap: 1.5rem; }
.location-regions__card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid color-mix(in srgb, var(--blue) 20%, transparent); border-radius: 1rem; background: var(--white); color: var(--black); text-decoration: none; }
.location-regions__card > img { width: 100%; height: 14rem; object-fit: contain; padding: 1.25rem 2rem 0; }
.location-regions__copy { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.5rem; flex: 1; }
.location-regions__copy h2 { margin: 0; font-size: clamp(1.35rem, 2.8cqi, 1.75rem); line-height: 1.3; text-wrap: balance; color: var(--black); }
.location-regions__continue { display: flex; justify-content: space-between; gap: 1rem; margin-block-start: auto; padding-block-start: 1rem; color: var(--blue); font-weight: 600; }
.location-regions__card:is(:hover, :focus-visible) { box-shadow: var(--shadow-card-hover); border-color: var(--blue); }
.location-regions__card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
@container location-regions (width >= 38rem) { .location-regions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* NWA headshots stay compact in the provider directory. */
.service-providers--nwa .service-providers__inner {
  container: nwa-providers / inline-size;
}
.service-providers--nwa .service-providers__grid {
  grid-template-columns: minmax(0, 1fr);
}
@container nwa-providers (width >= 32rem) {
  .service-providers--nwa .service-providers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container nwa-providers (width >= 48rem) {
  .service-providers--nwa .service-providers__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@container nwa-providers (width >= 64rem) {
  .service-providers--nwa .service-providers__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.directory-region-preference {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: fit-content;
  margin: 1.5rem auto 0;
  padding: .75rem 1rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  cursor: pointer;
}
.directory-region-preference input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: var(--blue);
}
.directory-region-preference input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.directory-region-reset {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  margin-block-start: 1.25rem;
  padding: 1.25rem .9rem .75rem;
  border-top: 1px solid color-mix(in srgb, var(--blue) 15%, transparent);
  border-radius: 0 0 .5rem .5rem;
  color: oklch(var(--black-base) / 0.65);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: .2em;
}
.directory-region-reset:is(:hover, :focus-visible) {
  background: transparent;
  color: var(--blue);
  text-decoration: underline;
}

/* Rich text in structured location details. */
.location-details__rich-text {
  white-space: normal;
}
.location-details__rich-text > :first-child {
  margin-top: 0;
}
.location-details__rich-text > :last-child {
  margin-bottom: 0;
}
.location-details__rich-text :is(h2, h3, h4, h5, h6) {
  font-size: var(--fs-md);
  line-height: 1.3;
  margin-block: 1em 0.5em;
}
.location-details__rich-text p {
  margin-block: 0 0.75em;
}

.location-details .location-details__button {
  font-size: var(--fs-sm);
  padding: 0.3rem 0.8rem;
  margin-block-start: 0.5rem;
}
