/* Clinic pages (/clinics/<slug>) — builds on base.css + site.css */
.cp-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--navy-900); }
.cp-photo { position: absolute; inset: 0; z-index: -1; }
.cp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
.cp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 16, 43, .95) 0%, rgba(3, 16, 43, .82) 45%, rgba(3, 16, 43, .35) 100%), linear-gradient(0deg, rgba(2, 11, 31, .9) 0%, transparent 40%); }
.cp-hero-in { padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(48px, 7vw, 88px); }
.cp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--ice-300); margin-bottom: 28px; }
.cp-crumbs a { color: var(--ice-300); text-decoration: none; }
.cp-crumbs a:hover { color: var(--white); text-decoration: underline; }
.cp-crumbs span[aria-hidden] { opacity: .5; }
.cp-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.cp-seats { font-size: .85rem; font-weight: 600; color: var(--ice-300); }
.cp-title { margin: 0; max-width: 18ch; font-size: clamp(2.3rem, 6vw, 4.6rem); color: var(--ice); text-shadow: 0 2px 24px rgba(2, 11, 31, .35); }
.cp-when { margin: 18px 0 0; font-family: var(--f-display); font-style: italic; font-stretch: 125%; font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--orange); }
.cp-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; padding: 0; list-style: none; color: #dcecfb; font-size: 1rem; }
.cp-meta li { display: inline-flex; align-items: center; gap: 8px; }
.cp-meta svg { width: 18px; height: 18px; color: var(--ice); flex: none; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.cp-body { background: var(--navy-950); padding: clamp(56px, 8vw, 96px) 0; color: var(--white); }
.cp-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cp-h { margin: 0 0 18px; font-family: var(--f-display); font-style: italic; font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1; color: var(--white); }
.cp-h3 { margin: 32px 0 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }
.cp-lede { margin: 0; max-width: 60ch; font-size: 1.08rem; line-height: 1.7; color: #dcecfb; }
.cp-coaches { margin: 0; color: var(--ice-300); }
.cp-coaches a, .cp-note a, .cp-ask a { color: var(--ice); }
.cp-note { margin: 32px 0 0; padding: 16px 18px; border-radius: var(--r); background: rgba(172, 215, 248, .07); color: var(--ice-300); }
.cp-card { position: sticky; top: 96px; padding: 26px; border-radius: var(--r-lg); background: var(--navy-850); border: 1px solid rgba(172, 215, 248, .12); }
.cp-how { margin: 22px 0 16px; font-size: .92rem; color: var(--ice-300); }
.cp-wide { width: 100%; }
.cp-ask { margin: 18px 0 0; font-size: .85rem; color: #8fa6c4; }

.cp-coaches-sec { margin-top: clamp(56px, 7vw, 88px); }
.cp-coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.cp-coach:not(.is-plain) { grid-column: 1 / -1; }
.cp-coach { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; padding: 20px; border-radius: var(--r-lg); background: var(--navy-850); border: 1px solid rgba(172, 215, 248, .12); }
.cp-coach.is-plain { grid-template-columns: 1fr; }
.cp-coach-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-800); }
.cp-coach-photo img { width: 100%; height: 100%; object-fit: cover; }
.cp-coach h3 { margin: 0; font-size: 1.2rem; color: var(--white); }
.cp-role { margin: 4px 0 14px; color: var(--orange); font-weight: 700; font-size: .88rem; }
.cp-creds, .cp-results { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .9rem; color: var(--ice-300); }
.cp-creds li { position: relative; padding-left: 18px; }
.cp-creds li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 2px; background: var(--orange); }
.cp-coach .cp-h3 { margin-top: 18px; }
.cp-coach-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; align-items: start; }
.cp-coach-cols .cp-h3:first-child { margin-top: 0; }
.cp-results b { color: var(--white); margin-right: 6px; font-variant-numeric: tabular-nums; }
.cp-more { margin-top: clamp(56px, 7vw, 88px); }
.cp-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(172, 215, 248, .14); }
.cp-list a { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(172, 215, 248, .14); color: var(--white); text-decoration: none; }
.cp-list a:hover .cp-l-name { color: var(--orange); }
.cp-l-date { font-family: var(--f-display); font-style: italic; font-stretch: 125%; font-weight: 800; color: var(--orange); }
.cp-l-name { font-weight: 700; transition: color .2s; }
.cp-l-meta { color: var(--ice-300); font-size: .9rem; }
.cp-404 { min-height: 100vh; }
.cp-404 .brand { margin-bottom: 48px; }
.cp-404 .cp-lede { margin: 18px 0 32px; }
.cp-404 .cp-list { margin-bottom: 32px; }

@media (max-width: 900px) {
  .cp-grid { grid-template-columns: 1fr; }
  .cp-card { position: static; }
}
@media (max-width: 820px) { .cp-nav { display: none !important; } }
@media (max-width: 600px) {
  .cp-coach { grid-template-columns: 1fr; }
  .cp-coach-photo { aspect-ratio: 4 / 3; }
  .cp-list a { grid-template-columns: 1fr; gap: 2px; }
  .cp-actions .btn { width: 100%; }
}
