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

.mk-video-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    color: #fff;
    background: #111;
    isolation: isolate;
}

.mk-video-hero__slides,
.mk-video-hero__slide,
.mk-video-hero__media,
.mk-video-hero__overlay {
    position: absolute;
    inset: 0;
}

.mk-video-hero__slide {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

.mk-video-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.mk-video-hero__media {
    background-position: center;
    background-size: cover;
}

.mk-video-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mk-video-hero__overlay {
    z-index: 1;
}

.mk-video-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: min(100% - 56px, 1240px);
    min-height: inherit;
    margin: 0 auto;
    padding: 92px 0 70px;
}

.mk-video-hero__content {
    width: 100%;
    max-width: 820px;
    text-align: center;
    transform: translateY(96px);
}

.mk-video-hero__slide--left .mk-video-hero__content { margin-right: auto; text-align: left; }
.mk-video-hero__slide--center .mk-video-hero__content { margin-right: auto; margin-left: auto; }
.mk-video-hero__slide--right .mk-video-hero__content { margin-left: auto; text-align: right; }

.mk-video-hero__eyebrow {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.mk-video-hero__heading {
    margin: 0;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6.5vw, 6rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.02;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.mk-video-hero__description {
    max-width: 760px;
    margin: 26px auto 0;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.mk-video-hero__slide--left .mk-video-hero__description { margin-left: 0; }
.mk-video-hero__slide--right .mk-video-hero__description { margin-right: 0; }

.mk-video-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

.mk-video-hero__slide--left .mk-video-hero__actions { justify-content: flex-start; }
.mk-video-hero__slide--right .mk-video-hero__actions { justify-content: flex-end; }

.mk-video-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 52px;
    padding: 13px 28px;
    border: 2px solid #fff;
    border-radius: 2px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease, background 0.25s ease;
}

.mk-video-hero__button--primary { color: #111; background: #fff; }
.mk-video-hero__button--secondary { color: #fff; background: rgba(0, 0, 0, 0.18); }
.mk-video-hero__button--primary:hover,
.mk-video-hero__button--primary:focus-visible { color: #fff; background: transparent; }
.mk-video-hero__button--secondary:hover,
.mk-video-hero__button--secondary:focus-visible { color: #111; background: #fff; }

.mk-video-hero__arrow,
.mk-video-hero__sound,
.mk-video-hero__dot {
    position: relative;
    z-index: 4;
    border: 0;
    color: #fff;
    cursor: pointer;
}

.mk-video-hero__arrow {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    transform: translateY(-50%);
}

.mk-video-hero__arrow--prev { left: 22px; }
.mk-video-hero__arrow--next { right: 22px; }
.mk-video-hero__arrow:hover,
.mk-video-hero__arrow:focus-visible,
.mk-video-hero__sound:hover,
.mk-video-hero__sound:focus-visible { color: #111; background: #fff; }

.mk-video-hero__dots {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 26px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.mk-video-hero__dot { width: 34px; height: 3px; padding: 0; background: rgba(255, 255, 255, 0.45); }
.mk-video-hero__dot.is-active { background: #fff; }

.mk-video-hero__sound {
    position: absolute;
    right: 24px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
}

.mk-video-hero__sound-on { display: none; }
.mk-video-hero__sound[aria-pressed="true"] .mk-video-hero__sound-on { display: inline; }
.mk-video-hero__sound[aria-pressed="true"] .mk-video-hero__sound-off { display: none; }

@media (max-width: 767px) {
    .mk-video-hero { min-height: 680px; }
    .mk-video-hero__inner { width: calc(100% - 40px); padding: 74px 0 62px; }
    .mk-video-hero__content,
    .mk-video-hero__slide--left .mk-video-hero__content,
    .mk-video-hero__slide--right .mk-video-hero__content { margin-right: auto; margin-left: auto; text-align: center; transform: translateY(54px); }
    .mk-video-hero__heading { font-size: clamp(2.4rem, 13vw, 4rem); }
    .mk-video-hero__description,
    .mk-video-hero__slide--left .mk-video-hero__description,
    .mk-video-hero__slide--right .mk-video-hero__description { margin-right: auto; margin-left: auto; }
    .mk-video-hero__actions,
    .mk-video-hero__slide--left .mk-video-hero__actions,
    .mk-video-hero__slide--right .mk-video-hero__actions { align-items: stretch; flex-direction: column; justify-content: center; }
    .mk-video-hero__button { width: 100%; }
    .mk-video-hero__arrow { top: auto; bottom: 17px; width: 38px; height: 38px; transform: none; }
    .mk-video-hero__arrow--prev { left: 18px; }
    .mk-video-hero__arrow--next { right: 18px; }
    .mk-video-hero__sound { right: 18px; bottom: 17px; width: 38px; height: 38px; }
}

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

/* The homepage's existing three-way piano accordion should expose its copy
 * without requiring hover, especially for touch and keyboard users. */
body.home .eael-img-accordion .eael-image-accordion-item .overlay-inner,
body.home .eael-img-accordion .eael-image-accordion-item .overlay-inner * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

body.home .eael-img-accordion .eael-image-accordion-item .overlay {
    opacity: 1 !important;
    visibility: visible !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.78) 100%) !important;
}

@media (max-width: 767px) {
    body.home .eael-img-accordion {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
    }

    body.home .eael-img-accordion .eael-image-accordion-item,
    body.home .eael-img-accordion .eael-image-accordion-item:hover,
    body.home .eael-img-accordion .eael-image-accordion-item:focus {
        flex: 0 0 320px !important;
        width: 100% !important;
        min-height: 320px !important;
    }

    body.home .eael-img-accordion .overlay-inner {
        padding: 28px 24px !important;
    }
}
