/* Rethink AFib — patient site overrides on AlignedCardio design system */

/* Rethink AFib brand override — crimson/red palette from AIDesigner rebrand run */
:root {
  --accent:      #B81321; /* cardinal crimson — primary CTA / accent bar / eyebrow */
  --accent-h:    #8A0F19;
  --accent-glow: rgba(184, 19, 33, 0.18);
  --navy-800:    #120E0D; /* warmer near-black for dark sections */
  --navy-700:    #1C1514;
}

.prelaunch-strip {
  background: var(--navy-700);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  line-height: 1.5;
  padding: 0.55rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.prelaunch-strip strong { color: #fff; font-weight: 600; }

.nav-logo--rethink {
  height: 2.75rem;
  width: auto;
}

.nav-partner-mark {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .nav-partner-mark { display: none; }
}

.patient-hero {
  position: relative;
  min-height: 88vh;
  background: var(--navy-800);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.patient-hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--accent);
  z-index: 30;
  box-shadow: 0 0 18px rgba(0, 90, 224, 0.45);
}

.patient-hero-grid {
  position: absolute;
  inset: 0;
  width: 60%;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 24px
  );
  z-index: 1;
  pointer-events: none;
}

.patient-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  z-index: 0;
}

.patient-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
}

.patient-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--navy-800) 0%,
    rgba(18, 14, 13, 0.88) 28%,
    rgba(18, 14, 13, 0.42) 62%,
    transparent 100%
  );
}

.patient-hero-content {
  position: relative;
  z-index: 10;
  padding: 3rem 0 5rem;
}

.patient-hero-eyebrow {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
}

.patient-hero-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 1.75rem;
  max-width: 14ch;
}

.patient-hero-copy {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 36rem;
  line-height: 1.7;
  font-weight: 300;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}

.patient-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.home-hero-cta-primary,
.home-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.95rem 1.65rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.home-hero-cta-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(184, 19, 33, 0.35);
}

.home-hero-cta-primary:hover { background: var(--accent-h); }

.home-hero-cta-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.home-hero-cta-secondary:hover { background: rgba(255, 255, 255, 0.08); }

.hero-phone-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  max-width: 30rem;
  margin: -1.25rem 0 2rem;
}

.hero-phone-tagline strong {
  color: #fff;
  font-weight: 600;
}

.hero-phone-tagline a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.care-tagline {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.care-tagline strong {
  color: var(--navy-800);
  font-weight: 600;
}

.care-tagline--on-dark {
  color: rgba(255, 255, 255, 0.68);
}

.care-tagline--on-dark strong {
  color: #fff;
}

.hero-trust-grid {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2rem;
  width: fit-content;
}

.hero-trust-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.25rem;
}

.hero-trust-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.topic-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
}

.topic-card .eyebrow { margin-bottom: 0.5rem; }

.topic-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.topic-card p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.provider-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.25rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
}

.provider-photo {
  width: 96px;
  height: 96px;
  border-radius: 4px;
  object-fit: cover;
  object-position: top;
  background: var(--surface);
}

.provider-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 0.35rem;
}

.provider-card p {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.verify-note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--amber);
  line-height: 1.55;
}

.location-band {
  background: var(--navy-800);
  border-radius: 4px;
  padding: 2.5rem;
  color: #fff;
}

.location-band h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.location-band p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 40rem;
}

.form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
}

.form-panel h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 0.35rem;
}

.form-panel .form-sub {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 48rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
}

.faq-item h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 0.65rem;
}

.faq-item p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-block { margin-bottom: 1.5rem; }

.contact-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.contact-val {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.65;
}

.contact-val a {
  color: var(--text);
  text-decoration: none;
}

.contact-val a:hover { color: var(--accent); }

.thank-you-panel {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  padding: 4rem 0 6rem;
}

.thank-you-panel h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 1rem;
}

.thank-you-panel p {
  color: var(--text-soft);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.sticky-mobile {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
}

.sticky-mobile a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.35rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.sticky-mobile .call {
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
}

.sticky-mobile .call {
  background: #fff;
  color: var(--navy-800);
}

.sticky-mobile .request {
  background: var(--accent);
  color: #fff;
}

.split-form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Homepage treatment split — replaces hard-coded inline 2-col grid */
.split-responsive {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
}

.split-responsive--treatments .btn-outline-lg {
  color: var(--navy-800);
  border-color: var(--border);
}

@media (max-width: 900px) {
  /* Real side gutters — match AlignedCardio mobile breathing room */
  .container,
  .nav-inner {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .patient-hero {
    min-height: 100svh;
    align-items: center;
    padding-top: 4.75rem;
  }
  .patient-hero-accent {
    display: none; /* decorative left rail clips awkwardly on narrow screens */
  }
  .patient-hero-image {
    width: 100%;
    opacity: 1;
  }
  .patient-hero-image img {
    filter: brightness(0.32);
  }
  .patient-hero-image::after {
    background: linear-gradient(
      to bottom,
      rgba(18, 14, 13, 0.78) 0%,
      rgba(18, 14, 13, 0.92) 50%,
      rgba(18, 14, 13, 0.98) 100%
    );
  }
  .patient-hero-content {
    padding: 1.15rem 0 4.25rem; /* clear sticky Call/Book bar; trust strip hidden */
    width: 100%;
    box-sizing: border-box;
  }
  .patient-hero-content > div[style*="width:48px"] {
    margin-bottom: 0.85rem !important;
  }
  .patient-hero-title {
    max-width: none;
    font-size: clamp(1.7rem, 7.2vw, 2.15rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin-bottom: 0.75rem;
  }
  .patient-hero-copy {
    font-size: 0.9375rem;
    line-height: 1.55;
    padding-left: 0.85rem;
    margin-bottom: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
  }
  .patient-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
  }
  .home-hero-cta-primary,
  .home-hero-cta-secondary {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.875rem;
  }
  /* Sticky bar already has Call — drop duplicate ghost CTA in hero */
  .patient-hero .home-hero-cta-secondary {
    display: none;
  }
  .hero-phone-tagline {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    line-height: 1.45;
  }
  /* Drop trust strip + stats band on mobile — keep fold to headline/CTA only */
  .hero-trust-grid {
    display: none !important;
  }
  .rethink-stats {
    display: none !important;
  }
  .split-responsive {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .topic-grid,
  .provider-grid,
  .contact-grid,
  .split-form-layout { grid-template-columns: 1fr; }
  .sticky-mobile { display: grid; }
  body { padding-bottom: 3.5rem; }
}

@media (max-width: 480px) {
  .container,
  .nav-inner {
    padding-left: 1.75rem !important;
    padding-right: 1.75rem !important;
  }
}

/* ===== REDESIGN PATTERNS — AIDesigner v2 rollout ===== */

/* Strict-grid: border-gap card trick (no individual card borders, grid bg = border) */
.strict-grid {
  display: grid;
  gap: 1px;
  background-color: var(--border);
  border: 1px solid var(--border);
}

.strict-grid--3col { grid-template-columns: repeat(3, 1fr); }

.strict-grid-cell {
  background: #fff;
  padding: 2rem;
  transition: background 0.25s, color 0.25s;
}

.strict-grid-cell:hover { background: var(--navy-800); color: #fff; }

.strict-grid-cell:hover .eyebrow { color: rgba(255,255,255,0.55); }

.strict-grid-cell:hover h3 { color: #fff; }

.strict-grid-cell:hover p { color: rgba(255,255,255,0.7); }

.strict-grid-cell:hover .cell-icon { color: rgba(255,255,255,0.4); }

.cell-icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
  transition: color 0.25s;
}

/* Stats: electric blue numbers */
.rethink-stats .stat-num { color: #ffffff; }

.rethink-stats .stat-label { color: rgba(255,255,255,0.45); }

/* Provider grid: 3 col team page, 2 col on homepage */
.provider-grid-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.provider-grid-editorial--2col {
  grid-template-columns: repeat(2, 1fr);
}

.provider-grid-editorial--2col .provider-card-editorial:only-child {
  max-width: 24rem;
}

/* Provider cards — compact horizontal row (portrait-safe) */
.provider-card-editorial {
  display: grid;
  grid-template-columns: 5.75rem 1fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.provider-card-editorial:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.provider-photo-sq {
  width: 100%;
  height: 100%;
  min-height: 5.75rem;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(100%) contrast(1.05) brightness(0.95);
  transition: filter 0.5s ease;
  display: block;
}

.provider-card-editorial:hover .provider-photo-sq {
  filter: grayscale(0%) contrast(1) brightness(1);
}

.provider-avatar {
  width: 5.75rem;
  height: 5.75rem;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.provider-card-meta {
  padding: 0.9rem 1rem 1rem;
  border-top: none;
  border-left: 1px solid var(--border);
}

.provider-card-meta h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.provider-card-meta .provider-role {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.provider-card-meta p {
  font-size: 0.8125rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* Locations dark band: 4-column layout */
.locations-dark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.1);
}

.location-dark-cell {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.location-dark-cell:last-child { border-right: none; }

.location-dark-cell .location-city {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.location-dark-cell .location-addr {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.location-dark-cell .location-phone {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.location-dark-cell .location-phone:hover {
  color: #fff;
}

/* Numbered bento cards (treatment grid) */
.bento-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--border);
  border: 1px solid var(--border);
}

.bento-num-card {
  background: #fff;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bento-num-card .bento-num {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.bento-num-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}

.bento-num-card p {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* LP-specific: hero with inline form */
.lp-hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-800);
  overflow: visible;
  display: flex;
  align-items: flex-start;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.lp-hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 2rem 0 1rem;
}

.lp-hero-left {}

.lp-hero-right {}

.lp-address-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
}

.lp-address-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.4);
}

.lp-address-value {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.lp-address-value a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.lp-address-value a:hover { color: #fff; }

.lp-address-block .care-tagline {
  color: rgba(255, 255, 255, 0.72);
}

.lp-address-block .care-tagline strong {
  color: #fff;
}

.lp-form-panel {
  background: #fff;
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.lp-form-panel h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}

.lp-form-panel .form-sub {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

.lp-form-panel .form-group {
  margin-bottom: 1rem;
}

/* Trust band (LP) */
.trust-band {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-cell {
  padding: 1.75rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-cell:last-child { border-right: none; }

.trust-cell-icon {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-cell-text strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.15rem;
}

.trust-cell-text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

/* Section divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Provider detail page — hero photo + bio sections */
.provider-detail-hero {
  display: grid;
  grid-template-columns: 1fr 14rem;
  gap: 3rem;
  align-items: center;
}

.provider-detail-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 4px;
  filter: grayscale(100%) contrast(1.05) brightness(0.95);
}

.provider-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.provider-detail-back:hover { color: #fff; }

.provider-detail-body p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.provider-detail-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
}

.provider-detail-body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.provider-detail-body ul li {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 0.4rem;
}

.provider-detail-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
}

.provider-detail-sidebar .eyebrow { margin-bottom: 0.5rem; }

.provider-detail-sidebar ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
}

.provider-detail-sidebar ul li {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Legal/long-form content pages (privacy policy) */
.legal-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-800);
  margin: 1.75rem 0 0.6rem;
}

.legal-content p, .legal-content li {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.legal-content ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.legal-content li { margin-bottom: 0.4rem; }

.legal-content a { color: var(--accent); font-weight: 600; text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

.legal-effective-date {
  font-size: 0.8125rem;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .provider-detail-hero { grid-template-columns: 1fr; }
  .provider-detail-hero > *:last-child { order: -1; max-width: 10rem; }
}

@media (max-width: 900px) {
  .strict-grid,
  .strict-grid--3col { grid-template-columns: 1fr; }
  .locations-dark-grid { grid-template-columns: 1fr 1fr; }
  .location-dark-cell:nth-child(2) { border-right: none; }
  .location-dark-cell:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.1); }
  .location-dark-cell:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); border-right: none; }
  .lp-hero-content { grid-template-columns: 1fr; }
  .trust-band-grid { grid-template-columns: 1fr; }
  .trust-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .provider-grid-editorial,
  .provider-grid-editorial--2col { grid-template-columns: 1fr; }
  .bento-grid-2x2 { grid-template-columns: 1fr; }
  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  /*
   * Inline style="grid-template-columns:…" beats class media queries.
   * Force stack on content layouts. Book calendar/chip grids use <style>
   * classes (not element inline styles) and are unaffected.
   */
  .section [style*="grid-template-columns"],
  .container[style*="grid-template-columns"],
  .container > [style*="grid-template-columns"],
  .strict-grid[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* FAQ / sidebar sticky becomes static so it doesn't trap layout */
  .section [style*="position:sticky"],
  .section [style*="position: sticky"] {
    position: static !important;
    top: auto !important;
  }

  .lp-hero {
    min-height: auto;
    padding-top: 5.25rem;
  }
  .lp-hero .patient-hero-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    max-width: none;
  }
  .lp-hero .patient-hero-copy {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
  }
  .lp-address-block {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .locations-dark-grid { grid-template-columns: 1fr; }
  .location-dark-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .location-dark-cell:last-child { border-bottom: none; }
}
