/* Shared specialist-center sections based on the approved traffic/criminal layouts. */
.center-unified .center-detail-hero-image{object-position:center 50%;}
.center-unified .center-hero::before{background:linear-gradient(90deg,rgba(6,18,14,.64),rgba(6,18,14,.68) 50%,rgba(6,18,14,.58));}
@media(max-width:767px){
 .sexual-center.center-unified .center-detail-hero-image{object-position:45% center;}
 .divorce-center.center-unified .center-detail-hero-image{object-position:right center;}
 .drug-center.center-unified .center-detail-hero-image{object-position:10% center;}
 .school-center.center-unified .center-detail-hero-image{object-position:15% center;}
}
.center-unified .unified-expertise{background:linear-gradient(160deg,#030913 25%,#071d3d);color:#e2e5ea;overflow:hidden;}
.unified-expertise .section-heading h2{color:#e2e5ea;}
.unified-expertise .unified-intro-copy{max-width:1100px;color:#c5ccd6;}
.unified-fields{margin-top:40px;scroll-margin-top:100px;}
.unified-expertise .unified-fields-track{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 24px 8px;scroll-padding-inline:24px;}
.unified-fields-track::-webkit-scrollbar{display:none;}
.unified-expertise .unified-fields-track>li{flex:0 0 80%;max-width:360px;min-width:0;scroll-snap-align:start;}
.unified-expertise .center-detail-field-link{aspect-ratio:4/5;min-height:0;border-radius:4px;}
.unified-expertise .center-detail-field-link::after{background:linear-gradient(180deg,transparent 15%,rgba(0,5,14,.3) 45%,rgba(0,5,14,.92));}
.unified-expertise .center-detail-field-body{padding:28px 24px;}
.unified-expertise .center-detail-fields h3{font-size:22px;line-height:1.5;max-width:none;}
.unified-expertise .center-detail-fields p{font-size:15px;line-height:1.6;color:#d5dce5;}
.unified-fields-bottom{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:24px;}
.unified-fields-bottom .section-bottom{margin:0;}
.unified-fields-bottom .pill-link{color:#fff;border-color:#7d899b;background:transparent;}
.unified-fields-controls{display:flex;gap:8px;flex-shrink:0;}
.unified-fields-controls button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #7d899b;border-radius:50%;color:#fff;background:transparent;cursor:pointer;}
.unified-fields-controls svg{width:20px;height:20px;}
.unified-fields-controls button[data-center-direction="-1"] svg{transform:rotate(180deg);}
.unified-fields-controls button:disabled{opacity:.35;cursor:default;}
.unified-fields-controls button:hover:not(:disabled){background:#ffffff18;}
.unified-fields-controls button:focus-visible,.unified-fields-track:focus-visible{outline:2px solid #e6d3a3;outline-offset:4px;}
@media(min-width:768px){
 .unified-fields{margin-top:56px;}
 .unified-expertise .unified-fields-track{gap:20px;padding-inline:var(--page-gutter,72px);scroll-padding-inline:var(--page-gutter,72px);}
 .unified-expertise .unified-fields-track>li{flex-basis:32%;max-width:414px;}
 .unified-expertise .center-detail-field-body{padding:36px 28px;}
 .unified-expertise .center-detail-fields h3{font-size:26px;}
}
@media(min-width:1400px){.unified-expertise .unified-fields-track>li{flex-basis:24%;}}

.unified-response{background:var(--center-soft);color:var(--center-ink);}
.unified-response .section-heading h2{word-break:keep-all;}
.unified-response-accent{color:var(--center-accent);}
.unified-response-steps{display:grid;grid-template-columns:1fr;gap:0;list-style:none;margin:0;padding:0;border:1px solid #d8e3dc;border-radius:12px;background:#fff;}
.unified-response-step{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;padding:24px 0 0;text-align:center;}
.unified-response-step+.unified-response-step{border-top:1px solid #d8e3dc;}
.unified-response-number{color:var(--center-accent);font-size:13px;font-weight:700;line-height:1.4;}
.center-unified .unified-response-step h3{width:100%;margin:14px 0 0;padding:0 20px 20px;font-size:20px;font-weight:700;line-height:1.5;}
.unified-response-details{display:flex;flex:1;flex-direction:column;justify-content:center;gap:4px;width:100%;list-style:none;margin:0;padding:24px 20px;border-top:1px solid #d8e3dc;color:var(--center-muted);font-size:16px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere;}
.unified-response-connector{position:absolute;z-index:1;bottom:-18px;left:calc(50% - 18px);display:grid;place-items:center;width:36px;height:36px;border:1px solid #d8e3dc;border-radius:50%;background:#fff;color:var(--center-accent);pointer-events:none;}
.unified-response-connector svg{width:22px;height:22px;transform:rotate(90deg);}
@media(min-width:1024px){
 .unified-response-steps{grid-template-columns:repeat(4,minmax(0,1fr));}
 .unified-response-step{padding-top:28px;min-height:238px;}
 .unified-response-step+.unified-response-step{border-top:0;border-left:1px solid #d8e3dc;}
 .unified-response-connector{left:auto;right:-18px;top:55px;bottom:auto;transform:translateY(-50%);}
 .unified-response-connector svg{transform:none;}
}

/* Reuse the criminal center's approved lower-page components. */
.center-unified :is(.crime-cases,.crime-videos,.crime-concerns) .section-heading{text-align:center;margin-bottom:32px;}
.center-unified :is(.crime-cases,.crime-videos,.crime-concerns) .section-heading p{max-width:48em;margin-inline:auto;}
.center-unified .crime-section-top>.section-heading,.center-unified .crime-video-heading>.section-heading{margin-bottom:0;}
.center-unified .center-main-consult{background:#fff;color:var(--center-ink);}
.center-unified .center-main-consult .section-title{color:var(--center-ink);}
.center-unified .center-main-consult .section-description{color:var(--center-muted);line-height:1.6;}
.center-unified .center-main-consult .consult-direct,.center-unified .center-main-consult .form{background:#f3f5f5;}
@media(min-width:760px){.center-unified .center-main-consult .consult-direct{padding:24px;border:0;border-radius:var(--center-radius);}}
.center-unified .center-main-consult .consult-channel{background:#fff;color:var(--center-ink);}
.center-unified .center-main-consult .consult-channel:hover{background:#e7eeea;}
.center-unified .center-main-consult .consult-phone .consult-call-icon,.center-unified .center-main-consult .consult-options input:checked+span,.center-unified .center-main-consult .form .button{background:var(--center-accent);color:#fff;}
.center-unified .center-main-consult .form .button:hover,.center-unified .center-main-consult .consult-phone:hover .consult-call-icon{background:#1e4938;}
.center-unified .center-main-consult .consent input{accent-color:var(--center-accent);}

.center-unified .section-heading{text-align:center;margin-bottom:32px;}
.center-unified .section-heading p{margin-inline:auto;}
.center-unified .unified-intro-copy{margin-top:20px;max-width:1100px;}
.center-unified .crime-section-top>.section-heading,.center-unified .crime-video-heading>.section-heading{margin-bottom:0;}

.center-unified .center-main-consult .form .consult-submit .button{justify-content:center;gap:8px;text-align:center;}
.center-unified .center-main-consult .form .consult-lock-icon{display:block;flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}

/* Sexual-center strengths follow the criminal-center profile section spacing. */
.sexual-center .sexual-strengths{background:var(--center-paper);}
.sexual-center .sexual-strengths .sexual-strengths-eyebrow{margin:0 0 12px;color:var(--center-accent);font-size:14px;font-weight:600;line-height:1.5;}
.sexual-strengths-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;}
.sexual-strength-card{display:flex;flex-direction:column;min-width:0;padding:28px 24px 24px;background:var(--center-soft);text-align:center;}
.sexual-strength-label{margin:0 0 20px;color:var(--center-accent);font-size:14px;font-weight:600;line-height:1.5;}
.sexual-center .sexual-strength-card h3{margin:0;color:var(--center-ink);font-size:21px;font-weight:700;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere;}
.sexual-strength-description{margin:16px 0 28px;color:var(--center-muted);font-size:16px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere;}
.sexual-strength-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;margin-top:auto;object-fit:cover;}
@media(min-width:768px){
 .sexual-strength-card{padding:36px 32px 32px;}
 .sexual-strength-label{font-size:16px;}
 .sexual-center .sexual-strength-card h3{font-size:24px;}
 .sexual-strength-description{font-size:18px;}
}
@media(min-width:1024px){
 .sexual-strengths-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
 .sexual-strength-card{padding:32px 24px 24px;}
 .sexual-center .sexual-strength-card h3{font-size:clamp(19px,1.4vw,24px);}
 .sexual-strength-description{font-size:16px;}
}

.crime-center .hero-copy .hero-highlight,
.drug-center .hero-copy .hero-highlight,
.school-center .hero-copy .hero-highlight,
.sexual-center .hero-copy .hero-highlight,
.divorce-center .hero-copy .hero-highlight{color:#e6d3a3;}

.divorce-center .crime-concerns{background:var(--center-soft);color:var(--center-ink);}
.divorce-center .crime-concerns .section-heading h2{color:var(--center-ink);}
.divorce-center .crime-concern-card{background:var(--center-paper);border-color:var(--center-line);color:var(--center-ink);}
.divorce-center .crime-concern-card svg{color:var(--center-accent);}
.divorce-center .crime-concern-card:hover{background:#e8eeeb;border-color:var(--center-accent);}
.divorce-center .crime-concern-card:focus-visible{outline-color:var(--center-accent);}

.divorce-center .divorce-concern-filters{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;margin-bottom:24px;padding:4px 2px 8px;scroll-padding-inline:2px;}
.divorce-center .divorce-concern-filters button{flex:none;color:var(--center-ink);}
.divorce-center .divorce-concern-filters button[aria-pressed="true"]{background:var(--center-accent);border-color:var(--center-accent);color:var(--center-paper);}
.divorce-center .divorce-concern-filters button:hover{border-color:var(--center-accent);}
.divorce-center .divorce-concern-filters button:focus-visible{outline:2px solid var(--center-accent);outline-offset:2px;}
.divorce-center .crime-concern-card[hidden]{display:none;}
@media(min-width:768px){.divorce-center .divorce-concern-filters{flex-wrap:wrap;justify-content:center;}}

.divorce-center .divorce-process{background:var(--center-paper);}
.divorce-process-steps{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin:0;padding:0;list-style:none;}
.divorce-process-step{display:flex;flex-direction:column;min-width:0;}
.divorce-process-card{display:flex;flex-direction:column;flex:1;min-height:240px;padding:24px;border-radius:10px;background:linear-gradient(rgba(25,36,44,.76),rgba(25,36,44,.88)),var(--process-image) center/cover;color:#fff;}
.divorce-process-step:nth-child(1){--process-image:url('../images/sexual-strength-strategy-v2.webp');}
.divorce-process-step:nth-child(2){--process-image:url('../images/sexual-strength-team.webp');}
.divorce-process-step:nth-child(3){--process-image:url('../images/center-divorce-property-v2.webp');}
.divorce-process-step:nth-child(4){--process-image:url('../images/sexual-strength-forensics-v2.webp');}
.divorce-process-step:nth-child(5){--process-image:url('../images/center-divorce-litigation-v2.webp');}
.divorce-process-number{display:block;margin-bottom:24px;font-size:22px;line-height:1.2;font-weight:700;}
.divorce-center .divorce-process-card h3{margin:auto 0 0;color:#fff;font-size:19px;font-weight:700;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere;}
.divorce-process-card p{margin:16px 0 0;color:#eef1f3;font-size:15px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere;}
@media(min-width:768px){.divorce-process-steps{grid-template-columns:repeat(2,minmax(0,1fr));}.divorce-process-card{min-height:260px;padding:24px;}.divorce-process-number{font-size:24px;margin-bottom:24px;}}
@media(min-width:1280px){.divorce-process-steps{grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;}.divorce-process-card{min-height:270px;}.divorce-center .divorce-process-card h3{font-size:20px;}}



@media(max-width:759px){
 .sexual-center .sexual-strength-card h3{font-size:18px;}
}
