/* ==========================================================
   BF RADIO - MASTER STYLE.CSS (VERSIÓN LIMPIA Y OPTIMIZADA)
   ========================================================== */

/* 1. RESET Y FUENTES */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: #000; color: #fff; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ==========================================================
   2. BARRA DE NAVEGACIÓN (Diseño de 3 columnas perfectas)
   ========================================================== */
.navbar { 
    position: fixed; 
    top: 0; left: 0; right: 0; 
    display: flex; 
    grid-template-columns: auto 1fr auto; 
    gap: 40px; 
    align-items: center; 
    justify-content: space-between;
    padding: 10px 4%; 
    height: 82px; 
    background-color: transparent; 
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    backdrop-filter: none; 
    z-index: 1000; 
    width: 100vw; 
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    background-image: none; 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 70px;
}

.logo-container {
    justify-self: start; 
    display: flex;
    align-items: center;
    z-index: 10000;
}
.nav-logo { height: 45px; width: auto; display: block; cursor: pointer; }

.logo-container a {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s ease;
}
.logo-container a:hover { opacity: 0.8; }

.nav-links { 
    justify-self: start; 
    display: flex; 
    gap: 50px; 
}
.nav-links a { 
    color: #fff; text-decoration: none; font-size: 15px; 
    font-weight: 700; letter-spacing: 2px; text-transform: uppercase; 
    transition: color 0.3s ease;
}
.nav-links a:hover { color: #aaa; }

.radio-widget {
    justify-self: end; 
    display: flex;
    align-items: center;
    position: relative;
}

/* ==========================================================
   3. REPRODUCTOR COMPACTO (BARRA TOP)
   ========================================================== */
.player-master-container { 
    display: flex; align-items: center; background: #000; 
    border: 1px solid #333; border-radius: 50px; 
    padding: 6px 15px 6px 6px; width: 320px; height: 52px; 
    overflow: hidden; z-index: 9999; position: relative;
}
.art-wrapper { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; margin-right: 15px; flex-shrink: 0; }
.dj-image { width: 100%; height: 100%; object-fit: cover; transition: all 0.4s ease; }

.track-details { display: flex; flex-grow: 1; min-width: 0; margin-right: 15px; overflow: hidden; }
.ticker-wrapper { width: 100%; white-space: nowrap; box-sizing: border-box; }
.ticker-text { font-size: 11px; color: #fff; font-weight: 700; display: inline-block; padding-left: 100%; animation: ticker-move 15s linear infinite; }
@keyframes ticker-move { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

.onair-section { display: flex; align-items: center; flex-shrink: 0; margin-right: 15px; }
.live-badge { font-size: 10px; font-weight: 900; color: #888; letter-spacing: 1px; }
.red-dot { color: #ff0000; font-size: 12px; margin-right: 4px; animation: blink 1.5s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.separator { width: 1px; height: 24px; background-color: #333; margin-right: 15px; flex-shrink: 0; }
.controls-section { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.expand-btn {
    background: transparent !important; color: #fff; border: 1px solid rgba(255, 255, 255, 0.8);
    width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: flex; 
    align-items: center; justify-content: center; font-size: 14px; transition: all 0.3s ease; outline: none;
}
.expand-btn:hover { background: #fff !important; color: #000; border-color: #fff; }

/* ==========================================================
   4. DISEÑO BOTONES DE PLAY PREMIUM
   ========================================================== */
#compact-play-btn, #expanded-play-btn, .expanded-play-btn-premium {
    background-color: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    color: #ffffff !important; 
    border-radius: 50%; 
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; box-shadow: none !important; outline: none !important; 
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
}

#compact-play-btn:hover, #expanded-play-btn:hover, .expanded-play-btn-premium:hover { 
    background-color: #1a1a1a !important; border-color: #ffffff !important; 
}

#compact-play-btn { width: 32px; height: 32px; }

.expanded-play-btn-premium { 
    width: 60px; height: 60px; position: absolute; bottom: 15px; right: 15px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.5) !important; transition: transform 0.2s ease;
}
.expanded-play-btn-premium:hover { transform: scale(1.1); }

#compact-play-btn:focus, #expanded-play-btn:focus, #compact-play-btn:active, #expanded-play-btn:active { 
    background-color: #000000 !important; outline: none !important; 
}

.play-shape { 
    width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 14px; 
    border-color: transparent transparent transparent #ffffff !important; margin-left: 4px; 
}
.pause-shape { display: flex; gap: 4px; }
.pause-shape::before, .pause-shape::after { content: ''; width: 4px; height: 16px; background-color: #ffffff !important; }

/* ==========================================================
   5. SECCIÓN HERO MASTER (Ajuste Fino de Brillo y Tamaño)
   ========================================================== */

.hero-master {
    position: relative;
    width: 100%;
    height: 85vh; /* 85% de la pantalla */
    background-color: #000; /* Fondo negro de seguridad */
    overflow: hidden;
    margin-top: 0;
}

.hero-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 8%;
    box-sizing: border-box;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Espaciado para páginas sin HERO (Sesiones, Noticias, Eventos) */
.page-top-spacing {
    padding-top: 140px !important; /* Ajusta este valor si ves que sobra o falta espacio */
}

/* --- 🔥 EL AJUSTE DE BRILLO (VÍDEOS) 🔥 --- */
.video-background, .hero-slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ANTES: brightness(0.4). AHORA: brightness(0.65). 
       Lo aclaramos bastante pero mantenemos el contraste. */
    filter: brightness(0.65) contrast(1.1); 
}

/* --- 🖼️ EL AJUSTE DE TAMAÑO Y MOSAICO (IMÁGENES) 🖼️ --- */
/* Esta es la clase que el JS pone para las fotos */
.hero-slide-bg {
    /* Ocupa todo el ancho y alto del slide */
    width: 100%; 
    height: 100%;
    /* ¡AQUÍ ESTÁ LA SOLUCIÓN AL MOSAICO! */
    background-size: cover;      /* Obliga a la foto a cubrir todo sin deformarse */
    background-position: center; /* Centra la foto para que no se corte lo importante */
    background-repeat: no-repeat; /* Prohíbe el efecto mosaico */
    
    /* --- 🔥 EL AJUSTE DE BRILLO (IMÁGENES) 🔥 --- */
    /* Las fotos a veces necesitan ser un pelín más oscuras que los vídeos para leer el texto, 
       pero las hemos aclarado respecto a antes. */
    filter: brightness(0.6) contrast(1.05);
}

/* --- 🌑 EL AJUSTE DEL DEGRADADO (OVERLAY) 🌑 --- */
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* ANTES: rgba(0,0,0,0.9) a la izquierda. AHORA: rgba(0,0,0,0.7). 
       Es más transparente para que se vea mejor el fondo. */
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

/* Contenido del Hero */
.hero-content {
    position: relative;
    z-index: 3; /* Por encima de todo */
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.2rem, 6.5vw, 5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -1px;
    margin: 15px 0 25px 0;
    text-transform: uppercase;
    color: #fff;
}

.live-tag {
    font-family: 'Roboto Mono', monospace;
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
}

.dot {
    margin-right: 10px;
    color: #ff0000;
    font-size: 1.2rem;
    animation: blink 1.5s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.btn-main {
    background: #ff0000;
    color: #000;
    padding: 18px 45px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-main:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Puntos de navegación */
.hero-nav {
    position: absolute;
    bottom: 40px; 
    right: 8%; /* Lo pegamos a la derecha respetando el margen del 8% de la web */
    /* Hemos borrado el "left: 50%" y el "transform" que lo centraban */
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.hero-dot.active {
    background: #ff0000;
    border-color: #ff0000;
    width: 30px;
    border-radius: 6px;
}

/* Clases de texto heredadas por si las usas en otras páginas */
.content-overlay { max-width: 900px; position: relative; z-index: 2; }
.category-tag { font-size: 10px; font-weight: 900; letter-spacing: 3px; border: 1px solid #fff; padding: 4px 8px; display: inline-block; margin-bottom: 20px; }
.main-title { font-size: clamp(40px, 10vw, 110px); font-weight: 900; line-height: 0.85; letter-spacing: -4px; text-transform: uppercase; margin-bottom: 25px; }
.description { font-size: 16px; color: #bbb; margin-bottom: 30px; max-width: 500px; }
.read-more { font-size: 12px; font-weight: 700; text-decoration: none; border-bottom: 2px solid #fff; padding-bottom: 5px; }
.text-red { color: #ff0000; font-weight: 900; }

/* ==========================================================
   6. CARRUSEL Y TARJETAS (CULTURA ELECTRÓNICA)
   ========================================================== */
.content-container { 
    padding: 0 4%; max-width: 1800px; margin: 0 auto; width: 100%; box-sizing: border-box; overflow-x: hidden; 
}
.eventos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.row-section { margin-top: 40px; margin-bottom: 60px; position: relative; overflow: visible; }
.row-title { font-size: 24px; font-weight: 900; margin-bottom: 25px; letter-spacing: -1px; padding-left: 5px; }
.carousel-container { position: relative; margin-left: -4%; margin-right: -4%; padding-left: 4%; padding-right: 4%; overflow: visible; }
.carousel-wrapper { overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 10px; scroll-behavior: smooth; padding: 10px 0; }
.carousel-wrapper::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; padding: 20px 0; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }

.card { flex: 0 0 auto; width: 280px; transition: transform 0.3s ease; border-radius: 12px; overflow: hidden; }
.card:hover { transform: scale(1.05); z-index: 5; }
.card.landscape { width: 400px; }
.card.portrait { width: 280px; }
.card-img-container { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.landscape .card-img-container { aspect-ratio: 16 / 9; }
.portrait .card-img-container { aspect-ratio: 3 / 4; }
.card-img-container img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.card-info { padding: 12px 5px; }
.card-info .category, .card-info .date { font-family: 'Roboto Mono', monospace; font-size: 10px; color: #ff0000; font-weight: bold; display: block; margin-bottom: 5px; }
.card-info h3 { font-size: 14px; font-weight: 600; line-height: 1.3; color: #fff; }

.play-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 40px; color: rgba(255,255,255,0.8); opacity: 0; transition: opacity 0.3s ease; }
.card.video:hover .play-overlay { opacity: 1; }

.nav-arrow { 
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; cursor: pointer; 
    background-color: rgba(15, 15, 15, 0.8); color: #fff; width: 45px; height: 45px; 
    display: flex; align-items: center; justify-content: center; border-radius: 50%; 
    font-size: 24px; transition: background-color 0.3s ease, transform 0.2s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.nav-arrow.left { left: 85px; }
.nav-arrow.right { right: 85px; }
.row-section:hover .nav-arrow { opacity: 0.8; }
.nav-arrow:hover { opacity: 1 !important; background: rgba(0, 0, 0, 0.7) !important; border: 1px solid rgba(255, 255, 255, 0.2); color: #ffffff; }

/* ==========================================================
   7. FOOTER
   ========================================================== */
/* ==========================================================
   7. FOOTER PREMIUM (ESTILO RINSE.FM)
   ========================================================== */
.main-footer {
    background-color: #000;
    padding: 60px 4% 20px;
    border-top: 1px solid #1a1a1a;
    color: #fff;
    margin-top: 80px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1800px;
    margin: 0 auto 50px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

/* Columna Logo */
.logo-col { display: flex; align-items: center; }
.footer-logo { height: 50px; width: auto; transition: opacity 0.3s; }
.footer-logo:hover { opacity: 0.7; }

/* Etiquetas de sección */
.footer-label {
    display: block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #444; /* Gris oscuro para que no resalte más que el logo */
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Iconos Sociales Centrados */
.social-col { text-align: center; }
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid #222;
    border-radius: 50%; /* Círculo perfecto */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}
.social-icons a:hover {
    border-color: #ff0000;
    color: #ff0000;
    background: rgba(255, 0, 0, 0.05);
}

/* Columna Apps a la derecha */
.app-col { text-align: right; }
.app-badges {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.app-icon {
    width: 45px;
    height: 45px;
    border: 1px solid #333;
    border-radius: 10px; /* Bordes redondeados sutiles */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #444; /* Color apagado porque es "próximamente" */
    cursor: default;
}

/* Barra Legal Inferior */
.footer-legal-bar {
    max-width: 1800px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #111; /* Barra discreta */
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #888;
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
}

.legal-right { color: #aaa; } /* Un toque más de énfasis */

/* Ajuste móvil */
@media (max-width: 768px) {
    .footer-top { flex-direction: column; text-align: center; align-items: center; }
    .app-col, .social-col { text-align: center; }
    .app-badges { justify-content: center; }
    .footer-legal-bar { flex-direction: column; gap: 10px; text-align: center; }
}

.footer-legal-bar div:hover {
    color: #fff; /* Se vuelve blanco puro al pasar el ratón */
    transition: color 0.3s ease;
}

/* ==========================================================
   8. REPRODUCTOR DESPLEGABLE PREMIUM
   ========================================================== */
.expanded-player-overlay {
    all: unset; box-sizing: border-box !important; position: absolute !important;
    top: 0px !important; right: 0 !important; width: 330px !important; height: auto !important;
    bottom: auto !important; background-color: #0a0a0a !important; border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; padding: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9); z-index: 1000;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block !important;
}
.expanded-player-overlay.active { opacity: 1; visibility: visible; transform: translateY(0); }
.expanded-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.live-badge-expanded { font-family: 'Roboto Mono', monospace; font-size: 14px; font-weight: 900; color: #ffffff; letter-spacing: 2px; }
.close-dropdown-btn { background: transparent; color: #fff; border: none; font-size: 32px; cursor: pointer; line-height: 0.5; padding: 0; transition: color 0.2s; }
.close-dropdown-btn:hover { color: #ff0000; }
.expanded-art-container { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: #111; margin-bottom: 10px; }
.expanded-art-container img { width: 100%; height: 100%; object-fit: cover; }
.expanded-track-title { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: #fff; line-height: 1.2; }
body.mobile-expanded-mode #compact-player-wrapper { display: none !important; }

/* ==========================================================
   9. MEDIA QUERIES (MÓVILES Y TABLETS)
   ========================================================== */
@media (max-width: 992px), (max-height: 500px) and (orientation: landscape) {
    .navbar { height: auto !important; flex-direction: column; padding: 10px !important; gap: 10px !important; }
    .logo-container { justify-content: center; }
    .nav-logo { height: 55px !important; }
    .nav-links { width: 100%; justify-content: flex-start; overflow-x: auto; white-space: nowrap; padding-bottom: 5px; gap: 15px !important; scrollbar-width: none; }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a { font-size: 15px !important; letter-spacing: 1px !important; }
    .radio-widget { width: 100%; display: flex; justify-content: center; }
    .player-master-container { width: 100% !important; max-width: 350px; margin: 0 auto; height: 50px !important; padding: 5px 10px !important; }
    .art-wrapper { display: none !important; }
    .track-details { margin-left: 0 !important; }
    .expanded-player-overlay { position: fixed !important; top: 15px !important; width: 96vw !important; left: 2vw !important; right: 2vw !important; height: auto !important; border-radius: 15px !important; z-index: 9999 !important; display: none !important; }
    .expanded-player-overlay.active { display: block !important; top: 5px !important; max-height: 90vh !important; overflow-y: auto !important; }
    body.mobile-expanded-mode #compact-player-wrapper { display: none !important; }
    body.mobile-expanded-mode .nav-logo, body.mobile-expanded-mode .nav-links { display: none !important; }
    body.mobile-expanded-mode .navbar { background-color: #000 !important; }
    .page-top-spacing { padding-top: 180px !important; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .navbar { background-color: #000000 !important; height: 60px !important; flex-direction: row; padding: 0 15px !important; }
    .nav-links { width: auto !important; max-width: 50% !important; justify-content: center !important; margin: 0 auto !important; overflow: hidden !important; }
    .logo-container { position: absolute !important; left: 15px !important; top: 50% !important; transform: translateY(-50%) !important; }
    .nav-logo { height: 35px !important; }
    .radio-widget { position: absolute !important; right: 15px !important; top: 50% !important; transform: translateY(-50%) !important; width: auto !important; }
    .expanded-art-container { width: 120px !important; float: left; margin-right: 15px; margin-bottom: 0; }
    .player-master-container { width: 180px !important; height: 40px !important; padding: 0 10px !important; }
    .onair-section { display: none !important; }
}

/* ==========================================================
   OTRAS SECCIONES (Páginas Internas: Noticias, Eventos, Sesiones)
   ========================================================== */

/* 1. El empujón para que la barra de navegación no tape el título */
.page-top-spacing, .news-page-container { 
    padding-top: 140px !important; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding-bottom: 60px;
    padding-left: 5%;
    padding-right: 5%;
    min-height: 100vh;
}

/* 2. Cabecera UNIFICADA (Barra Roja) para todas las páginas */
.page-header { 
    margin-bottom: 50px; 
    border-left: 5px solid #ff0000; /* Consistencia total: 5px de grosor */
    padding-left: 20px; 
}

/* 3. Títulos y Subtítulos */
.page-title { 
    font-size: 3rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: -2px; 
    color: #fff;
    margin: 0;
    line-height: 1.1;
}

.page-subtitle { 
    color: #aaa; /* Gris brillante para que resalte */
    font-family: 'Roboto Mono', monospace; 
    font-size: 14px; 
    margin-top: 10px;
}

/* --- FIRMA DEL AUTOR EN NOTICIAS --- */
.post-author-link {
    color: #888; /* Gris claro y discreto */
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none; /* Quitamos el subrayado feo por defecto */
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.post-author-link:hover {
    color: #ffffff; /* Blanco puro */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4); /* Le damos un "resplandor" extra al brillar */
    cursor: pointer;
}

/* --- A partir de aquí, dejamos intacta tu cuadrícula de noticias --- */
.news-grid { 
    display: grid; 
    /* Cambiamos el mínimo de 280px a 220px para que quepan 4 noticias en una fila estándar */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 40px 25px; 
    width: 100%; 
}
/* ... (el resto de tu código de news-card se queda igual) ... */
.news-card { transition: transform 0.3s ease; }
.news-card-link { text-decoration: none; color: inherit; }
.news-image-wrapper { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; margin-bottom: 15px; }
.news-image-wrapper img { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 2px; overflow: hidden; margin-bottom: 15px; }
.news-card:hover img { transform: scale(1.05); }
.news-category { position: absolute; bottom: 10px; right: 10px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); color: #fff; font-size: 9px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }
.news-date { font-family: 'Roboto Mono', monospace; font-size: 10px; color: #555; letter-spacing: 1px; display: block; text-transform: uppercase; }
.news-content { border-left: 2px solid #333; padding-left: 15px; margin-left: 0; transition: all 0.3s ease; box-sizing: border-box; }
.news-card:hover .news-content { border-left: 2px solid #ff0000; padding-left: 20px; }
.news-content h3 { font-size: 18px; line-height: 1.2; margin-bottom: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.5px; }
.news-content p { font-size: 14px; color: #888; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-align: justify; hyphens: auto; margin-bottom: 15px; }

@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } .page-title { font-size: 2.2rem; } }

.row-title-link { text-decoration: none; color: #ffffff; transition: color 0.3s ease; }
.row-title-link:hover { color: #ff0000; cursor: pointer; }

.event-card-premium { background: #0a0a0a; border: 1px solid #1a1a1a; transition: all 0.4s ease; position: relative; overflow: hidden; }
.event-card-premium:hover { border-color: #ff0000; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(255, 0, 0, 0.1); }
.event-img-wrapper { position: relative; aspect-ratio: 3/4; }
.event-img-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); }
.event-date-badge { position: absolute; top: 15px; right: 15px; background: #ff0000; color: #fff; padding: 5px 12px; font-family: 'Roboto Mono', monospace; font-weight: 900; font-size: 12px; }
.event-details { padding: 20px; }
.event-location { color: #ff0000; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.event-details h3 { font-size: 22px; margin: 10px 0; text-transform: uppercase; letter-spacing: -1px; }
.btn-tickets { display: inline-block; padding: 10px 20px; border: 1px solid #fff; color: #fff; text-decoration: none; font-size: 11px; font-weight: 900; transition: all 0.3s; }
.btn-tickets:hover { background: #fff; color: #000; }

.content-container h1 { margin-bottom: 30px; font-size: 32px; letter-spacing: -1px; }
.eventos-grid .card.portrait { width: 100%; min-width: 0; margin: 0; }
.eventos-grid .card-img-container { border-radius: 4px; }

.artist-card { border: none; background: transparent; }
.artist-card .card-img-container { border-radius: 12px; overflow: hidden; filter: grayscale(100%); transition: all 0.5s ease; position: relative; }
.artist-card:hover .card-img-container { filter: grayscale(0%); transform: scale(1.02); }
.artist-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.artist-role { font-family: 'Roboto Mono', monospace; font-size: 10px; color: #ff0000; letter-spacing: 2px; }
.artist-name { font-size: 18px !important; font-weight: 900; margin-top: 10px; text-transform: uppercase; }

.sesiones-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px 30px; width: 100%; }
.sesiones-grid .card.landscape { width: 100%; margin: 0; background: transparent; }
.sesiones-grid .card.landscape:hover .play-overlay { background: #ff0000 !important; transform: translate(-50%, -50%) scale(1.1) !important; }

.spotify-section { background: linear-gradient(180deg, #000 0%, #0a0a0a 100%); padding-bottom: 60px; }
.spotify-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); }
@media (max-width: 768px) { .spotify-container iframe { height: 450px; } }

/* --- ESTILO DE NOTICIA INDIVIDUAL --- */
.single-post {
    max-width: 900px; /* Un poco más estrecho para que sea cómodo leer */
    margin: 0 auto;
}

.post-image-hero {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 40px;
    border-radius: 4px;
    overflow: hidden;
}

.post-image-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    text-align: justify;
}

.post-body p {
    margin-bottom: 25px; /* Espacio entre párrafos */
    line-height: 1.8;    /* Altura de línea para que no canse la vista */
    color: #ddd;         /* Gris claro para que no deslumbre como el blanco puro */
}

.post-body strong {
    color: #ff0000;      /* Si pones algo en negrita en el JSON, saldrá en rojo BF */
    font-weight: 900;
}

.post-footer-nav {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
}

/* ==========================================================
   AJUSTES VISUALES: ARTISTAS Y LOCUTORES
   ========================================================== */

/* 1. Bordes redondeados en las tarjetas */
.artist-card {
    border-radius: 8px; /* Aplica la misma curva que en noticias y eventos */
    overflow: hidden;   /* Obliga a la foto a respetar ese borde curvo sin salirse */
    background-color: #111; /* Un fondo oscuro por si la imagen tarda en cargar */
}

/* 2. Grid de 5 columnas para que no se pisen (Página artistas.html) */
#artistas-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Obligamos a que sean exactamente 5 columnas */
    gap: 25px; /* Damos un buen espacio entre ellas para que respiren */
}

/* --- Adaptación para móviles y tablets (¡Muy importante!) --- */
@media (max-width: 1100px) {
    #artistas-full-grid {
        grid-template-columns: repeat(4, 1fr); /* En pantallas medianas pasamos a 4 */
    }
}

@media (max-width: 850px) {
    #artistas-full-grid {
        grid-template-columns: repeat(3, 1fr); /* En tablets pasamos a 3 */
    }
}

@media (max-width: 600px) {
    #artistas-full-grid {
        grid-template-columns: repeat(2, 1fr); /* En móviles ponemos 2 para que se vean bien las caras */
        gap: 15px; /* Reducimos un poco el hueco en móviles */
    }
}
