/*
Theme Name: Compassion Clinic
Description: Independent, responsive WordPress theme for Compassion Medical Clinic. No page builder required.
Version: 1.0.0
Author: Compassion Medical Clinic
Text Domain: compassion-clinic
*/
:root{--ink:#123d3a;--teal:#14645b;--deep:#123e39;--mint:#e8f0e9;--cream:#f7f6ef;--muted:#536762;--line:#d9e2dc;--orange:#d69d68;--white:#fff;--radius:18px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:120px}
body.cmc-site{margin:0;color:var(--ink);background:var(--white);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
h1,h2,h3,p,ul,ol,figure,blockquote{margin:0}
h1,h2,h3{line-height:1.12;letter-spacing:-.045em;color:var(--ink)}
h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400}
h1{font-size:clamp(46px,5.2vw,78px)}
h2{font-size:clamp(34px,3.3vw,49px)}
h3{font-size:23px;font-weight:650;letter-spacing:-.025em}
p{margin:0 0 18px}
p:last-child{margin-bottom:0}
a{color:var(--teal);text-underline-offset:5px}
a:hover{color:#0a433c}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid #b66c2f;outline-offset:5px}
img,video{max-width:100%;height:auto;display:block}
button,input,textarea{font:inherit}
.wrap{width:min(1200px,calc(100% - 64px));margin-inline:auto}
.topbar{background:var(--deep);color:#fff;font-size:12px;letter-spacing:.02em}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;min-height:37px;gap:16px}
.topbar a{color:#fff;text-decoration:none;font-weight:600}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}
.admin-bar .site-header{top:32px}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:101px}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;flex-shrink:0}
.brand img{width:60px;height:60px;object-fit:contain}
.brand>span{display:flex;flex-direction:column}
.brand strong{font-family:Georgia,serif;font-size:31px;font-weight:400;line-height:1.2;letter-spacing:-1px}
.brand>span>span{font-size:9px;font-weight:650;letter-spacing:.13em;margin-top:4px}
.brand-county{display:block;font-size:8px;letter-spacing:.09em}
#primary-navigation{display:flex;align-items:center;gap:22px}
#primary-navigation>a{font-size:13px;white-space:nowrap;text-decoration:none;font-weight:600}
#primary-navigation>a[aria-current]{text-decoration:underline;text-decoration-thickness:2px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:54px;padding:14px 24px;border:1px solid transparent;border-radius:7px;background:var(--teal);color:#fff;text-decoration:none;font-size:14px;font-weight:650;line-height:1.4;transition:background .15s,transform .15s}
.button:hover{background:#0b493f;color:#fff;transform:translateY(-1px)}
.button.small{min-height:46px;padding:12px 16px;gap:13px}
.button.outline{background:transparent;color:var(--ink);border-color:#a4b8ad}
.button.outline:hover{background:var(--mint)}
.button.light{background:#fff;color:var(--deep)}
.button.light:hover{background:#e4eee6}
.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:28px}
.text-link{font-size:14px;font-weight:650;text-decoration:underline}
.menu-toggle{display:none;background:var(--mint);border:0;border-radius:6px;padding:10px 14px;color:var(--ink);font-weight:600}
.eyebrow{font-size:11px;font-weight:750;letter-spacing:.18em;text-transform:uppercase;margin-bottom:22px;color:var(--teal);display:flex;align-items:center;gap:10px}
.eyebrow:before{content:"";width:23px;height:1px;background:currentColor}
.hero{background:var(--cream);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:72px;align-items:center;padding-block:65px 70px}
.hero-copy h1{max-width:650px;margin-bottom:25px}
.hero h1 em{font-weight:400;color:var(--teal)}
.hero-copy>p:not(.eyebrow){max-width:500px;color:var(--muted);font-size:18px}
.hero-note{font-size:12px!important;margin-top:21px!important}
.hero-visual{position:relative;padding:0 0 35px 16px}
.hero-photo{width:100%;height:440px;object-fit:cover;border-radius:90px 18px 90px 18px;object-position:center 35%}
.photo-note{position:absolute;bottom:0;left:-15px;width:235px;border-radius:12px;background:#fff;box-shadow:0 15px 45px #123e3915;padding:21px 24px;display:flex;gap:14px;align-items:center;font-size:12px;line-height:1.5;color:var(--muted)}
.photo-note strong{font-size:17px;color:var(--ink);display:block}
.photo-note .symbol{font-size:27px;color:var(--teal)}
.caption-tag{position:absolute;right:15px;top:20px;padding:8px 13px;background:var(--cream);border-radius:30px;font-size:11px;font-weight:650}
.quick-strip{border-block:1px solid var(--line);background:#fff}
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.quick-item{padding:27px 30px;display:flex;align-items:center;gap:17px;border-right:1px solid var(--line)}
.quick-item:first-child{padding-left:0}.quick-item:last-child{border:0}
.quick-item strong{display:block;font-size:15px;line-height:1.5}
.quick-item span{font-size:12px;color:var(--muted)}
.icon{display:grid;place-items:center;min-width:42px;width:42px;height:42px;border-radius:50%;background:var(--mint);color:var(--teal);font-size:21px}
.section{padding-block:88px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:36px}
.section-head h2{max-width:570px}
.section-head>p{max-width:370px;color:var(--muted);font-size:15px;margin-bottom:0}
.section-intro{max-width:690px;margin:22px 0 35px;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card{padding:32px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.card .icon{margin-bottom:28px}
.card h3{margin-bottom:15px}.card p{color:var(--muted);font-size:15px}
.card .text-link{display:inline-block;margin-top:16px}
.tinted{background:var(--cream)}.mint{background:var(--mint)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.split h2{margin-bottom:24px}
.split p{color:var(--muted)}
.split-img{width:100%;height:420px;object-fit:cover;border-radius:var(--radius)}
.check-list{list-style:none;padding:0;margin-top:24px}
.check-list li{padding:13px 0 13px 31px;border-bottom:1px solid var(--line);position:relative;font-size:15px}
.check-list li:before{content:"✓";position:absolute;left:0;color:var(--teal);font-weight:700}
.eligibility-panel{background:#fff;border:1px solid var(--line);padding:32px;border-radius:var(--radius)}
.eligibility-panel h3{margin-bottom:15px}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{text-align:left;border-bottom:1px solid var(--line);padding:9px 6px}
th{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
td:last-child,th:last-child{text-align:right}
.fine{font-size:12px!important;line-height:1.6;color:var(--muted);margin-top:18px}
.quote-section{background:var(--deep);color:#fff}
.quote-section .eyebrow{color:#afcebc}
.quote-section blockquote{font-family:Georgia,serif;font-size:clamp(26px,3.2vw,43px);line-height:1.4;max-width:850px;margin:auto;letter-spacing:-.02em}
.quote-section .wrap{text-align:center;max-width:950px}
.quote-section .eyebrow{justify-content:center}
.quote-section cite{display:block;font-style:normal;font-size:13px;letter-spacing:.04em;margin-top:25px;color:#c1d6cd}
.steps{counter-reset:steps}
.step{position:relative;padding-top:65px}
.step:before{counter-increment:steps;content:"0" counter(steps);position:absolute;top:0;left:0;color:var(--teal);font-family:Georgia,serif;font-size:40px}
.step h3{margin-bottom:15px}
.step p{color:var(--muted);font-size:15px}
.page-hero{background:var(--cream);padding:65px 0 58px;border-bottom:1px solid var(--line)}
.page-hero h1{max-width:820px;font-size:clamp(44px,5vw,68px)}
.page-hero .lead{color:var(--muted);font-size:18px;max-width:680px;margin-top:24px}
.page-hero .breadcrumb{font-size:12px;margin-bottom:28px}
.breadcrumb a{text-decoration:none}.breadcrumb span{margin:0 9px}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.service-item{padding:25px 27px;border:1px solid var(--line);border-radius:12px;background:var(--white);display:flex;align-items:center;gap:18px;font-size:17px;font-weight:600}
.service-item span{color:var(--teal);font-weight:400;font-size:12px}
.notice{padding:24px 28px;border-left:3px solid var(--teal);border-radius:0 10px 10px 0;background:var(--mint);margin-top:30px;font-size:15px}
.faq-layout{display:grid;grid-template-columns:300px 1fr;gap:75px;align-items:start}
.sidebar-panel{background:var(--mint);padding:30px;border-radius:var(--radius)}
.sidebar-panel h2{font-size:31px;margin-bottom:18px}.sidebar-panel p{font-size:15px}
.faq details{border-bottom:1px solid var(--line);padding:0}
.faq summary{list-style:none;cursor:pointer;font-weight:650;font-size:18px;line-height:1.5;padding:25px 40px 25px 0;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";position:absolute;right:3px;top:22px;font-size:26px;font-weight:400;color:var(--teal)}
.faq details[open] summary:after{content:"−"}
.faq details>div{padding:0 35px 25px 0;color:var(--muted);font-size:16px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.contact-grid h2{margin-bottom:23px}
.contact-card{padding:35px;background:var(--cream);border-radius:var(--radius);margin-bottom:24px}
.contact-card h3{margin-bottom:19px}
.contact-card dl{margin:0}.contact-card dt{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:700;margin-top:20px;color:var(--muted)}.contact-card dd{margin:4px 0 0}
.map{width:100%;height:330px;border:0;border-radius:var(--radius);margin-top:25px}
.video{width:100%;border-radius:var(--radius);background:var(--deep);max-height:600px}
.prose{max-width:820px}.prose h2{margin:40px 0 22px}.prose h3{margin:28px 0 15px}.prose p{color:var(--muted)}.prose ul{padding-left:22px}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.team-member{padding:25px;border:1px solid var(--line);border-radius:12px}
.team-member h3{font-size:18px;margin-bottom:7px}.team-member p{font-size:13px;color:var(--muted)}
.values-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.values-grid .card{display:flex;gap:24px;align-items:start}.value-number{font-size:12px;color:var(--teal);padding-top:5px}
.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.resource-grid h2{font-family:inherit;font-size:21px;font-weight:650;letter-spacing:-.02em;margin-bottom:18px}
.resource-grid ul{list-style:none;padding:0;font-size:14px}
.resource-grid li+li{margin-top:12px}
.resource-grid a{overflow-wrap:anywhere}
.closing{background:#dfece3;padding:57px 0}
.closing-row{display:flex;justify-content:space-between;align-items:center;gap:35px}
.closing .eyebrow{margin-bottom:13px}
.closing h2{font-size:clamp(32px,3.6vw,49px);margin-bottom:14px}
.closing p:not(.eyebrow){color:var(--muted);font-size:15px}
.closing .button{font-size:21px;min-width:230px}
.site-footer{background:#f9faf7;padding:65px 0 0}
.footer-grid{display:grid;grid-template-columns:1.25fr .8fr .9fr 1.15fr;gap:45px;padding-bottom:55px}
.footer-brand{font-family:Georgia,serif;font-size:31px;line-height:1.2;text-decoration:none;color:var(--ink)}
.footer-brand span{font-family:system-ui,sans-serif;font-size:11px}
.footer-grid p{font-size:12px;color:var(--muted);margin-top:18px}
.footer-grid h2{font-family:inherit;font-size:13px;font-weight:700;letter-spacing:0;margin-bottom:23px}
.footer-grid>div>a:not(.footer-brand){display:block;font-size:12px;margin-bottom:10px;text-decoration:none;overflow-wrap:anywhere}
.footer-bottom{border-top:1px solid var(--line);padding-block:23px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:var(--muted)}
.skip-link{position:fixed;top:-100px;left:15px;z-index:10000;padding:15px;background:#fff;color:var(--deep)}.skip-link:focus{top:10px}
.cmc-site div.wpforms-container-full{margin:25px 0 0}
.cmc-site div.wpforms-container-full input:not([type=radio]):not([type=checkbox]),.cmc-site div.wpforms-container-full textarea,.cmc-site div.wpforms-container-full select{border-radius:6px;border:1px solid #9db2a7;min-height:48px;background:#fff;color:var(--ink);max-width:100%}
.cmc-site div.wpforms-container-full .wpforms-field-label{color:var(--ink);font-size:14px}
.cmc-site div.wpforms-container-full .wpforms-field-sublabel{color:var(--muted)}
.cmc-site div.wpforms-container-full button[type=submit]{background:var(--teal);border:0;border-radius:7px;color:#fff;padding:14px 26px;min-height:50px}
.cmc-site div.wpforms-container-full .wpforms-field{padding:13px 0}
.cmc-site div.wpforms-container-full .wpforms-field-radio li{margin:10px 0}
@media(min-width:1550px){.wrap{width:min(1320px,calc(100% - 96px))}.hero-grid{gap:90px}.hero-photo{height:470px}#primary-navigation{gap:25px}}
@media(max-width:1150px){.header-row{gap:20px}#primary-navigation{gap:14px}#primary-navigation>a{font-size:12px}.brand strong{font-size:27px}.brand img{width:50px;height:50px}.button.small{padding:11px}.hero-grid{gap:42px}.footer-grid{gap:25px}.hero-photo{height:420px}}
@media(max-width:1000px){.menu-toggle{display:block}.header-row{min-height:88px}#primary-navigation{display:none;position:absolute;top:100%;left:0;right:0;background:white;max-height:calc(100dvh - 140px);overflow:auto;padding:20px 32px;border-bottom:1px solid var(--line);box-shadow:0 12px 22px #123d3a0a}#primary-navigation.is-open{display:flex;flex-direction:column;align-items:stretch;gap:0}#primary-navigation>a{font-size:16px;padding:13px 10px}#primary-navigation .button{margin-top:12px}.hero-grid{gap:30px}.hero-photo{height:380px}.photo-note{left:0;width:210px;padding:17px}.split{gap:40px}.faq-layout{grid-template-columns:240px 1fr;gap:35px}.team-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr);gap:35px}}
@media(max-width:700px){.wrap{width:calc(100% - 40px)}.topbar{font-size:10px}.topbar .wrap{min-height:34px;gap:8px}.topbar a{white-space:nowrap}.brand strong{font-size:27px}.brand img{width:49px;height:49px}.brand>span>span{font-size:8px}.brand-county{font-size:7px}.menu-toggle{font-size:12px;padding:9px 11px}.header-row{gap:10px;min-height:82px}.hero-grid{grid-template-columns:1fr;padding:42px 0 47px;gap:35px}.hero-copy h1{font-size:52px;line-height:1.05;max-width:520px}.hero-copy>p:not(.eyebrow){font-size:16px}.eyebrow{font-size:10px;letter-spacing:.13em;margin-bottom:18px}.hero-visual{padding:0 0 28px 10px;max-width:490px;width:100%;margin:auto}.hero-photo{height:330px;border-radius:55px 14px 55px 14px}.photo-note{left:0;bottom:0}.quick-grid{grid-template-columns:1fr}.quick-item,.quick-item:first-child{padding:17px 0;border-right:0;border-bottom:1px solid var(--line)}.quick-item:last-child{border:0}.quick-item strong{font-size:14px}.section{padding-block:55px}.section-head{display:block;margin-bottom:28px}.section-head>p{margin-top:20px}.cards,.service-grid,.resource-grid,.values-grid{grid-template-columns:1fr}.card{padding:27px}.card .icon{margin-bottom:22px}.split,.contact-grid,.faq-layout{grid-template-columns:1fr;gap:32px}.eligibility-panel{padding:25px}.split-img{height:310px}.steps{gap:32px}.step{padding-top:51px}.page-hero{padding:40px 0}.page-hero .lead{font-size:16px}.page-hero .breadcrumb{margin-bottom:22px}.team-grid{grid-template-columns:repeat(2,1fr)}.team-member{padding:20px}.team-member h3{font-size:16px}.contact-card{padding:26px}.closing-row{align-items:start;flex-direction:column;gap:25px}.closing{padding:42px 0}.closing .button{font-size:18px;min-width:0}.footer-grid{gap:35px 25px}.footer-grid>div:first-child{grid-column:1/-1}.footer-grid>div:last-child{grid-column:1/-1}.site-footer{padding-top:45px}.footer-bottom{flex-direction:column;gap:8px}.faq summary{font-size:17px}.admin-bar .site-header{top:46px}}
@media(max-width:390px){.wrap{width:calc(100% - 32px)}.brand img{width:40px;height:40px}.brand strong{font-size:24px}.brand>span>span{font-size:7px}.brand-county{font-size:6px}.hero-copy h1{font-size:45px}.topbar .wrap>span{max-width:175px}.button{padding:14px 18px;gap:15px}.hero-photo{height:280px}}
@media(max-width:600px){.admin-bar .site-header{top:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}.button:hover{transform:none}}
@media print{.topbar,.site-header,.site-footer,.closing,.actions,.skip-link,#wpadminbar{display:none}.hero-grid,.split,.cards,.contact-grid{display:block}.section{padding:25px 0}body.cmc-site{font-size:12pt}.wrap{width:100%}details>div{display:block!important}}
