/* Home banner slider for WEB CONTENT (CONTENT_MANAGER) */

.hero--banner-slider {
    background-image: none !important;
    background-color: #141414;
    /* Balanced visual size for real content banners. */
    height: 62vh;
    min-height: 420px;
    max-height: 620px;
}

.banner-slider {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
}

.banner-slides {
    position: absolute;
    inset: 0;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.banner-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.banner-slide-media {
    position: absolute;
    inset: 0;
}

.banner-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Transparent overlay; click anywhere on banner */
    background: transparent;
}

.banner-slide-overlay {
    position: absolute;
    left: 4%;
    bottom: 14%;
    z-index: 3;
    max-width: 560px;
}

.banner-slide-overlay .movie-title {
    font-size: 44px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 10px;
}

.banner-cta-row {
    margin-top: 18px;
}

.banner-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: rgba(229, 9, 20, 0.95);
    color: #fff;
    font-weight: 800;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(229, 9, 20, 0.25);
}

.banner-cta:hover {
    background: rgba(193, 17, 25, 0.95);
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    user-select: none;
}

.banner-prev {
    left: 16px;
}

.banner-next {
    right: 16px;
}

.banner-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

.banner-dot.is-active {
    background: rgba(229, 9, 20, 0.95);
}

@media (max-width: 768px) {
    .hero--banner-slider {
        height: 44vh;
        min-height: 280px;
        max-height: 360px;
    }

    .banner-slide-overlay {
        left: 6%;
        right: 6%;
        bottom: 12%;
    }

    .banner-slide-overlay .movie-title {
        font-size: 26px;
        line-height: 1.1;
    }

    .banner-nav {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .hero--banner-slider {
        height: 60vh;
        min-height: 460px;
        max-height: 640px;
    }

    .banner-slide-overlay .movie-title {
        font-size: 48px;
    }
}

/* Prevent category row from overlapping too aggressively with slider mode. */
.main-content.home-with-slider {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .main-content.home-with-slider {
        margin-top: 12px;
    }
}

