/* v1.0.4. These rules apply only to a selected/customised section scheme.
   Untouched automatic sections retain their v1.0.3 appearance. Palette changes
   are supplied through the validated inline CSS variables, without remote requests. */
section[data-style-scheme]{background:var(--scheme-background);color:var(--scheme-text);border-color:var(--scheme-border)}
section[data-style-scheme] :is(h1,h2,h3,h4){color:var(--scheme-heading)}
section[data-style-scheme] :is(.reading-copy,.rich-copy,.benefits-aside,.transformation-copy){color:var(--scheme-text)}
section[data-style-scheme] :is(.reading-copy,.rich-copy) :is(p,li,blockquote){color:var(--scheme-text)}
section[data-style-scheme] :is(.eyebrow,.principles p,.ortho-service p,.dental-intro p,.clinic-copy p,.faq-list details p,.benefits-list p,.dental-entry>p,.image-caption,.location-caption,.price-row small){color:var(--scheme-muted)}
section[data-style-scheme] :is(.dental-entry,.catalogue-title,.text-link){color:var(--scheme-text)}
section[data-style-scheme] .text-link:hover{color:var(--scheme-heading)}
section[data-style-scheme] :is(.text-link,.process-steps article){border-color:var(--scheme-accent)}
section[data-style-scheme] :is(.index-number,.text-link svg,.case-symbol){color:var(--scheme-accent)}
section[data-style-scheme] .fine-line{background:var(--scheme-accent)}
section[data-style-scheme] :is(.faq-list details,.benefits-list article,.price-row){border-color:var(--scheme-border)}
section[data-style-scheme] .clinic-button{background:var(--scheme-button);color:var(--scheme-button-text);border-color:var(--scheme-border)}
section[data-style-scheme] .clinic-button:hover{background:var(--scheme-hover);color:var(--scheme-hover-text)}
section[data-style-scheme] .outlined-button{background:transparent;color:var(--scheme-text);border-color:var(--scheme-border)}
section[data-style-scheme] .outlined-button:hover{background:var(--scheme-hover);color:var(--scheme-hover-text)}
section[data-style-scheme] :is(.case-preview,.image-placeholder,.service-media-action,.catalogue-media){background:var(--scheme-surface);color:var(--scheme-surface-text)}
section[data-style-scheme] .case-preview :is(h3,p,.rich-copy){color:var(--scheme-surface-text)}
section[data-style-scheme] .hero-caption{background:var(--scheme-background);color:var(--scheme-text)}
section[data-style-scheme] :is(a,button,summary,input,textarea):focus-visible{outline-color:var(--scheme-text)}
/* Forms embedded in a dark section still retain a readable, separate form surface. */
section[data-style-scheme] .embedded-enquiry{background:var(--scheme-surface);color:var(--scheme-surface-text);padding:24px;border:1px solid var(--scheme-border);border-radius:4px}
section[data-style-scheme] .embedded-enquiry :is(h2,label,p){color:var(--scheme-surface-text)}

/* New layout widgets inherit the section's selected scheme. */
section[data-style-scheme] .team-role{color:var(--scheme-muted)}
section[data-style-scheme] .team-profile-copy .reading-copy{color:var(--scheme-text)}
section[data-style-scheme] .carousel-arrow{background:var(--scheme-surface);color:var(--scheme-surface-text);border-color:var(--scheme-border)}
section[data-style-scheme] .carousel-arrow:hover{background:var(--scheme-hover);color:var(--scheme-hover-text)}
section[data-style-scheme] .carousel-status{color:var(--scheme-text)}
section[data-style-scheme] .slider-photo{background:var(--scheme-surface)}

/* Carousel navigation also follows the selected section scheme. */
section[data-style-scheme] .content-carousel{--carousel-dot-color:var(--scheme-accent);--carousel-arrow-bg:var(--scheme-surface);--carousel-arrow-text:var(--scheme-surface-text)}
section[data-style-scheme] .carousel-arrow[aria-disabled="true"]:hover{background:var(--scheme-surface);color:var(--scheme-surface-text)}
section[data-style-scheme] .carousel-thumbnail{background:var(--scheme-surface);color:var(--scheme-surface-text)}
