.m24-home-carousel .m24-home-hero__media--scene {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    aspect-ratio: 3 / 2;
    min-height: clamp(320px, 32vw, 414px);
    background: #e9e5dc;
}

.m24-home-hero__picture {
    position: absolute;
    inset: 0;
    display: block;
}

.m24-home-carousel .m24-home-hero__picture > .m24-home-hero__image {
    height: 100%;
    min-height: 0;
    max-height: none;
}

.m24-home-carousel .m24-home-hero__media--scene .m24-home-scene__art {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
}

.m24-home-scene__disclosure {
    position: absolute;
    inset: auto 8px 8px auto;
    border-radius: 4px;
    background: rgb(250 253 252 / 79%);
    padding: 2px 5px;
    color: #274436;
    font: 600 0.625rem/1.2 system-ui, sans-serif;
    text-decoration: none;
}

.m24-home-hero__offer {
    display: contents;
}

.m24-home-hero__price {
    display: none;
}

.m24-home-carousel a.m24-home-hero__price {
    text-decoration: none;
}

.m24-home-carousel a.m24-home-hero__price:hover span,
.m24-home-carousel a.m24-home-hero__price:focus-visible span {
    text-decoration: underline;
}

.m24-home-carousel a.m24-home-hero__price:focus-visible {
    outline: 2px solid #156487;
    outline-offset: 2px;
}

.m24-home-scene__disclosure--mobile {
    display: none;
}

@media (min-width: 768px) {
    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__media--scene {
        aspect-ratio: 7 / 5;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__copy h2 {
        color: #103b5b;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__offer {
        display: grid;
        justify-items: start;
        gap: 12px;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__price {
        display: grid;
        gap: 4px;
        width: fit-content;
        max-width: 100%;
        border: 1px solid #aacfc1;
        border-inline-start: 3px solid #4db58d;
        border-radius: 10px;
        background: #f9fdfa;
        padding: 10px 16px 12px;
        color: #164c37;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__price span {
        color: #32574e;
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__price strong {
        font-size: clamp(1.6rem, 2.5vw, 2.125rem);
        line-height: 1.1;
        font-variant-numeric: tabular-nums;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-actions .m24-home-button--primary {
        border-color: #086747;
        background: #086747;
        color: #fff;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-actions .m24-home-button--primary:hover {
        border-color: #064d37;
        background: #064d37;
        color: #fff;
    }
}

@media (max-width: 767px) {
    .m24-home-scene__disclosure--mobile {
        display: inline;
    }

    .m24-home-scene__disclosure--desktop {
        display: none;
    }

    .m24-home-carousel .m24-home-hero__media--scene {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .m24-home-carousel .m24-home-hero--banner {
        position: relative;
        isolation: isolate;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
    }

    .m24-home-carousel .m24-home-hero--banner::before {
        content: "";
        grid-area: 1 / 1;
        padding-top: 125%;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__media {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
        grid-row: 1;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__media .m24-home-hero__image {
        width: 100%;
        height: 100%;
        padding: 0;
        object-fit: cover;
        object-position: center;
    }

    .m24-home-hero--banner .m24-home-scene__disclosure {
        right: auto;
        left: 8px;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__copy {
        position: relative;
        z-index: 1;
        grid-area: 1 / 1;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(6rem, 1fr) auto;
        align-content: stretch;
        align-items: start;
        gap: 0;
        padding: clamp(12px, 4.25vw, 28px);
        background: linear-gradient(180deg, rgb(246 253 252 / 90%), rgb(246 253 252 / 65%) 19%, transparent 37%);
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__copy h2 {
        margin: 0 46px 0 0;
        padding-top: 7px;
        color: #103b5b;
        font-size: clamp(1.4rem, 7.1vw, 2.25rem);
        line-height: 1.12;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .m24-home-hero--banner .m24-home-hero__description {
        display: none;
    }

    .m24-home-hero--banner .m24-home-hero__offer {
        grid-row: 3;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: end;
        gap: 8px;
        justify-self: end;
        align-self: end;
        width: min(45%, 14rem);
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__price {
        display: grid;
        gap: 2px;
        width: max-content;
        max-width: 100%;
        border: 1px solid #9bcbb5;
        border-radius: 10px;
        background: #f7fdf9;
        padding: 6px 8px 7px;
        color: #164c37;
        text-align: center;
        font-size: 0.7rem;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-hero__price strong {
        font-size: clamp(1.12rem, 5.7vw, 1.9rem);
        line-height: 1.06;
        font-variant-numeric: tabular-nums;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-actions {
        width: 100%;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-actions .m24-home-button--primary {
        width: 100%;
        min-height: 48px;
        border-color: #fff;
        background: #086747;
        color: #fff;
        padding: 6px 8px;
        font-size: 0.875rem;
        line-height: 1.18;
        overflow-wrap: anywhere;
    }

    .m24-home-carousel .m24-home-hero--banner .m24-home-actions .m24-home-button--primary:hover {
        background: #064d37;
    }
}
