/* Layout adapters only. Visual defaults remain in the brand stylesheets. */
body.ddt-site .ddt-editor-surface{position:relative;isolation:isolate;min-width:0}
body.ddt-site .ddt-editor-background,body.ddt-site .ddt-editor-overlay{position:absolute;inset:0;pointer-events:none;z-index:0;background-position:center;background-size:cover;background-repeat:no-repeat;border-radius:inherit}
body.ddt-site .ddt-editor-overlay{z-index:1}
body.ddt-site .ddt-editor-surface>section,body.ddt-site .ddt-editor-surface>header,body.ddt-site .ddt-editor-surface>footer,body.ddt-site .ddt-editor-surface>.ddt-care-directory{position:relative;z-index:2}
body.ddt-site .ddt-has-custom-background>section,body.ddt-site .ddt-has-custom-background>header,body.ddt-site .ddt-has-custom-background>footer{background:transparent}
body.ddt-site .ddt-has-custom-background>section>.ddt-backdrop,body.ddt-site .ddt-has-custom-background .ddt-hero-art{display:none}
body.ddt-site .ddt-hide-buttons .ddt-button{display:none}
body.ddt-site .ddt-editor-surface:has(.ddt-whatsapp){isolation:auto}
body.ddt-site .ddt-editor-surface:has(.ddt-whatsapp)>.ddt-editor-overlay{z-index:0}
body.ddt-site .ddt-program-pair:empty,body.ddt-site .ddt-treatment-track:empty{min-height:0}
@media(min-width:1025px){
 body.ddt-site .ddt-layout-desktop-full>.ddt-hero,body.ddt-site .ddt-layout-desktop-full>.ddt-program-hero{background:transparent;min-height:610px}
 body.ddt-site .ddt-layout-desktop-full>.ddt-editor-background{background-image:var(--ddt-full-photo)}
 body.ddt-site .ddt-layout-desktop-full .ddt-hero-media,body.ddt-site .ddt-layout-desktop-full .ddt-hero-art,body.ddt-site .ddt-layout-desktop-full>.ddt-program-hero>figure{display:none}
 body.ddt-site .ddt-layout-desktop-full>.ddt-program-hero{display:flex}
}
@media(min-width:768px) and (max-width:1024px){
 body.ddt-site .ddt-layout-tablet-full>.ddt-hero,body.ddt-site .ddt-layout-tablet-full>.ddt-program-hero{background:transparent;min-height:540px}
 body.ddt-site .ddt-layout-tablet-full>.ddt-editor-background{background-image:var(--ddt-full-photo)}
 body.ddt-site .ddt-layout-tablet-full .ddt-hero-media,body.ddt-site .ddt-layout-tablet-full .ddt-hero-art,body.ddt-site .ddt-layout-tablet-full>.ddt-program-hero>figure{display:none}
 body.ddt-site .ddt-layout-tablet-full>.ddt-program-hero{display:flex}
}
@media(max-width:767px){
 body.ddt-site .ddt-layout-mobile-full>.ddt-hero,body.ddt-site .ddt-layout-mobile-full>.ddt-program-hero{background:transparent;min-height:540px}
 body.ddt-site .ddt-layout-mobile-full>.ddt-editor-background{background-image:var(--ddt-full-photo)}
 body.ddt-site .ddt-layout-mobile-full .ddt-hero-media,body.ddt-site .ddt-layout-mobile-full .ddt-hero-art,body.ddt-site .ddt-layout-mobile-full>.ddt-program-hero>figure{display:none}
 body.ddt-site .ddt-layout-mobile-full>.ddt-program-hero{display:flex}
 body.ddt-site .ddt-layout-mobile-full .ddt-hero-inner{min-height:inherit}
}

body.ddt-site .ddt-kind-invitation{width:min(1280px,calc(100% - 112px));margin-inline:auto}
body.ddt-site .ddt-kind-invitation>.ddt-wrap{width:100%}
@media(max-width:1100px){body.ddt-site .ddt-kind-invitation{width:calc(100% - 64px)}}
@media(max-width:800px){body.ddt-site .ddt-kind-invitation{width:calc(100% - 40px)}}

body.ddt-site .ddt-treatments:not(:has(.ddt-treatment-slide)) :is(.ddt-carousel-actions,.ddt-carousel-progress){display:none}

/* Supplied treatment artwork includes its own lettering and signature. */
body.ddt-site .ddt-treatment-slide figure{aspect-ratio:9/16}
body.ddt-site .ddt-treatment-slide figure img[src*="/carousel-"]{object-fit:contain}

/* Native image layer is the only decorative background when it is enabled. */
body.ddt-site .ddt-has-custom-background > section::before,body.ddt-site .ddt-has-custom-background > header::before,body.ddt-site .ddt-has-custom-background > footer::before{display:none}
