/* ========================================
   Cinema Spotlight Showcase
   Scoped under .sv-showcase-cinema
   ======================================== */

/* --- Reset: Override global main.css leaks --- */
.sv-showcase-cinema h2,
.sv-showcase-cinema h3,
.sv-showcase-cinema h4 {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.sv-showcase-cinema a,
.sv-showcase-cinema button,
.sv-showcase-cinema span,
.sv-showcase-cinema p,
.sv-showcase-cinema img {
    transition: none;
}

.sv-showcase-cinema a,
.sv-showcase-cinema a:hover,
.sv-showcase-cinema a:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.sv-showcase-cinema button,
.sv-showcase-cinema button:hover,
.sv-showcase-cinema button:focus {
    color: inherit;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    outline: none;
    box-shadow: none;
}

.sv-showcase-cinema button::before,
.sv-showcase-cinema button::after {
    content: none !important;
    display: none !important;
}

.sv-showcase-cinema p {
    margin-bottom: 0;
}

.sv-showcase-cinema img {
    max-width: 100%;
}
/* --- End Reset --- */


/* --- Section Wrapper --- */
.sv-showcase-cinema {
    padding: 90px 0 80px;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.sv-showcase-cinema::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(230, 76, 41, 0.05) 0%, transparent 55%);
    pointer-events: none;
}

.sv-showcase-cinema::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #e64c29 30%, #e64c29 70%, transparent 100%);
    z-index: 5;
}


/* --- Header --- */
.sv-showcase-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.sv-showcase-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #e64c29;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.sv-showcase-subtitle-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.sv-showcase-main-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0;
}


/* --- Sprocket Holes --- */
.sv-showcase-sprockets {
    position: relative;
    height: 18px;
    background: #0a0a0a;
    overflow: hidden;
    z-index: 3;
}

.sv-showcase-sprockets::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 100%;
    height: 12px;
    background: repeating-linear-gradient(
        to right,
        transparent 0px,
        transparent 18px,
        #1a1a1a 18px,
        #1a1a1a 28px,
        transparent 28px,
        transparent 46px
    );
    border-radius: 2px;
}


/* --- Film Rail --- */
.sv-showcase-film-rail {
    background: #080808;
    padding: 50px 0 40px;
    position: relative;
}

.sv-showcase-film-rail::before,
.sv-showcase-film-rail::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    z-index: 3;
}

.sv-showcase-film-rail::before { top: 0; }
.sv-showcase-film-rail::after { bottom: 0; }


/* --- Spotlight Layout --- */
.sv-showcase-spotlight {
    display: flex;
    align-items: stretch;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}


/* --- Left: Image Panel --- */
.sv-showcase-image-panel {
    flex: 0 0 55%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px;
    background: #111;
}

.sv-showcase-image-panel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.7s ease;
    border-radius: 10px;
}

.sv-showcase-image-panel img.active {
    opacity: 1;
    z-index: 2;
}


/* --- Right: Text Panel --- */
.sv-showcase-text-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
    position: relative;
    z-index: 2;
}

.sv-showcase-date {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.sv-showcase-date-day {
    font-size: 40px;
    font-weight: 800;
    color: #e64c29;
    line-height: 1;
}

.sv-showcase-date-month {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sv-showcase-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 18px;
}

.sv-showcase-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sv-showcase-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #e64c29 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.3s ease !important;
}

.sv-showcase-read-more:hover {
    gap: 16px;
    color: #e64c29 !important;
}

.sv-showcase-read-more svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

[dir="rtl"] .sv-showcase-read-more svg {
    transform: scaleX(-1);
}

/* Text fade-in animation */
.sv-showcase-text-panel .sv-showcase-date,
.sv-showcase-text-panel .sv-showcase-title,
.sv-showcase-text-panel .sv-showcase-desc,
.sv-showcase-text-panel .sv-showcase-read-more {
    transition: opacity 0.5s ease, transform 0.5s ease !important;
}

.sv-showcase-text-panel.is-switching .sv-showcase-date,
.sv-showcase-text-panel.is-switching .sv-showcase-title,
.sv-showcase-text-panel.is-switching .sv-showcase-desc,
.sv-showcase-text-panel.is-switching .sv-showcase-read-more {
    opacity: 0;
    transform: translateY(12px);
}


/* --- Controls Bar --- */
.sv-showcase-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 36px auto 0;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.sv-showcase-ctrl-prev,
.sv-showcase-ctrl-next {
    width: 42px;
    height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0 !important;
    transition: background 0.3s ease, border-color 0.3s ease !important;
}

.sv-showcase-ctrl-prev:hover,
.sv-showcase-ctrl-next:hover {
    background: #e64c29 !important;
    border-color: #e64c29 !important;
    transform: none !important;
}

.sv-showcase-ctrl-prev svg,
.sv-showcase-ctrl-next svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[dir="rtl"] .sv-showcase-ctrl-prev svg,
[dir="rtl"] .sv-showcase-ctrl-next svg {
    transform: scaleX(-1);
}

/* Progress bar track */
.sv-showcase-progress-wrap {
    flex: 1;
    max-width: 320px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.sv-showcase-progress-bar {
    height: 100%;
    width: 0%;
    background: #e64c29;
    border-radius: 2px;
    transition: none;
}

.sv-showcase-progress-bar.is-running {
    animation: svSpotlightProgress 6s linear forwards;
}

@keyframes svSpotlightProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Counter */
.sv-showcase-counter {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    min-width: 50px;
    text-align: center;
}

.sv-showcase-counter-current {
    color: #ffffff;
    font-weight: 700;
}


/* --- Single Item: hide controls --- */
.sv-showcase-single .sv-showcase-controls {
    display: none;
}


/* --- Hidden data list --- */
.sv-showcase-data {
    display: none !important;
}


/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1199px) {
    .sv-showcase-spotlight {
        gap: 32px;
        padding: 0 30px;
    }

    .sv-showcase-image-panel {
        min-height: 360px;
    }

    .sv-showcase-title {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .sv-showcase-cinema {
        padding: 70px 0 60px;
    }

    .sv-showcase-main-title {
        font-size: 34px;
    }

    .sv-showcase-spotlight {
        flex-direction: column;
        gap: 28px;
        padding: 0 24px;
    }

    .sv-showcase-image-panel {
        flex: none;
        width: 100%;
        min-height: 300px;
        max-height: 360px;
    }

    .sv-showcase-text-panel {
        padding: 0;
    }

    .sv-showcase-date-day {
        font-size: 32px;
    }

    .sv-showcase-title {
        font-size: 22px;
    }

    .sv-showcase-desc {
        -webkit-line-clamp: 3;
    }

    .sv-showcase-controls {
        padding: 0 24px;
        margin-top: 28px;
    }

    .sv-showcase-film-rail {
        padding: 36px 0 30px;
    }
}

@media (max-width: 767px) {
    .sv-showcase-cinema {
        padding: 50px 0 45px;
    }

    .sv-showcase-header {
        margin-bottom: 35px;
    }

    .sv-showcase-main-title {
        font-size: 28px;
    }

    .sv-showcase-spotlight {
        padding: 0 16px;
    }

    .sv-showcase-image-panel {
        min-height: 240px;
        max-height: 300px;
    }

    .sv-showcase-date-day {
        font-size: 28px;
    }

    .sv-showcase-title {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .sv-showcase-desc {
        font-size: 14px;
        margin-bottom: 22px;
        -webkit-line-clamp: 3;
    }

    .sv-showcase-controls {
        padding: 0 16px;
        gap: 14px;
        margin-top: 24px;
    }

    .sv-showcase-ctrl-prev,
    .sv-showcase-ctrl-next {
        width: 36px;
        height: 36px;
    }

    .sv-showcase-ctrl-prev svg,
    .sv-showcase-ctrl-next svg {
        width: 15px;
        height: 15px;
    }

    .sv-showcase-film-rail {
        padding: 28px 0 22px;
    }

    .sv-showcase-sprockets {
        height: 14px;
    }

    .sv-showcase-sprockets::before {
        top: 2px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .sv-showcase-image-panel {
        min-height: 200px;
        max-height: 260px;
    }

    .sv-showcase-title {
        font-size: 18px;
    }

    .sv-showcase-progress-wrap {
        max-width: 180px;
    }
}
