/* ================================================
   HERO SLIDER STYLES
   ================================================ */

/* Layout Container */
.layout-hero-slider {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
}


/* Slider Wrapper */
.hero-slider {
    position: relative;
    width: 100%;
}

.hero-slider.swiper-container {
    position: relative;
    border-radius: 12px;
}

/* Individual Slide */
.hero-slide {
    position: relative;
    display: grid;
    align-content: end;
    width: 100%;
    grid-template-columns: repeat(24, 1fr);
    grid-template-rows: 1fr;
    min-height: 400px;
}

/* Swiper wrapper - equal heights */
.hero-slider .swiper-wrapper {
    align-items: stretch;
}

.hero-slider .swiper-slide {
    height: auto;
}

/* Content Wrapper */
.hero-slide-content-wrapper {
    padding: calc(6*var(--verspace)) 0 calc(2*var(--verspace)) 0;
}

/* Background Image */
.hero-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-slide-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Content Wrapper */
.hero-slide-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(24, 1fr);
}

.hero-slide-content {
    position: relative;
    color: var(--light);
    grid-column: 2 / 24;
}

/* Prefix Text */
.hero-prefix {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--light);
}

/* Title */
.hero-slider .hero-title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 300;
    margin-bottom: 24px;
    color: white;
}

/* Description */
.hero-description {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 32px;
    color: var(--light);
}

.hero-description p {
    margin-bottom: 16px;
    color: var(--light);
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.hero-buttons .mwa-bttn {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

/* Pagination/Dots - Swiper */
.hero-pagination-wrapper {
    /*position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    pointer-events: none;*/
}

.hero-pagination-wrapper .content-wrapper {
    pointer-events: none;
}

.hero-dots-placeholder {
    padding-top: 32px;
    display: flex;
    gap: 8px;
    pointer-events: auto;
}

.hero-dots-placeholder .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin: 0;
    opacity: 1;
    overflow: hidden;
}

.hero-dots-placeholder .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-dots-placeholder .swiper-pagination-bullet-active {
    width: 80px;
    height: 20px;
    border-radius: 500px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-dots-placeholder .swiper-pagination-bullet-active .progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--light);
    border-radius: 500px;
    animation: progressBar 15s linear forwards;
}

@keyframes progressBar {
    from {
        left: -20px;
        width: 20px;
    }

    to {
        width: 100%;
    }
}

/* ================================================
   RESPONSIVE STYLES
   ================================================ */

/* Tablet and up */
@media (min-width: 768px) {
    .hero-slide-content-wrapper {
        padding: calc(6*var(--verspace)) 0 calc(2*var(--verspace)) 0;
    }

    .hero-slider .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    /*.hero-dots-placeholder {
        padding-bottom: calc(6*var(--verspace));
    }*/
}

/* Desktop and up */
@media (min-width: 992px) {
    .hero-slide-content {
        position: relative;
        color: var(--light);
        grid-column: 2 / 20;
    }

    .hero-slider .hero-title {
        /*font-size: 52px;*/
    }

    .hero-description {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero-buttons .mwa-bttn {
        width: auto;
        text-align: left;
    }
}

@media (min-width: 1200px) {

    .hero-slide-content {
        position: relative;
        color: var(--light);
        grid-column: 2 / 16;
    }

}

@media (min-width: 1400px) {

    .hero-slide-content {
        position: relative;
        color: var(--light);
        grid-column: 2 / 12;
    }

}