.mk-hero {
    --mk-hero-h: 640px;
    --mk-hero-radius: 24px;
    --mk-hero-fit: cover;
    box-sizing: border-box;
    max-width: 1344px;
    margin: 28px auto 40px;
    padding: 0 15px;
    position: relative;
}

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

.banners-big.front {
    height: auto;
    min-height: 0;
    padding: 0;
    margin: 0;
    background: none;
}

.mk-hero__viewport {
    position: relative;
    overflow: hidden;
    border-radius: var(--mk-hero-radius);
    background: var(--c-brand-bg, #E7EFF8);
    box-shadow: 0 18px 40px var(--c-brand-a12, rgba(40, 73, 141, .12));
    height: var(--mk-hero-h);
    touch-action: pan-y;
}

@supports (aspect-ratio: 1) {
    .mk-hero__viewport {
        height: auto;
        aspect-ratio: 1313 / 642;
    }
}

.mk-hero__track {
    display: flex;
    height: 100%;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.mk-hero__track.is-instant {
    transition: none;
}

.mk-hero__slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
}

.mk-hero__media {
    display: block;
    position: absolute;
    inset: 0;
    background-image: var(--mk-bg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: var(--mk-hero-fit);
}

@media (max-width: 767px) {
    .mk-hero__media[data-bg-m] {
        background-image: var(--mk-bg-m);
    }
}

.mk-hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 40px 28px;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.mk-hero__content--button-only {
    align-items: flex-start;
    text-align: left;
}

.mk-hero__content--text {
    top: 0;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 40px;
    max-width: 62%;
}

.mk-hero__title {
    margin: 0 0 14px;
    font-size: 44px;
    line-height: 1.14;
    font-weight: 700;
    letter-spacing: -.01em;
}

.mk-hero__text {
    margin: 0 0 26px;
    font-size: 18px;
    line-height: 1.45;
}

.mk-hero__text p {
    margin: 0 0 6px;
}

.mk-hero__slide.is-light .mk-hero__title,
.mk-hero__slide.is-light .mk-hero__text {
    color: #fff;
    text-shadow: 0 2px 18px rgba(27, 42, 71, .35);
}

.mk-hero__slide.is-dark .mk-hero__title,
.mk-hero__slide.is-dark .mk-hero__text {
    color: var(--c-ink, #1B2A47);
}

.mk-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    pointer-events: auto;
}

.mk-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    height: 45px;
    padding: 0 28px;
    border: 1px solid var(--c-brand, #28498D);
    border-radius: 23px;
    background-color: var(--c-brand, #28498D);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 18px var(--c-brand-a24, rgba(40, 73, 141, .24));
    transition: background-color .2s, border-color .2s, transform .2s;
}

.mk-hero__btn:hover,
.mk-hero__btn:focus {
    background-color: var(--c-brand-hover, #4166A1);
    border-color: var(--c-brand-hover, #4166A1);
    color: #fff;
    text-decoration: none;
}

.mk-hero__btn:active {
    background-color: var(--c-brand-active, #1E3A73);
    border-color: var(--c-brand-active, #1E3A73);
    transform: translateY(1px);
}

.mk-hero__btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.mk-hero__btn--white {
    background-color: #fff;
    border-color: #fff;
    color: var(--c-brand, #28498D);
}

.mk-hero__btn--white:hover,
.mk-hero__btn--white:focus {
    background-color: var(--c-brand-hover, #4166A1);
    border-color: var(--c-brand-hover, #4166A1);
    color: #fff;
}

.mk-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 4px 14px var(--c-brand-a24, rgba(40, 73, 141, .24));
    cursor: pointer;
    opacity: 0;
    transition: opacity .25s, background-color .2s;
}

.mk-hero__arrow:before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    margin: 0 auto;
    border-top: 2px solid var(--c-brand, #28498D);
    border-right: 2px solid var(--c-brand, #28498D);
}

.mk-hero__arrow--prev {
    left: 18px;
}

.mk-hero__arrow--prev:before {
    transform: translateX(3px) rotate(-135deg);
}

.mk-hero__arrow--next {
    right: 18px;
}

.mk-hero__arrow--next:before {
    transform: translateX(-3px) rotate(45deg);
}

.mk-hero__viewport:hover .mk-hero__arrow,
.mk-hero__arrow:focus-visible {
    opacity: 1;
}

.mk-hero__arrow:hover {
    background: #fff;
}

.mk-hero__arrow:focus-visible {
    outline: 3px solid var(--c-brand, #28498D);
    outline-offset: 2px;
}

@media (hover: none), (max-width: 767px) {
    .mk-hero__arrow {
        display: none;
    }
}

.mk-hero__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
}

.mk-hero__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: var(--c-brand-soft, #BBD4F5);
    cursor: pointer;
    transition: width .3s, background-color .3s;
}

.mk-hero__dot:hover {
    background: var(--c-brand-hover, #4166A1);
}

.mk-hero__dot.is-active {
    width: 26px;
    background: var(--c-brand, #28498D);
    cursor: default;
}

.mk-hero__dot:focus-visible {
    outline: 3px solid var(--c-brand, #28498D);
    outline-offset: 3px;
}

@media (max-width: 1023px) {
    .mk-hero {
        --mk-hero-h: 560px;
        --mk-hero-radius: 20px;
    }

    .mk-hero__title {
        font-size: 34px;
    }

    .mk-hero__content {
        padding: 0 28px 22px;
    }

    .mk-hero__content--text {
        padding: 28px;
        max-width: 70%;
    }
}

@media (max-width: 767px) {
    .mk-hero {
        --mk-hero-radius: 16px;
        margin: 14px auto 28px;
        padding: 0 10px;
    }

    .mk-hero__viewport {
        height: auto;
        aspect-ratio: 747 / 924;
    }

    .mk-hero__content {
        padding: 0 16px 20px;
    }

    .mk-hero__actions {
        width: 100%;
    }

    .mk-hero__btn {
        width: 100%;
        min-width: 0;
    }

    .mk-hero__content--text {
        padding: 20px;
        max-width: 100%;
    }

    .mk-hero__title {
        font-size: 24px;
    }

    .mk-hero__text {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .mk-hero__dots {
        margin-top: 14px;
    }
}

@supports not (aspect-ratio: 1) {
    @media (max-width: 767px) {
        .mk-hero__viewport {
            height: 0;
            padding-top: calc(100% * 924 / 747);
        }

        .mk-hero__track {
            position: absolute;
            inset: 0;
        }
    }
}

.mk-hero-pending .banners-big .flexslider {
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .mk-hero__track,
    .mk-hero__dot,
    .mk-hero__btn,
    .mk-hero__arrow {
        transition: none;
    }
}

@media print {
    .mk-hero__arrow,
    .mk-hero__dots {
        display: none;
    }
}
