/* ==========================================================
   AISLAMIENTO COMPLETO
========================================================== */
#pip-ganadores {
    width: 100%;
}

/* ==========================================================
   HERO PRINCIPAL
========================================================== */
#pip-ganadores .pip-hero-section {
    background-image: url("https://img.europapress.es/fotoweb/fotonoticia_20240312124301_1200.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================================
   TEXTOS INTRODUCTORIOS
========================================================== */
#pip-ganadores .pip-ediciones-description {
    color: #666;
    font-size: 16px;
}

#pip-ganadores .section-title-ediciones {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 3px;
}

#pip-ganadores .section-title-ediciones::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: orangered;
    border-radius: 2px;
}

/* ==========================================================
   CONTENEDOR GENERAL DE CADA EDICIÓN
========================================================== */
#pip-ganadores .premio-seccion {
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 0 !important;
}

/* ==========================================================
   FONDO DINÁMICO (SIN ZOOM)
========================================================== */
#pip-ganadores .premio-seccion-dynamic-bg {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
        var(--premio-bg-image);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* ==========================================================
   CABECERA DE CADA EDICIÓN
========================================================== */
#pip-ganadores .premio-header {
    padding: 30px 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#pip-ganadores .premio-header-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* ==========================================================
   NÚMERO CIRCULAR
========================================================== */
#pip-ganadores .premio-numero-grande {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff4500 0%, #ff6600 100%);
}

/* ==========================================================
   TÍTULOS
========================================================== */
#pip-ganadores .premio-titulo-header {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ==========================================================
   BOTÓN ABRIR / CERRAR
========================================================== */
#pip-ganadores .premio-toggle-btn {
    padding: 15px 35px;
    border-radius: 50px;
    background: orangered;
    border: none;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s ease;
}

/* ==========================================================
   ANIMACIÓN DE APERTURA SUAVE (SIN ZOOM)
========================================================== */
#pip-ganadores .premio-contenido {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition:
        max-height 0.6s ease,
        opacity 0.45s ease,
        transform 0.45s ease;
}

#pip-ganadores .premio-contenido.abierto {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
}

#pip-ganadores .premio-inner {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#pip-ganadores .premio-contenido.abierto .premio-inner {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   TARJETA GANADOR / ACCÉSIT
========================================================== */
#pip-ganadores .winner-card {
    display: flex;
    background: #fff;
    border-radius: 0 !important;
    margin-bottom: 40px;
}

/* ==========================================================
   IMAGEN (SIN ZOOM)
========================================================== */
#pip-ganadores .ganador-imagen,
#pip-ganadores .ganador-imagen-dynamic {
    flex: 0 0 45%;
    min-height: 320px;
    background-image: var(--ganador-bg-image);
    background-size: cover !important;
    background-position: center 28% !important;
    background-repeat: no-repeat !important;
    border-radius: 0 !important;
}

/* ==========================================================
   ETIQUETAS
========================================================== */
#pip-ganadores .ganador-badge-imagen {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 69, 0, 0.95);
    color: #fff;
    border-radius: 8px;
}

#pip-ganadores .ganador-badge-imagen.accesit {
    background: rgba(255, 102, 0, 0.95);
}

/* ==========================================================
   TEXTO
========================================================== */
#pip-ganadores .ganador-texto {
    flex: 1;
    padding: 35px;
}

#pip-ganadores .ganador-nombre {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
}

#pip-ganadores .ganador-bio {
    font-size: 15px;
    color: #444;
    line-height: 1.9;
    margin-bottom: 25px;
    border-bottom: 2px solid #eee;
    padding-bottom: 25px;
}

/* ==========================================================
   BOTÓN ENTREVISTA
========================================================== */
#pip-ganadores .ver-entrevista-btn {
    padding: 10px 14px;
    background: orangered;
    border: 1px solid orangered;
    color: white;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
}

/* ==========================================================
   ENTREVISTA (ANIMACIÓN + SCROLL EN MÓVIL)
========================================================== */
#pip-ganadores .entrevista-oculta {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#pip-ganadores .entrevista-oculta.mostrar {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Scroll táctil en móvil */
@media (max-width: 768px) {
    #pip-ganadores .entrevista-oculta {
        max-height: 300px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-right: 10px;
    }
}

/* ==========================================================
   PREGUNTAS
========================================================== */
#pip-ganadores .pregunta-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 24px 28px;
    margin-bottom: 32px;
    border-radius: 0 !important;
}

#pip-ganadores .pregunta-label {
    font-size: 17px;
    font-weight: 700;
    color: #222;
}

#pip-ganadores .pregunta-texto {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}

/* ==========================================================
   RESPONSIVE
========================================================== */
@media (max-width: 991px) {
    #pip-ganadores .winner-card {
        flex-direction: column;
    }

    #pip-ganadores .ganador-imagen,
    #pip-ganadores .ganador-imagen-dynamic {
        width: 100%;
        height: 260px;
        background-position: center 35% !important;
    }

    #pip-ganadores .ganador-texto {
        padding: 20px;
    }
}
