/* Morning Stars community service layouts. All rules are scoped. */
.com-layout{--com-teal:#087e89;--com-deep:#173f43;--com-gold:#a38948;--com-paper:#f9f7f0;color:var(--com-deep)}
.com-layout h1{font-size:clamp(2.6rem,4.7vw,4.6rem);line-height:1.06;letter-spacing:-.045em;margin:14px 0 22px}.com-layout h2{font-size:clamp(1.8rem,2.7vw,2.65rem);line-height:1.18;letter-spacing:-.035em}.com-layout .eyebrow{letter-spacing:.12em;font-size:.74rem;display:block;font-weight:750}.com-layout p{line-height:1.8}.com-layout .lead{font-size:1.14rem;line-height:1.7}.com-layout .text-link{white-space:normal}.com-layout .button{white-space:normal;text-align:center;line-height:1.4}
.com-hero{background:var(--com-paper);padding:40px 0 55px}.com-dom-hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:55px}.com-tagline{font-size:1.35rem;font-weight:680;line-height:1.4!important;color:var(--com-teal)}.com-actions{display:flex;gap:23px;flex-wrap:wrap;align-items:center;margin-top:28px}.com-hero-photo{margin:0}.com-hero-photo .photo-frame{aspect-ratio:4/3;border-radius:100px 20px 20px 20px;overflow:hidden}.com-hero-photo .photo-frame img{width:100%;height:100%}
.com-supported-hero{background:var(--com-deep);color:white;padding:48px 0 58px}.com-supported-hero h1{color:white;font-size:clamp(2.5rem,4.5vw,4.3rem)}.com-supported-hero .lead{color:#e4eeeb}.com-supported-hero .eyebrow{color:#f8be66}.com-supported-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:65px;align-items:center}.com-supported-hero .text-link{color:white}.com-partnership{border-radius:24px;background:#fffdf7;padding:26px 32px;text-align:center;color:var(--com-deep)}.com-partnership .eyebrow{color:#596d64}.com-partner-logo{max-width:220px;margin:0 auto}.com-partner-logo img{max-width:100%;height:auto;display:block}.com-partnership p{margin:4px 0 16px;font-size:1.05rem;line-height:1.6}.com-msc-partner{border-top:1px solid #ddd7c7;padding-top:18px}.com-msc-partner img{width:230px;max-width:100%;height:auto;display:block;margin:auto}.com-facts{background:#e9eeeb}.com-facts>.container{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-block:23px}.com-facts strong,.com-facts span{display:block}.com-facts strong{font-size:1.2rem}.com-facts span{font-size:.87rem;margin-top:6px}
.com-section-nav{padding:20px 0;border-bottom:1px solid #e1e6df;background:white}.com-section-nav .container{display:flex;gap:8px 20px;flex-wrap:wrap}.com-section-nav a{font-size:.8rem;font-weight:650;color:#34585a;text-decoration:none;padding:7px 0;border-bottom:2px solid #c8d9d1}.com-section-nav a:hover{border-color:var(--orange)}
.com-content{max-width:1180px!important;padding-block:55px}.com-section{margin:0 0 60px;scroll-margin-top:110px}.com-section>.eyebrow{color:var(--com-teal)}.com-section>h2{max-width:760px;margin:12px 0 20px}.com-section>p{max-width:900px}.com-layout .com-section h3{font-size:1.25rem;line-height:1.35;margin:0 0 12px}.com-location-grid,.com-principles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.com-location-card{padding:28px;border:1px solid #d1ded4;border-top:5px solid var(--com-teal);border-radius:18px;background:#fff}.com-location-card:nth-child(2){border-top-color:var(--orange)}.com-location-top{display:flex;align-items:center;gap:16px;margin-bottom:16px}.com-location-icon{width:50px;height:50px;padding:12px;background:#e7f0ec;border-radius:15px;flex-shrink:0}.com-location-icon svg{width:26px;height:26px}.com-layout .com-area{margin:5px 0 0;color:var(--com-teal);font-weight:700}.com-layout .com-registration{font-size:.83rem;border-top:1px solid #e2e8e0;padding-top:16px}.com-location-card .sc-cqc{margin:14px 0 24px;background:#f8f7f1;padding:15px}.com-location-card .sc-cqc-widget{min-height:25px;overflow:auto;max-width:100%}.com-location-card .sc-cqc a{display:inline-block;font-size:.83rem}.com-layout .com-principles{margin:24px 0}.com-layout .com-principles article{background:#f2f5ef;padding:27px;border-radius:16px}.com-principles article p{margin:0}.com-note{border-left:4px solid var(--orange);padding:25px 29px;margin:30px 0;background:#fff7e9}.com-note p{margin:0}
.com-layout .com-checks{list-style:none;padding:0;margin:25px 0;display:grid;gap:12px}.com-layout .com-checks li{padding:16px 22px 16px 50px;position:relative;background:#f2f5ef;border-radius:10px}.com-checks li:before{content:'✓';position:absolute;left:19px;color:var(--com-teal);font-weight:800}.com-pathway{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0}.com-pathway article{border:1px solid #d4ddcf;border-radius:20px;padding:30px;position:relative}.com-pathway article:first-child{background:#eaf2ed}.com-pathway article:last-child{background:#fcf5e6}.com-phase{font-size:3rem;line-height:1;font-weight:750;color:#bbcfc1;display:block;margin-bottom:26px}.com-pathway article:last-child .com-phase{color:#d5be8d}.com-pathway .eyebrow{font-size:.68rem;margin-bottom:16px}.com-layout .com-pathway h3{font-size:1.6rem}.com-layout .com-pathway ul{padding-left:20px}.com-pathway-note{border-bottom:1px solid #dde5da;padding-bottom:22px}.com-perma{background:var(--com-deep);color:white;padding:32px;border-radius:18px;margin:30px 0}.com-layout .com-perma h3{color:white;font-size:1.6rem;margin-top:15px}.com-layout .com-perma .eyebrow{color:#f7bf72}.com-layout .com-perma ul{list-style:none;padding:0;margin:25px 0 0;display:grid;gap:15px}.com-perma li{display:grid;grid-template-columns:240px 1fr;gap:12px;padding-bottom:13px;border-bottom:1px solid #496264;color:#e3ede6}.com-perma li:last-child{border:0;padding-bottom:0}.com-perma strong{color:white}
.com-layout .com-steps{counter-reset:com-step;list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.com-steps li{counter-increment:com-step;background:#eef3eb;border-radius:16px;padding:25px}.com-steps li:before{content:'0' counter(com-step);display:block;font-size:2rem;font-weight:750;color:var(--com-teal);margin-bottom:15px}.com-steps strong{font-size:1.05rem}.com-steps p{font-size:.94rem}.com-contact-panel{margin-top:30px;background:#173f43;color:white;padding:35px;border-radius:20px}.com-layout .com-contact-panel h3{color:white;font-size:1.7rem}.com-contact-panel p{color:#e3eeeb}.com-contact-panel .button{margin-top:12px}.com-availability{border:1px solid #cfdbc9;background:#f3f6f0;border-radius:12px;padding:22px 26px;margin:25px 0}.com-availability p{margin-bottom:0}.com-return{padding-bottom:55px}
.com-admin-locations{display:grid;grid-template-columns:1fr 1fr;gap:24px}.com-admin-form fieldset{border:1px solid #d9e1da;border-radius:10px;padding:20px;min-width:0}.com-admin-form legend{font-weight:750;padding:0 8px}.com-admin-form h2{margin-top:30px}.com-admin-form h2:first-of-type{margin-top:0}.com-admin-form .com-admin-logo{max-width:175px;margin:20px 0;background:#fffaf0;border-radius:12px;padding:10px}.com-admin-logo img{width:100%;height:auto;display:block}.com-admin-form .com-record-field{margin:22px 0}.com-layout a:focus-visible{outline:3px solid #ff9826;outline-offset:4px}
@media(max-width:1000px){.com-dom-hero,.com-supported-grid{gap:30px}.com-layout h1{font-size:3.2rem}.com-partnership{padding:24px}.com-partner-logo{max-width:190px}.com-perma li{grid-template-columns:210px 1fr}}
@media(max-width:760px){.com-dom-hero,.com-supported-grid,.com-location-grid,.com-principles,.com-pathway,.com-layout .com-steps,.com-admin-locations{grid-template-columns:1fr}.com-layout h1,.com-supported-hero h1{font-size:clamp(2.35rem,10vw,3.6rem)}.com-hero,.com-supported-hero{padding:28px 0 38px}.com-partnership{max-width:440px;width:100%;margin:auto}.com-facts>.container{grid-template-columns:1fr;padding-block:22px;gap:16px}.com-facts>.container>div{border-bottom:1px solid #cfdcd2;padding-bottom:14px}.com-facts>.container>div:last-child{border:0;padding-bottom:0}.com-section-nav{padding:12px 0}.com-section-nav a{font-size:.77rem}.com-content{padding-block:35px}.com-section{margin-bottom:40px}.com-layout .com-section h2{font-size:2rem}.com-location-card,.com-pathway article{padding:23px}.com-perma{padding:25px}.com-perma li{grid-template-columns:1fr;gap:4px}.com-contact-panel{padding:26px}.com-layout .com-principles article{padding:23px}.com-note{padding:20px}.com-supported-grid .com-actions{flex-direction:column;align-items:start}.com-supported-grid .com-actions .button{width:100%}.com-hero-photo .photo-frame{border-radius:65px 15px 15px 15px}.com-return{padding-bottom:35px}}
@media print{.com-section-nav,.com-actions,.com-return{display:none}.com-supported-hero,.com-perma,.com-contact-panel{background:white;color:#173f43}.com-supported-hero h1,.com-supported-hero .lead,.com-layout .com-perma h3,.com-layout .com-contact-panel h3,.com-perma li,.com-perma strong,.com-contact-panel p{color:#173f43}.com-section{break-inside:auto}.com-location-card,.com-pathway article,.com-principles article{break-inside:avoid}}

.com-supported-hero .button,.com-contact-panel .button{background:#ffa22c;color:#173f43;border:1px solid #ffa22c}.com-supported-hero .button:hover,.com-contact-panel .button:hover{background:#ffc16c;border-color:#ffc16c}
/* Keep this editor inside the existing admin shell on narrow phones. */
body:has(.com-admin-form) .admin-main{min-width:0}.com-admin-form input,.com-admin-form select,.com-admin-form textarea{min-width:0;max-width:100%}.com-admin-form .btn,.com-admin-form~.sc-admin-actions .btn{white-space:normal;max-width:100%;text-align:center;overflow-wrap:anywhere}
@media(max-width:760px){body:has(.com-admin-form) .admin-shell{grid-template-columns:minmax(0,1fr)}body:has(.com-admin-form) .sc-admin-grid{grid-template-columns:minmax(0,1fr)}body:has(.com-admin-form) .form-grid{grid-template-columns:minmax(0,1fr)}}

body:has(.com-admin-form) .toolbar{flex-wrap:wrap;gap:12px}body:has(.com-admin-form) .toolbar h1{overflow-wrap:anywhere}

/* v2 parent / child service hierarchy */
.com-service-directory{background:#fff;padding:54px 0}.com-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.com-service-grid-single{grid-template-columns:minmax(0,680px)}.com-service-card{border:1px solid #d9e2da;border-radius:20px;overflow:hidden;background:white;box-shadow:0 10px 30px rgba(23,63,67,.06)}.com-service-card>a{color:inherit;text-decoration:none;display:block;height:100%}.com-service-photo{aspect-ratio:16/9;overflow:hidden;position:relative;background:#edf2ee}.com-service-photo img{width:100%;height:100%;object-fit:cover}.com-service-card-body{padding:25px}.com-service-card-body h3{font-size:1.5rem;margin:0 0 10px;color:#173f43}.com-service-card-body p{margin:0 0 18px}.com-supported-parent{background:#eef4ef}.com-local-hero{background:#173f43;color:white;padding:50px 0}.com-local-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:52px;align-items:start}.com-local-hero h1{color:white}.com-local-hero .lead{color:#e5efec}.com-local-hero .eyebrow{color:#ffc16c}.com-local-hero .text-link{color:white}.com-local-cqc{background:white;color:#173f43;border-radius:20px;padding:26px}.com-local-cqc>.eyebrow{color:#087e89}.com-local-cqc>p{margin:8px 0 18px}.com-local-cqc .sc-cqc{margin:0;background:#f7f7f2}.com-local-cqc .sc-cqc-widget{max-width:100%;overflow:auto}.com-type-community-child .com-content{max-width:1080px!important}.com-type-community-parent .com-content{max-width:1120px!important}
@media(max-width:760px){.com-service-grid,.com-local-grid{grid-template-columns:1fr}.com-service-directory{padding:36px 0}.com-local-hero{padding:32px 0}.com-local-cqc{padding:20px}.com-service-card-body{padding:21px}}
