.mk-hero-slider-wrap {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    font-family: "Roboto Condensed", Arial, sans-serif;
}

.mk-hero-slider {
    width: min(100%, 1200px);
    aspect-ratio: 1200 / 434;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #111;
}

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

.mk-hero-slide {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #111;
}

.mk-hero-slide:hover,
.mk-hero-slide:focus {
    color: #fff;
    text-decoration: none;
}

.mk-hero-slide--text-black,
.mk-hero-slide--text-black:hover,
.mk-hero-slide--text-black:focus {
    color: #111;
}

.mk-hero-slide__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.mk-hero-slide__content {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    width: min(390px, calc(100% - 48px));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    color: inherit;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
    pointer-events: none;
}

.mk-hero-slide--text-black .mk-hero-slide__content {
    text-shadow: 0 1px 5px rgba(255, 255, 255, .45);
}

.mk-hero-slide__title,
.mk-hero-slide__subtitle {
    display: block;
    margin: 0;
    color: inherit;
    letter-spacing: 0;
}

.mk-hero-slide__title {
    font-size: 37px;
    font-weight: 700;
    line-height: 1.02;
}

.mk-hero-slide__subtitle {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
}

.mk-hero-slider__nav {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.mk-hero-slider.is-single .mk-hero-slider__nav {
    display: none;
}

.mk-hero-slider__button {
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 8px;
    background: rgba(0, 0, 0, .18);
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    transition: background .2s ease, border-color .2s ease;
}

.mk-hero-slider__button:hover,
.mk-hero-slider__button:focus {
    color: #fff;
    border-color: rgba(255, 255, 255, .72);
    background: rgba(0, 0, 0, .34);
}

.mk-hero-slider__button svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: currentColor;
}

.mk-hero-slider__button--prev svg {
    transform: rotate(180deg);
}

.mk-hero-slider__button.swiper-button-disabled {
    opacity: .45;
    cursor: default;
}

@media (max-width: 480px) {
    .mk-hero-slider {
        width: min(100%, 414px);
        aspect-ratio: 414 / 178;
        border-radius: 5px;
    }

    .mk-hero-slide__content {
        top: 16px;
        left: 16px;
        width: min(235px, calc(100% - 32px));
        gap: 0;
    }

    .mk-hero-slide__title {
        font-size: 20px;
        line-height: 1.05;
    }

    .mk-hero-slide__subtitle {
        display: none;
    }

    .mk-hero-slider__nav {
        right: 12px;
        bottom: 12px;
        gap: 7px;
    }

    .mk-hero-slider__button {
        width: 34px;
        height: 34px;
        border-radius: 7px;
    }

    .mk-hero-slider__button svg {
        width: 21px;
        height: 21px;
    }
}
