/**
 * File: /wp-content/themes/cuoredipandora/assets/css/12-Mini-Slider.css
 * Versione: 1.0 STANDALONE ENGINE
 * Pandora Custom - Stili del Mini Slider Articoli Recenti Centrali.
 */

/* 🌟 ARCHITETTURA MINI SLIDER CENTRALE */
.pandora-mini-slider-container {
    width: 100%;
    height: var(--pv-sx-h, 170px); /* Pareggia matematicamente l'altezza del video di sinistra */
    position: relative;
    overflow: hidden;
    border-radius: var(--pv-sx-radius, 14px); /* Sincronizza le curvature dei bordi */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0f0f14;
}

.pandora-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.pandora-slide-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pandora-slide-anchor {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
}

.pandora-slide-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.pandora-slide-item:hover .pandora-slide-img-bg {
    transform: scale(1.04);
}

/* Sfumatura cinema per garantire la massima leggibilità del testo */
.pandora-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px 18px;
    box-sizing: border-box;
}

.pandora-slide-title {
    margin: 0 0 4px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: inherit;
}

.pandora-slide-excerpt {
    margin: 0 !important;
    font-size: 11.5px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    line-height: 1.35 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-family: inherit;
}