/* MK Hero: independent from GK4. No image cache, no max-width wrapper. */
.mk-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    overflow: hidden;
    background: #e8e5e1;
}

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

.mk-hero__slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 260ms ease, visibility 0s linear 260ms;
}

.mk-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transition: opacity 260ms ease;
}

.mk-hero__picture,
.mk-hero__image {
    display: block;
    width: 100%;
    height: 100%;
}

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

.mk-hero__image {
    object-fit: cover;
    object-position: center center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.mk-hero__clickzone {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: block;
}

.mk-hero__shade,
.mk-hero__top-shade {
    position: absolute;
    z-index: 4;
    inset: 0;
    pointer-events: none;
}

.mk-hero__shade {
    background: linear-gradient(90deg, rgba(11, 13, 15, 0.30) 0%, rgba(11, 13, 15, 0.08) 45%, rgba(11, 13, 15, 0) 76%);
}

.mk-hero__top-shade {
    opacity: 0;
}

.mk-hero--gradient-soft .mk-hero__top-shade {
    opacity: 1;
    background: linear-gradient(180deg, rgba(7, 10, 13, 0.52) 0%, rgba(7, 10, 13, 0.22) 22%, rgba(7, 10, 13, 0) 48%);
}

.mk-hero--gradient-medium .mk-hero__top-shade {
    opacity: 1;
    background: linear-gradient(180deg, rgba(7, 10, 13, 0.72) 0%, rgba(7, 10, 13, 0.36) 25%, rgba(7, 10, 13, 0) 54%);
}

.mk-hero__content {
    position: absolute;
    z-index: 5;
    width: min(560px, calc(100% - 96px));
    color: #fff;
    padding: 0;
}

.mk-hero__content--desktop-left-top { left: 7.4%; top: 13%; text-align: left; }
.mk-hero__content--desktop-left-center { left: 7.4%; top: 50%; text-align: left; transform: translateY(-50%); }
.mk-hero__content--desktop-left-bottom { left: 7.4%; bottom: 12%; text-align: left; }
.mk-hero__content--desktop-center-center { left: 50%; top: 50%; text-align: center; transform: translate(-50%, -50%); }
.mk-hero__content--desktop-right-top { right: 7.4%; top: 13%; text-align: right; }
.mk-hero__content--desktop-right-center { right: 7.4%; top: 50%; text-align: right; transform: translateY(-50%); }
.mk-hero__content--desktop-right-bottom { right: 7.4%; bottom: 12%; text-align: right; }

.mk-hero__title {
    margin: 0;
    color: inherit;
    font-size: clamp(36px, 4vw, 68px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.mk-hero__text {
    max-width: 440px;
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.55;
    color: inherit;
}

.mk-hero__content--desktop-center-center .mk-hero__text,
.mk-hero__content--desktop-right-top .mk-hero__text,
.mk-hero__content--desktop-right-center .mk-hero__text,
.mk-hero__content--desktop-right-bottom .mk-hero__text {
    margin-left: auto;
}

.mk-hero__button {
    position: relative;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    min-height: 48px;
    margin-top: 30px;
    padding: 13px 20px 13px 22px;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(20, 21, 23, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.mk-hero__button:hover,
.mk-hero__button:focus {
    color: #fff !important;
    background: rgba(20, 21, 23, 0.34);
    text-decoration: none !important;
}

.mk-hero__button-arrow {
    font-size: 17px;
    line-height: 1;
}

.mk-hero__controls {
    position: absolute;
    z-index: 8;
    left: 50%;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 9px;
    transform: translateX(-50%);
}

.mk-hero__dot {
    display: block;
    width: 26px;
    height: 2px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.46);
    cursor: pointer;
}

.mk-hero__dot.is-active {
    background: #fff;
}

@media (max-width: 860px) {
    .mk-hero {
        min-height: 520px;
    }

    .mk-hero__shade {
        background: linear-gradient(180deg, rgba(10, 12, 15, 0.04) 0%, rgba(10, 12, 15, 0.18) 56%, rgba(10, 12, 15, 0.62) 100%);
    }

    .mk-hero--gradient-soft .mk-hero__top-shade {
        background: linear-gradient(180deg, rgba(7, 10, 13, 0.58) 0%, rgba(7, 10, 13, 0.25) 18%, rgba(7, 10, 13, 0) 42%);
    }

    .mk-hero--gradient-medium .mk-hero__top-shade {
        background: linear-gradient(180deg, rgba(7, 10, 13, 0.72) 0%, rgba(7, 10, 13, 0.36) 22%, rgba(7, 10, 13, 0) 48%);
    }

    .mk-hero__content {
        width: calc(100% - 40px);
        max-width: none;
    }

    .mk-hero__content--mobile-left-top { left: 20px; top: 94px; right: auto; bottom: auto; text-align: left; transform: none; }
    .mk-hero__content--mobile-left-center { left: 20px; top: 50%; right: auto; bottom: auto; text-align: left; transform: translateY(-50%); }
    .mk-hero__content--mobile-left-bottom { left: 20px; right: auto; bottom: 68px; top: auto; text-align: left; transform: none; }
    .mk-hero__content--mobile-center-center { left: 20px; right: 20px; top: 50%; bottom: auto; width: auto; text-align: center; transform: translateY(-50%); }
    .mk-hero__content--mobile-right-top { right: 20px; top: 94px; left: auto; bottom: auto; text-align: right; transform: none; }
    .mk-hero__content--mobile-right-center { right: 20px; top: 50%; left: auto; bottom: auto; text-align: right; transform: translateY(-50%); }
    .mk-hero__content--mobile-right-bottom { right: 20px; left: auto; bottom: 68px; top: auto; text-align: right; transform: none; }

    .mk-hero__title {
        font-size: clamp(34px, 10.2vw, 51px);
        line-height: 1.02;
    }

    .mk-hero__text {
        max-width: 330px;
        margin-top: 15px;
        font-size: 14px;
        line-height: 1.48;
    }

    .mk-hero__content--mobile-center-center .mk-hero__text,
    .mk-hero__content--mobile-right-top .mk-hero__text,
    .mk-hero__content--mobile-right-center .mk-hero__text,
    .mk-hero__content--mobile-right-bottom .mk-hero__text {
        margin-left: auto;
    }

    .mk-hero__button {
        min-height: 45px;
        margin-top: 22px;
        padding: 11px 17px 11px 19px;
        font-size: 10px;
        gap: 17px;
    }

    .mk-hero__controls {
        bottom: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mk-hero__slide {
        transition: none;
    }
}
