/* Automatic readable text and collision protection for all templates and custom palettes. */
.public-body .home-hero{color:var(--tenant-on-surface)}.public-body .hero-copy{position:relative;z-index:5;min-width:0}.public-body .home-hero .hero-copy h1{position:relative;z-index:2;display:block;max-width:100%;height:auto!important;min-height:0;max-height:none!important;margin-block:clamp(18px,3vw,32px);padding-block:.08em .14em;overflow:visible!important;overflow-wrap:anywhere;text-wrap:balance;line-height:1.3!important}.public-body .hero-copy>p{height:auto;max-height:none;overflow:visible;color:color-mix(in srgb,var(--tenant-on-surface),transparent 22%)}.public-body .home-hero .eyebrow,.public-body .home-hero .text-link{color:color-mix(in srgb,var(--tenant-on-surface),transparent 14%)}.public-body .trust-row{position:relative;z-index:3}.public-body .trust-row small{color:color-mix(in srgb,var(--tenant-on-surface),transparent 28%)}.public-body .btn.primary,.public-body .header-cta{color:var(--tenant-on-primary)!important}.public-body .brand-mark,.public-body .mobile-primary-action{color:var(--tenant-on-accent)!important}.public-body .stedlab-ad{color:var(--tenant-on-primary)}
.theme-layout-editorial .hero-copy,.theme-layout-diagonal .hero-copy,.theme-layout-cinematic .hero-copy,.theme-template-theme-04 .hero-copy,.theme-template-theme-09 .hero-copy,.theme-template-theme-21 .hero-copy,.theme-template-theme-29 .hero-copy{color:var(--tenant-on-primary)}.theme-layout-editorial .hero-copy>p,.theme-layout-diagonal .hero-copy>p,.theme-layout-cinematic .hero-copy>p,.theme-template-theme-04 .hero-copy>p,.theme-template-theme-09 .hero-copy>p,.theme-template-theme-21 .hero-copy>p,.theme-template-theme-29 .hero-copy>p,.theme-layout-editorial .eyebrow,.theme-layout-diagonal .eyebrow,.theme-layout-cinematic .eyebrow,.theme-template-theme-04 .eyebrow,.theme-template-theme-09 .eyebrow,.theme-template-theme-21 .eyebrow,.theme-template-theme-29 .eyebrow,.theme-layout-editorial .text-link,.theme-layout-diagonal .text-link,.theme-layout-cinematic .text-link,.theme-template-theme-04 .text-link,.theme-template-theme-09 .text-link,.theme-template-theme-21 .text-link,.theme-template-theme-29 .text-link{color:color-mix(in srgb,var(--tenant-on-primary),transparent 16%)}.theme-layout-editorial .trust-row small,.theme-layout-diagonal .trust-row small,.theme-layout-cinematic .trust-row small,.theme-template-theme-04 .trust-row small,.theme-template-theme-09 .trust-row small,.theme-template-theme-21 .trust-row small,.theme-template-theme-29 .trust-row small{color:color-mix(in srgb,var(--tenant-on-primary),transparent 25%)}
.clinic-preview{--clinic-on-primary:#fff;--clinic-on-accent:#17211d;--clinic-on-surface:#17211d;color:var(--clinic-on-surface)}.clinic-preview .preview-copy{position:relative;z-index:5}.clinic-preview .preview-copy h2{display:block;height:auto!important;min-height:0;max-height:none!important;margin-block:16px 20px;padding-block:.08em .14em;overflow:visible!important;color:inherit;line-height:1.3!important}.clinic-preview .preview-copy p,.clinic-preview .eyebrow{color:color-mix(in srgb,var(--clinic-on-surface),transparent 22%)}.clinic-preview .primary-action,.clinic-preview .nav-try,.clinic-preview .preview-ad{color:var(--clinic-on-primary)}.clinic-preview .clinic-logo>span{color:var(--clinic-on-accent)}.clinic-preview.layout-editorial .preview-copy,.clinic-preview.layout-diagonal .preview-copy,.clinic-preview.layout-cinematic .preview-copy,.clinic-preview.template-theme-04 .preview-copy,.clinic-preview.template-theme-09 .preview-copy,.clinic-preview.template-theme-21 .preview-copy,.clinic-preview.template-theme-29 .preview-copy{color:var(--clinic-on-primary)}.clinic-preview.layout-editorial .preview-copy p,.clinic-preview.layout-diagonal .preview-copy p,.clinic-preview.layout-cinematic .preview-copy p,.clinic-preview.template-theme-04 .preview-copy p,.clinic-preview.template-theme-09 .preview-copy p,.clinic-preview.template-theme-21 .preview-copy p,.clinic-preview.template-theme-29 .preview-copy p,.clinic-preview.layout-editorial .eyebrow,.clinic-preview.layout-diagonal .eyebrow,.clinic-preview.layout-cinematic .eyebrow,.clinic-preview.template-theme-04 .eyebrow,.clinic-preview.template-theme-09 .eyebrow,.clinic-preview.template-theme-21 .eyebrow,.clinic-preview.template-theme-29 .eyebrow{color:color-mix(in srgb,var(--clinic-on-primary),transparent 16%)}.clinic-preview .doctor-chip{color:#17211d;background:#fffffff2}.clinic-preview .doctor-chip small{color:#61716a}
.clinic-preview .ai-face-transform{--tenant-accent:var(--clinic-accent)}
/* Templates with intentionally white content cards keep dark copy even when a custom dark surface is selected. */
.theme-layout-clinical .hero-copy,.theme-template-theme-11 .hero-copy,.theme-template-theme-12 .hero-copy,.theme-template-theme-17 .hero-copy,.theme-template-theme-20 .hero-copy,.theme-template-theme-26 .hero-copy,.theme-template-theme-27 .hero-copy,.theme-template-theme-30 .hero-copy{color:#14201c}.theme-layout-clinical .hero-copy>p,.theme-template-theme-11 .hero-copy>p,.theme-template-theme-12 .hero-copy>p,.theme-template-theme-17 .hero-copy>p,.theme-template-theme-20 .hero-copy>p,.theme-template-theme-26 .hero-copy>p,.theme-template-theme-27 .hero-copy>p,.theme-template-theme-30 .hero-copy>p,.theme-layout-clinical .eyebrow,.theme-template-theme-11 .eyebrow,.theme-template-theme-12 .eyebrow,.theme-template-theme-17 .eyebrow,.theme-template-theme-20 .eyebrow,.theme-template-theme-26 .eyebrow,.theme-template-theme-27 .eyebrow,.theme-template-theme-30 .eyebrow,.theme-layout-clinical .text-link,.theme-template-theme-11 .text-link,.theme-template-theme-12 .text-link,.theme-template-theme-17 .text-link,.theme-template-theme-20 .text-link,.theme-template-theme-26 .text-link,.theme-template-theme-27 .text-link,.theme-template-theme-30 .text-link{color:#51625a}
.clinic-preview.layout-clinical .preview-copy,.clinic-preview.template-theme-11 .preview-copy,.clinic-preview.template-theme-12 .preview-copy,.clinic-preview.template-theme-17 .preview-copy,.clinic-preview.template-theme-20 .preview-copy,.clinic-preview.template-theme-26 .preview-copy,.clinic-preview.template-theme-27 .preview-copy,.clinic-preview.template-theme-30 .preview-copy{color:#14201c}.clinic-preview.layout-clinical .preview-copy p,.clinic-preview.template-theme-11 .preview-copy p,.clinic-preview.template-theme-12 .preview-copy p,.clinic-preview.template-theme-17 .preview-copy p,.clinic-preview.template-theme-20 .preview-copy p,.clinic-preview.template-theme-26 .preview-copy p,.clinic-preview.template-theme-27 .preview-copy p,.clinic-preview.template-theme-30 .preview-copy p,.clinic-preview.layout-clinical .eyebrow,.clinic-preview.template-theme-11 .eyebrow,.clinic-preview.template-theme-12 .eyebrow,.clinic-preview.template-theme-17 .eyebrow,.clinic-preview.template-theme-20 .eyebrow,.clinic-preview.template-theme-26 .eyebrow,.clinic-preview.template-theme-27 .eyebrow,.clinic-preview.template-theme-30 .eyebrow{color:#51625a}
@media(max-width:760px){.public-body .home-hero .hero-copy h1{line-height:1.36!important}.public-body .hero-copy>p{line-height:1.9}.public-body .hero-copy,.public-body .trust-row,.public-body .hero-actions{max-width:100%}.public-body .hero-actions{flex-wrap:wrap}}
