/*
 * LA Dental art direction 1.9.28
 * Layered dental currents, protected reading planes and editorial treatment navigation.
 */

.site-main.ld-editorial [data-motion-band] {
    --ld-art-a: rgba(18, 111, 119, 0.82);
    --ld-art-b: rgba(144, 209, 211, 0.72);
    --ld-art-c: rgba(229, 201, 149, 0.68);
    --ld-art-d: rgba(49, 95, 154, 0.48);
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.final-cta[data-motion-band] {
    --ld-art-a: rgba(144, 209, 211, 0.84);
    --ld-art-b: rgba(18, 111, 119, 0.88);
    --ld-art-c: rgba(229, 201, 149, 0.82);
    --ld-art-d: rgba(255, 253, 248, 0.64);
    position: relative;
    isolation: isolate;
    overflow: clip;
}

.final-cta > .ld-art-wave {
    height: clamp(38px, 3.2vw, 52px);
    transform: none;
}

html.ld-art-waves-ready .site-main.ld-editorial [data-motion-band]::before,
html.ld-art-waves-ready .final-cta[data-motion-band]::before {
    opacity: 0 !important;
    animation: none !important;
    transform: none !important;
}

html.ld-art-waves-ready .ld-editorial--home .hero--immersive.has-ld-art-wave::after {
    opacity: 0 !important;
    animation: none !important;
    transform: none !important;
}

html.ld-art-waves-ready .site-main.ld-editorial .about-hero.has-ld-art-wave::after,
html.ld-art-waves-ready .site-main.ld-editorial .treatment-hero.has-ld-art-wave::after {
    opacity: 0 !important;
    animation: none !important;
    transform: none !important;
}

.ld-editorial--home .hero--immersive {
    --ld-art-a: rgba(8, 82, 99, 0.9);
    --ld-art-b: rgba(144, 209, 211, 0.78);
    --ld-art-c: rgba(229, 201, 149, 0.84);
    --ld-art-d: rgba(255, 253, 248, 0.72);
}

.ld-editorial--home .hero--immersive > .ld-art-wave {
    z-index: 2;
    height: clamp(42px, 3.8vw, 64px);
    transform: none;
}

@media (min-width: 721px) {
    .ld-editorial--home .hero--immersive .hero__video-toggle {
        bottom: clamp(72px, 5.2vw, 92px);
    }
}

.ld-art-wave {
    --ld-wave-x-a: -3.2%;
    --ld-wave-x-b: 3.2%;
    --ld-wave-lift: -3px;
    --ld-wave-base-duration: 8.8s;
    --ld-wave-base-delay: -0.8s;
    --ld-wave-base-direction: normal;
    --ld-wave-contour-duration: 10.5s;
    --ld-wave-contour-delay: -2.2s;
    --ld-wave-contour-direction: reverse;
    --ld-wave-glint-duration: 7.2s;
    --ld-wave-glint-delay: -1.4s;
    --ld-wave-glint-direction: normal;
    position: absolute;
    inset-inline: -5%;
    inset-block-end: -2px;
    z-index: 0;
    width: 110%;
    height: clamp(42px, 4.6vw, 74px);
    overflow: hidden;
    pointer-events: none;
    transform: none;
}

.ld-art-wave__layer {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    transform-origin: 50% 100%;
    animation-play-state: paused;
    will-change: auto;
}

.ld-art-wave--gallery {
    --ld-wave-mask: url("../img/patterns/dental-gallery-current.svg");
    --ld-wave-mask-alt: url("../img/patterns/dental-occlusion-gallery.svg");
}

.ld-art-wave--diagonal {
    --ld-wave-mask: url("../img/patterns/dental-diagonal-current.svg");
    --ld-wave-mask-alt: url("../img/patterns/dental-gallery-current.svg");
    --ld-wave-base-duration: 10.2s;
    --ld-wave-base-delay: -2.6s;
    --ld-wave-base-direction: reverse;
    --ld-wave-contour-duration: 8.9s;
    --ld-wave-contour-delay: -0.9s;
    --ld-wave-contour-direction: normal;
    --ld-wave-glint-duration: 6.8s;
    --ld-wave-glint-delay: -3.1s;
    --ld-wave-glint-direction: reverse;
}

.ld-art-wave--occlusion {
    --ld-wave-mask: url("../img/patterns/dental-occlusion-gallery.svg");
    --ld-wave-mask-alt: url("../img/patterns/dental-diagonal-current.svg");
    --ld-wave-base-duration: 9.4s;
    --ld-wave-base-delay: -4.1s;
    --ld-wave-contour-duration: 11.4s;
    --ld-wave-contour-delay: -1.8s;
    --ld-wave-glint-duration: 7.8s;
    --ld-wave-glint-delay: -0.6s;
}

.ld-art-wave--phase-2 {
    --ld-wave-base-delay: -3.4s;
    --ld-wave-contour-delay: -4.8s;
    --ld-wave-glint-delay: -2.7s;
}

.ld-art-wave--phase-3 {
    --ld-wave-base-direction: reverse;
    --ld-wave-contour-direction: normal;
    --ld-wave-glint-direction: reverse;
    --ld-wave-base-delay: -5.2s;
    --ld-wave-contour-delay: -1.2s;
    --ld-wave-glint-delay: -4.1s;
}

.ld-art-wave__layer--base {
    opacity: 0.78;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            var(--ld-art-a) 10%,
            var(--ld-art-b) 35%,
            var(--ld-art-c) 59%,
            var(--ld-art-d) 82%,
            transparent 100%
        );
    background-position: 0% 50%;
    background-repeat: no-repeat;
    background-size: 190% 100%;
    filter: drop-shadow(0 -10px 18px rgba(6, 55, 69, 0.14)) saturate(1.14);
    -webkit-mask: var(--ld-wave-mask) center / 100% 100% no-repeat;
    mask: var(--ld-wave-mask) center / 100% 100% no-repeat;
}

.ld-art-wave__layer--contour {
    inset-block-start: 5%;
    inset-block-end: 10%;
    opacity: 0.52;
    background:
        linear-gradient(
            90deg,
            transparent 4%,
            rgba(255, 255, 255, 0.88) 18%,
            var(--ld-art-c) 43%,
            rgba(255, 255, 255, 0.72) 68%,
            var(--ld-art-b) 88%,
            transparent 98%
        );
    background-position: 100% 50%;
    background-repeat: no-repeat;
    background-size: 180% 100%;
    -webkit-mask: var(--ld-wave-mask-alt) center / 100% 100% no-repeat;
    mask: var(--ld-wave-mask-alt) center / 100% 100% no-repeat;
}

.ld-art-wave__layer--glint {
    inset-block-start: 25%;
    inset-block-end: 3%;
    opacity: 0.4;
    background:
        repeating-linear-gradient(
            104deg,
            transparent 0 52px,
            rgba(255, 255, 255, 0.72) 54px 57px,
            transparent 60px 116px
        ),
        linear-gradient(90deg, transparent, var(--ld-art-c), transparent);
    background-position: -90px 0, 0% 50%;
    background-repeat: repeat-x, no-repeat;
    background-size: 180px 100%, 220% 100%;
    -webkit-mask: var(--ld-wave-mask) center / 100% 100% no-repeat;
    mask: var(--ld-wave-mask) center / 100% 100% no-repeat;
}

.site-main.ld-editorial :where(
    .clinic-dossier,
    .about-story,
    .about-doctors,
    .contact-conversion,
    .page-layout
) {
    --ld-art-a: rgba(126, 175, 149, 0.72);
    --ld-art-b: rgba(225, 239, 232, 0.86);
    --ld-art-c: rgba(229, 201, 149, 0.72);
    --ld-art-d: rgba(18, 111, 119, 0.52);
}

.site-main.ld-editorial :where(
    .treatments-preview,
    .treatment-hierarchy,
    .related-treatments,
    .page-hero
) {
    --ld-art-a: rgba(49, 95, 154, 0.68);
    --ld-art-b: rgba(126, 170, 210, 0.8);
    --ld-art-c: rgba(144, 209, 211, 0.78);
    --ld-art-d: rgba(18, 111, 119, 0.58);
}

.site-main.ld-editorial :where(
    .decision-method,
    .single-treatment__content,
    .services-emax,
    .ld-editorial-feature--emax
) {
    --ld-art-a: rgba(151, 101, 43, 0.64);
    --ld-art-b: rgba(229, 201, 149, 0.88);
    --ld-art-c: rgba(247, 226, 221, 0.78);
    --ld-art-d: rgba(181, 67, 63, 0.52);
}

.site-main.ld-editorial :where(
    .contact-band,
    .contact-hero,
    .about-strip,
    .treatment-hero
) {
    --ld-art-a: rgba(6, 55, 69, 0.82);
    --ld-art-b: rgba(18, 111, 119, 0.82);
    --ld-art-c: rgba(229, 201, 149, 0.8);
    --ld-art-d: rgba(144, 209, 211, 0.62);
}

.site-main.ld-editorial .google-reviews-cta {
    --ld-art-a: rgba(66, 133, 244, 0.7);
    --ld-art-b: rgba(52, 168, 83, 0.68);
    --ld-art-c: rgba(251, 188, 5, 0.8);
    --ld-art-d: rgba(234, 67, 53, 0.58);
}

@keyframes ld-art-current-base {
    0%,
    100% {
        background-position: 0% 50%;
        transform: translate3d(var(--ld-wave-x-a), 0, 0) scaleX(1.035);
    }

    50% {
        background-position: 100% 50%;
        transform: translate3d(var(--ld-wave-x-b), var(--ld-wave-lift), 0) scaleX(1.015);
    }
}

@keyframes ld-art-current-contour {
    0%,
    100% {
        background-position: 100% 50%;
        transform: translate3d(2.4%, 1px, 0) scaleX(1.025);
        opacity: 0.44;
    }

    50% {
        background-position: 0% 50%;
        transform: translate3d(-2.4%, -2px, 0) scaleX(1.04);
        opacity: 0.64;
    }
}

@keyframes ld-art-current-glint {
    0%,
    100% {
        background-position: -90px 0, 0% 50%;
        transform: translate3d(-3%, 0, 0);
        opacity: 0.24;
    }

    50% {
        background-position: 90px 0, 100% 50%;
        transform: translate3d(3%, -1px, 0);
        opacity: 0.46;
    }
}

.ld-art-wave__layer--base {
    animation-name: ld-art-current-base;
    animation-duration: var(--ld-wave-base-duration);
    animation-timing-function: ease-in-out;
    animation-delay: var(--ld-wave-base-delay);
    animation-iteration-count: infinite;
    animation-direction: var(--ld-wave-base-direction);
    animation-fill-mode: both;
}

.ld-art-wave__layer--contour {
    animation-name: ld-art-current-contour;
    animation-duration: var(--ld-wave-contour-duration);
    animation-timing-function: ease-in-out;
    animation-delay: var(--ld-wave-contour-delay);
    animation-iteration-count: infinite;
    animation-direction: var(--ld-wave-contour-direction);
    animation-fill-mode: both;
}

.ld-art-wave__layer--glint {
    animation-name: ld-art-current-glint;
    animation-duration: var(--ld-wave-glint-duration);
    animation-timing-function: ease-in-out;
    animation-delay: var(--ld-wave-glint-delay);
    animation-iteration-count: infinite;
    animation-direction: var(--ld-wave-glint-direction);
    animation-fill-mode: both;
}

html[data-motion="on"] :where(
    .site-main.ld-editorial [data-motion-band="active"],
    .final-cta[data-motion-band="active"],
    .ld-editorial--home .hero--immersive[data-art-wave-state="active"]
) .ld-art-wave__layer {
    animation-play-state: running;
    will-change: transform, opacity, background-position;
}

html[data-motion="off"] .ld-art-wave__layer,
body.is-motion-paused .ld-art-wave__layer {
    animation-play-state: paused !important;
    will-change: auto !important;
}

html[data-motion="on"] .site-main.ld-editorial [data-motion-band="idle"]::after {
    animation-play-state: paused !important;
    will-change: auto !important;
}

html[data-motion="on"] .site-main.ld-editorial [data-motion-band="active"]::after {
    animation-play-state: running;
}

html[data-motion="off"] .site-main.ld-editorial [data-motion-band]::after,
body.is-motion-paused .site-main.ld-editorial [data-motion-band]::after {
    animation: none !important;
    transform: none !important;
    will-change: auto !important;
}

/* Home Hero: copy is physically right in RTL, leaving the clinic video readable. */
@media (min-width: 1101px) {
    .ld-editorial--home .hero__inner {
        direction: ltr;
        grid-template-columns: minmax(0, 1.14fr) minmax(460px, 0.86fr);
        grid-template-areas: "media copy";
        column-gap: clamp(48px, 6vw, 92px);
    }

    .ld-editorial--home .hero__content {
        direction: rtl;
        grid-area: copy;
        justify-self: end;
        width: min(100%, 560px);
        max-width: 560px;
        margin-inline: 0;
        text-align: right;
    }

    .ld-editorial--home .hero__content h1 {
        max-width: 11ch;
        margin-inline: 0;
        font-size: clamp(48px, 5.2vw, 76px);
    }

    .ld-editorial--home .hero__text {
        max-width: 520px;
        margin-inline: 0;
    }

    .ld-editorial--home .hero__actions,
    .ld-editorial--home .hero__contact-line {
        justify-content: flex-start;
    }

    .ld-editorial--home .hero--immersive::before {
        background:
            linear-gradient(
                270deg,
                rgba(3, 28, 39, 0.98) 0%,
                rgba(3, 28, 39, 0.91) 28%,
                rgba(3, 28, 39, 0.66) 46%,
                rgba(3, 28, 39, 0.24) 67%,
                rgba(3, 28, 39, 0.08) 100%
            ),
            linear-gradient(180deg, rgba(3, 28, 39, 0.1), rgba(3, 28, 39, 0.38));
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .ld-editorial--home .hero__inner {
        direction: ltr;
        display: flex;
        justify-content: flex-end;
        min-height: 520px;
    }

    .ld-editorial--home .hero__content {
        direction: rtl;
        grid-column: auto;
        width: min(72%, 600px);
        max-width: 600px;
        margin-inline: 0;
        text-align: right;
    }

    .ld-editorial--home .hero__content h1 {
        max-width: 11ch;
        margin-inline: 0;
        font-size: clamp(44px, 7vw, 66px);
    }

    .ld-editorial--home .hero__text {
        max-width: 540px;
        margin-inline: 0;
    }

    .ld-editorial--home .hero--immersive::before {
        background: linear-gradient(
            270deg,
            rgba(3, 28, 39, 0.98) 0%,
            rgba(3, 28, 39, 0.94) 42%,
            rgba(3, 28, 39, 0.84) 72%,
            rgba(3, 28, 39, 0.48) 88%,
            rgba(3, 28, 39, 0.16) 100%
        );
    }
}

/* Editorial service hubs: a real reading rail instead of one uninterrupted column. */
@media (min-width: 1101px) {
    .ld-editorial--treatment .ld-editorial-layout--without-aside.has-treatment-toc {
        grid-template-columns: minmax(210px, 238px) minmax(0, 760px);
        gap: clamp(50px, 6vw, 82px);
        align-items: start;
        max-width: 1080px;
    }

    .ld-editorial--treatment .ld-editorial-layout--with-form.has-treatment-toc {
        grid-template-columns:
            minmax(190px, 220px)
            minmax(0, 1fr)
            minmax(280px, 320px);
        gap: clamp(28px, 3vw, 48px);
        align-items: start;
        max-width: 1320px;
    }

    .ld-editorial--treatment .has-treatment-toc .ld-editorial-prose {
        max-width: 760px;
    }

    .ld-editorial--treatment .treatment-chapter-nav {
        position: sticky;
        inset-block-start: 128px;
        align-self: start;
    }
}

.ld-editorial--treatment .treatment-chapter-nav {
    min-width: 0;
    padding: 28px 24px 24px;
    color: #ffffff;
    background:
        radial-gradient(circle at 12% 12%, rgba(229, 201, 149, 0.2) 0 58px, transparent 60px),
        linear-gradient(155deg, #073747, #042633);
    border-block-start: 5px solid var(--service-accent, #168f95);
    border-radius: 0 34px 0 34px;
    box-shadow: 0 26px 64px rgba(4, 37, 51, 0.16);
}

.ld-editorial--treatment .treatment-chapter-nav__eyebrow {
    margin: 0 0 6px;
    color: #e5c995;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.ld-editorial--treatment .treatment-chapter-nav__title {
    display: block;
    margin-block-end: 20px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.3;
}

.ld-editorial--treatment .treatment-chapter-nav__list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-block-start: 1px solid rgba(255, 255, 255, 0.2);
}

.ld-editorial--treatment .treatment-chapter-nav__list li {
    margin: 0;
}

.ld-editorial--treatment .treatment-chapter-nav__list a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 50px;
    padding-block: 10px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    border-block-end: 1px solid rgba(255, 255, 255, 0.16);
    transition: color 180ms ease, transform 180ms ease;
}

.ld-editorial--treatment .treatment-chapter-nav__number {
    color: #e5c995;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
}

.ld-editorial--treatment .treatment-chapter-nav__label {
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
}

.ld-editorial--treatment .treatment-chapter-nav__list a:hover,
.ld-editorial--treatment .treatment-chapter-nav__list a[aria-current="location"] {
    color: #ffffff;
    transform: translateX(-4px);
}

.ld-editorial--treatment .treatment-chapter-nav__list a[aria-current="location"] .treatment-chapter-nav__number {
    color: #9ddfe1;
}

.ld-editorial--treatment .treatment-chapter-nav__list a:focus-visible {
    outline: 3px solid #e5c995;
    outline-offset: 4px;
}

.ld-editorial--treatment .ld-editorial-prose > h2,
.ld-editorial--treatment .treatment-decision-content__header > h2,
.ld-editorial--treatment .treatment-faq--editorial > header > h2 {
    scroll-margin-block-start: 142px;
}

.ld-editorial--treatment .ld-editorial-prose > h2 {
    margin-block: clamp(68px, 9vw, 108px) 30px;
    padding: 28px 26px;
    background:
        linear-gradient(
            105deg,
            color-mix(in srgb, var(--service-soft, #e9f5f4) 76%, #ffffff),
            rgba(255, 255, 255, 0.32)
        );
    border: 0;
    border-inline-start: 5px solid var(--service-accent, #168f95);
    border-radius: 0 34px 0 34px;
    box-shadow: 0 20px 52px rgba(4, 37, 51, 0.08);
}

.ld-editorial--treatment .ld-editorial-prose > h2:first-of-type {
    margin-block-start: 42px;
}

.ld-editorial--treatment .ld-editorial-prose > h2 + p {
    max-width: 62ch;
    color: var(--ld-ed-ink-deep, #063745);
    font-size: clamp(19px, 2vw, 22px);
    line-height: 1.8;
}

.ld-editorial--treatment .ld-editorial-prose > :where(ul, ol) {
    display: grid;
    gap: 12px;
    margin-block: 24px 44px;
    padding: 24px 28px 24px 44px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid color-mix(in srgb, var(--service-accent, #168f95) 24%, transparent);
    border-inline-start: 4px solid var(--service-accent, #168f95);
    border-radius: 0 24px 0 24px;
}

.ld-editorial--treatment .treatment-decision-content {
    padding: clamp(38px, 6vw, 66px);
    background:
        radial-gradient(circle at 8% 10%, color-mix(in srgb, var(--service-accent, #168f95) 12%, transparent) 0 100px, transparent 102px),
        color-mix(in srgb, var(--service-soft, #e9f5f4) 58%, #ffffff);
    border: 0;
    border-block-start: 5px solid var(--service-accent, #168f95);
    border-radius: 0 46px 0 46px;
    box-shadow: 0 28px 72px rgba(4, 37, 51, 0.09);
}

.ld-editorial--treatment .treatment-decision-content__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.ld-editorial--treatment .treatment-decision-content__grid > article,
.ld-editorial--treatment .treatment-decision-content__grid > article:first-child {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 30px 0;
    background: transparent;
    border: 0;
    border-block-start: 1px solid color-mix(in srgb, var(--service-accent, #168f95) 28%, transparent);
    border-radius: 0;
    box-shadow: none;
}

.ld-editorial--treatment .treatment-decision-content__grid > article::before {
    content: none;
}

.ld-editorial--treatment .treatment-decision-content__grid > article > * {
    grid-column: 1;
}

.ld-editorial--treatment .treatment-decision-content__grid > article > .eyebrow {
    margin: 0;
}

.ld-editorial--treatment .treatment-decision-content__grid h3 {
    margin-block: 4px 12px;
}

.ld-editorial--treatment .treatment-faq--editorial {
    padding: clamp(38px, 6vw, 62px);
    background: rgba(255, 255, 255, 0.72);
    border: 0;
    border-block-start: 5px solid var(--service-accent, #168f95);
    border-radius: 38px 0 38px 0;
    box-shadow: 0 24px 64px rgba(4, 37, 51, 0.08);
}

.ld-editorial--treatment .treatment-faq-item,
.ld-editorial--treatment .treatment-faq-item:nth-child(odd) {
    padding: 28px 0;
    background: transparent;
    border-block-end: 1px solid var(--ld-ed-line, rgba(6, 55, 69, 0.14));
}

@media (max-width: 1100px) {
    .ld-editorial--treatment .ld-editorial-layout--without-aside.has-treatment-toc,
    .ld-editorial--treatment .ld-editorial-layout--with-form.has-treatment-toc {
        grid-template-columns: minmax(0, 1fr);
    }

    .ld-editorial--treatment .treatment-chapter-nav {
        position: static;
        margin-block-end: 46px;
    }

    .ld-editorial--treatment .treatment-chapter-nav__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 22px;
    }
}

@media (max-width: 768px) {
    .ld-editorial--home .hero--immersive {
        min-height: max(760px, calc(100svh - 74px));
        padding-block: clamp(190px, 30svh, 270px) 108px;
    }

    .ld-editorial--home .hero__inner {
        display: flex;
        min-height: 0;
        align-items: flex-end;
        justify-content: stretch;
    }

    .ld-editorial--home .hero__content {
        direction: rtl;
        grid-column: auto;
        width: 100%;
        max-width: none;
        margin: 0;
        text-align: right;
    }

    .ld-editorial--home .hero__content h1 {
        max-width: 12ch;
        margin-inline: 0;
        font-size: clamp(38px, 10.8vw, 46px);
        line-height: 1.06;
    }

    .ld-editorial--home .hero__text {
        max-width: 100%;
        margin-inline: 0;
    }

    .ld-editorial--home .hero--immersive::before {
        background: linear-gradient(
            180deg,
            rgba(3, 28, 39, 0.12) 0%,
            rgba(3, 28, 39, 0.34) 32%,
            rgba(3, 28, 39, 0.94) 62%,
            rgba(3, 28, 39, 0.99) 100%
        );
    }

    .ld-art-wave {
        --ld-wave-x-a: -5.2%;
        --ld-wave-x-b: 5.2%;
        --ld-wave-lift: -2px;
        inset-inline: -12%;
        width: 124%;
        height: clamp(38px, 11vw, 48px);
        transform: none;
    }

    .ld-editorial--home .hero--immersive > .ld-art-wave {
        height: 48px;
        transform: none;
    }

    .ld-editorial--home .hero--immersive .hero__video-toggle {
        bottom: 66px;
    }

    .ld-art-wave__layer--base {
        filter: saturate(1.08);
    }

    .ld-art-wave__layer--contour {
        opacity: 0.46;
    }

    .ld-art-wave__layer--glint {
        display: block;
        opacity: 0.3;
    }

    .ld-editorial--treatment .treatment-chapter-nav {
        padding: 24px 20px;
        border-radius: 0 26px 0 26px;
    }

    .ld-editorial--treatment .treatment-chapter-nav__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .ld-editorial--treatment .ld-editorial-prose > h2 {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 22px 18px;
        border-radius: 0 24px 0 24px;
    }

    .ld-editorial--treatment .ld-editorial-prose > :where(ul, ol) {
        padding: 20px 20px 20px 34px;
    }

    .ld-editorial--treatment .treatment-decision-content {
        padding: 32px 20px;
        border-radius: 0 28px 0 28px;
    }

    .ld-editorial--treatment .treatment-decision-content__grid > article,
    .ld-editorial--treatment .treatment-decision-content__grid > article:first-child {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .ld-editorial--treatment .treatment-faq--editorial {
        padding: 30px 20px;
        border-radius: 28px 0 28px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ld-art-wave__layer,
    .ld-editorial--home .hero__backdrop,
    .ld-editorial--home .hero__background-image,
    .ld-editorial--home .hero__video,
    .ld-editorial--home .hero__content {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        will-change: auto !important;
    }
}

/* Keep the map identity legible after the consent-gated iframe is loaded. */
.site-main.ld-editorial .google-map-card__head h3 {
    color: #ffffff;
}

.site-main.ld-editorial .google-map-card__head p,
.site-main.ld-editorial .google-map-card__head address {
    color: rgba(255, 255, 255, 0.84);
}

/*
 * A clipped ancestor disables CSS sticky positioning. The editorial treatment
 * chapter rail is sticky only on wide screens, so keep that section open while
 * each decorative wave continues to clip its own layers.
 */
@media (min-width: 1101px) {
    .site-main.ld-editorial .single-treatment__content[data-motion-band] {
        overflow: visible;
    }
}
