/* =====================================================
   SECCIÓN PROGRAMACIÓN – SAN NICOLÁS TV
===================================================== */

.tv-programacion {
    background: #f6f6f6;
    padding-bottom: 12px;
    margin-bottom: 12px; /* o incluso 8px */
}

/* ===============================
   HEADER IMAGEN FULL WIDTH
================================ */

.programacion-header-image {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 115px;              /* 👈 ajusta aquí la altura */
    overflow: hidden;
}

/* Imagen real */
.programacion-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* 🔥 clave para full width */
    display: block;
}

/* ===============================
   CONTENIDO CON MÁRGENES
================================ */

.programacion-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

/* Subtítulo */
.programacion-subtitle {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 12px;
}

/* ===============================
   NAVEGACIÓN DE DÍAS
================================ */

.programacion-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 14px;
}

.day-arrow {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.day-current {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===============================
   LISTA CON SCROLL CONTROLADO
================================ */

.programacion-scroll {
    max-height: 260px;            /* 🔥 3–4 horas visibles */
    overflow-y: auto;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    background: #fff;
}

/* Ítems */
.programacion-item {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
}

.programacion-item.zebra-0 {
    background: #ffffff;
}

.programacion-item.zebra-1 {
    background: #f7f7f7;
}

.programacion-item .hora {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 48px;
}

.programacion-item .contenido {
    display: flex;
    flex-direction: column;
}

.programacion-item strong {
    font-size: 0.95rem;
    line-height: 1.2;
}

.programacion-item span {
    font-size: 0.75rem;
    color: #777;
}

/* ===============================
   PROGRAMACIÓN – COLORES SOBRIOS
================================ */

.programacion-item strong {
    font-weight: 600;
}

/* Cultural */
.tipo-cultural strong {
    color: #3f7d3c; /* verde institucional */
}

/* Cultural fin de semana */
.tipo-cultural_fin_semana strong {
    color: #4f8f5c;
}

/* Documentales */
.tipo-documental strong {
    color: #1f4e79; /* azul TV */
}

/* Infantil */
.tipo-infantil strong {
    color: #5c9a3a; /* verde suave */
}

/* Contenido local */
.tipo-local strong {
    color: #481e1e; /* sobrio, editorial */
}

/* Películas */
.tipo-pelicula strong {
    color: #1c2e4a; /* azul noche */
}

/* Cine clásico */
.tipo-cine_clasico strong {
    color: #7c9acd; /* gris azulado */
}

/* Estrenos */
.tipo-estreno strong {
    color: #d97706; /* naranja TV */
}


/* ===============================
   MOBILE AJUSTES
================================ */

@media (max-width: 600px) {
    .programacion-header-image {
        height: 110px;             /* más compacto en mobile */
    }

    .programacion-scroll {
        max-height: 220px;
    }
}

/* ===============================
   PROGRAMACIÓN – UX TV
================================ */

.programacion-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0;
    background: #fff;
    border-radius: 14px;
    padding: 12px 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.day-current {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .4px;
}

.day-arrow {
    background: none;
    border: none;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    color: #111;
}

.programacion-scroll {
    max-height: 340px;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    background: #fff;
}

/* Animaciones */
.fade-in {
    animation: fadeIn .2s ease-out;
}

.fade-out {
    animation: fadeOut .12s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(8px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* DESKTOP */
@media (min-width: 1024px) {
	.programacion-header-image {
		height: 160px;
	}
}