/*
Theme Name: Sophroneo Renewal
Description: Standalone recovery theme for Sophroneo Behavioral Health LLC. No legacy theme dependencies.
Version: 1.4.0
Author: Sophroneo Behavioral Health
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sophroneo-renewal
*/
:root{--navy:#113651;--deep:#0a293e;--gold:#caac7a;--cream:#f7f4ee;--sky:#e9f6ff;--ink:#173347;--muted:#526775;--line:#dce5e8;--white:#fff}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:white;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:var(--navy);text-underline-offset:4px}a:focus-visible,button:focus-visible{outline:3px solid #b7822e;outline-offset:4px}img{max-width:100%;height:auto;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.13;letter-spacing:-.035em}h1{font-size:clamp(2.6rem,4.8vw,4.6rem);font-weight:650;margin-bottom:24px}h2{font-size:clamp(2rem,3.3vw,3.2rem);font-weight:650;margin-bottom:22px}h3{font-size:1.5rem;margin-bottom:13px}.wrap{max-width:1240px;margin:auto;padding-left:36px;padding-right:36px}.topbar{background:var(--deep);color:#e4edf3;font-size:.82rem;letter-spacing:.015em}.top-inner{display:flex;justify-content:space-between;gap:12px;align-items:center;padding-top:9px;padding-bottom:9px}.topbar a{color:white;text-decoration:none;font-weight:600;white-space:nowrap}.top-sep{padding:0 5px;color:var(--gold)}.site-header{background:white;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;gap:32px;min-height:104px}.brand{flex:0 0 100px}.brand img{width:90px;max-height:92px;object-fit:contain}.primary-nav{flex:1}.nav-list,.nav-list ul{list-style:none;margin:0;padding:0}.nav-list{display:flex;gap:20px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.nav-list li{position:relative}.nav-list a{display:block;text-decoration:none;font-size:.88rem;font-weight:600;line-height:1.3;padding:10px 0}.nav-list a:hover,.text-link:hover{text-decoration:underline}.nav-list .sub-menu{padding:0 0 0 12px; border-left:1px solid var(--line)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;border:1px solid transparent;font-weight:650;font-size:.95rem;min-height:49px;padding:12px 20px;border-radius:6px;line-height:1.35}.btn-navy{color:white;background:var(--navy)}.btn-navy:hover{background:var(--deep)}.btn-gold{background:var(--gold);color:var(--deep)}.btn-gold:hover{background:#e0c69c}.btn-outline{border-color:#9eb3c3;color:white;background:transparent}.btn-outline:hover{background:#ffffff15}.header-cta{white-space:nowrap}.hero{background:var(--navy);color:white;padding:52px 0 62px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.hero-copy{padding:24px 0}.eyebrow{font-size:.77rem;letter-spacing:.15em;font-weight:750;color:#e3c99f;display:flex;align-items:center;gap:10px;margin-bottom:22px}.eyebrow span{height:7px;width:7px;flex-shrink:0;border-radius:50%;background:var(--gold)}.eyebrow.dark{color:#705527}.hero h1 em{font-style:normal;color:#e1c69b}.lead{font-size:1.12rem;line-height:1.7;color:#e3edf3;max-width:530px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hero-note{font-size:.82rem;color:#e3edf3;margin:26px 0 0}.hero-note span{color:var(--gold);padding:0 3px}.hero-photo{position:relative;padding-bottom:23px}.hero-photo>img{width:100%;height:480px;object-fit:cover;object-position:56% center;border-radius:120px 12px 12px 12px}.photo-label{background:white;color:var(--ink);position:absolute;bottom:0;left:-20px;padding:17px 20px;border-radius:8px;display:flex;align-items:center;gap:14px;box-shadow:0 10px 30px #0002}.photo-label small{display:block;color:var(--muted);font-size:.8rem}.mark{font-size:1.6rem;color:#8a6429}.section{padding:82px 0}.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}.welcome-photo img{width:100%;height:345px;object-fit:cover;border-radius:10px 90px 10px 10px}.home-content{color:var(--muted);overflow-wrap:anywhere}.text-link{display:inline-block;font-weight:700;text-decoration:none;color:var(--navy);margin-top:10px}.service-section{background:var(--cream)}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:32px}.section-heading h2{margin-bottom:0}.section-heading>p{max-width:360px;margin-bottom:0;color:var(--muted)}.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:22px}.service-card{background:#fff;border:1px solid #e7e0d5;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.service-image img{width:100%;height:195px;object-fit:cover}.service-body{padding:26px;flex:1}.service-body p{color:var(--muted)}.number{color:#81622f;font-size:.8rem;font-weight:750;display:block;margin-bottom:12px}.provider-photo{background:var(--sky);border-radius:12px 90px 12px 12px;overflow:hidden;max-width:440px;width:100%;margin:auto}.provider-photo img{width:100%;height:380px;object-fit:contain;object-position:center bottom}.provider-grid{grid-template-columns:.85fr 1.15fr}.credentials{font-weight:650;color:#74582e}.provider p:not(.eyebrow){max-width:550px}.cta-band{background:var(--navy);color:white;padding:55px 0}.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:24px}.cta-inner h2{margin-bottom:10px}.cta-inner p:last-child{margin-bottom:0;color:#e3edf3}.site-footer{background:var(--deep);color:#d9e5ed;padding:54px 0 22px}.site-footer a{color:#f4e4c9}.footer-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:48px}.footer-brand{font-size:1.7rem;color:white;font-weight:650;line-height:1.2;letter-spacing:-.03em}.footer-brand span{display:block;font-size:.9rem;font-weight:500;letter-spacing:0;margin-top:5px}.site-footer h2{font-size:1rem;color:white;letter-spacing:0;margin-bottom:16px}.foot-links{list-style:none;padding:0;display:grid;gap:7px}.foot-links a{font-size:.92rem;text-decoration:none}.small,.crisis{font-size:.8rem}.footer-bottom{display:flex;justify-content:space-between;gap:18px;font-size:.82rem;border-top:1px solid #ffffff24;margin-top:30px;padding-top:19px}.crisis{margin-top:12px;color:#c9d9e2}.page-hero{background:var(--navy);color:white;padding:55px 0}.page-hero h1{font-size:clamp(2.2rem,4vw,3.6rem);margin:0}.page-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:50px;padding-top:60px;padding-bottom:80px}.entry{overflow-wrap:anywhere;min-width:0}.entry h2{font-size:1.95rem}.entry h3{font-size:1.4rem}.entry img{height:auto}.entry-image{border-radius:10px;margin-bottom:28px}.page-aside{align-self:start;background:var(--cream);padding:26px;border-radius:10px}.page-aside h2{font-size:1.5rem}.page-aside .text-link{display:block;margin-top:20px}.archive-list,.entry.wrap{padding-top:50px;padding-bottom:70px}.archive-list article{padding:24px 0;border-bottom:1px solid var(--line)}.skip,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus{clip-path:none;width:auto;height:auto;z-index:9999;padding:12px;background:white}.wp-block-image img{max-width:100%}.entry table{max-width:100%;display:block;overflow:auto}.aligncenter{margin-left:auto;margin-right:auto}.alignleft{float:left;margin-right:20px}.alignright{float:right;margin-left:20px}
@media(max-width:1050px){.header-inner{gap:18px}.nav-list{gap:12px}.header-cta{padding:11px;font-size:.85rem}.hero-grid{gap:28px}.hero-photo>img{height:420px}.split{gap:36px}}
@media(max-width:800px){.wrap{padding-left:22px;padding-right:22px}.header-inner{flex-wrap:wrap;justify-content:space-between;gap:8px;padding-top:12px;padding-bottom:12px}.brand{flex:0 0 75px}.brand img{width:70px;max-height:74px}.primary-nav{order:3;flex:0 0 100%;border-top:1px solid var(--line);padding-top:8px}.nav-list{justify-content:flex-start;gap:6px 18px}.nav-list a{font-size:.88rem}.hero{padding:34px 0 38px}.hero-grid,.split,.page-layout{grid-template-columns:1fr}.hero-copy{padding:6px 0}.hero-photo{margin:0 0 0 12px}.hero-photo>img{height:340px;border-radius:75px 10px 10px 10px}.photo-label{left:-12px;max-width:95%;padding:12px;font-size:.86rem}.section{padding:52px 0}.section-heading,.cta-inner{display:block}.section-heading>p{margin-top:16px}.services-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr;gap:26px}.cta-inner .btn{margin-top:22px}.page-layout{padding-top:35px;padding-bottom:45px;gap:24px}.provider-photo img{height:320px}}
@media(max-width:520px){.top-inner{font-size:.72rem;align-items:flex-start;flex-direction:column;gap:3px}.top-sep{padding:0 2px}.services-grid,.footer-grid{grid-template-columns:1fr}.hero-photo>img{height:260px}.welcome-photo img{height:255px}.footer-bottom{flex-direction:column;gap:5px}.actions .btn{width:100%}.service-image img{height:210px}.hero-note{font-size:.76rem}.nav-list{gap:2px 14px}.nav-list a{padding:7px 0}.provider-photo img{height:290px}}

/* Recovered public page images and old content layout (no legacy CSS or scripts). */
.entry figure{margin:0 0 1.5rem;max-width:100%}.entry figure img{max-width:100%;height:auto;border-radius:9px;margin-inline:auto}.entry .cntr{text-align:center}.entry .dr-img{width:min(100%,420px);margin:0 auto 1.4rem}.entry .dr-img img{width:100%;height:auto}.entry section:has(>.box_inner):has(>figure){display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);align-items:center;gap:2rem;margin:2rem 0}.entry section.reverse:has(>.box_inner):has(>figure){grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr)}.entry section.reverse>.box_inner{grid-column:2;grid-row:1}.entry section.reverse>figure{grid-column:1;grid-row:1}.entry section:has(>.box_inner)>figure{margin:0}.entry .serv_boxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:1rem}.entry .serv_boxes>section{border:1px solid var(--line);border-radius:10px;overflow:hidden}.entry .serv_boxes figure{margin:0}.entry .serv_boxes figure img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:0}.entry .serv_inner{padding:1rem}.entry .serv_inner h2,.entry .serv_inner h3{font-size:1.35rem}.entry .serv_inner a{overflow-wrap:anywhere}
@media(max-width:650px){.entry section:has(>.box_inner):has(>figure),.entry section.reverse:has(>.box_inner):has(>figure){grid-template-columns:1fr;gap:1rem}.entry section.reverse>.box_inner,.entry section.reverse>figure{grid-column:auto;grid-row:auto}.entry .dr-img{max-width:340px}}

/* Social profile links — compact header and accessible footer icons. */
.top-contact{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.sbh-social{display:flex;align-items:center;gap:8px}
.sbh-social .sbh-social-link{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #ffffff45;border-radius:50%;color:#fff;text-decoration:none;transition:background .15s,color .15s}
.sbh-social-link svg{width:22px;height:22px;display:block;flex:none}
.sbh-social .sbh-social-link:hover{background:var(--gold);color:var(--deep)}
.sbh-social .sbh-social-link:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.topbar .sbh-social-link{width:32px;height:32px}
.topbar .sbh-social-link svg{width:19px;height:19px}
.site-footer .sbh-social{margin-top:18px}
@media(max-width:520px){.top-contact{gap:12px;width:100%;justify-content:space-between}.topbar .sbh-social-link{width:36px;height:36px}}
