/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License version 3.0
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 */
.homeslider-container {
    margin-bottom: 50px;
    position: relative;
    float: left;
    width: 100%;
}

.homeslider {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
    height: fit-content;
    max-width: 100vw;
}

.homeslider img {
    width: 100%;
    object-fit: cover;
    height: 750px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.homeslider__video {
    aspect-ratio: unset;
    height: 100%;
}

.homeslider__legend {
    padding-top: 200px;
    padding-bottom: 40px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}
@media (min-width: 1200px) {
    .homeslider__legend {
       padding-top: 150px;
    }
}

.homeslider__legend .homeslider__actions .btn {
    background-color: #fff;
    font-weight: 700;
    transition: transform 0.2s cubic-bezier(.25, .1, .25, 1), box-shadow 0.2s cubic-bezier(.25, .1, .25, 1);
}

.homeslider__legend .homeslider__actions {
    gap: 12px;
}

.homeslider__legend .homeslider__title {
    font-size: 30px;
    font-weight: 700;
    line-height: 31px;
    color: #fff;
}

@media (min-width: 992px) {
    .homeslider__legend .homeslider__title {
        font-size: 72px;
        line-height: 110%;
    }
}

img.homeslider__design-element {
    width: 60px;
}

.homeslider__legend .homeslider__desc {
    margin-top: 32px;
    margin-bottom: 32px;
}

.homeslider__legend .homeslider__desc * {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #fff;
}

.homeslider_nav {
    position: absolute;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    top: 52%;
    left: 0;
    opacity: 0.7;
    z-index: 3;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    height: 61px;
    width: 38px;
    background: transparent url("../homeslider.gif") no-repeat left top;
    margin-top: -45px;
}

.homeslider_nav:active {
    opacity: 1.0;
}

.homeslider_nav.next {
    left: auto;
    background-position: right top;
    right: 0;
}

.video-wrapper:not(:has(*)) {
    height: 750px;
}

.video-wrapper video {
    width: 100%;
    height: 750px;
    object-fit: cover;
}

.video-wrapper::after {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .8));
    position: absolute;
    inset: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-stream {
    left: 0 !important;
}

.homeslider__arrow {
    display: none;
}

.homeslider .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    opacity: .5;
    background-color: #fff;
    transition: opacity 0.2s cubic-bezier(.25, .1, .25, 1);
}

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

/* Bullets sit in the gap under the legend: slide padding-bottom + 15px */
.homeslider .swiper-pagination.swiper-pagination-bullets {
    top: auto;
    bottom: 35px;
    line-height: 1;
}

@media (min-width: 992px) {
    .homeslider .swiper-pagination.swiper-pagination-bullets {
        bottom: 65px;
    }
}
