/*
Theme Name: Unity HS Redesign (unhealthy-child)
Template: unhealthy
Version: 0.3.9
Description: Redesign preview child theme for unityhs.com, matching the approved mockups. Preview only.
Text Domain: unhealthy-child
*/
:root{--uhs-teal:#2f5d62;--uhs-deep:#24484c;--uhs-dark:#1f3b3e;--uhs-or:#b7793f;--uhs-or2:#9a6a3a;--uhs-cream:#f5efe6;--uhs-chip:#f1ebe2;--uhs-line:#e7e1d8}
body.uhs{margin:0;font-family:"Source Sans 3","Source Sans Pro",-apple-system,Segoe UI,sans-serif;color:#2b2b2b;background:#fff;font-size:17px;line-height:1.6}
.uhs *,.uhs *::before,.uhs *::after{box-sizing:border-box}
.uhs a{color:var(--uhs-teal)}
.uhs h1,.uhs h2,.uhs h3{font-family:Lora,Georgia,serif;color:var(--uhs-deep);line-height:1.2}
.uhs img{max-width:100%;height:auto}
.uhs-skip{position:absolute;left:-9999px}.uhs-skip:focus{left:10px;top:10px;z-index:1000;background:#fff;padding:8px}
/* utility bar + header */
.uhs-util{background:var(--uhs-teal);font-size:14px;padding:6px 48px;display:flex;gap:24px;flex-wrap:wrap}
.uhs .uhs-util a{color:#e8f0ef;text-decoration:none}
.uhs-header{position:sticky;top:0;z-index:100;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 48px;border-bottom:1px solid #eee}
.admin-bar .uhs-header{top:32px}
.uhs .uhs-logo{display:flex;align-items:center;gap:12px;text-decoration:none}
.uhs-logo img{width:52px;height:52px;object-fit:contain}
.uhs-logo b{font-family:Lora,Georgia,serif;font-size:24px;color:var(--uhs-teal);display:block;line-height:1.15}
.uhs-logo small{color:var(--uhs-or2);font-style:italic;font-size:14px}
.uhs-nav{display:flex;gap:20px;align-items:center;font-size:16px;flex-wrap:wrap;justify-content:flex-end}
.uhs .uhs-nav a{color:#2b2b2b;text-decoration:none;padding:4px 0}
.uhs .uhs-nav a:hover{color:var(--uhs-teal)}
.uhs .uhs-nav a.on{color:var(--uhs-teal);font-weight:700;border-bottom:2px solid var(--uhs-or)}
.uhs-nav-toggle{position:absolute;opacity:0;pointer-events:none}
.uhs-burger{display:none;cursor:pointer;padding:10px;margin:0}
.uhs-burger span{display:block;width:26px;height:3px;background:var(--uhs-teal);margin:5px 0;border-radius:2px;transition:.2s}
/* buttons */
.uhs .uhs-button{display:inline-block;background:var(--uhs-or);color:#fff;padding:12px 24px;border-radius:30px;font-weight:600;text-decoration:none;border:2px solid var(--uhs-or);line-height:1.3;transition:background .15s}
.uhs .uhs-button:hover{background:#a0662f;border-color:#a0662f;color:#fff}
.uhs .uhs-button.sm{padding:8px 16px;font-size:15px}
.uhs .uhs-nav a.uhs-button{color:#fff;padding:8px 16px;border-bottom:2px solid var(--uhs-or)}
.uhs .uhs-button.ghost{background:transparent;color:var(--uhs-teal);border-color:var(--uhs-teal)}
.uhs .uhs-button.ghost:hover{background:var(--uhs-teal);color:#fff}
.uhs .uhs-button.light{background:#fff;color:var(--uhs-teal);border-color:#fff}
.uhs-btns{display:flex;flex-wrap:wrap;gap:10px;justify-content:inherit}
/* hero, strip, sections */
.uhs-hero{background:linear-gradient(135deg,#f5efe6,#e6efe9);padding:70px 48px 60px;text-align:center}
.uhs-hero h1{font-size:44px;margin:8px auto 14px;max-width:900px}
.uhs-hero p{font-size:19px;max-width:760px;margin:0 auto 18px}
.uhs-hero .uhs-btns{justify-content:center}
.uhs-eb,.uhs-cat{text-transform:uppercase;letter-spacing:2px;font-size:13px;color:var(--uhs-or2);font-weight:700}
.uhs a.uhs-cat{text-decoration:none}
.uhs-strip{display:flex;justify-content:center;gap:14px 34px;background:var(--uhs-teal);color:#fff;padding:16px 24px;font-size:15px;flex-wrap:wrap;text-align:center}
.uhs-main{display:block;padding:0;margin:0}
.uhs-sec{padding:46px 48px;max-width:1280px;margin:0 auto}
.uhs-sec.narrow{max-width:900px}
.uhs-sec h2,.uhs-ctab h2,.uhs-post h2{font-size:29px;margin:0 0 14px}
.uhs-intro{color:#666}.uhs-center{text-align:center}
.uhs-chips{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px}
.uhs-chips li{background:var(--uhs-chip);border-radius:20px;padding:8px 16px;font-size:16px}
.uhs-grid{display:grid;gap:22px}.uhs-grid.n2{grid-template-columns:repeat(2,1fr)}.uhs-grid.n3{grid-template-columns:repeat(3,1fr)}.uhs-grid.n4{grid-template-columns:repeat(4,1fr)}
.uhs .uhs-tile,.uhs-card-a{display:block;border:1px solid var(--uhs-line);border-radius:12px;padding:22px;background:#fffdf9;color:#2b2b2b;text-decoration:none;transition:box-shadow .15s,transform .15s}
.uhs .uhs-tile:hover{box-shadow:0 6px 20px rgba(0,0,0,.08);transform:translateY(-2px)}
.uhs-tile h3,.uhs-card-a h3{color:var(--uhs-teal);margin:4px 0 8px;font-size:20px}
.uhs-tile p,.uhs-card-a p{font-size:15px}
.uhs-card-a h3 a{color:var(--uhs-teal);text-decoration:none}
.uhs-card-a small,.uhs-feat small{color:#777}
.uhs .uhs-lk{color:var(--uhs-or);font-weight:700;text-decoration:none}
.uhs-two{display:grid;grid-template-columns:1fr 1.4fr;gap:40px;align-items:center}
.uhs-photo img{display:block;width:100%;max-width:440px;margin:0 auto;border-radius:12px;aspect-ratio:1/1;object-fit:cover;box-shadow:0 6px 24px rgba(0,0,0,.1)}
.uhs-about .uhs-two{align-items:start}
.uhs-about .uhs-two h2+p{margin-top:0}.uhs-about .uhs-two p+h2{margin-top:26px}
.uhs-thumb{display:block;background:linear-gradient(135deg,#d7e3df,#efe3d2);height:150px;border-radius:8px;margin-bottom:10px;overflow:hidden}
.uhs-thumb img{width:100%;height:100%;object-fit:cover}
.uhs-thumb.big{height:280px}
.uhs-feat{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;margin-bottom:30px;align-items:center}
.uhs-feat h2 a{color:var(--uhs-deep);text-decoration:none}
.uhs-tabs{display:flex;gap:10px;margin-bottom:26px;flex-wrap:wrap}
.uhs .uhs-tab{padding:8px 16px;border-radius:20px;border:1px solid #cfc6b8;text-decoration:none;color:#2b2b2b}
.uhs .uhs-tab.on{background:var(--uhs-teal);color:#fff;border-color:var(--uhs-teal)}
.uhs-pager{text-align:center;margin-top:24px}.uhs-pager .page-numbers{padding:4px 10px}
.uhs-empty{background:var(--uhs-cream);border-radius:12px;padding:28px;text-align:center;color:#555}
.uhs-note{background:#f3f7f6;border-left:5px solid var(--uhs-teal);padding:16px 20px;font-size:15px;line-height:1.5;border-radius:6px;margin:24px 0}
.uhs-ctab{background:var(--uhs-teal);color:#fff;text-align:center;padding:50px 48px}
.uhs .uhs-ctab h2{color:#fff}.uhs-ctab .uhs-btns{justify-content:center}
.uhs-ctab.in{border-radius:12px;margin:30px 0;padding:34px}
.uhs-side{background:var(--uhs-cream);border-radius:12px;padding:24px}
.uhs-side h3{margin-top:0;color:var(--uhs-teal)}
.uhs .uhs-map{display:block;background:#d9e4e2;border-radius:8px;padding:30px 16px;text-align:center;font-weight:600;text-decoration:none}
.uhs-contact{align-items:start}.uhs-contact h3{margin:26px 0 8px;color:var(--uhs-teal)}
.uhs-list{padding-left:1.2em}
/* articles + prose */
.uhs-post{max-width:820px;margin:0 auto;padding:46px 24px}
.uhs-post h1{font-size:40px;margin:10px 0}
.uhs-prose p,.uhs-prose li{font-size:18px;line-height:1.7}
.uhs-prose blockquote{border-left:4px solid var(--uhs-or);margin:20px 0;padding:8px 20px;font-family:Lora,Georgia,serif;font-style:italic;font-size:20px;color:#555}
.uhs-prose h2{margin-top:32px}
.uhs-faq h2,.uhs-faq h3{font-size:22px;color:var(--uhs-teal);border-bottom:1px solid #eee;padding-bottom:8px}
.uhs-byline{display:flex;gap:12px;align-items:center;margin:14px 0 22px}
.uhs-av{width:48px;height:48px;border-radius:50%;object-fit:cover;flex:none}
.uhs-authorbox{display:flex;gap:16px;align-items:center;background:var(--uhs-cream);padding:20px;border-radius:12px;margin:30px 0}
.uhs-authorbox .uhs-av{width:70px;height:70px}.uhs-authorbox p{margin:0}
/* footer */
.uhs-footer{background:var(--uhs-dark);color:#d7e3e1;padding:38px 48px 18px;font-size:14px}
.uhs-fc{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px;max-width:1280px;margin:0 auto}
.uhs-footer b{color:#fff;display:block;margin-bottom:6px}
.uhs-fl{font-family:Lora,Georgia,serif;font-size:19px}
.uhs .uhs-footer a{color:#d7e3e1}.uhs .uhs-footer a:hover{color:#fff}
.uhs-flinks{list-style:none;padding:0;margin:0 0 14px}.uhs-flinks li{margin:3px 0}
.uhs-crisis-f{font-weight:700;color:#fff}
.uhs-disc{border-top:1px solid #3a5a5d;margin:20px auto 0;padding-top:12px;font-size:12px;color:#a9bdbb;max-width:1280px}
.uhs-copy{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
/* legacy helpers still used by shortcodes */
.uhs-crisis{font-weight:700;color:#8a1c1c}
.uhs-draft-note{background:#fff3cd;border:1px solid #e0c36b;padding:8px 12px;border-radius:6px;font-size:.9em;margin-bottom:12px}
/* responsive */
@media (max-width:1100px){
 .uhs-burger{display:block}
 .uhs-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:8px 24px 18px;border-bottom:1px solid #eee;box-shadow:0 10px 20px rgba(0,0,0,.08)}
 .uhs .uhs-nav a{padding:12px 0;border-bottom:1px solid #f0ece6}
 .uhs .uhs-nav a.on{border-bottom:1px solid #f0ece6}
 .uhs .uhs-nav a.uhs-button{margin-top:12px;text-align:center;border-bottom:2px solid var(--uhs-or)}
 .uhs-nav-toggle:checked~.uhs-nav{display:flex}
 .uhs-nav-toggle:checked+.uhs-burger span:nth-child(1){transform:translateY(8px) rotate(45deg)}
 .uhs-nav-toggle:checked+.uhs-burger span:nth-child(2){opacity:0}
 .uhs-nav-toggle:checked+.uhs-burger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
 .uhs-grid.n4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:782px){.admin-bar .uhs-header{top:0}}
@media (max-width:767px){
 .uhs-util{padding:6px 16px;gap:14px;font-size:13px}
 .uhs-header{padding:10px 16px}
 .uhs-logo img{width:42px;height:42px}.uhs-logo b{font-size:19px}.uhs-logo small{font-size:12px}
 .uhs-hero{padding:44px 20px 40px}.uhs-hero h1{font-size:31px}.uhs-hero p{font-size:17px}
 .uhs-sec{padding:34px 20px}.uhs-ctab{padding:40px 20px}
 .uhs-grid.n2,.uhs-grid.n3,.uhs-grid.n4,.uhs-two,.uhs-feat,.uhs-fc{grid-template-columns:1fr}
 .uhs-two{gap:24px}.uhs-photo img{max-width:320px}
 .uhs-post{padding:30px 20px}.uhs-post h1{font-size:30px}
 .uhs-btns .uhs-button{flex:1 1 100%;text-align:center}
 .uhs-footer{padding:30px 20px 16px}
 .uhs-strip{flex-direction:column;gap:8px}
}
/* v0.2.0 stacked full-width service cards */
.uhs-cards{display:flex;flex-direction:column;gap:28px;max-width:1000px;margin:0 auto}
.uhs-card{background:#fffdf9;border:1px solid #e7e1d8;border-radius:12px;box-shadow:0 4px 18px rgba(47,93,98,.06);border-left:5px solid #2f5d62;padding:28px 32px;font-size:1rem;line-height:1.65;word-break:normal;overflow-wrap:break-word}
.uhs-card-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 20px;border-bottom:1px solid #e3ecec;padding-bottom:12px;margin-bottom:16px}
.uhs-card-head h3{margin:0;color:#2f5d62;font-family:Lora,Georgia,serif;font-size:1.5rem}
.uhs-card .uhs-price{display:inline-block;white-space:nowrap;margin:0;font-weight:700;color:#2f5d62;background:#f1ebe2;padding:4px 12px;border-radius:999px;font-size:.95em}
.uhs-card-body,.uhs-card-body *{font-size:inherit!important;word-break:normal!important;max-width:100%}
.uhs-card-body p,.uhs-card-body li,.uhs-card-body td{line-height:1.65}
.uhs-card-body img{height:auto}
.uhs-card table,.uhs-card .wp-block-columns,.uhs-card .wp-block-table{width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;margin:16px 0;border:0}
.uhs-card table tbody,.uhs-card table tr{display:contents}
.uhs-card table td,.uhs-card table th,.uhs-card .wp-block-column{width:auto!important;flex-basis:auto!important;min-width:0;border:0;padding:0;vertical-align:top}
.uhs-card .wp-block-table table{display:contents!important}
.uhs-card ul{margin:6px 0 12px 1.2em;padding:0}
.uhs-card h4,.uhs-card h5{color:#2f5d62;margin:12px 0 6px}
.uhs-card-foot{margin-top:20px}
@media (max-width:767px){.uhs-card{padding:22px 18px}.uhs-card table,.uhs-card .wp-block-columns,.uhs-card .wp-block-table{grid-template-columns:1fr}}

/* 0.2.1 heading-over-list columns (Psychotherapy) */
.uhs-card .uhs-split{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 40px;margin:18px 0}
.uhs-card .uhs-split-col{min-width:0}
.uhs-card .uhs-split-head{margin:0 0 8px;font-weight:700}
.uhs-card .uhs-split-col ul{margin:0;padding-left:1.2em}
@media (max-width:767px){.uhs-card .uhs-split{grid-template-columns:1fr}}

.uhs-intro{margin:0 0 20px;color:#555}
.uhs-prices{display:flex;flex-wrap:wrap;gap:8px 10px}
.uhs-price-note{margin:6px 0 0;font-size:.85em;color:#666}
@media (max-width:767px){.uhs-price-wrap{width:100%}}

.uhs-prices .uhs-price{margin:0 6px 6px 0;}
@media(max-width:767px){.uhs-prices .uhs-price{white-space:normal;}}

/* 0.3.1 price pill right-aligned with its note */
.uhs-price-wrap{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}
.uhs-price-note{text-align:right}
.uhs-services .uhs-intro{font-size:18px;font-weight:600;color:var(--uhs-teal)}
@media (max-width:767px){.uhs-price-wrap{align-items:flex-start;margin-left:0}.uhs-price-note{text-align:left}}

/* 0.3.3 content buttons (WP block buttons / a.button) — white label on teal/orange */
.uhs .wp-block-button__link,.uhs .wp-element-button,.uhs a.wp-block-button__link,.uhs-prose a.button,.uhs a.button,.uhs .uhs-prose .wp-block-button__link{display:inline-block;background:var(--uhs-or);color:#fff !important;padding:12px 24px;border-radius:30px;font-weight:600;text-decoration:none;border:2px solid var(--uhs-or);line-height:1.3;transition:background .15s}
.uhs .wp-block-button__link:hover,.uhs .wp-block-button__link:focus,.uhs .wp-element-button:hover,.uhs a.button:hover,.uhs a.button:focus{background:#a0662f;border-color:#a0662f;color:#fff !important}
.uhs .wp-block-button.is-style-outline .wp-block-button__link{background:var(--uhs-teal);border-color:var(--uhs-teal)}
.uhs .wp-block-button.is-style-outline .wp-block-button__link:hover{background:var(--uhs-deep);border-color:var(--uhs-deep)}

.uhs-draft-badge{display:inline-block;margin-left:.5em;padding:.1em .55em;border-radius:999px;background:#fff3cd;color:#7a5b00;border:1px solid #e6c65c;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.uhs-affiliates img{height:auto;max-width:100%}
.uhs-affiliates figure{margin:1.25em 0}
