/* D:\website\languages\spanish\css\community-picks-style.css */

/* --- Sección Principal (Dark Mode) --- */
#community-picks {
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 4rem 0;
    border-top: 1px solid #333;
}

#community-picks h2 {
    color: #FFFFFF;
    text-align: center;
    border: none;
    margin-bottom: 3rem;
}

/* Estilo para la estantería (reutiliza .shelf-container) */
#community-carousel {
    justify-content: center;
}

/* --- Tarjetas de Sugerencias --- */
.pick-card {
    flex: 0 0 250px;
    background-color: #2c2c2c;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding-bottom: 0;
}

.pick-card .card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #444;
}

.pick-card .card-content {
    padding: 1.5rem;
}

.pick-card .card-title {
    color: #fff;
    font-size: 1.8rem;
    line-height: 1.2;
}

.pick-card .card-subtitle {
    color: #a0a0a0;
    font-size: 1.3rem;
}

.pick-card .cefr-badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* --- Modal de Sugerencias --- */
/* --- Modal de Sugerencias --- */
.picks-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0; /* Empieza invisible para la transición */
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.picks-modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.picks-modal-content {
    background-color: #2c2c2c;
    color: #e0e0e0;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 550px; /* Un poco más ancho para el vídeo */
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    text-align: center;
    border: 1px solid #444;
    transform: scale(0.95); /* Empieza un poco pequeño para la transición */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;    
}
.picks-modal-overlay:not(.hidden) .picks-modal-content {
    transform: scale(1);
}

#picks-modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 3rem;
    color: #888;
    cursor: pointer;
}
#modal-pick-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #444;
    margin-bottom: 1.5rem;

}

#modal-pick-name {
    font-family: 'Roboto Slab', serif;
    font-size: 2.6rem;
    color: #fff;
}

#modal-pick-type {
    font-size: 1.5rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
}

#modal-pick-desc {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

#modal-pick-recommended-by {
    font-size: 1.3rem;
    font-style: italic;
    color: #888;
    margin-bottom: 2.5rem;
}

#modal-pick-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #f56b0d;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    border: none;
}
/* --- NUEVOS ESTILOS (Paso 3) --- */

/* Estilo para las líneas separadoras en el modal */
.modal-separator {
    border: none;
    height: 1px;
    background-color: #444; /* Gris oscuro para la línea */
    margin: 2rem 0; /* Espacio vertical */
}

/* Contenedor responsivo para el vídeo embebido */
.embed-responsive {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    padding-top: 56.25%;
    border-radius: 8px;
    background-color: #000;
    flex-shrink: 0; /* Prevent shrinking */
}

.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* Add this new style for your video wrapper */
.video-wrapper {
    width: 100%; /* Make sure it takes full width of its parent */
    margin-bottom: 2rem; /* Add some space below the video */
    /* You might want to add margin-top too, or rely on previous element's margin-bottom */
}

.picks-modal-overlay:not(.hidden) .picks-modal-content {
    transform: scale(1);
}