/**
 * 2007-2026 PrestaShop SA and Contributors
 *
 * @author    Maoke
 * @copyright 2007-2026
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 *
 * Base Swiper styles (.swiper, .swiper-wrapper, .swiper-slide, .swiper-pagination)
 * come from the theme: we only style the slides.
 *
 * Mockup: 539px high on every screen, content aligned at the bottom left,
 * 80px side gutter from 992px, 20px below.
 */
.mk-heroslider {
    position: relative;
    overflow: hidden;
}

.mk-heroslider .mk-heroslider__slide {
    position: relative;
    height: 539px;
    overflow: hidden;
    background: #141414;
}

.mk-heroslider__media,
.mk-heroslider__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mk-heroslider__img {
    object-fit: cover;
    object-position: center;
}

.mk-heroslider__overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 20px 80px 64px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0) 75%);
}

.mk-heroslider__content {
    max-width: 956px;
    color: #fff;
}

.mk-heroslider__title {
    margin: 0 0 20px;
    color: #fff;
    font-family: "Abhaya Libre", serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 100%;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    padding-inline: 0;
}

.mk-heroslider__text {
    margin-bottom: 28px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0;
}

.mk-heroslider__text p {
    margin-bottom: 0;
    font: inherit;
    color: inherit;
}

.mk-heroslider__text a {
    color: inherit;
    text-decoration: underline;
}

.mk-heroslider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17.5px 40px;
    border: 0;
    background: #8A0033;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 22.5px;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.mk-heroslider__btn:hover,
.mk-heroslider__btn:focus {
    background: #fff;
    color: #8A0033;
    text-decoration: none;
}

.mk-heroslider__pagination.swiper-pagination {
    bottom: 24px;
}

.mk-heroslider__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.5;
}

.mk-heroslider__pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 991.98px) {
    .mk-heroslider__overlay {
        padding: 20px;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0) 100%);
    }

    .mk-heroslider__content {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .mk-heroslider__title {
        margin-bottom: 16px;
        font-size: 28px;
    }

    .mk-heroslider__text {
        margin-bottom: 24px;
    }

    .mk-heroslider__btn {
        display: flex;
        width: 100%;
    }

    .mk-heroslider__pagination.swiper-pagination {
        top: 16px;
        bottom: auto;
    }
}
