.bm-hero-container {
    --bm-red: #e30613;
    --bm-blue: #0046be;
    --bm-ink: #0f172a;
    --bm-ease: cubic-bezier(.25, .8, .25, 1);
    --bm-shadow-md: 0 1px 3px rgba(15, 23, 42, .05), 0 8px 22px -8px rgba(15, 23, 42, .12), 0 24px 40px -22px rgba(15, 23, 42, .14);
    --bm-shadow-hov: 0 2px 4px rgba(15, 23, 42, .06), 0 14px 32px -8px rgba(15, 23, 42, .16), 0 36px 60px -22px rgba(15, 23, 42, .22);

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 0 auto;
    padding: 0 4px;
    color: var(--bm-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.bm-hero-container *,
.bm-hero-container *::before,
.bm-hero-container *::after {
    box-sizing: border-box;
}

.bm-hero-main {
    position: relative;
    min-width: 0;
}

.bm-slider-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    scroll-snap-type: none;
    scrollbar-width: none;
    background: var(--bm-ink);
    border-radius: 12px;
    box-shadow: var(--bm-shadow-md);
    isolation: isolate;
}

.bm-slider-viewport::-webkit-scrollbar {
    display: none;
}

.bm-slides-track {
    display: flex;
    width: 100%;
    align-items: flex-start;
    transition: transform .55s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.bm-slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.bm-slide .bm-full-banner-link {
    display: block;
    width: 100%;
    line-height: 0;
    text-decoration: none;
    outline: none;
}

.bm-slide picture,
.bm-slide img,
.bm-side-column picture,
.bm-side-column img {
    display: block;
    width: 100%;
}

.bm-slide img {
    height: auto;
    object-fit: contain;
    object-position: top center;
    transition: transform .9s var(--bm-ease);
}

.bm-slide .bm-full-banner-link:hover img {
    transform: scale(1.025);
}

.bm-top-controls {
    display: none;
}

.bm-side-column {
    display: none;
}

@media screen and (min-width: 992px) {
    .bm-hero-container {
        padding-top: 40px;
    }

    .bm-hero-container.has-side {
        grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
        gap: 16px;
        align-items: stretch;
        padding-top: 15px;
    }

    .bm-slider-viewport {
        overflow: hidden;
        scroll-snap-type: none;
        border-radius: 16px;
        box-shadow: var(--bm-shadow-md);
        transition: box-shadow .4s var(--bm-ease);
    }

    .bm-slider-viewport:hover {
        box-shadow: var(--bm-shadow-hov);
    }

    .bm-top-controls {
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 15;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .bm-nav-btn {
        width: 34px;
        height: 34px;
        padding: 0;
        border: 0;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: var(--bm-ink);
        cursor: pointer;
        transition: transform .28s var(--bm-ease), background .28s var(--bm-ease), color .28s var(--bm-ease), box-shadow .28s var(--bm-ease), opacity .28s var(--bm-ease);
        box-shadow: 0 1px 2px rgba(15, 23, 42, .10), 0 6px 16px -6px rgba(15, 23, 42, .24);
    }

    .bm-nav-btn svg {
        width: 14px;
        height: 14px;
        display: block;
    }

    .bm-nav-btn:hover {
        background: var(--bm-red);
        color: #fff;
        transform: scale(1.08);
        box-shadow: 0 2px 4px rgba(227, 6, 19, .24), 0 12px 26px -8px rgba(227, 6, 19, .48);
    }

    .bm-nav-btn:focus-visible {
        outline: 3px solid rgba(227, 6, 19, .5);
        outline-offset: 2px;
    }

    .bm-nav-btn.prev,
    .bm-nav-btn.next {
        opacity: 0;
        pointer-events: none;
    }

    .bm-hero-main:hover .bm-nav-btn.prev,
    .bm-hero-main:hover .bm-nav-btn.next,
    .bm-nav-btn.prev:focus-visible,
    .bm-nav-btn.next:focus-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .bm-side-column {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-width: 0;
    }

    .bm-side-column > a {
        display: block;
        position: relative;
        width: 100%;
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
        line-height: 0;
        text-decoration: none;
        background: #fff;
        border-radius: 16px;
        box-shadow: var(--bm-shadow-md);
        transition: transform .4s var(--bm-ease), box-shadow .4s var(--bm-ease);
    }

    .bm-side-column > a:hover {
        transform: translateY(-3px);
        box-shadow: var(--bm-shadow-hov);
    }

    .bm-side-column img {
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform .9s var(--bm-ease);
    }

    .bm-side-column > a:hover img {
        transform: scale(1.03);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bm-slider-viewport,
    .bm-slides-track,
    .bm-slide img,
    .bm-nav-btn,
    .bm-side-column > a,
    .bm-side-column img {
        transition: none !important;
        animation: none !important;
    }
}
