/* 
   ENTRETENIMIENTO - CATÁLOGO COMPACTO PREMIUM
   Identidad SIPSE Play: Negro + Amarillo
*/

.entretenimiento-wrap {
    width: min(1300px, 94%);
    margin: 40px auto 80px;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
}

/* HERO BANNER SUTIL */
.ent-hero {
    position: relative;
    height: 150px;
    border-radius: 20px;
    overflow: hidden;
    background: #0d0d0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.ent-hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 50%, rgba(242, 211, 76, 0.1) 0%, transparent 50%),
        linear-gradient(to right, #000 0%, #151517 100%);
    z-index: 1;
}

.ent-hero-content {
    position: relative;
    padding-left: 40px;
    z-index: 3;
}

.ent-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0;
}

.ent-hero-content p {
    color: #f2d34c;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-top: 5px;
    opacity: 0.8;
}

/* SECCIONES TITULOS */
.ent-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ent-section-head h2 {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 5px solid #f2d34c;
    padding-left: 12px;
}

.sec-link {
    color: #f2d34c;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.sec-link:hover { opacity: 0.7; }

/* GRILLA DE RECIENTES */
.ent-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

/* CARDS RECIENTES */
.ent-card {
    background: #111114;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.ent-card:hover {
    transform: translateY(-5px);
    border-color: rgba(242, 211, 76, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.ent-card-hero {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    min-height: 300px;
}

.ent-card-img-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.ent-card-hero .ent-card-img-container { aspect-ratio: auto; height: 100%; }

.ent-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ent-card:hover .ent-card-img { transform: scale(1.05); }

.ent-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}

.ent-badge {
    position: absolute;
    top: 12px; right: 12px;
    padding: 4px 10px; border-radius: 6px;
    font-size: 0.65rem; font-weight: 900;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    z-index: 5;
}

.badge-video { color: #ff3e3e; }
.badge-audio { color: #f2d34c; }

.ent-card-body { padding: 18px; display: flex; flex-direction: column; }
.ent-card-cat { color: #f2d34c; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.ent-card-date { color: #666; font-size: 0.7rem; }
.ent-card-title { font-size: 1.05rem; font-weight: 700; margin: 8px 0 12px; line-height: 1.3; color: #fff; }
.ent-card-hero .ent-card-title { font-size: 1.6rem; }
.ent-card-desc { font-size: 0.9rem; color: #aaa; margin-bottom: 15px; }
.ent-read-more { font-size: 0.7rem; font-weight: 800; color: #444; text-transform: uppercase; margin-top: auto; }
.ent-card:hover .ent-read-more { color: #f2d34c; }

/* CATÁLOGO DE SUBSECCIONES (Compacto) */
.ent-program-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ent-program-block {
    background: #0a0a0c;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: all 0.3s ease;
}

.ent-program-block:hover {
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.prog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.prog-title {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--prog-color);
}

.prog-title h3 {
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.prog-more {
    color: #555;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    transition: color 0.2s;
}

.prog-more:hover { color: #f2d34c; }

/* LISTA COMPACTA */
.ent-mini-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ent-mini-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.01);
}

.ent-mini-item:hover {
    background: rgba(255,255,255,0.04);
    transform: translateX(4px);
}

.mini-thumb {
    width: 70px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }

.mini-badge-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    color: #fff;
    font-size: 0.8rem;
    opacity: 0.6;
}

.mini-info { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.mini-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #eee;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-date { font-size: 0.65rem; color: #555; font-weight: 600; }

.mini-empty { font-size: 0.75rem; color: #333; font-style: italic; text-align: center; padding: 10px; }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .ent-program-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .ent-card-hero { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .ent-program-strip { grid-template-columns: 1fr; }
    .ent-hero { height: 200px; text-align: center; }
    .ent-hero-content { padding: 0 20px; width: 100%; }
}
