/*
Theme Name: Precision Lifestyle Medicine Institute
Theme URI: https://clinicalbioage.com
Description: Custom child theme for Precision Lifestyle Medicine Institute, built on Astra.
Author: Precision Lifestyle Medicine Institute
Template: astra
Version: 1.0.0
Text Domain: clinicalbioage
*/

:root {
  --cba-ink: #17212b;
  --cba-muted: #5b6673;
  --cba-line: #d9e2e8;
  --cba-surface: #f7faf9;
  --cba-teal: #167c80;
  --cba-teal-dark: #0e585b;
  --cba-gold: #b88746;
}

body {
  color: var(--cba-ink);
}

a {
  color: var(--cba-teal);
}

a:hover,
a:focus {
  color: var(--cba-teal-dark);
}

.site-logo-img,
.ast-logo-title-inline .site-logo-img {
  padding-right: 0;
}

.cba-header-brand.custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(360px, 38vw);
  text-decoration: none;
}

.cba-header-mark {
  flex: 0 0 auto;
  width: var(--cba-header-logo-size, 58px);
  height: var(--cba-header-logo-size, 58px);
}

.site-logo-img .cba-header-mark img,
.cba-header-brand .custom-logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.cba-header-name {
  max-width: 230px;
  color: #061c4f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--cba-header-name-size, 17px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

.main-header-bar .ast-container,
.ast-primary-header-bar .ast-container {
  width: min(1280px, calc(100% - 48px));
  max-width: none;
}

.ast-builder-grid-row {
  grid-column-gap: 24px;
}

.ast-builder-menu-1 {
  flex: 1 1 auto;
}

.ast-builder-menu-1 .main-header-menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0;
}

.ast-builder-menu-1 .menu-item > .menu-link {
  padding-right: 16px;
  padding-left: 16px;
  white-space: nowrap;
}

@media (min-width: 922px) and (max-width: 1120px) {
  .cba-header-brand.custom-logo-link {
    gap: 9px;
    max-width: 280px;
  }

  .cba-header-mark {
    width: min(var(--cba-header-logo-size, 58px), 50px);
    height: min(var(--cba-header-logo-size, 58px), 50px);
  }

  .cba-header-name {
    max-width: 178px;
    font-size: min(var(--cba-header-name-size, 17px), 15px);
  }

  .ast-builder-menu-1 .menu-item > .menu-link {
    padding-right: 11px;
    padding-left: 11px;
    font-size: 14px;
  }
}

.clinical-home {
  background: #ffffff;
  color: var(--cba-ink);
  font-family: inherit;
}

.page .site-content #primary:has(.clinical-home),
.page .site-content #main:has(.clinical-home),
.page .entry-content:has(.clinical-home) {
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-id-10 #primary,
.page-id-10 #main,
.page-id-10 .entry-content,
.page-id-3 #primary,
.page-id-3 #main,
.page-id-3 .entry-content,
.page-id-39 #primary,
.page-id-39 #main,
.page-id-45 #primary,
.page-id-45 #main,
.page-id-45 .entry-content,
.page-id-74 #primary,
.page-id-74 #main,
.page-id-74 .entry-content,
.page-id-82 #primary,
.page-id-82 #main,
.page-id-82 .entry-content,
.page-id-89 #primary,
.page-id-89 #main,
.page-id-89 .entry-content,
.page-id-92 #primary,
.page-id-92 #main,
.page-id-92 .entry-content,
.page-id-110 #primary,
.page-id-110 #main,
.page-id-110 .entry-content,
.page-id-39 .entry-content {
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-id-10 .entry-content,
.page-id-3 .entry-content,
.page-id-39 .entry-content,
.page-id-45 .entry-content,
.page-id-74 .entry-content,
.page-id-82 .entry-content,
.page-id-89 .entry-content,
.page-id-92 .entry-content,
.page-id-110 .entry-content {
  display: flex;
  flex-direction: column;
  font-size: 0;
  line-height: 0;
}

.page-id-10 #primary,
.page-id-3 #primary,
.page-id-39 #primary,
.page-id-45 #primary,
.page-id-74 #primary,
.page-id-82 #primary,
.page-id-89 #primary,
.page-id-92 #primary,
.page-id-110 #primary {
  display: flex;
  flex-direction: column;
  font-size: 0;
  line-height: 0;
}

.page-id-10 #main,
.page-id-3 #main,
.page-id-39 #main,
.page-id-45 #main,
.page-id-74 #main,
.page-id-82 #main,
.page-id-89 #main,
.page-id-92 #main,
.page-id-110 #main {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 1.8571428571;
}

.page-id-10 .ast-article-single,
.page-id-3 .ast-article-single,
.page-id-39 .ast-article-single,
.page-id-45 .ast-article-single,
.page-id-74 .ast-article-single,
.page-id-82 .ast-article-single,
.page-id-89 .ast-article-single,
.page-id-92 .ast-article-single,
.page-id-110 .ast-article-single {
  display: flex;
  flex-direction: column;
}

.page-id-10 .entry-content > p:empty,
.page-id-3 .entry-content > p:empty,
.page-id-39 .entry-content > p:empty,
.page-id-45 .entry-content > p:empty,
.page-id-74 .entry-content > p:empty,
.page-id-82 .entry-content > p:empty,
.page-id-89 .entry-content > p:empty,
.page-id-92 .entry-content > p:empty,
.page-id-110 .entry-content > p:empty {
  display: none;
}

.clinical-home > p:empty {
  display: none;
}

.page-id-10 .entry-content::after,
.page-id-3 .entry-content::after,
.page-id-39 .entry-content::after,
.page-id-45 .entry-content::after,
.page-id-74 .entry-content::after,
.page-id-82 .entry-content::after,
.page-id-89 .entry-content::after,
.page-id-92 .entry-content::after,
.page-id-110 .entry-content::after {
  content: none;
  display: none;
  clear: none;
}

.page-id-3 .entry-title,
.page-id-45 .entry-title,
.page-id-74 .entry-title,
.page-id-82 .entry-title,
.page-id-89 .entry-title,
.page-id-92 .entry-title,
.page-id-110 .entry-title {
  display: none;
}

.clinical-home {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.8571428571;
}

.clinical-home * {
  box-sizing: border-box;
}

.clinical-home section {
  padding: 86px 24px;
}

.clinical-home .cba-wrap {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.clinical-home .cba-kicker {
  margin: 0 0 14px;
  color: var(--cba-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.clinical-home h1,
.clinical-home h2,
.clinical-home h3,
.clinical-home p {
  margin-top: 0;
}

.clinical-home h1 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(32px, 3.1vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
}

.clinical-home h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.clinical-home h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.22;
}

.clinical-home p {
  color: var(--cba-muted);
  font-size: 17px;
  line-height: 1.72;
}

.clinical-home .cba-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 54px 24px 48px;
  background: var(--cba-surface);
}

.cba-hero .cba-wrap {
  position: relative;
  z-index: 1;
}

.cba-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.cba-hero-text {
  max-width: 720px;
}

.cba-hero-copy {
  max-width: 540px;
  font-size: 16px;
}

.cba-hero-visual {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 20px 48px rgba(23, 33, 43, 0.14);
  isolation: isolate;
}

.cba-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 124, 128, 0.08), rgba(23, 33, 43, 0.12));
  z-index: 2;
}

.cba-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
}

.cba-hero-visual img:nth-of-type(1) {
  animation: cbaHeroSlideOne 18s infinite;
}

.cba-hero-visual img:nth-of-type(2) {
  animation: cbaHeroSlideTwo 18s infinite;
}

.cba-hero-visual img:nth-of-type(3) {
  animation: cbaHeroSlideThree 18s infinite;
}

@keyframes cbaHeroSlideOne {
  0%,
  32% {
    opacity: 1;
    transform: scale(1);
  }

  38%,
  94% {
    opacity: 0;
    transform: scale(1.035);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cbaHeroSlideTwo {
  0%,
  27%,
  71%,
  100% {
    opacity: 0;
    transform: scale(1.035);
  }

  33%,
  65% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes cbaHeroSlideThree {
  0%,
  60%,
  100% {
    opacity: 0;
    transform: scale(1.035);
  }

  66%,
  94% {
    opacity: 1;
    transform: scale(1);
  }
}

.cba-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.cba-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--cba-teal);
  border-radius: 4px;
  background: var(--cba-teal);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.cba-button:hover,
.cba-button:focus {
  background: var(--cba-teal-dark);
  border-color: var(--cba-teal-dark);
  color: #ffffff;
}

.cba-button-secondary {
  background: transparent;
  color: var(--cba-teal-dark);
}

.cba-button-secondary:hover,
.cba-button-secondary:focus {
  background: rgba(22, 124, 128, 0.08);
  color: var(--cba-teal-dark);
}

.cba-hero-panel {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 900px;
  margin-top: 44px;
  border: 1px solid var(--cba-line);
  background: var(--cba-line);
}

.cba-hero-panel div {
  min-height: 112px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.cba-hero-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cba-ink);
  font-size: 15px;
}

.cba-hero-panel span {
  display: block;
  color: var(--cba-muted);
  font-size: 14px;
  line-height: 1.55;
}

.cba-intro {
  background: #ffffff;
}

.cba-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 58px;
  align-items: center;
}

.cba-portrait {
  position: relative;
}

.cba-portrait-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  text-decoration: none;
}

.cba-portrait img {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(23, 33, 43, 0.12);
}

.cba-credential-card {
  width: min(360px, 88%);
  margin: -54px auto 0;
  padding: 22px;
  border-top: 4px solid var(--cba-gold);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(23, 33, 43, 0.12);
  position: relative;
}

.cba-credential-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.cba-credential-card strong a {
  color: var(--cba-ink);
  text-decoration: none;
}

.cba-credential-card strong a:hover,
.cba-credential-card strong a:focus {
  color: var(--cba-teal);
}

.cba-credential-card span {
  color: var(--cba-muted);
  font-size: 14px;
  line-height: 1.55;
}

.cba-pillars {
  background: var(--cba-surface);
}

.cba-section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

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

.cba-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--cba-line);
  border-radius: 8px;
  background: #ffffff;
}

.cba-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.cba-card-image-link {
  display: block;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 6px;
  background: #e8f1ef;
}

.cba-card-image-link .cba-card-image {
  margin-bottom: 0;
  transition: transform 220ms ease;
}

.cba-card:hover .cba-card-image-link .cba-card-image,
.cba-card:focus-within .cba-card-image-link .cba-card-image {
  transform: scale(1.035);
}

.cba-card small {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cba-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.cba-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.cba-card h3 a {
  color: var(--cba-ink);
  text-decoration: none;
}

.cba-card h3 a:hover,
.cba-card h3 a:focus {
  color: var(--cba-teal);
}

.cba-services {
  background: #ffffff;
}

.cba-service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cba-service {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--cba-line);
  border-radius: 8px;
  background: #ffffff;
}

.cba-service-image {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  border-radius: 6px;
  background: #e8f1ef;
}

.cba-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

.cba-service:hover .cba-service-image img,
.cba-service:focus-within .cba-service-image img {
  transform: scale(1.035);
}

.cba-service p {
  margin-bottom: 0;
  font-size: 15px;
}

.cba-rpm {
  background: #123236;
  color: #ffffff;
}

.cba-rpm h2,
.cba-rpm h3,
.cba-rpm p {
  color: #ffffff;
}

.cba-rpm p {
  color: rgba(255, 255, 255, 0.78);
}

.cba-rpm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.cba-rpm-benefit {
  display: flex;
  gap: 18px;
  min-height: 144px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.cba-rpm-benefit h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.cba-rpm-benefit p {
  margin-bottom: 0;
  font-size: 15px;
}

.cba-rpm-benefit > p,
.cba-rpm-benefit div p:empty,
.cba-rpm-mark br {
  display: none;
}

.cba-rpm-mark {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(184, 135, 70, 0.18));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cba-rpm-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cba-videos {
  background:
    linear-gradient(rgba(8, 21, 24, 0.78), rgba(8, 21, 24, 0.78)),
    url("https://precisionlifestylemd.com/wp-content/uploads/2026/07/img-9-300x300-1.jpg") center / cover no-repeat;
  color: #ffffff;
}

.page-id-39 .entry-title {
  display: none;
}

.cba-videos h2,
.cba-videos h1,
.cba-videos p {
  color: #ffffff;
}

.cba-videos .cba-actions {
  justify-content: center;
}

.cba-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.cba-story-grid-archive {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cba-story-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.cba-story-card iframe,
.cba-story-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #000000;
  object-fit: cover;
}

.cba-story-card-body {
  padding: 18px;
}

.cba-story-card-body h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 18px;
}

.cba-story-card-body p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.cba-site-footer {
  padding: 64px 24px 28px;
  background: #0f2529;
  color: #ffffff;
}

.site-footer,
.site-below-footer-wrap,
.site-primary-footer-wrap,
.site-above-footer-wrap {
  padding: 0;
  border: 0;
  background: #0f2529;
}

.site-footer .ast-builder-grid-row-container-inner,
.site-footer .ast-builder-footer-grid-columns {
  padding: 0;
  min-height: 0;
}

.cba-site-footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.cba-footer-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cba-footer-brand h2,
.cba-site-footer h3,
.cba-site-footer p {
  color: #ffffff;
}

.cba-footer-brand h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.cba-footer-brand p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.65;
}

body:has(.cba-treatment-cta) .cba-footer-brand > .cba-button {
  display: none;
}

.cba-footer-brand > .cba-button {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(360px, 100%);
}

.cba-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.15fr 0.8fr 1fr;
  gap: 34px;
  padding: 40px 0;
}

.cba-footer-map {
  overflow: hidden;
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.cba-footer-map iframe {
  display: block;
  width: 100%;
  min-height: 340px;
  border: 0;
}

.cba-site-footer h3 {
  margin: 0 0 16px;
  font-size: 15px;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.cba-site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cba-site-footer li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.cba-site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.cba-site-footer a:hover,
.cba-site-footer a:focus {
  color: #ffffff;
}

.cba-site-footer .cba-button {
  color: #ffffff;
}

.cba-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cba-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.cba-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cba-footer-bottom nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cba-service h3 a {
  color: var(--cba-ink);
  text-decoration: none;
}

.cba-service h3 a:hover,
.cba-service h3 a:focus {
  color: var(--cba-teal);
}

.clinical-treatments .cba-page-intro {
  padding: 72px 24px;
  background: var(--cba-surface);
}

.clinical-treatments .cba-page-intro .cba-wrap,
.clinical-assessments .cba-page-intro .cba-wrap {
  max-width: 900px;
}

.clinical-treatments .cba-page-intro h1,
.clinical-assessments .cba-page-intro h1 {
  max-width: 760px;
}

.clinical-treatments .cba-page-intro > .cba-wrap > p:not(.cba-kicker),
.clinical-assessments .cba-page-intro > .cba-wrap > p:not(.cba-kicker) {
  max-width: 760px;
}

.clinical-assessments .cba-page-intro {
  padding: 72px 24px;
  background:
    linear-gradient(90deg, rgba(247, 250, 249, 0.98), rgba(247, 250, 249, 0.86)),
    url("https://precisionlifestylemd.com/wp-content/uploads/2026/07/clinicalbioage-hero-longevity.png") center / cover no-repeat;
}

.clinical-rpm-page .cba-page-intro {
  padding: 72px 24px;
  background:
    linear-gradient(90deg, rgba(247, 250, 249, 0.98), rgba(247, 250, 249, 0.84)),
    url("https://precisionlifestylemd.com/wp-content/uploads/2026/07/treatment-remote-patient-monitoring-1.png") center / cover no-repeat;
}

.clinical-rpm-page .cba-page-intro .cba-wrap {
  max-width: 900px;
}

.clinical-rpm-page .cba-page-intro h1,
.clinical-rpm-page .cba-page-intro > .cba-wrap > p:not(.cba-kicker) {
  max-width: 760px;
}

.cba-rpm-overview {
  background: #ffffff;
}

.cba-rpm-page-benefits {
  background: #123236;
}

.clinical-profile .cba-page-intro {
  padding: 72px 24px;
  background: var(--cba-surface);
}

.clinical-contact-page .cba-page-intro {
  padding: 72px 24px;
  background: var(--cba-surface);
}

.clinical-privacy-page .cba-page-intro {
  padding: 72px 24px;
  background: var(--cba-surface);
}

.clinical-contact-page .cba-page-intro .cba-wrap {
  max-width: 900px;
}

.clinical-contact-page .cba-page-intro h1,
.clinical-contact-page .cba-page-intro > .cba-wrap > p:not(.cba-kicker),
.clinical-privacy-page .cba-page-intro .cba-wrap,
.clinical-privacy-page .cba-page-intro h1,
.clinical-privacy-page .cba-page-intro > .cba-wrap > p:not(.cba-kicker) {
  max-width: 760px;
}

.cba-privacy-content {
  max-width: 860px;
}

.cba-privacy-content h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 28px;
}

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

.cba-privacy-content p {
  margin-bottom: 16px;
}

.cba-contact-section {
  background: #ffffff;
}

.cba-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.cba-contact-panel {
  padding: 34px;
  border: 1px solid var(--cba-line);
  border-radius: 8px;
  background: var(--cba-surface);
}

.cba-contact-panel h3 {
  margin-bottom: 18px;
}

.cba-contact-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--cba-muted);
}

.cba-contact-panel li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.55;
}

.cba-contact-panel li:last-child {
  margin-bottom: 0;
}

.cba-contact-methods {
  display: grid;
  gap: 14px;
}

.cba-contact-method {
  display: block;
  padding: 22px;
  border: 1px solid var(--cba-line);
  border-radius: 8px;
  background: var(--cba-surface);
  text-decoration: none;
}

.cba-contact-method span {
  display: block;
  margin-bottom: 4px;
  color: var(--cba-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cba-contact-method strong {
  color: var(--cba-ink);
  font-size: 20px;
  line-height: 1.25;
}

.cba-contact-method[href]:hover,
.cba-contact-method[href]:focus {
  border-color: rgba(22, 124, 128, 0.45);
  background: #ffffff;
}

.cba-contact-form-section {
  background: #ffffff;
  border-top: 1px solid var(--cba-line);
}

.cba-appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--cba-line);
  border-radius: 8px;
  background: var(--cba-surface);
}

.cba-appointment-form label {
  display: grid;
  gap: 7px;
  margin: 0;
}

.cba-appointment-form label span {
  color: var(--cba-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cba-appointment-form input,
.cba-appointment-form select,
.cba-appointment-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c8d5dc;
  border-radius: 6px;
  background: #ffffff;
  color: var(--cba-ink);
  font: inherit;
}

.cba-appointment-form textarea {
  resize: vertical;
}

.cba-appointment-form input:focus,
.cba-appointment-form select:focus,
.cba-appointment-form textarea:focus {
  border-color: var(--cba-teal);
  outline: 2px solid rgba(22, 124, 128, 0.18);
  outline-offset: 0;
}

.cba-form-full,
.cba-form-notice {
  grid-column: 1 / -1;
}

.cba-form-notice {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.cba-form-notice-success {
  background: #e5f5ee;
  color: #17633f !important;
}

.cba-form-notice-error {
  background: #fdecec;
  color: #8a1f1f !important;
}

.cba-contact-locations {
  background: var(--cba-surface);
}

.cba-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cba-contact-card p {
  margin-bottom: 0;
}

.cba-profile-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 58px;
  align-items: center;
}

.cba-profile-hero h1 {
  max-width: 760px;
}

.cba-profile-hero p:not(.cba-kicker) {
  max-width: 760px;
}

.cba-profile-portrait {
  position: relative;
}

.cba-profile-portrait img {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(23, 33, 43, 0.12);
}

.cba-profile-story {
  background: #ffffff;
}

.cba-assessment-overview {
  background: #ffffff;
}

.cba-assessment-section {
  background: var(--cba-surface);
}

.cba-assessment-directory {
  display: grid;
  gap: 18px;
}

.cba-assessment-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 46px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--cba-line);
  border-radius: 8px;
  background: #ffffff;
  scroll-margin-top: 32px;
}

.cba-assessment-detail:nth-child(even) .cba-assessment-media {
  order: 2;
}

.cba-assessment-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #e8f1ef;
}

.cba-assessment-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cba-assessment-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 40px);
}

.cba-treatment-section {
  background: #ffffff;
}

.cba-treatment-directory {
  display: grid;
  gap: 0;
}

.cba-treatment-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 58px;
  align-items: center;
  padding: 66px 0;
  border-bottom: 1px solid var(--cba-line);
  scroll-margin-top: 32px;
}

.cba-treatment-detail:first-child {
  padding-top: 0;
}

.cba-treatment-detail:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cba-treatment-detail:nth-child(even) .cba-treatment-media {
  order: 2;
}

.cba-treatment-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #e8f1ef;
}

.cba-treatment-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cba-treatment-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--cba-teal-dark);
  font-size: 72px;
  font-weight: 700;
}

.cba-treatment-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 40px);
}

.cba-treatment-summary {
  margin-bottom: 18px;
  color: var(--cba-ink) !important;
  font-size: 19px !important;
  font-weight: 600;
}

.cba-treatment-body p:last-child {
  margin-bottom: 0;
}

.cba-text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--cba-teal-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-transform: uppercase;
  text-underline-offset: 4px;
}

.cba-treatment-cta {
  background: #10272b;
}

.cba-treatment-cta .cba-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.cba-treatment-cta h2,
.cba-treatment-cta p {
  color: #ffffff;
}

.cba-treatment-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.cba-treatment-cta .cba-button {
  min-width: min(320px, 100%);
}

.cba-treatment-cta .cba-kicker {
  color: #65c1c3;
}

@media (max-width: 920px) {
  .clinical-home section {
    padding: 64px 20px;
  }

.clinical-home .cba-hero {
    min-height: auto;
  }

  .cba-profile-hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cba-contact-layout,
  .cba-contact-grid {
    grid-template-columns: 1fr;
  }

  .cba-appointment-form {
    grid-template-columns: 1fr;
  }

  .cba-hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cba-hero-visual {
    min-height: 260px;
    border-radius: 8px;
  }

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

  .cba-grid,
  .cba-hero-panel {
    grid-template-columns: 1fr;
  }

  .cba-service-list,
  .cba-rpm-list,
  .cba-story-grid,
  .cba-story-grid-archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cba-footer-brand,
  .cba-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cba-footer-brand {
    align-items: start;
  }

  .cba-treatment-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cba-treatment-detail:nth-child(even) .cba-treatment-media,
  .cba-assessment-detail:nth-child(even) .cba-assessment-media {
    order: 0;
  }

  .cba-treatment-media,
  .cba-assessment-media {
    max-width: 620px;
  }

  .cba-assessment-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cba-treatment-cta .cba-wrap {
    gap: 26px;
  }
}

@media (max-width: 620px) {
  .clinical-home section {
    padding: 50px 18px;
  }

  .clinical-home .cba-hero {
    padding: 36px 18px 42px;
  }

  .clinical-home h1 {
    font-size: 31px;
  }

  .cba-hero-copy {
    font-size: 15px;
    line-height: 1.58;
  }

  .cba-hero-visual {
    min-height: 180px;
  }

  .cba-actions {
    display: grid;
  }

  .cba-button {
    width: 100%;
  }

  .cba-service-list,
  .cba-rpm-list,
  .cba-story-grid,
  .cba-story-grid-archive {
    grid-template-columns: 1fr;
  }

  .cba-site-footer {
    padding: 50px 18px 24px;
  }

  .cba-footer-brand,
  .cba-footer-grid {
    grid-template-columns: 1fr;
  }

  .cba-footer-brand {
    padding-bottom: 32px;
  }

  .cba-footer-grid {
    gap: 24px;
    padding: 32px 0;
  }

  .cba-footer-bottom {
    display: grid;
  }

  .clinical-treatments .cba-page-intro,
  .clinical-assessments .cba-page-intro,
  .clinical-rpm-page .cba-page-intro,
  .clinical-profile .cba-page-intro,
  .clinical-contact-page .cba-page-intro,
  .clinical-privacy-page .cba-page-intro {
    padding: 50px 18px;
  }

  .cba-treatment-detail,
  .cba-assessment-detail {
    padding: 48px 0;
  }

  .cba-assessment-detail {
    padding: 26px;
  }

  .cba-appointment-form {
    padding: 24px;
  }

  .cba-contact-method strong {
    font-size: 18px;
  }
}
