/* Shared content-role variant. Explicit adoption; native content and interactions stay with their owners. */
html body.jsdc-content-role:not(.jsdc-content-role--wardrobe-hub) #de-main #wpb-content-root{font-family:var(--jsd-font-family-body);color:#292d27;font-size:16px;line-height:1.65}
html body.jsdc-content-role:not(.jsdc-content-role--wardrobe-hub) #de-main #wpb-content-root :is(h1,h2,h3,h4){font-family:var(--jsd-font-family-display)!important;color:#292d27;font-weight:400;letter-spacing:-.025em;text-transform:none;text-wrap:balance}
html body.jsdc-content-role:not(.jsdc-content-role--wardrobe-hub) #de-main #wpb-content-root :is(p,li){font-family:var(--jsd-font-family-body);line-height:1.65}
html body.jsdc-content-role:not(.jsdc-content-role--wardrobe-hub) #de-main #wpb-content-root .jsd-shared-reviews{font-family:var(--jsd-font-family-body)}
html body.jsdc-content-role:not(.jsdc-content-role--wardrobe-hub) #de-main #wpb-content-root a:not([class]):hover{text-decoration:underline;text-underline-offset:4px}
html body.jsdc-content-role:not(.jsdc-content-role--wardrobe-hub) #de-main #wpb-content-root :is(a,button,summary):focus-visible{outline:2px solid #876416;outline-offset:4px}
/* Service: a generous visual canvas with independently constrained copy. */
html body.jsdc-content-role--service #de-main #wpb-content-root > .wpb_row > .row{box-sizing:border-box;width:calc(100% - 48px)!important;max-width:var(--jsd-layout-content-wide-maximum)!important;margin-inline:auto!important}
html body.jsdc-content-role--service #de-main #wpb-content-root h1{max-width:36ch;margin:0 auto 24px!important;padding:0!important;font-size:clamp(32px,3.1vw,52px)!important;line-height:1.12!important}
html body.jsdc-content-role--service #de-main #wpb-content-root h2.vc_custom_heading{font-size:clamp(30px,2.6vw,40px)!important;line-height:1.15!important;max-width:1000px;margin:0 auto!important;padding:36px 16px!important;background:#fff!important;border:0!important;box-shadow:none!important}
html body.jsdc-content-role--service #de-main #wpb-content-root h3.vc_custom_heading{font-size:clamp(22px,1.8vw,28px)!important;line-height:1.25!important}
html body.jsdc-content-role--service #de-main #wpb-content-root .wpb_text_column p{max-width:76ch;margin-inline:auto;font-size:16px}
html body.jsdc-content-role--service #de-main #wpb-content-root .jsd-wardrobes-opening{padding-top:100px!important;padding-bottom:0!important}
html body.jsdc-content-role--service #de-main #wpb-content-root .jsd-wardrobes-opening + section{padding-bottom:28px!important}
html body.jsdc-content-role--service #de-main #wpb-content-root .jsd-wardrobes-opening + section p{max-width:760px}
html body.jsdc-content-role--service #de-main #wpb-content-root .wpb_single_image img{max-width:100%;height:auto}
html body.jsdc-content-role--service #de-main #wpb-content-root .jsd-shared-reviews .intro h2{font-family:var(--jsd-font-family-display)!important}
@media(max-width:767px){html body.jsdc-content-role--service #de-main #wpb-content-root > .wpb_row > .row{width:calc(100% - 24px)!important}html body.jsdc-content-role--service #de-main #wpb-content-root .jsd-wardrobes-opening{padding-top:48px!important}html body.jsdc-content-role--service #de-main #wpb-content-root h2.vc_custom_heading{padding:29px 0!important}html body.jsdc-content-role--service #de-main #wpb-content-root .jsd-wardrobes-opening + section{padding-bottom:20px!important}}
/* P4: uninterrupted policy reading, with quiet in-column chapter headings. */
html body.jsdc-content-role--reading #de-main #wpb-content-root{box-sizing:border-box;width:calc(100% - 48px);max-width:var(--jsd-layout-content-editorial-maximum);margin:0 auto;padding:100px 0 80px;font-size:17px;line-height:1.75}
html body.jsdc-content-role--reading #de-main #wpb-content-root :is(.container,.row,.vc_column-inner){width:100%;max-width:none;margin:0;padding:0}
html body.jsdc-content-role--reading #de-main #wpb-content-root > section{padding:0}
html body.jsdc-content-role--reading #de-main #wpb-content-root h1{font-size:clamp(32px,3.1vw,52px);line-height:1.12;margin:0 0 24px;max-width:24ch}
html body.jsdc-content-role--reading #de-main #wpb-content-root h2{font-size:clamp(24px,2.1vw,30px);line-height:1.25;margin:48px 0 18px;max-width:32ch}
html body.jsdc-content-role--reading #de-main #wpb-content-root :is(p,li){font-size:17px;line-height:1.75}
html body.jsdc-content-role--reading #de-main #wpb-content-root p{margin:0 0 18px}
html body.jsdc-content-role--reading #de-main #wpb-content-root ul{padding-left:24px;margin:0 0 24px}
html body.jsdc-content-role--reading #de-main #wpb-content-root li+li{margin-top:8px}
html body.jsdc-content-role--reading #de-main #wpb-content-root a{color:#765300;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}
@media(max-width:767px){html body.jsdc-content-role--reading #de-main #wpb-content-root{width:calc(100% - 40px);padding:48px 0}html body.jsdc-content-role--reading #de-main #wpb-content-root h2{margin-top:36px}}

html body.jsdc-content-role--service #de-main #wpb-content-root .jsd-wardrobes-opening > .row{padding-top:0!important}

/* The native policy template owns outer wrappers; remove nested reading insets. */
html body.jsdc-content-role--reading #de-main #content{padding-block:0}
html body.jsdc-content-role--reading #de-main #content > .container,html body.jsdc-content-role--reading #de-main #content > .container > .row,html body.jsdc-content-role--reading #de-main #content > .container > .row > .col-md-12{box-sizing:border-box;width:100%;max-width:none;padding:0;margin:0}
html body.jsdc-content-role--reading #de-main #wpb-content-root{padding-top:48px}
html body.jsdc-content-role--reading #de-main #wpb-content-root > section{padding:0!important}
html body.jsdc-content-role--reading #de-main #subheader{padding:110px 24px 24px!important;background:#f8f8f8!important;border-bottom:1px solid #dfe4dd}
html body.jsdc-content-role--reading #de-main #subheader :is(h1,.breadcrumb){font-family:var(--jsd-font-family-display)}
html body.jsdc-content-role--reading #de-main #subheader h1{font-size:20px;line-height:1.25;letter-spacing:normal;text-transform:none}
@media(max-width:767px){html body.jsdc-content-role--reading #de-main #subheader{padding:144px 20px 24px!important}}

/* Wardrobe composition: existing P1/P2/P3 modules; only native clearance and image art direction. */
body.jsdc-content-role--wardrobe-hub #content{padding:0!important}
body.jsdc-content-role--wardrobe-hub #wpb-content-root{padding:0;margin:0}
#de-main .jsdc-wardrobe-hub .jsdc-landing__hero{min-height:620px;height:min(52vw,780px);max-width:2000px;margin-inline:auto;padding-top:130px!important;padding-bottom:64px!important}
#de-main .jsdc-wardrobe-hub .jsdc-landing__hero img{object-position:center center}
#de-main .jsdc-wardrobe-hub .jsdc-landing__hero-copy{position:relative;z-index:2}
#de-main .jsdc-wardrobe-hub .jsdc-landing__feature>a{display:block;align-self:center;overflow:hidden}
#de-main .jsdc-wardrobe-hub .jsdc-landing__feature>a img{aspect-ratio:auto;max-width:100%;height:auto}
#de-main .jsdc-wardrobe-hub .jsdc-landing__feature{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#de-main .jsdc-wardrobe-hub .jsdc-landing__card>a{display:block;overflow:hidden}
#de-main .jsdc-wardrobe-hub .jsdc-landing__card h3 a{color:inherit;text-decoration:none}
#de-main .jsdc-wardrobe-hub .jsdc-landing__card h3 a:hover{text-decoration:underline}
#de-main .jsdc-wardrobe-hub .jsdc-landing__card img{object-position:center}
#de-main .jsdc-wardrobe-hub .jsdc-landing__card-body{display:flex;flex-direction:column;align-items:flex-start}
#de-main .jsdc-wardrobe-hub .jsdc-landing__card-body .jsdc-button{margin-top:auto}
#de-main .jsdc-wardrobe-hub .jsdc-credentials{margin-block:0}
#de-main .jsdc-wardrobe-hub .jsd-shared-reviews{font-family:'Instrument Sans JSD',Arial,sans-serif}
#de-main .jsdc-wardrobe-hub .jsd-shared-reviews :is(h2,h3){font-family:inherit}
@media(max-width:800px){#de-main .jsdc-wardrobe-hub .jsdc-landing__feature{grid-template-columns:1fr}}
@media(max-width:767px){#de-main .jsdc-wardrobe-hub .jsdc-landing__hero{height:auto;min-height:0;padding-top:290px!important;padding-bottom:32px!important}#de-main .jsdc-wardrobe-hub .jsdc-landing__hero figure,#de-main .jsdc-wardrobe-hub .jsdc-landing__hero::after{height:350px}#de-main .jsdc-wardrobe-hub .jsdc-landing__hero img{object-position:center}#de-main .jsdc-wardrobe-hub .jsdc-landing__hero-copy>p{max-width:none}}

/* Native wpautop can add empty grid children; image auto-sizes must retain its real aspect. */
#de-main .jsdc-wardrobe-hub .jsdc-landing__feature>p:empty{display:none}
#de-main .jsdc-wardrobe-hub .jsdc-landing__feature>a img{aspect-ratio:auto 3/2;contain-intrinsic-size:none}

/* Planning: P1 chapter with existing budget card, next-steps and native FAQ components. */
body.jsd-components-enabled #de-main .jsdc-planning__overview{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px;align-items:stretch}
body.jsd-components-enabled #de-main .jsdc-planning__budget{background:var(--jsd-color-surface-soft)}
body.jsd-components-enabled #de-main .jsdc-planning .jsdc-planning__price{font-size:var(--jsd-font-size-section-title-desktop);font-weight:500;line-height:1.16;color:var(--jsd-color-text-ink);margin:12px 0 16px;letter-spacing:-.02em}
body.jsd-components-enabled #de-main .jsdc-planning__scope{padding-top:20px;border-top:1px solid var(--jsdc-line)}
body.jsd-components-enabled #de-main .jsdc-planning__choices{margin:8px 0 0;width:100%}
body.jsd-components-enabled #de-main .jsdc-planning__choices>div{display:grid;grid-template-columns:minmax(140px,.38fr) minmax(0,1fr);gap:24px;padding:24px 0;border-top:1px solid var(--jsdc-line)}
body.jsd-components-enabled #de-main .jsdc-planning__choices dt{font-weight:600;color:var(--jsd-color-text-ink)}
body.jsd-components-enabled #de-main .jsdc-planning__choices dd{margin:0;max-width:65ch}
body.jsd-components-enabled #de-main .jsdc-planning__brief{margin:28px 0;padding:clamp(24px,2.6vw,40px);background:var(--jsdc-white)}
body.jsd-components-enabled #de-main .jsdc-planning__brief ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:28px 0}
body.jsd-components-enabled #de-main .jsdc-planning__brief li{align-items:flex-start;margin:0;gap:16px}
body.jsd-components-enabled #de-main .jsdc-planning__brief li>span{font-size:var(--jsd-font-size-card-title);line-height:1.5}
body.jsd-components-enabled #de-main .jsdc-planning__brief li strong{display:block;margin-bottom:8px}
body.jsd-components-enabled #de-main .jsdc-planning__brief li p{margin:0;max-width:48ch}
body.jsd-components-enabled #de-main .jsdc-planning__next{display:flex;gap:28px;justify-content:space-between;align-items:center;border-top:1px solid var(--jsdc-line);padding-top:24px}
body.jsd-components-enabled #de-main .jsdc-planning__next p{max-width:80ch;margin:0}
body.jsd-components-enabled #de-main .jsdc-planning__next .jsdc-button{flex-shrink:0}
body.jsd-components-enabled #de-main .jsdc-planning__suitability{max-width:none}
body.jsd-components-enabled #de-main .jsdc-planning__suitability details p,body.jsd-components-enabled #de-main .jsdc-planning__suitability details ul{max-width:90ch}
body.jsd-components-enabled #de-main .jsdc-planning__suitability summary:hover{color:var(--jsd-color-brand-bronze)}
body.jsd-components-enabled #de-main .jsdc-planning__suitability summary:focus-visible{outline:2px solid var(--jsd-color-brand-bronze);outline-offset:5px}
body.jsd-components-enabled #de-main .jsdc-planning__suitability details[open] summary{color:var(--jsd-color-brand-bronze)}
@media(max-width:1100px){body.jsd-components-enabled #de-main .jsdc-planning__choices>div{grid-template-columns:1fr;gap:8px;padding:18px 0}body.jsd-components-enabled #de-main .jsdc-planning__brief ol{gap:20px}}
@media(max-width:800px){body.jsd-components-enabled #de-main .jsdc-planning__overview,body.jsd-components-enabled #de-main .jsdc-planning__brief ol{grid-template-columns:1fr}body.jsd-components-enabled #de-main .jsdc-planning__brief ol{gap:24px}body.jsd-components-enabled #de-main .jsdc-planning__next{flex-direction:column;align-items:stretch}body.jsd-components-enabled #de-main .jsdc-planning .jsdc-planning__price{font-size:var(--jsd-font-size-section-title-mobile)}body.jsd-components-enabled #de-main .jsdc-planning__next .jsdc-button{width:100%}}
