/*
Theme Name: Luxury Rehabs
Theme URI:   https://luxury-rehabs.com
Author:      ClinicalRecovery
Author URI:  https://luxury-rehabs.com
Description: A premium luxury rehab & mental health clinic directory theme. Editorial, elegant, conversion-focused.
Version:     1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clinicalrecovery
Tags:        custom-post-types, custom-menu, full-site-editing, block-patterns, rtl-language-support
*/

/* ============================================================
   CSS Custom Properties — Design Tokens
   ============================================================ */
:root {
  /* Color Palette */
  --bg:           #FAF7F2;
  --bg-alt:       #F2EDE3;
  --bg-dark:      #1A2A2E;
  --bg-charcoal:  #0F1B1E;
  --gold:         #B8945A;
  --gold-soft:    #D4B98C;
  --gold-pale:    #EDD9B4;
  --ink:          #1F2A2E;
  --ink-2:        #4A5560;
  --ink-3:        #8A8378;
  --white:        #FFFFFF;
  --line:         rgba(31, 42, 46, 0.10);
  --line-soft:    rgba(31, 42, 46, 0.06);
  --line-white:   rgba(255, 255, 255, 0.12);
  --overlay-dark: rgba(15, 27, 30, 0.75);

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Fluid Type Scale — clamp(min, preferred, max) */
  --text-xs:   clamp(0.688rem, 0.65rem + 0.19vw,  0.75rem);
  --text-sm:   clamp(0.813rem, 0.77rem + 0.22vw,  0.875rem);
  --text-base: clamp(0.938rem, 0.90rem + 0.19vw,  1rem);
  --text-md:   clamp(1rem,     0.95rem + 0.25vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 1.05rem + 0.38vw,  1.25rem);
  --text-xl:   clamp(1.25rem,  1.15rem + 0.5vw,   1.5rem);
  --text-2xl:  clamp(1.5rem,   1.35rem + 0.75vw,  2rem);
  --text-3xl:  clamp(2rem,     1.7rem + 1.5vw,    3rem);
  --text-4xl:  clamp(2.5rem,   2rem + 2.5vw,      4.5rem);
  --text-5xl:  clamp(3rem,     2.5rem + 2.5vw,    5.5rem);

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-28: 112px;

  /* Layout */
  --container-max:      1280px;
  --container-wide-max: 1440px;
  --container-pad:      clamp(20px, 4vw, 40px);
  --nav-height:         76px;

  /* Radius */
  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 8px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(31, 42, 46, 0.08);
  --shadow:    0 4px 16px rgba(31, 42, 46, 0.10);
  --shadow-lg: 0 12px 40px rgba(31, 42, 46, 0.15);
  --shadow-xl: 0 24px 64px rgba(31, 42, 46, 0.20);

  /* Transitions */
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in:   cubic-bezier(0.4, 0.0, 1, 1);
  --duration:  0.3s;
  --duration-slow: 0.5s;

  /* ── Aliases used by component CSS files ── */

  /* Typography aliases */
  --ff-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ff-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transition shorthand aliases */
  --t-fast: 0.18s ease;
  --t-med:  0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Border aliases */
  --border:       rgba(31, 42, 46, 0.12);
  --border-light: rgba(31, 42, 46, 0.06);
  --border-hover: rgba(31, 42, 46, 0.22);

  /* Text aliases */
  --text-muted: #8A8378;

  /* Radius aliases */
  --radius-md: 6px;

  /* Gold aliases */
  --gold-dark:  #8a6d3a;
  --gold-light: #f5ede0;

  /* Shadow aliases */
  --shadow-card-hover: 0 16px 40px rgba(0,0,0,.10);

  /* Z-index scale */
  --z-sticky:   10;
  --z-header:   100;
  --z-dropdown: 200;
  --z-overlay:  300;
  --z-toast:    400;

  /* Layout aliases */
  --header-height: 72px;
  --page-padding: clamp(20px, 4vw, 40px);

  /* Category accent (used in cards) */
  --cat-accent: var(--gold);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}


h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.archive-header__title{
  padding: 15px;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container-wide {
  max-width: var(--container-wide-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section-pad {
  padding-block: clamp(64px, 8vw, 120px);
}

/* ============================================================
   Typography Utilities
   ============================================================ */
.serif { font-family: var(--serif); }
.sans  { font-family: var(--sans);  }

.text-gold    { color: var(--gold); }
.text-ink-2   { color: var(--ink-2); }
.text-ink-3   { color: var(--ink-3); }
.text-white   { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--serif);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-sub {
  font-size: var(--text-md);
  color: var(--ink-2);
  line-height: 1.75;
  font-weight: 300;
  max-width: 680px;
}

/* ============================================================
   Button System
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.clinic-sidebar__cta .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.clinic-section p {
    padding-bottom: 30px;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-lg {
  padding: 17px 36px;
  font-size: var(--text-sm);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 10px;
}

/* ============================================================
   Accessibility
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 9999;
  background: var(--gold);
  color: var(--white);
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  font-size: var(--text-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--space-4);
}

/* ============================================================
   Utility Classes
   ============================================================ */
.hidden   { display: none !important; }
.flex     { display: flex; }
.grid     { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/* Aspect Ratios */
.aspect-16-9  { aspect-ratio: 16 / 9; }
.aspect-4-3   { aspect-ratio: 4 / 3; }
.aspect-3-2   { aspect-ratio: 3 / 2; }
.aspect-1-1   { aspect-ratio: 1 / 1; }
.aspect-clinic { aspect-ratio: 16 / 10; }

/* Object Fit */
.cover  { object-fit: cover; width: 100%; height: 100%; }
.contain { object-fit: contain; width: 100%; height: 100%; }

/* Image Overlays */
.img-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, var(--overlay-dark) 100%);
}

/* ============================================================
   Animation Classes
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.65s var(--ease-out) both;
}

.animate-fade-in {
  animation: fadeIn 0.5s var(--ease-out) both;
}

/* Stagger delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Intersection observer driven entrance */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.will-reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Skeleton / Loading States
   ============================================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-alt) 25%,
    var(--bg) 50%,
    var(--bg-alt) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ============================================================
   Responsive Breakpoints (mobile-first)
   ============================================================ */
/* sm: 640px | md: 768px | lg: 1024px | xl: 1280px | 2xl: 1440px */

/* ============================================================
   Section Headers (shared across template parts)
   ============================================================ */
.section-header {
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-header--center {
  text-align: center;
}
.section-header--center .section-sub {
  margin-inline: auto;
}
.section-header__copy { flex: 1; }
.section-header__action { flex-shrink: 0; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.75;
  font-weight: 300;
  max-width: 640px;
}

/* ── section padding utility ── */
section.section, .section { padding-block: clamp(64px, 8vw, 110px); }

/* ============================================================
   Button Ghost (used in section headers)
   ============================================================ */
.btn--ghost,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.btn--ghost:hover,
.btn-ghost:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.btn--ghost .ti,
.btn-ghost .ti {
  font-size: 1rem;
  transition: transform var(--t-fast);
}
.btn--ghost:hover .ti,
.btn-ghost:hover .ti {
  transform: translateX(3px);
}

/* ============================================================
   CRT Container alias (used by block renders)
   ============================================================ */
.crt-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.crt-container--narrow {
  max-width: 860px;
}

/* ============================================================
   Footer Styles
   ============================================================ */
.site-footer {
  background: #0A1416;
  color: rgba(255,255,255,.65);
}

/* ── Footer CTA Strip ─────────────────────────────────────── */
.footer-cta-strip {
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 3rem 0;
}
.footer-cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-cta-strip__text h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-cta-strip__text p {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
}
.footer-cta-strip__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Footer Main ─────────────────────────────────────────── */
.footer-main {
  padding: 5rem 0 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 3.5rem;
}

/* ── Footer Brand Column ─────────────────────────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-logo {
  font-family: var(--ff-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  display: block;
}
.footer-brand__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-social__link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  font-size: 1.0625rem;
}
.footer-social__link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 2rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,.65);
  letter-spacing: 0.02em;
}
.trust-badge .ti { color: var(--gold-soft); }

/* ── Footer Nav Columns ──────────────────────────────────── */
.footer-col h3,
.footer-col__heading {
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav__list li {
  margin-bottom: 0.75rem;
}
.footer-nav__list a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--t-fast);
  line-height: 1.4;
}
.footer-nav__list a:hover {
  color: var(--gold-soft);
}

/* ── Footer Bottom ───────────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 2rem 0;
}
.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-bottom__copy {
  font-size: 0.875rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}
.footer-bottom__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom__links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--t-fast);
}
.footer-bottom__links a:hover { color: var(--gold-soft); }
.footer-bottom__disclaimer {
  width: 100%;
  font-size: 0.75rem;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* ── Mobile CTA Bar ──────────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-cta-bar__call,
.mobile-cta-bar__consult {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  padding: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--t-fast);
}
.mobile-cta-bar__call {
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.15);
}
.mobile-cta-bar__call:hover { background: rgba(255,255,255,.08); }
.mobile-cta-bar__consult {
  background: var(--gold);
  color: #fff;
}
.mobile-cta-bar__consult:hover { background: var(--gold-dark); }

/* ── Footer Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-cta-strip__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-cta-strip__actions {
    justify-content: center;
  }
  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom__links {
    justify-content: center;
  }
  .mobile-cta-bar {
    display: flex;
  }
}

/* ============================================================
   Featured Clinics Section — Center Card (Design exact match)
   ============================================================ */
.featured-clinics {
  background: var(--bg);
}
.featured-clinics__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
}
/* The large featured card takes full left column */
.featured-clinics__grid .clinic-card--large {
  display: grid;
  grid-template-columns: 1fr;
  grid-row: 1 / 3;
  border-radius: 0;
  border: none;
  border-right: 1px solid var(--line);
}
.featured-clinics__grid .clinic-card--large .clinic-card__image-wrap {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}
.featured-clinics__grid .clinic-card--large .clinic-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.featured-clinics__grid .clinic-card--large .clinic-card__img--placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-charcoal));
}
.featured-clinics__grid .clinic-card--large .clinic-card__info {
  padding: 3.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
/* Small cards stack on the right */
.featured-clinics__grid .clinic-card--small {
  display: flex;
  flex-direction: row;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  min-height: 200px;
}
.featured-clinics__grid .clinic-card--small:last-child {
  border-bottom: none;
}
.featured-clinics__grid .clinic-card--small .clinic-card__image-wrap {
  width: 180px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.featured-clinics__grid .clinic-card--small .clinic-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.featured-clinics__grid .clinic-card--small .clinic-card__img--placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-dark), #2C3F44);
}
.featured-clinics__grid .clinic-card--small .clinic-card__info {
  flex: 1;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Shared card info styles for featured grid */
.featured-clinics__grid .clinic-card__location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.featured-clinics__grid .clinic-card--large .clinic-card__title {
  font-family: var(--ff-serif);
  font-size: 2.625rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1.125rem;
  letter-spacing: -0.02em;
}
.featured-clinics__grid .clinic-card--small .clinic-card__title {
  font-family: var(--ff-serif);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.featured-clinics__grid .clinic-card__title a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--t-fast);
}
.featured-clinics__grid .clinic-card__title a:hover { color: var(--gold); }
.featured-clinics__grid .clinic-card__slogan {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.featured-clinics__grid .clinic-card--small .clinic-card__slogan {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}
.featured-clinics__grid .clinic-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.featured-clinics__grid .clinic-card--small .clinic-card__footer {
  padding-top: 0.75rem;
  margin-bottom: 1rem;
}
.featured-clinics__grid .clinic-card__cta {
  align-self: flex-start;
}
/* Badges overlay on image */
.clinic-card__badges {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  z-index: 2;
}
.badge {
  display: inline-block;
  padding: 0.3125rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  background: rgba(15,27,30,.75);
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
}
.badge--featured {
  background: var(--gold);
  color: #fff;
}
.badge--luxury {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  background: linear-gradient(135deg, #1a1206 0%, #2e1f08 100%);
  color: var(--gold-soft);
  border: 1px solid rgba(184,148,90,.45);
  box-shadow: 0 0 8px rgba(184,148,90,.15);
}
.badge--luxury .ti {
  font-size: .85em;
}
/* Overlay on card image */
.clinic-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,27,30,.5) 100%);
  pointer-events: none;
}
/* Favorite button */
.clinic-card__fav {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.0625rem;
  transition: background var(--t-fast);
  z-index: 2;
}
.clinic-card__fav:hover {
  background: rgba(184,148,90,.5);
}
.clinic-card__fav.is-active {
  background: var(--gold);
  border-color: var(--gold);
}

/* ── Featured Clinics Responsive ──────────────────────────── */
@media (max-width: 900px) {
  .featured-clinics__grid {
    grid-template-columns: 1fr;
  }
  .featured-clinics__grid .clinic-card--large {
    border-right: none;
    border-bottom: 1px solid var(--line);
    grid-row: auto;
  }
  .featured-clinics__grid .clinic-card--large .clinic-card__image-wrap {
    min-height: 320px;
  }
  .featured-clinics__grid .clinic-card--large .clinic-card__info {
    padding: 2rem;
  }
  .featured-clinics__grid .clinic-card--large .clinic-card__title {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .featured-clinics__grid .clinic-card--small {
    flex-direction: column;
  }
  .featured-clinics__grid .clinic-card--small .clinic-card__image-wrap {
    width: 100%;
    height: 160px;
  }
}

/* ============================================================
   Section Globals (matches design .section-head, .section-eyebrow etc)
   ============================================================ */
.section-pad { padding: clamp(4rem, 8vw, 7rem) 0; }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  padding-top: 30px;
}
.section-head--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow,
.section-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.125rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gold);
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub {
  font-size: clamp(1rem, 1.5vw, 1.0625rem);
  color: var(--ink-2);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================================
   Featured Center Section
   ============================================================ */
.featured-center {
  background: var(--bg);
}
.fc-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.fc-img {
  position: relative;
  min-height: 540px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-dark);
}
.fc-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--gold);
  color: #fff;
  padding: 8px 18px;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}
.fc-rank {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(15,27,30,.85);
  color: var(--gold);
  padding: 12px 20px;
  z-index: 2;
  text-align: center;
  backdrop-filter: blur(8px);
}
.fc-rank__num {
  font-family: var(--ff-serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  display: block;
}
.fc-rank__lbl {
  font-size: 0.5625rem;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  display: block;
}
.fc-info {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fc-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.fc-meta__stars { color: var(--gold); }
.fc-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.125rem;
  letter-spacing: -0.02em;
}
.fc-tagline {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.fc-desc {
  color: var(--ink-2);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  line-height: 1.75;
}
.fc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fc-stat__v {
  font-family: var(--ff-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.fc-stat__v small { font-size: 0.875rem; color: var(--ink-3); margin-left: 2px; }
.fc-stat__l {
  font-size: 0.6875rem;
  color: var(--ink-3);
  letter-spacing: 0.075em;
  text-transform: uppercase;
}
.fc-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* FC responsive */
@media (max-width: 860px) {
  .fc-card { grid-template-columns: 1fr; }
  .fc-img  { min-height: 300px; }
  .fc-info { padding: 2rem; }
}

/* ============================================================
   Global Destinations Section
   ============================================================ */
.destinations { background: var(--bg-alt); }

.dest-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}
.dest-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--ink);
  text-decoration: none;
  display: block;
}
.dest-card:nth-child(1) { grid-row: 1 / 3; }
.dest-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.dest-card:hover .dest-bg { transform: scale(1.05); }
.dest-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,27,30,0.85) 100%);
  pointer-events: none;
}
.dest-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
  color: #fff;
}
.dest-info .tag {
  font-size: 0.6875rem;
  letter-spacing: 0.125em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 8px;
  display: block;
}
.dest-info h4 {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.1;
  color: #fff;
}
.dest-card:nth-child(1) .dest-info h4 { font-size: 2.75rem; }
.dest-info .count {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.8);
  display: block;
}
.dest-info .arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #fff;
}
.dest-card:hover .arrow {
  background: var(--gold);
  border-color: var(--gold);
}
.dest-info .arrow i { font-size: 1.125rem; }

@media (max-width: 900px) {
  .dest-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 220px);
  }
  .dest-card:nth-child(1) { grid-row: auto; grid-column: 1 / 3; }
}
@media (max-width: 560px) {
  .dest-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }
  .dest-card:nth-child(1) { grid-column: auto; }
}

/* ============================================================
   Editorially Ranked Section (dark bg, 3-col cards)
   ============================================================ */
.ranked {
  background: var(--bg-dark);
  color: #fff;
}
.ranked .section-eyebrow {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}
.ranked .section-title { color: #fff; }
.ranked .section-title em { color: var(--gold-soft); }
.ranked .section-sub { color: rgba(255,255,255,.7); }

.center-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 3.5rem;
}
.center-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
  cursor: pointer;
}
.center-card:hover {
  background: rgba(255,255,255,.07);
  border-color: var(--gold-soft);
  transform: translateY(-6px);
}
.center-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--bg-charcoal);
  overflow: hidden;
}
.center-img__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.center-rank-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  z-index: 2;
}
.center-fav {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  transition: background var(--t-fast);
  z-index: 2;
}
.center-fav:hover { background: rgba(184,148,90,.6); }
.center-body { padding: 28px; }
.center-body .loc {
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.center-body h4 {
  font-family: var(--ff-serif);
  font-size: 1.625rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.center-body .rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}
.center-body .rating .stars {
  color: var(--gold);
  font-size: 0.875rem;
  letter-spacing: 1px;
}
.center-body .rating .num {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.7);
}
.center-body p {
  font-size: 0.875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.center-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}
.center-tag {
  font-size: 0.6875rem;
  padding: 5px 12px;
  background: rgba(184,148,90,.15);
  color: var(--gold-soft);
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.center-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.center-price .l {
  font-size: 0.6875rem;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.063em;
  text-transform: uppercase;
  display: block;
}
.center-price .v {
  font-family: var(--ff-serif);
  font-size: 1.375rem;
  color: var(--gold-soft);
  font-weight: 500;
}
.center-price .v small { font-size: 0.75rem; color: rgba(255,255,255,.6); }
.view-link {
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color var(--t-fast);
}
.view-link:hover { color: var(--gold); }
.view-link i { transition: transform 0.3s; }
.view-link:hover i { transform: translateX(4px); }

.ranked-cta { text-align: center; }

@media (max-width: 900px) {
  .center-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .center-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Taxonomy: listing_categories — full editorial layout
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.alc-hero {
  padding: 80px 0 60px;
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
}
.alc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15,27,30,.92) 0%, rgba(26,42,46,.78) 60%, rgba(26,42,46,.6) 100%);
}
.alc-hero .container { position: relative; z-index: 1; }
.alc-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 24px;
}
.alc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(184,148,90,.15);
  border: 1px solid rgba(184,148,90,.3);
  color: var(--gold-soft);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.alc-hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: #fff;
}
.alc-hero h1 em { font-style: italic; color: var(--gold-soft); font-weight: 500; }
.alc-hero p.lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  font-weight: 300;
  max-width: 600px;
}
.alc-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.alc-stat .v {
  font-family: var(--ff-serif);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 8px;
}
.alc-stat .l {
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

/* Contact card */
.alc-contact-card {
  background: rgba(255,255,255,.98);
  color: var(--ink);
  padding: 36px 32px;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.alc-contact-card .card-eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.alc-contact-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}
.alc-contact-card p {
  font-size: 0.875rem;
  color: var(--ink-2);
  margin-bottom: 24px;
  line-height: 1.65;
}
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.063em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
  font-weight: 600;
}
.form-row input,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.875rem;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--ff-sans);
  color: var(--ink);
  border-radius: 2px;
  outline: none;
  transition: border-color var(--t-fast);
  box-sizing: border-box;
}
.form-row input:focus,
.form-row select:focus { border-color: var(--gold); }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--ink);
  color: #fff;
  border: none;
  font-size: 0.8125rem;
  letter-spacing: 0.063em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
  transition: background var(--t-fast);
  font-family: var(--ff-sans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover { background: var(--gold); }
.alc-contact-card .privacy {
  font-size: 0.6875rem;
  color: var(--ink-3);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.alc-contact-card .privacy i { color: var(--gold); }

/* ── Executive Summary ────────────────────────────────────── */
.exec-summary {
  padding: 80px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.exec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.exec-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.19em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold);
}
.exec-summary h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--ink);
}
.exec-summary h2 em { font-style: italic; color: var(--gold); }
.exec-summary p {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.8;
  margin-bottom: 18px;
}
.exec-key-points {
  background: #fff;
  padding: 32px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}
.exec-key-points h4,
.exec-key-points .exec-key-points-heading {
  font-family: var(--ff-serif);
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--ink);
}
.exec-key-points ul { list-style: none; }
.exec-key-points li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.exec-key-points li:last-child { border-bottom: none; }
.exec-key-points li i {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--bg-alt);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.exec-key-points li strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 2px; }
.exec-key-points li span { color: var(--ink-2); }


/* ── Toolbar ─────────────────────────────────────────────── */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.toolbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.toolbar-info {
  font-size: 0.875rem;
  color: var(--ink-2);
}
.toolbar-info strong { color: var(--ink); font-weight: 600; }
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-pill {
  padding: 6px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 24px;
  font-family: var(--ff-sans);
}
.filter-pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-pill i { font-size: 0.75rem; }
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sort-dropdown {
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--ff-sans);
  font-size: 0.8125rem;
  color: var(--ink);
  cursor: pointer;
  border-radius: 2px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}
.sort-dropdown:focus { outline: 1px solid var(--gold); }
.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.view-toggle button {
  width: 38px;
  height: 38px;
  background: var(--bg);
  border: none;
  cursor: pointer;
  color: var(--ink-3);
  font-size: 1rem;
  transition: all 0.2s;
}
.view-toggle button.active { background: var(--ink); color: #fff; }
.view-toggle button:hover:not(.active) { background: var(--bg-alt); color: var(--ink); }

/* Listing layout: sidebar + main */
.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.filter-sidebar {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  position: sticky;
  top: 92px;
}
.filter-sidebar h4,
.filter-sidebar .filter-sidebar-heading {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.filter-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.filter-group:last-of-type { border-bottom: none; }
.filter-group h5,
.filter-group .filter-group-heading {
  font-size: 0.75rem;
  letter-spacing: 0.094em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
  font-weight: 600;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--ink-2);
  transition: color var(--t-fast);
  user-select: none;
}
.filter-option:hover { color: var(--ink); }
.checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--ink-3);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-fast);
}
.filter-option.checked .checkbox {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.filter-option.checked .checkbox::after { content: '✓'; font-size: 11px; font-weight: 600; }
.filter-option .count { margin-left: auto; font-size: 0.75rem; color: var(--ink-3); }
.price-slider-track {
  background: var(--bg-alt);
  height: 4px;
  border-radius: 2px;
  position: relative;
  margin: 12px 0 8px;
}
.price-slider-fill {
  position: absolute;
  left: 20%;
  right: 20%;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
}
.price-slider-handle {
  position: absolute;
  top: -6px;
  width: 16px;
  height: 16px;
  background: var(--ink);
  border-radius: 50%;
  cursor: grab;
}
.price-slider-handle--min { left: 20%; transform: translateX(-50%); }
.price-slider-handle--max { left: 80%; transform: translateX(-50%); }
.price-range-display {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
}
.filter-clear {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.75rem;
  letter-spacing: 0.063em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 16px;
  font-family: var(--ff-sans);
  font-weight: 500;
  transition: all var(--t-fast);
  border-radius: 2px;
}
.filter-clear:hover { border-color: var(--ink); color: var(--ink); }

/* ── Featured Listing Card (editor's choice) ──────────────── */
.featured-listing {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border: 2px solid var(--gold);
  margin-bottom: 32px;
  overflow: hidden;
}
.featured-listing-img {
  background-size: cover;
  background-position: center;
  min-height: 380px;
  position: relative;
}
.featured-listing-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
}
.featured-listing-rank {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15,27,30,.85);
  color: #fff;
  padding: 10px 16px;
  backdrop-filter: blur(8px);
  text-align: center;
}
.featured-listing-rank .num {
  font-family: var(--ff-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--gold-soft);
  display: block;
  line-height: 1;
}
.featured-listing-rank .lbl {
  font-size: 0.5625rem;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}
.featured-listing-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.featured-listing-meta {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.063em;
  text-transform: uppercase;
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.featured-listing-meta .star { color: var(--gold); letter-spacing: 1px; }
.featured-listing h3 {
  font-family: var(--ff-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--ink);
}
.featured-listing h3 a { color: inherit; text-decoration: none; }
.featured-listing h3 a:hover { color: var(--gold); }
.featured-listing .tagline {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.featured-listing p.desc {
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.featured-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.featured-tag {
  font-size: 0.6875rem;
  padding: 5px 12px;
  background: var(--bg-alt);
  color: var(--ink);
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.featured-listing-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 16px;
  flex-wrap: wrap;
}
.featured-price .l {
  font-size: 0.6875rem;
  letter-spacing: 0.063em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: block;
}
.featured-price .v {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  color: var(--ink);
  font-weight: 500;
}
.featured-price .v small { font-size: 0.8125rem; color: var(--ink-3); font-weight: 400; }

/* ── Standard List Cards ──────────────────────────────────── */
.center-list { display: flex; flex-direction: column; gap: 20px; }
.center-list-card {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--t-fast), transform var(--t-med), box-shadow var(--t-med);
  align-items: stretch;
}
.center-list-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,.06);
}
.center-list-img {
  background-size: cover;
  background-position: center;
  background-color: #1a2a2f;
  min-height: 240px;
  position: relative;
}
/* Placeholder gradient + icon for centers without a featured image */
.center-list-img:not([style*="background-image"])::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1c2f35 0%, #2a4249 45%, #1c2f35 100%);
}
.center-list-img:not([style*="background-image"])::after {
  content: '\eb8b';
  font-family: 'tabler-icons';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  color: rgba(255,255,255,0.10);
  pointer-events: none;
}
.center-list-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15,27,30,.85);
  color: var(--gold-soft);
  padding: 6px 12px;
  font-size: 0.6875rem;
  letter-spacing: 0.094em;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.center-list-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast);
}
.center-list-fav i { color: var(--ink-3); font-size: 0.9375rem; }
.center-list-fav:hover { background: var(--gold); }
.center-list-fav:hover i { color: #fff; }
.center-list-body {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.clb-meta {
  display: flex;
  gap: 14px;
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.clb-meta .loc { display: flex; align-items: center; gap: 4px; color: var(--gold); font-weight: 500; }
.clb-meta .stars { color: var(--gold); letter-spacing: 1px; }
.clb-meta .verified { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); font-weight: 500; }
.clb-meta .verified i { color: var(--gold); }
.center-list-body h3 {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--ink);
}
.center-list-body h3 a { color: inherit; text-decoration: none; }
.center-list-body h3 a:hover { color: var(--gold); }
.center-list-body p { font-size: 0.875rem; color: var(--ink-2); line-height: 1.65; margin-bottom: 14px; }
.clb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.clb-tag { font-size: 0.6875rem; padding: 4px 10px; background: var(--bg-alt); color: var(--ink); border-radius: 20px; }
.clb-feature-list {
  display: flex;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--ink-2);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.clb-feature-list span { display: inline-flex; align-items: center; gap: 6px; }
.clb-feature-list i { color: var(--gold); font-size: 0.875rem; }
.center-list-side {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  border-left: 1px solid var(--line);
  min-width: 200px;
  flex-shrink: 0;
}
.clc-price-block .lbl {
  font-size: 0.6875rem;
  color: var(--ink-3);
  letter-spacing: 0.063em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.clc-price-block .v {
  font-family: var(--ff-serif);
  font-size: 1.875rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
}
.clc-price-block .v small {
  font-size: 0.8125rem;
  color: var(--ink-3);
  font-weight: 400;
  display: block;
  margin-top: 4px;
}
.clc-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.clc-actions .btn { justify-content: center; width: 100%; font-size: 0.75rem; padding: 11px 16px; }
.btn-text {
  background: transparent;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.6875rem;
  letter-spacing: 0.063em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  padding: 6px;
  transition: color var(--t-fast);
  font-family: var(--ff-sans);
  border: none;
}
.btn-text:hover { color: var(--gold); }

/* Grid view mode */
.center-list.view-grid-mode {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.center-list.view-grid-mode .center-list-card {
  grid-template-columns: 1fr;
  grid-template-rows: 220px 1fr auto;
}
.center-list.view-grid-mode .center-list-img { min-height: 220px; }
.center-list.view-grid-mode .center-list-body { padding: 20px; }
.center-list.view-grid-mode .center-list-side {
  border-left: none;
  border-top: 1px solid var(--line);
  text-align: left;
  padding: 16px 20px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.center-list.view-grid-mode .clc-actions {
  flex-direction: row;
  margin-top: 0;
}

/* ── Editorial Content ───────────────────────────────────── */
.editorial-content {
  padding: 100px 0;
  background: var(--bg-alt);
}
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}
.editorial-main h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.625rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  margin-top: 48px;
  color: var(--ink);
}
.editorial-main h2:first-child { margin-top: 0; }
.editorial-main h2 em { font-style: italic; color: var(--gold); }
.editorial-main h3 {
  font-family: var(--ff-serif);
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 36px 0 16px;
  color: var(--ink);
}
.editorial-main p {
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.85;
  margin-bottom: 18px;
}
.editorial-main p strong { color: var(--ink); font-weight: 500; }
.editorial-main ul {
  margin: 16px 0 24px 24px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.8;
}
.editorial-main ul li { margin-bottom: 8px; padding-left: 8px; }
.editorial-main ul li::marker { color: var(--gold); }
.editorial-pullquote {
  font-family: var(--ff-serif);
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  padding: 32px 36px;
  border-left: 3px solid var(--gold);
  margin: 36px 0;
  background: #fff;
}
.editorial-pullquote cite {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-top: 16px;
  font-style: normal;
  letter-spacing: 0.063em;
  text-transform: uppercase;
}
.editorial-toc {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  position: sticky;
  top: 92px;
}
.editorial-toc h5,
.editorial-toc .editorial-toc-heading {
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.editorial-toc ol { list-style: none; counter-reset: toc; }
.editorial-toc ol li {
  counter-increment: toc;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.875rem;
}
.editorial-toc ol li:last-child { border-bottom: none; }
.editorial-toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--gold);
  font-family: var(--ff-serif);
  font-weight: 600;
  margin-right: 12px;
  font-size: 0.8125rem;
}
.editorial-toc a { color: var(--ink); text-decoration: none; transition: color var(--t-fast); }
.editorial-toc a:hover { color: var(--gold); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color var(--t-fast);
}
.faq-item.open { border-color: var(--gold); }
.faq-question {
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq-question h4,
.faq-question .faq-question-heading {
  font-family: var(--ff-serif);
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
  transition: all var(--t-fast);
  line-height: 1;
}
.faq-item.open .faq-toggle {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer {
  padding: 0 28px 24px;
  max-height: 600px;
}
.faq-answer p {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.75;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

/* ── CTA Strip ────────────────────────────────────────────── */
.cta-strip {
  background: var(--bg-charcoal);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1518684079-3c830dcef090?w=1600&q=80') center/cover;
  opacity: 0.15;
}
.cta-strip > .container { position: relative; z-index: 2; }
.cta-strip .section-eyebrow { color: var(--gold-soft); border-color: var(--gold-soft); }
.cta-strip h2 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}
.cta-strip h2 em { font-style: italic; color: var(--gold-soft); }
.cta-strip p {
  color: rgba(255,255,255,.75);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 36px;
  font-weight: 300;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-confidence {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.7);
  flex-wrap: wrap;
}
.cta-confidence span { display: flex; align-items: center; gap: 8px; }
.cta-confidence i { color: var(--gold-soft); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .alc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .exec-grid { grid-template-columns: 1fr; gap: 40px; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-toc { position: static; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .listing-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
}
@media (max-width: 768px) {
  .center-list-card { grid-template-columns: 1fr; }
  .center-list-img  { min-height: 200px; }
  .center-list-side { border-left: none; border-top: 1px solid var(--line); text-align: left; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .clc-actions      { flex-direction: row; margin-top: 0; }
  .featured-listing { grid-template-columns: 1fr; }
  .featured-listing-img { min-height: 240px; }
  .alc-hero-stats   { grid-template-columns: repeat(3,1fr); }
  .toolbar { flex-direction: column; align-items: flex-start; padding: 14px 16px; gap: 12px; }
  .toolbar-left { flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; }
  .toolbar-right { width: 100%; justify-content: space-between; }
  .filter-pills { gap: 6px; }
  .sort-dropdown { flex: 1; min-width: 0; }
}

/* ============================================================
   Breadcrumb — matches design exactly
   ============================================================ */
nav.breadcrumb {
  padding: 24px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
nav.breadcrumb ol {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--ink-3);
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
nav.breadcrumb a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color var(--t-fast);
}
nav.breadcrumb a:hover { color: var(--gold); }
nav.breadcrumb li[aria-current="page"],
nav.breadcrumb li span[aria-current="page"] { color: var(--ink); font-weight: 500; }
nav.breadcrumb .sep { opacity: 0.4; padding-right: 5px;}
/* Override for breadcrumb inside dark hero (taxonomy hero) */
.taxonomy-hero nav.breadcrumb,
.alc-hero nav.breadcrumb {
  background: transparent;
  border-bottom: none;
  padding: 0 0 24px;
}
.taxonomy-hero nav.breadcrumb ol,
.alc-hero nav.breadcrumb ol { color: rgba(255,255,255,.55); }
.taxonomy-hero nav.breadcrumb a,
.alc-hero nav.breadcrumb a  { color: rgba(255,255,255,.55); }
.taxonomy-hero nav.breadcrumb a:hover,
.alc-hero nav.breadcrumb a:hover { color: var(--gold-soft); }
.taxonomy-hero nav.breadcrumb li[aria-current="page"],
.taxonomy-hero nav.breadcrumb li span[aria-current="page"],
.alc-hero nav.breadcrumb li[aria-current="page"],
.alc-hero nav.breadcrumb li span[aria-current="page"] { color: rgba(255,255,255,.9); }

/* ── Spinner (used in AJAX loading) ─────────────────────── */
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: crt-spin .7s linear infinite;
  margin: 0 auto;
}
@keyframes crt-spin { to { transform: rotate(360deg); } }

/* ── Listing section overrides: clinic cards in list view ── */
.listing-section{
  padding-bottom: 30px;
}
.listing-section .clinic-grid--list { display: flex; flex-direction: column; gap: 20px; }
.listing-section .clinic-card--list {
  flex-direction: row;
  border-radius: 0;
  min-height: 220px;
}
.listing-section .clinic-card--list .clinic-card__media {
  width: 260px;
  flex-shrink: 0;
  aspect-ratio: unset;
  height: auto;
}
.listing-section .clinic-card--list .clinic-card__media .clinic-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.listing-section .clinic-card--list .clinic-card__media { position: relative; overflow: hidden; }
.listing-section .clinic-card--list:hover { transform: translateY(-2px); }
/* Grid view inside listing section */
.listing-section .clinic-grid--grid {
  display: block;
  gap: 20px;
}
.listing-section .clinic-grid--grid .clinic-card--grid { border-radius: 0; }

/* Price slider cursor feedback */
.price-slider-handle { cursor: ew-resize; }
.price-slider-handle:active { cursor: grabbing; }


/* Image column */
.clc__img {
  position: relative;
  background-color: var(--bg-charcoal);
  background-size: cover;
  background-position: center;
  min-height: 240px;
  overflow: hidden;
}
.clc__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(0,0,0,.15));
  pointer-events: none;
}
.clc__rank {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15,27,30,.88);
  color: var(--gold-soft);
  padding: 5px 12px;
  font-size: .6875rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.clc__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--t-fast), color var(--t-fast);
  color: var(--ink-3);
  font-size: .9375rem;
}
.clc__fav:hover { background: var(--gold); color: #fff; }
.clc__fav.is-favorited { color: #e53e3e; }

/* Body column */
.clc__body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.clc__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .75rem;
  color: var(--ink-3);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.clc__loc {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: .02em;
}
.clc__loc i { font-size: .8125rem; }
.clc__stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: .8125rem;
}
.clc__rating-num { color: var(--ink-2); }
.clc__rating-num small { color: var(--ink-3); }
.clc__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-2);
  font-weight: 500;
}
.clc__verified i { color: var(--gold); }
.clc__title {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--ink);
}
.clc__title a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
.clc__title a:hover { color: var(--gold); }
.clc__desc {
  font-size: .875rem;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 14px;
}
.clc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.clc__tag {
  font-size: .6875rem;
  padding: 4px 12px;
  background: var(--bg-alt);
  color: var(--ink);
  border-radius: 20px;
  letter-spacing: .03em;
}
.clc__features {
  display: flex;
  gap: 18px;
  font-size: .8125rem;
  color: var(--ink-2);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.clc__features span { display: inline-flex; align-items: center; gap: 6px; }
.clc__features i { color: var(--gold); font-size: .875rem; }

/* Side column */
.clc__side {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.clc__price-block { margin-bottom: 0; }
.clc__price-label {
  font-size: .6875rem;
  color: var(--ink-3);
  letter-spacing: .063em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.clc__price-value {
  display: block;
  font-family: var(--ff-serif);
  font-size: 1.875rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
}
.clc__price-period {
  display: block;
  font-size: .75rem;
  color: var(--ink-3);
  margin-top: 4px;
}
.clc__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.clc__btn-profile {
  justify-content: center;
  width: 100%;
  font-size: .75rem;
  padding: 12px 16px;
  letter-spacing: .06em;
  border-radius: 2px;
}
.clc__btn-brochure {
  text-align: center;
  font-size: .6875rem;
  letter-spacing: .063em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  cursor: pointer;
  padding: 6px;
  transition: color var(--t-fast);
  font-family: var(--ff-sans);
  font-weight: 500;
}
.clc__btn-brochure:hover { color: var(--gold); }

/* No-results state */
.clc-list .no-results {
  padding: 3rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
}

/* Loading fade */
.clc-list { transition: opacity .2s ease; }

/* Spinner */
#clinics-loading {
  padding: 2rem;
  text-align: center;
  display: none;
}

/* Responsive */
@media (max-width: 900px) {
  .clc { grid-template-columns: 220px 1fr; }
  .clc__side { display: none; }
}
@media (max-width: 640px) {
  .clc { grid-template-columns: 1fr; }
  .clc__img { min-height: 200px; }
  .clc__body { padding: 16px; }
  .clc__side {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 14px 16px;
  }
  .clc__actions { flex-direction: row; margin-top: 0; }
}

/* ============================================================
   Listing page — center-list & center-list-card
   CSS copied verbatim from alcohol-addiction-redesign_1.html design
   ============================================================ */

.center-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.center-list-card {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s;
  align-items: stretch;
}
.center-list-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.center-list-img {
  background-size: cover;
  background-position: center;
  background-color: var(--bg-charcoal);
  min-height: 240px;
  position: relative;
}

.center-list-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15,27,30,0.85);
  color: var(--gold-soft);
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.center-list-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.center-list-fav i { color: var(--ink-3); font-size: 15px; }
.center-list-fav:hover { background: var(--gold); }
.center-list-fav:hover i { color: #fff; }
.center-list-fav.is-favorited i { color: #e53e3e; }

.center-list-body {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
}

.clb-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.clb-meta .loc { display: flex; align-items: center; gap: 4px; color: var(--gold); font-weight: 500; }
.clb-meta .stars { color: var(--gold); letter-spacing: 1px; }
.clb-meta .verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-2);
  font-weight: 500;
}
.clb-meta .verified i { color: var(--gold); }

.center-list-body h3 {
  font-family: var(--ff-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--ink);
}
.center-list-body h3 a { color: inherit; text-decoration: none; transition: color 0.2s; }
.center-list-body h3 a:hover { color: var(--gold); }

.center-list-body p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 14px;
}

.clb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.clb-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--bg-alt);
  color: var(--ink);
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.clb-feature-list {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.clb-feature-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.clb-feature-list i { color: var(--gold); font-size: 14px; }

.center-list-side {
  padding: 24px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  border-left: 1px solid var(--line);
  min-width: 200px;
}

.clc-price-block .lbl {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.clc-price-block .v {
  font-family: var(--ff-serif);
  font-size: 30px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
  display: block;
}
.clc-price-block .v small {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 400;
  display: block;
  margin-top: 4px;
}

.clc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.clc-actions .btn {
  justify-content: center;
  width: 100%;
  font-size: 12px;
  padding: 11px 16px;
  text-align: center;
  border-radius: 2px;
}
.clc-actions .btn-text,
.center-list-side .btn-text {
  background: transparent;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
  font-family: var(--ff-sans);
  font-weight: 500;
  display: block;
  border: none;
}
.clc-actions .btn-text:hover,
.center-list-side .btn-text:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 900px) {
  .center-list-card { grid-template-columns: 220px 1fr; }
  .center-list-side { display: none; }
}
@media (max-width: 640px) {
  .center-list-card { grid-template-columns: 1fr; }
  .center-list-img  { min-height: 200px; }
  .center-list-body { padding: 16px 16px 0; }
  .center-list-side {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 14px 16px;
    text-align: left;
    min-width: 0;
  }
  .clc-actions { flex-direction: row; margin-top: 0; }
}

/* ============================================================
   Single Blog Post — Editorial Layout
   ============================================================ */

/* ── Post Hero ── */
.post-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: clamp(80px, 10vw, 120px) 0 clamp(48px, 6vw, 72px);
  overflow: hidden;
}
.post-hero__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.post-hero__bg--fallback {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-charcoal) 100%);
}
.post-hero:hover .post-hero__bg { transform: scale(1); }
.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,27,30,.90) 0%,
    rgba(15,27,30,.55) 50%,
    rgba(15,27,30,.20) 100%
  );
}
.post-hero .container { position: relative; z-index: 2; }
.post-hero__inner { max-width: 780px; }
.post-hero .crt-breadcrumbs { margin-bottom: 20px; opacity: .75; }
.post-hero__cat {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(184,148,90,.4);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.post-hero__cat:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.post-hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--white);
  margin-bottom: 20px;
}
.post-hero__excerpt {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 640px;
}
.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 15px;
}
.post-hero__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.25);
  flex-shrink: 0;
}
.post-hero__meta-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.70);
}
.post-hero__author { color: rgba(255,255,255,.90); font-weight: 500; }
.post-hero__meta-sep { opacity: .4; }

/* ── Post Body ── */
.post-body {
  background: var(--bg);
  padding: clamp(48px, 7vw, 88px) 0;
}
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-rows: auto 1fr;
  gap: 56px;
  align-items: start;
}

/* Desktop grid placement */
.post-layout > .post-toc {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.post-layout > .post-content {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.post-layout > .post-sidebar {
  grid-column: 2;
  grid-row: 2;
}
.post-hero__inner p {
    color: var(--white);
}
.post-sidebar{
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

/* ── Post Content (prose) ── */
.post-content {}
.post-prose {
  font-size: 1.0625rem;
  line-height: 1.88;
  color: var(--ink-2);
}
.post-prose h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 52px 0 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.post-prose h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.post-prose h3 {
  font-family: var(--ff-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  margin: 36px 0 14px;
}
.post-prose h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  margin: 28px 0 10px;
}
.post-prose p { margin-bottom: 22px; }
.post-prose p:last-child { margin-bottom: 0; }
.post-prose strong { color: var(--ink); font-weight: 600; }
.post-prose em { font-style: italic; color: var(--ink); }
.post-prose a { color: var(--gold); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color var(--t-fast); }
.post-prose a:hover { text-decoration-color: var(--gold); }
.post-prose ul, .post-prose ol {
  padding-left: 28px;
  margin-bottom: 24px;
}
.post-prose ul li, .post-prose ol li {
  margin-bottom: 8px;
  padding-left: 6px;
}
.post-prose ul li::marker { color: var(--gold); }
.post-prose ol li::marker { color: var(--gold); font-weight: 600; }
.post-prose blockquote {
  font-family: var(--ff-serif);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding: 24px 32px;
  margin: 40px 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.post-prose blockquote cite {
  display: block;
  font-size: .8125rem;
  font-style: normal;
  color: var(--ink-3);
  margin-top: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.post-prose img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 32px 0;
  display: block;
}
.post-prose figure {
  margin: 36px 0;
}
.post-prose figure figcaption {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin-top: 10px;
  font-style: italic;
}
.post-prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 52px 0;
}
.post-prose pre {
  background: var(--bg-dark);
  color: #d4cfca;
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow-x: auto;
  font-size: .875rem;
  line-height: 1.7;
  margin: 28px 0;
}
.post-prose code {
  font-size: .875em;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2px 6px;
}

/* ── Post Tags ── */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post-tags__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  margin-right: 4px;
}
.post-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-2);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.post-tag:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
@media screen and (max-width: 768px){
    .post-prose ol li{
        line-break: anywhere;
    }
}

/* ── Author Bio ── */
.post-author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-top: 40px;
}
.post-author-bio__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}
.post-author-bio__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.post-author-bio__text {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0;
}

/* ── Post Navigation ── */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.post-nav__item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.post-nav__item--next { text-align: right; }
.post-nav__dir {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
}
.post-nav__item--next .post-nav__dir { justify-content: flex-end; }
.post-nav__post-title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

/* ── Sidebar ── */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Table of Contents */
.post-toc {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
}
.post-toc:empty { display: none; }
/* Mobile duplicate is hidden by default; swapped in at the mobile breakpoint below */
.post-toc--mobile { display: none; }
.post-toc__heading {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.post-toc__nav a {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink-2);
  text-decoration: none;
  padding: 5px 0 5px 12px;
  border-left: 2px solid var(--line);
  margin-bottom: 2px;
  line-height: 1.45;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.post-toc__nav a:hover,
.post-toc__nav a.is-active {
  color: var(--gold);
  border-left-color: var(--gold);
}

/* Sidebar CTA */
.post-sidebar-cta {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-charcoal) 100%);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
}
.post-sidebar-cta__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.post-sidebar-cta__title {
  font-family: var(--ff-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
}
.post-sidebar-cta__text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: 20px;
}
.btn--full { width: 100%; justify-content: center; }

/* Sidebar Related */
.post-sidebar-related-cats {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
}
.post-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  transition: opacity var(--t-fast);
}
.post-sidebar-link:last-child { border-bottom: none; padding-bottom: 0; }
.post-sidebar-link:hover { opacity: .7; }
.post-sidebar-link__img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.post-sidebar-link__text {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

/* ── Related Posts Grid ── */
.post-related { background: var(--bg-alt); }
.post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.post-card-related {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.post-card-related:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-related__img-wrap {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.post-card-related__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.post-card-related:hover .post-card-related__img { transform: scale(1.05); }
.post-card-related__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card-related__cat {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 10px;
}
.post-card-related__title {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 10px;
  flex: 1;
}
.post-card-related__title a { color: var(--ink); text-decoration: none; }
.post-card-related__title a:hover { color: var(--gold); }
.post-card-related__excerpt {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-related__date {
  font-size: var(--text-xs);
  color: var(--ink-3);
  letter-spacing: .04em;
  margin-top: auto;
}

/* ── TOC JS ── */
/* Populated by inline script in single.php footer area */

/* ── Responsive ── */
@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 40px;
  }
  .post-layout > .post-toc,
  .post-layout > .post-content,
  .post-layout > .post-sidebar {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }
  .post-sidebar { position: static; }
  .post-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .post-hero { min-height: 420px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-related-grid { grid-template-columns: 1fr; }
  .post-author-bio { flex-direction: column; align-items: center; text-align: center; }
  .post-author-bio__avatar { width: 64px; height: 64px; }
  /* TOC swap: sidebar copy hides, article-top copy shows — the sidebar element */
  /* itself never moves in the DOM, only which duplicate is visible changes.   */
  .post-toc--desktop { display: none; }
  .post-toc--mobile {
    display: block;
    margin-bottom: 32px;
  }
}

/* ============================================================
   Locations Hub — /locations/ parent page
   ============================================================ */

/* ── Hero ── */
.locations-hub-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: clamp(80px, 10vw, 120px) 0 clamp(52px, 7vw, 80px);
  overflow: hidden;
}
.locations-hub-hero__bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1559128010-7c1ad6e1b6a5?w=1600&q=80') center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.locations-hub-hero:hover .locations-hub-hero__bg { transform: scale(1.0); }
.locations-hub-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,27,30,.88) 0%,
    rgba(15,27,30,.52) 55%,
    rgba(15,27,30,.20) 100%
  );
}
.locations-hub-hero .container { position: relative; z-index: 2; }
.locations-hub-hero .crt-breadcrumbs { margin-bottom: 20px; opacity: .7; }
.locations-hub-hero__inner { max-width: 720px; }
.locations-hub-hero__eyebrow {
  color: var(--gold-soft) !important;
  margin-bottom: 16px;
}
.locations-hub-hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--white);
  margin-bottom: 20px;
}
.locations-hub-hero__title em { font-style: italic; color: var(--gold-soft); }
.locations-hub-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
}
.locations-hub-hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.loc-stat { display: flex; flex-direction: column; gap: 2px; }
.loc-stat strong {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.loc-stat span {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
}
.loc-stat__sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

/* ── Location Explorer (tree navigator) ── */
.locations-hub-explorer { background: var(--bg); }

/* Two-column layout: sidebar tree + card panel */
.loc-explorer {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 540px;
  background: var(--white);
}

/* ── Tree sidebar ── */
.loc-tree {
  background: var(--bg-alt);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-height: 540px;
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  align-self: auto;
}
.loc-tree__header {
  padding: 6px 0 4px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.loc-tree__all {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
  transition: color var(--t-fast), background var(--t-fast);
}
.loc-tree__all:hover,
.loc-tree__all.is-active { color: var(--ink); background: rgba(184,148,90,.08); }
.loc-tree__all i { font-size: 16px; flex-shrink: 0; }
.loc-tree__all span:first-of-type { flex: 1; }
.loc-tree__all-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--bg);
  border-radius: var(--radius-full);
  padding: 1px 7px;
}
.loc-tree__body { padding: 6px 0 12px; overflow-y: auto; }

/* Tree node row */
.loc-tn__row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-right: 12px;
}
.loc-tn__toggle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--ink-3);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  border-radius: var(--radius);
  transition: color var(--t-fast), background var(--t-fast);
}
.loc-tn__toggle:hover { color: var(--ink); background: var(--bg); }
.loc-tn__toggle i { font-size: 12px; transition: transform var(--t-fast); }
.loc-tn__toggle.is-open i { transform: rotate(90deg); }
.loc-tn__toggle--leaf { pointer-events: none; opacity: 0; }
.loc-tn__label {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
  padding: 5px 0;
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: var(--text-sm);
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius);
  transition: color var(--t-fast);
}
.loc-tn__label:hover { color: var(--ink); }
.loc-tn__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-3);
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.loc-tn__label:hover .loc-tn__dot { background: var(--gold); }
.loc-tn__row.is-active .loc-tn__label { color: var(--ink); font-weight: 500; }
.loc-tn__row.is-active .loc-tn__dot { background: var(--gold); }
.loc-tn__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-tn__count { font-size: 11px; color: var(--ink-3); flex-shrink: 0; }

/* ── Main panel ── */
.loc-panel {
  display: flex;
  flex-direction: column;
  min-height: 540px;
}
.loc-panel__head {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.loc-panel__title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.loc-panel__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}
.loc-panel__meta { font-size: var(--text-sm); color: var(--ink-3); }

/* Breadcrumb */
.loc-breadcrumb { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.loc-bc__item {
  font-size: var(--text-xs);
  color: var(--ink-3);
  background: transparent;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
  font-family: var(--sans);
  border-radius: var(--radius);
  transition: color var(--t-fast);
}
.loc-bc__item:hover { color: var(--gold); }
.loc-bc__item--current { color: var(--ink-2); cursor: default; pointer-events: none; }
.loc-bc__sep { font-size: 10px; color: var(--ink-3); }

/* Card grid */
.loc-panel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  padding: 20px 24px;
  align-content: start;
  flex: 1;
}

/* ── Original full-bleed loc-card — used by Conditions Hub, other hubs ── */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.loc-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}
.loc-card__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  transition: transform var(--t-slow);
}
.loc-card:hover .loc-card__bg { transform: scale(1.07); }
.loc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,27,30,.88) 0%, rgba(15,27,30,.30) 55%, transparent 100%);
  transition: opacity var(--t-med);
}
.loc-card:hover .loc-card__overlay { opacity: .75; }
.loc-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 20px;
}
.loc-card__top { flex: 1; }
.loc-card__region-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gold-soft);
  background: rgba(184,148,90,.15);
  border: 1px solid rgba(184,148,90,.3);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  backdrop-filter: blur(4px);
}
.loc-card__info { display: flex; flex-direction: column; gap: 4px; }
.loc-card__name {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin: 0;
}
.loc-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  margin: 2px 0 4px;
}
.loc-card__count {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gold-soft);
}
.loc-card__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  backdrop-filter: blur(4px);
  transition: background var(--t-fast), transform var(--t-fast);
}
.loc-card:hover .loc-card__arrow { background: var(--gold); border-color: var(--gold); transform: rotate(45deg); }
.loc-card__children {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.loc-card__child-tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.10);
  border-radius: var(--radius-full);
  padding: 3px 9px;
}
.loc-card__child-more {
  font-size: 11px;
  color: var(--gold-soft);
  padding: 3px 6px;
}

/* ── Destination cards (tree navigator, Locations Hub only) ── */
.loc-dest-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  cursor: pointer;
  font-family: var(--sans);
  text-align: left;
}
.loc-dest-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(15,27,30,.08);
}
/* "All centers in X" card gets a subtle gold tint */
.loc-dest-card--all {
  border-color: rgba(184,148,90,.35);
  background: rgba(184,148,90,.04);
}
.loc-dest-card--all:hover { border-color: var(--gold); }
.loc-dest-card__img {
  aspect-ratio: 3/2;
  background: center/cover no-repeat var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.loc-dest-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,27,30,.65) 0%, transparent 60%);
  transition: opacity var(--t-med);
}
.loc-dest-card:hover .loc-dest-card__img::after { opacity: .8; }
.loc-dest-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(184,148,90,.9);
  color: var(--white);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.loc-dest-card__badge--all {
  background: rgba(184,148,90,.75);
}
.loc-dest-card__arrow {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 13px;
  transition: background var(--t-fast);
}
.loc-dest-card:hover .loc-dest-card__arrow { background: var(--gold); border-color: var(--gold); }
.loc-dest-card__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.loc-dest-card__name {
  font-family: var(--ff-serif);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}
.loc-dest-card__count {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
}
.loc-dest-card__desc {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.5;
  margin-top: 4px;
}
.loc-dest-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-3);
  margin-top: auto;
  padding-top: 8px;
  transition: color var(--t-fast);
}
.loc-dest-card:hover .loc-dest-card__cta { color: var(--gold); }
.loc-dest-card__cta i { font-size: 13px; }

/* Leaf node: full-width card that links straight to the location archive */
.loc-dest-leaf-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  background: var(--white);
  grid-column: 1 / -1;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.loc-dest-leaf-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(15,27,30,.08);
}
.loc-dest-leaf-card__img {
  background: center/cover no-repeat var(--bg-alt);
  min-height: 200px;
}
.loc-dest-leaf-card__body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.loc-dest-leaf-card__name {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}
.loc-dest-leaf-card__count {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold);
}
.loc-dest-leaf-card__desc {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.6;
  margin-top: 4px;
  max-width: 480px;
}
.loc-dest-leaf-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  width: fit-content;
  transition: background var(--t-fast);
}
.loc-dest-leaf-card:hover .loc-dest-leaf-card__btn { background: var(--gold); }

/* Update the panel grid to use dest-card */
/* Empty state */
.loc-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-2);
}
.loc-empty i { font-size: 2.5rem; color: var(--ink-3); }
.loc-empty p { font-size: var(--text-sm); }

/* ── Hub CTA ── */
.locations-hub-cta {
  background: var(--bg-dark);
  padding: clamp(56px, 8vw, 88px) 0;
}
.locations-hub-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.locations-hub-cta__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}
.locations-hub-cta__sub {
  font-size: var(--text-md);
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  max-width: 520px;
}
.locations-hub-cta__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.btn--ghost-light {
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
}
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }

/* ── Destinations footer link ── */
.destinations-footer {
  text-align: center;
  margin-top: 40px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .locations-hub-cta__inner { flex-direction: column; text-align: center; }
  .locations-hub-cta__actions { justify-content: center; }
  .locations-hub-cta__sub { max-width: 100%; }
}
@media (max-width: 900px) {
  .loc-explorer { grid-template-columns: 1fr; }
  .loc-tree {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .loc-tree__body { max-height: 240px; overflow-y: auto; }
  .loc-panel__grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .loc-dest-leaf-card { grid-template-columns: 1fr; }
  .loc-dest-leaf-card__img { min-height: 160px; }
}
@media (max-width: 768px) {
  .locations-hub-hero__stats { gap: 16px; }
  .loc-panel__head { padding: 16px; }
  .loc-panel__grid { padding: 16px; gap: 12px; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .loc-panel__grid { grid-template-columns: repeat(2, 1fr); }
  .loc-grid { grid-template-columns: 1fr; }
  .loc-card { aspect-ratio: 3/2; }
}

/* ── Post Sidebar: Featured Clinic Card ── */
.post-sidebar-clinic {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.post-sidebar-clinic__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.post-sidebar-clinic__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
  display: block;
}
.post-sidebar-clinic:hover .post-sidebar-clinic__img { transform: scale(1.05); }
.post-sidebar-clinic__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--gold);
  border-radius: var(--radius-full);
  padding: 4px 10px;
}
.post-sidebar-clinic__badge .ti { font-size: .75rem; }
.post-sidebar-clinic__body { padding: 20px; }
.post-sidebar-clinic__eyebrow {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.post-sidebar-clinic__eyebrow .ti { color: var(--gold); font-size: .8rem; }
.post-sidebar-clinic__name {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 8px;
}
.post-sidebar-clinic__desc {
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 14px;
}
.post-sidebar-clinic__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.post-sidebar-clinic__rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: .75rem;
}
.post-sidebar-clinic__rating .ti { color: var(--gold); font-size: .8rem; }
.post-sidebar-clinic__rating span { font-size: var(--text-sm); font-weight: 700; color: var(--ink); margin-left: 4px; }
.post-sidebar-clinic__pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-light);
  border-radius: var(--radius-full);
  padding: 3px 9px;
}
.post-sidebar-clinic__cta { margin-bottom: 10px; }
.post-sidebar-clinic__enquire {
  display: block;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--ink-3);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.post-sidebar-clinic__enquire:hover { color: var(--gold); text-decoration-color: var(--gold); }
.btn--sm { padding: 9px 18px; font-size: var(--text-sm); }

/* ============================================================
   Conditions Hub — /conditions/ page
   Reuses .loc-grid, .loc-card, .locations-hub-cta from locations hub.
   Only the hero bg and icon badge are new.
   ============================================================ */

.conditions-hub-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: clamp(80px, 10vw, 120px) 0 clamp(52px, 7vw, 80px);
  overflow: hidden;
}
.conditions-hub-hero__bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=1600&q=80') center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.conditions-hub-hero:hover .conditions-hub-hero__bg { transform: scale(1.0); }
.conditions-hub-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15,27,30,.90) 0%,
    rgba(15,27,30,.55) 55%,
    rgba(15,27,30,.22) 100%
  );
}
.conditions-hub-hero .container        { position: relative; z-index: 2; }
.conditions-hub-hero .crt-breadcrumbs  { margin-bottom: 20px; opacity: .7; }
.conditions-hub-hero__inner            { max-width: 720px; }
.conditions-hub-hero__eyebrow          { color: var(--gold-soft) !important; margin-bottom: 16px; }
.conditions-hub-hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--white);
  margin-bottom: 20px;
}
.conditions-hub-hero__title em { font-style: italic; color: var(--gold-soft); }
.conditions-hub-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
}
.conditions-hub-hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Icon badge replacing the region tag on condition cards */
.cond-card__icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(184,148,90,.18);
  border: 1px solid rgba(184,148,90,.35);
  border-radius: 50%;
  color: var(--gold-soft);
  font-size: 1.1rem;
  backdrop-filter: blur(4px);
}

/* Slightly tighter aspect ratio for condition cards — more cards per row */
/* cond-grid uses the original .loc-card full-bleed style — no override needed */

@media (max-width: 768px) {
  .conditions-hub-hero__stats { gap: 16px; }
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cond-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   PAGE TEMPLATE  –  scoped to .page-default
   Uses theme CSS custom properties; no overrides needed in style.css.
───────────────────────────────────────────────────────────────────────────── */

/* ── Banner: plain (no featured image) ─────────────────────────────────── */
.page-banner {
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}

.page-banner--plain {
    padding: var(--space-16) 0 var(--space-12);
}

.page-banner--plain .page-banner__title {
    color: var(--ink);
}

.page-banner--plain .page-banner__lede {
    color: var(--ink-2);
}

/* ── Banner: with featured image ────────────────────────────────────────── */
.page-banner--has-image {
    padding: clamp(80px, 14vw, 160px) 0 clamp(60px, 10vw, 120px);
    min-height: 320px;
}

.page-banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);   /* slight zoom to hide edges on load */
}

.page-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(15, 27, 30, 0.72) 0%,
        rgba(15, 27, 30, 0.50) 100%
    );
}

.page-banner--has-image .page-banner__title,
.page-banner--has-image .page-banner__lede,
.page-banner--has-image .crt-breadcrumbs,
.page-banner--has-image .crt-breadcrumbs a {
    color: var(--white);
}

.page-banner--has-image .crt-breadcrumbs {
    opacity: .80;
}

/* ── Banner inner ───────────────────────────────────────────────────────── */
.page-banner__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.page-banner__title {
    font-family: var(--serif);
    font-size: var(--text-4xl);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: var(--space-4) 0 0;
}

.page-banner--plain .page-banner__title {
    margin-top: var(--space-3);
}

.page-banner__lede {
    font-family: var(--sans);
    font-size: var(--text-lg);
    font-weight: 400;
    line-height: 1.6;
    max-width: 620px;
    margin: var(--space-5) 0 0;
    opacity: .90;
}

/* ── Decorative gold rule under plain title ─────────────────────────────── */
.page-banner--plain .page-banner__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin-top: var(--space-5);
}

/* ── Body layout ────────────────────────────────────────────────────────── */
.page-body {
    padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 128px);
}

.page-inner {
    max-width: 760px;
    margin: 0 auto;
}

/* ── Prose typography ───────────────────────────────────────────────────── */
.page-prose {
    font-family: var(--sans);
    font-size: var(--text-md);
    line-height: 1.78;
    color: var(--ink);
}

/* Headings */
.page-prose h2 {
    font-family: var(--serif);
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.22;
    color: var(--ink);
    margin: 2.4em 0 .6em;
    padding-bottom: .4em;
    border-bottom: 1px solid var(--line);
}

.page-prose h3 {
    font-family: var(--sans);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--ink);
    margin: 2em 0 .5em;
}

.page-prose h4,
.page-prose h5,
.page-prose h6 {
    font-family: var(--sans);
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin: 1.8em 0 .4em;
}

/* Lead paragraph */
.page-prose > p:first-of-type {
    font-size: var(--text-lg);
    line-height: 1.70;
    color: var(--ink-2);
}

/* Paragraphs */
.page-prose p {
    margin: 0 0 1.5em;
}

/* Links */
.page-prose a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: var(--gold-soft);
    text-underline-offset: 3px;
    transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.page-prose a:hover {
    color: var(--gold-dark);
    text-decoration-color: var(--gold-dark);
}

/* Lists */
.page-prose ul,
.page-prose ol {
    margin: 0 0 1.5em 1.25em;
    padding: 0;
}
.page-prose li {
    margin-bottom: .5em;
}
.page-prose ul li {
    list-style: none;
    padding-left: 1.4em;
    position: relative;
}
.page-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
}

/* Blockquote */
.page-prose blockquote {
    margin: 2em 0;
    padding: 1.5em 1.75em;
    background: var(--bg-alt);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.page-prose blockquote p {
    font-family: var(--serif);
    font-size: var(--text-xl);
    font-style: italic;
    line-height: 1.55;
    color: var(--ink);
    margin: 0;
}
.page-prose blockquote cite {
    display: block;
    margin-top: .75em;
    font-family: var(--sans);
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--ink-3);
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Horizontal rule */
.page-prose hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 2.5em auto;
    width: 40%;
}

/* Images */
.page-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
    margin: 2em auto;
    box-shadow: var(--shadow);
}

/* Code */
.page-prose code {
    font-size: .875em;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .1em .4em;
}
.page-prose pre {
    background: var(--bg-charcoal);
    border-radius: var(--radius-lg);
    padding: 1.25em 1.5em;
    overflow-x: auto;
    margin: 0 0 1.5em;
}
.page-prose pre code {
    background: none;
    border: none;
    padding: 0;
    color: var(--white);
    font-size: var(--text-sm);
}

/* Tables */
.page-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.5em;
    font-size: var(--text-sm);
}
.page-prose th {
    background: var(--bg-alt);
    font-weight: 600;
    text-align: left;
    padding: .6em .9em;
    border-bottom: 2px solid var(--line);
}
.page-prose td {
    padding: .55em .9em;
    border-bottom: 1px solid var(--line-soft);
}
.page-prose tr:last-child td {
    border-bottom: none;
}

/* Multi-page links */
.page-links {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--line);
}
.page-links__label {
    font-family: var(--sans);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--ink-3);
    margin-right: var(--space-2);
}
.page-links a,
.page-links > span:not(.page-links__label) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 var(--space-3);
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: var(--text-sm);
    font-weight: 500;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink-2);
    transition: all var(--t-fast);
}
.page-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}
.page-links > span:not(.page-links__label) {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.search-results-hero__title {
    padding: 15px;
}
.search-results-hero__form {
    padding: 15px;
}


/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
    .page-banner--plain {
        padding: var(--space-12) 0 var(--space-10);
    }
    .page-banner__title {
        font-size: var(--text-3xl);
    }
    .page-body {
        padding: var(--space-12) 0 var(--space-16);
    }
    .page-prose blockquote {
        padding: 1.2em 1.25em;
    }
    .page-prose blockquote p {
        font-size: var(--text-lg);
    }
}
/* London legacy guide: semantic levels retain the existing visual hierarchy. */
.term-london .taxonomy-guide .taxonomy-guide__content .taxonomy-guide__intro-heading {
    font-family: var(--sans, sans-serif);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin: 28px 0 12px;
    letter-spacing: 0;
}
.term-london .taxonomy-guide .taxonomy-guide__content .taxonomy-guide__intro-question {
    font-family: var(--sans, sans-serif);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 24px 0 10px;
    letter-spacing: -.02em;
}
@media (max-width: 700px) {
    .term-london .taxonomy-guide .taxonomy-guide__content .taxonomy-guide__intro-heading {
        font-size: 16px;
    }
}
@media print {
    .term-london .taxonomy-guide .taxonomy-guide__content .taxonomy-guide__intro-question {
        break-after: auto;
    }
}

/* Condition-page TOC targets clear the responsive sticky header. */
.tax-listing-cat .editorial-main > #what-is,
.tax-listing-cat .editorial-main > #programs,
.tax-listing-cat .editorial-main > #cost,
.tax-listing-cat > #clinics {
    scroll-margin-top: calc(var(--header-height, 76px) + 16px);
}
