/*
Theme Name: Activavida 2.0
Theme URI: https://activavida.net
Author: Waly / wpvstudio - Bittobox
Description: Tema personalizado One Page para Activavida - Radio Cristiana Contemporánea
Version: 2.3.1.0
License: GNU General Public License v2 or later
Text Domain: activavida
*/

/* =====================================================
   RESET & BASICS
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: 
        radial-gradient(circle at top right, rgba(243, 112, 35, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(216, 56, 30, 0.10), transparent 25%),
        #0b0d12;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
    padding-bottom: 115px;
}

h1, h2, h3, h4, h5 {
    font-family: "Montserrat", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* =====================================================
   VARIABLES - PALETA ACTIVAVIDA
===================================================== */
:root {
    --orange-primary: #f37023;
    --orange-dark: #d8381e;
    --yellow-accent: #ffb81c;
    --dark-bg: #0b0d12;
    --dark-card: #141721;
    --dark-header: rgba(11, 13, 18, 0.95);
    --white: #ffffff;
    --gray: #9ca9b8;
    --border: rgba(255, 255, 255, 0.08);
}

/* =====================================================
   UTILIDADES Y ESTRUCTURA
===================================================== */
.container {
    width: min(1200px, 92%);
    margin: auto;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 15px;
}

.section-title span {
    color: var(--orange-primary);
}

.section-description {
    color: var(--gray);
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 50px;
}

.live-dot {
    width: 9px;
    height: 9px;
    background: var(--orange-primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 12px var(--orange-primary);
    animation: pulse 1.4s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

/* =====================================================
   HEADER
===================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: var(--dark-header);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: .3s;
}

.navbar {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =====================================================
   LOGO (CORRECCIÓN DEFINITIVA A 70PX MÁXIMO)
===================================================== */
header .logo,
header .navbar a.logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 70px !important;
    max-height: 70px !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

header .logo:hover,
header .navbar a.logo:hover {
    transform: translateY(-2px);
}

header .logo img, 
header .logo .custom-logo,
header .logo .custom-logo-img,
header .navbar a.logo img,
header .navbar a.logo .custom-logo {
    height: 70px !important;
    max-height: 70px !important;
    width: auto !important;
    max-width: 100% !important;
    display: block !important;
    object-fit: contain !important;
}

/* =====================================================
   MENU
===================================================== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #dbe7f5;
    transition: .3s;
}

.nav-menu a:hover {
    color: var(--orange-primary);
}

.live-button {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 12px !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(243, 112, 35, 0.35);
}

.live-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    font-size: 25px;
    cursor: pointer;
    color: white;
}

/* =====================================================
   HERO
===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(
            90deg,
            rgba(11, 13, 18, 0.96) 0%,
            rgba(20, 23, 33, 0.85) 45%,
            rgba(0,0,0,0.4) 100%
        ),
        url("https://images.unsplash.com/photo-1590602847861-f357a9332bbc?auto=format&fit=crop&w=2000&q=85");
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--orange-primary);
    filter: blur(180px);
    opacity: 0.2;
    top: -100px;
    right: -100px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--yellow-accent);
    filter: blur(150px);
    opacity: 0.1;
    bottom: -100px;
    left: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 80px;
}

.hero-live {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 9px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-family: Montserrat, sans-serif;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 85px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--yellow-accent);
}

.hero p {
    font-size: 19px;
    color: #c9d4df;
    max-width: 680px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 25px;
    border-radius: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: white;
    box-shadow: 0 15px 35px rgba(243, 112, 35, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(243, 112, 35, 0.4);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* =====================================================
   ESTADISTICAS
===================================================== */
.stats {
    position: relative;
    margin-top: -50px;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(20, 23, 33, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.stat {
    padding: 30px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border: none;
}

.stat h3 {
    font-size: 28px;
    color: white;
}

.stat p {
    font-size: 13px;
    color: var(--gray);
    margin-top: 5px;
}

/* =====================================================
   SECCIÓN RADIO
===================================================== */
.radio-section {
    background: linear-gradient(180deg, transparent, rgba(243, 112, 35, 0.05));
}

.radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.radio-image {
    position: relative;
}

.radio-image > img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.radio-floating {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    background: rgba(11, 13, 18, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 20px;
}

.radio-floating h4 {
    margin-bottom: 7px;
}

.radio-floating p {
    color: var(--gray);
    font-size: 14px;
}

.features {
    display: grid;
    gap: 18px;
}

.feature {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: .3s;
}

.feature:hover {
    border-color: var(--orange-primary);
    transform: translateX(5px);
}

.feature i {
    color: var(--orange-primary);
    font-size: 22px;
}

.feature p {
    color: var(--gray);
    font-size: 14px;
    margin-top: 6px;
}

/* =====================================================
   MISIÓN Y RECURSOS
===================================================== */
.tv-section {
    background: #080a0e;
}

.schedule-grid, .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.schedule-card, .news-card {
    background: var(--dark-card);
    border: 1px solid rgba(243, 112, 35, 0.3);
    border-radius: 16px;
    padding: 25px;
    transition: .35s;
}

.news-card {
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
}

.news-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.news-content {
    padding: 22px;
}

.schedule-card:hover, .news-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.schedule-time, .news-category {
    color: var(--yellow-accent);
    font-weight: 700;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
}

.news-category {
    color: var(--orange-primary);
}

.schedule-card h3, .news-content h3 {
    font-size: 21px;
    margin: 13px 0 10px;
}

.schedule-card p, .news-content p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* =====================================================
   CONTACTO & FOOTER
===================================================== */
.contact {
    background: 
        radial-gradient(circle at center, rgba(243, 112, 35, 0.15), transparent 60%),
        #06070a;
}

.contact-box {
    text-align: center;
    max-width: 850px;
    margin: auto;
}

.contact-box h2 {
    font-size: clamp(35px, 5vw, 60px);
    margin-bottom: 20px;
}

.contact-box p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

footer {
    padding: 50px 0 130px;
    border-top: 1px solid var(--border);
    background: #06070a;
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo {
    background: transparent;
    padding: 0;
    display: inline-flex;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 48px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.footer-social a:hover {
    background: var(--orange-primary);
    transform: translateY(-3px);
}

/* =====================================================
   STICKY AUDIO PLAYER
===================================================== */
.audio-player {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, 94%);
    min-height: 82px;
    z-index: 9999;
    background: rgba(14, 17, 25, 0.88);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    gap: 20px;
}

/* =====================================================
   AJUSTE DE LOGO / PORTADA EN EL REPRODUCTOR
===================================================== */
.player-cover {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    display: block;
}

.player-info {
    min-width: 180px;
}

.player-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.player-info p {
    color: var(--gray);
    font-size: 12px;
}

.player-button {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: white;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    transition: .3s;
}

.player-button:hover {
    transform: scale(1.08);
}

.player-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-family: Montserrat, sans-serif;
    font-weight: bold;
    color: #ddd;
}

.equalizer {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 30px;
    transition: opacity .3s;
}

.equalizer span {
    width: 3px;
    background: var(--orange-primary);
    border-radius: 3px;
    animation: equalize 1s infinite alternate;
}

.equalizer span:nth-child(1) { height: 10px; }
.equalizer span:nth-child(2) { height: 25px; animation-delay: .2s; }
.equalizer span:nth-child(3) { height: 15px; animation-delay: .4s; }
.equalizer span:nth-child(4) { height: 28px; animation-delay: .6s; }
.equalizer span:nth-child(5) { height: 12px; animation-delay: .8s; }

@keyframes equalize {
    from { transform: scaleY(.4); }
    to { transform: scaleY(1.2); }
}

.volume {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
}

.volume input {
    accent-color: var(--orange-primary);
    width: 110px;
}

/* =====================================================
   TÍTULO DE LA CANCIÓN - BITTOCAST
===================================================== */
.sonic-title {
    flex: 0 1 220px !important;
    min-width: 0;
    margin-left: 2px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sonic-title:empty {
    display: none;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media(max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 82px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 82px);
        background: #0b0d12;
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: .4s;
    }

    .nav-menu.active { 
        left: 0; 
    }

    .mobile-menu { 
        display: block; 
    }

    .radio-grid, 
    .schedule-grid, 
    .news-grid { 
        grid-template-columns: 1fr; 
    }
}

@media(max-width: 650px) {
    .section { 
        padding: 70px 0; 
    }
    
    header .logo img, 
    header .logo .custom-logo,
    header .navbar a.logo img { 
        height: 48px !important; 
        max-height: 48px !important; 
    }
    
    .stats-grid { 
        grid-template-columns: 1fr; 
    }

    .stat { 
        border-right: none; 
        border-bottom: 1px solid var(--border); 
    }

    .audio-player {
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        transform: none;
        box-sizing: border-box;
        gap: 8px;
        padding: 8px;
    }

    .player-info { 
        min-width: 0; 
        flex: 1 1 auto; 
        overflow: hidden; 
    }

    .player-info h4 { 
        white-space: nowrap; 
        overflow: hidden; 
        text-overflow: ellipsis; 
        max-width: none; 
    }

    .player-info p { 
        white-space: nowrap; 
        overflow: hidden; 
        text-overflow: ellipsis; 
    }

    .volume, 
    .player-live, 
    .equalizer, 
    .sonic-title { 
        display: none; 
    }

    .player-button { 
        flex-shrink: 0; 
    }

    .footer-grid { 
        flex-direction: column; 
        text-align: center; 
    }
}

/* =====================================================
   CORRECCIÓN DEFINITIVA TÍTULO DE CANCIÓN
===================================================== */
body .audio-player .sonic-title {
    font-size: 13px !important;
}
/* Activavida 2.0: cabecera, ranking y modo claro */
html {scroll-padding-top:95px}
.av-country {color:#e4e8ef;font-size:14px;white-space:nowrap}
.av-theme-toggle {background:transparent;border:1px solid rgba(255,255,255,.22);border-radius:12px;padding:8px 11px;color:inherit;cursor:pointer;font-size:18px}
.av-top10 {scroll-margin-top:90px}
.av-top10-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:28px}
.av-top10-item {display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--border,#34383e);border-radius:14px;background:rgba(255,255,255,.045)}
.av-top10-rank {font-size:22px;font-weight:800;color:var(--orange-primary,#f89b3c)}
.av-top10-cover {width:58px;height:58px;object-fit:cover;border-radius:9px;flex-shrink:0}
.av-top10-details {flex:1;min-width:0}.av-top10-details strong,.av-top10-details small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.av-top10-details small{opacity:.72}.av-top10-item a{color:var(--orange-primary,#f89b3c)}
body.av-light {background:#f5f7fa!important;color:#192a36!important;--dark-header:rgba(255,255,255,.97);--border:#dce2e8}
body.av-light header,body.av-light .nav-menu {background:#fff!important}
body.av-light .nav-menu a,body.av-light .av-country,body.av-light .av-theme-toggle {color:#172b3a!important}
body.av-light .section:not(.contact),body.av-light .av-top10 {background:#f5f7fa!important;color:#192a36!important}
body.av-light .section-title,body.av-light .av-top10-details strong {color:#192a36!important}
body.av-light .section-description,body.av-light .av-top10-details small {color:#536170!important}
body.av-light .av-top10-item {background:#fff}
@media(max-width:900px){.av-country{padding:10px}.av-theme-toggle{margin:10px}}

/* ACTIVAVIDA 2.1 — elementos nuevos, sin tocar reglas del reproductor */
:root{--av-accent:#f39a37;--av-card:#172534}
.av-now-section{padding:24px 0 10px;background:transparent}
.av-now-card{display:flex;align-items:center;gap:24px;padding:26px!important;border-radius:22px;background:linear-gradient(120deg,#132f3b,#172536 68%,#26374a);border:1px solid rgba(255,255,255,.12);box-shadow:0 16px 48px rgba(0,0,0,.12)}
.av-now-art{width:110px;height:110px;flex:0 0 110px;border-radius:18px;background:linear-gradient(140deg,var(--av-accent),#a44834);display:flex;align-items:center;justify-content:center;color:#fff;font-size:48px}
.av-now-copy{flex:1;min-width:0}.av-now-copy h2{font-size:clamp(22px,3vw,34px);margin:7px 0;color:#fff;overflow-wrap:anywhere}.av-now-copy p{color:#bfcbd6;margin:0}.av-eyebrow{color:#a7eadb;font-size:12px;font-weight:800;letter-spacing:1px}
.av-now-link{color:#fff;text-decoration:none;font-weight:700;font-size:13px}.av-now-link:hover{color:var(--av-accent)}
.av-program-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:28px}
.av-program-card{padding:22px;border:1px solid var(--border,#34404d);border-radius:18px;background:rgba(255,255,255,.045)}
.av-program-card h3{margin:10px 0 6px;font-size:21px}.av-program-card p{opacity:.8;margin:0}.av-program-time{font-weight:700;color:var(--av-accent);font-size:13px}
.av-top10-item{transition:transform .2s ease,border-color .2s ease}.av-top10-item:hover{transform:translateY(-3px);border-color:var(--av-accent)}
body.av-light .av-program-card{background:#fff}body.av-light .av-program-card h3{color:#182e3b}
@media(max-width:700px){.av-now-card{padding:18px!important;gap:13px;flex-wrap:wrap}.av-now-art{width:70px;height:70px;flex-basis:70px;font-size:30px}.av-now-link{width:100%;padding-left:83px}.av-now-copy h2{font-size:20px}}

/* ACTIVAVIDA 2.2 — Rediseño de portada sin alterar el reproductor */
.av22-hero{position:relative;padding:110px 0 70px;background:radial-gradient(ellipse at 85% 25%,rgba(243,112,35,.19),transparent 46%),linear-gradient(140deg,#10151e,#0b0d12 72%);overflow:hidden}
.av22-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:52px 52px;pointer-events:none}
.av22-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);align-items:center;gap:clamp(35px,6vw,90px)}
.av22-pill,.av22-onair{display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(243,112,35,.35);background:rgba(243,112,35,.09);border-radius:30px;padding:10px 16px;color:#ffac78;font-size:11px;font-weight:800;letter-spacing:1.1px}
.av22-intro h1{font-size:clamp(42px,5.3vw,76px);line-height:1.06;letter-spacing:-2px;max-width:720px;margin:25px 0;color:#fff}
.av22-intro p{font-size:clamp(16px,1.8vw,20px);line-height:1.7;color:#aeb8c6;max-width:530px}
.av22-actions{display:flex;flex-wrap:wrap;gap:14px;margin:32px 0}.av22-actions .btn{font-size:12px}
.av22-hero-facts{display:flex;flex-wrap:wrap;gap:18px;color:#b0b8c5;font-size:12px;margin-top:25px}
.av22-featured{border:1px solid rgba(255,255,255,.12);border-radius:28px;padding:26px;text-align:center;background:linear-gradient(155deg,#29232a,#171b25 60%,#11141b);box-shadow:0 35px 100px rgba(0,0,0,.45);position:relative;overflow:hidden}
.av22-featured:before{content:"";position:absolute;width:340px;height:340px;left:50%;top:20%;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(243,112,35,.16),transparent 70%);pointer-events:none}
.av22-featured-top{display:flex;justify-content:space-between;align-items:center;color:#f37023}.av22-featured-top .av22-onair{font-size:10px;padding:7px 11px}
.av22-record{width:min(220px,65%);aspect-ratio:1;margin:24px auto 22px;border-radius:24px;background:linear-gradient(145deg,#f37023,#9b2e1c);display:grid;place-items:center;box-shadow:0 22px 55px rgba(243,112,35,.2);padding:20px}
.av22-record img{width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 6px 15px rgba(0,0,0,.25))}
.av22-featured-label{font-size:11px;letter-spacing:2px;color:#f8a36b;font-weight:800}.av22-featured h2{font-size:clamp(19px,2.2vw,27px);margin:10px 0 7px;overflow-wrap:anywhere}.av22-featured p{font-size:13px;color:#aeb8c6}
.av22-equalizer{height:37px;display:flex;justify-content:center;align-items:center;gap:5px;margin:18px 0}.av22-equalizer i{display:block;width:4px;height:14px;background:#f37023;border-radius:4px;animation:av22beat 1s ease-in-out infinite alternate}.av22-equalizer i:nth-child(3n){animation-delay:.35s;height:25px}.av22-equalizer i:nth-child(4n){animation-delay:.7s;height:10px}@keyframes av22beat{to{height:5px;opacity:.5}}
.av22-scroll-link{display:inline-block;font-size:12px;color:#ffac78;font-weight:700}.av22-scroll-link i{margin-left:8px}
.av22-highlights{padding:0 0 35px;background:#0b0d12}.av22-highlights-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.av22-highlights a{border:1px solid rgba(255,255,255,.08);background:#161a23;padding:24px;border-radius:18px;display:flex;align-items:center;gap:17px;transition:transform .2s,border-color .2s}.av22-highlights a:hover{transform:translateY(-4px);border-color:rgba(243,112,35,.5)}.av22-highlights a>i:first-child{font-size:25px;color:#f37023}.av22-highlights a>i:last-child{margin-left:auto;font-size:12px;color:#f37023}.av22-highlights span{display:flex;flex-direction:column;gap:5px}.av22-highlights strong{font-size:16px}.av22-highlights small{font-size:12px;color:#aeb8c6}
.av-top10-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px}.av-top10-item{background:#171b24!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:18px!important;padding:16px!important;min-height:92px}.av-top10-rank{font-size:24px!important;color:#f37023!important;font-weight:900}.av-top10-cover{border-radius:12px;object-fit:cover}.av-program-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.av-program-card{background:#171b24;border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:25px}
body.av-light .av22-hero{background:radial-gradient(ellipse at 85% 25%,rgba(243,112,35,.13),transparent 46%),#f6f7fb}body.av-light .av22-intro h1{color:#18202a}body.av-light .av22-intro p,body.av-light .av22-hero-facts{color:#526070}body.av-light .av22-highlights{background:#f6f7fb}body.av-light .av22-highlights a{background:#fff;border-color:#e3e6ee;color:#17212e}body.av-light .av22-highlights small{color:#657080}
@media(max-width:900px){.av22-hero{padding:65px 0 45px}.av22-hero-grid{grid-template-columns:1fr}.av22-featured{max-width:540px;width:100%;margin:auto}.av22-highlights-grid{grid-template-columns:1fr}.av22-intro h1{letter-spacing:-1px}}
@media(max-width:500px){.av22-hero{padding-top:42px}.av22-intro h1{font-size:43px}.av22-featured{padding:20px}.av22-record{width:175px}.av22-actions .btn{width:100%;text-align:center;justify-content:center}}
@media(prefers-reduced-motion:reduce){.av22-equalizer i{animation:none}}

/* Activavida 2.3: historial musical */
.av23-history-section{padding-top:45px;padding-bottom:55px}
.av23-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:24px}
.av23-heading .section-title{margin:12px 0 0;text-align:left}
.av23-auto,.av23-listeners{font-size:13px;color:#abb8c8}
.av23-history{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 2px 16px;scrollbar-width:thin}
.av23-track{flex:0 0 155px;min-width:0;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.11);border-radius:16px;padding:9px;scroll-snap-align:start}
.av23-track-cover{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:11px;background:#1c2531}
.av23-track-info{padding:9px 2px 4px;display:flex;flex-direction:column;gap:5px}
.av23-track-info strong{font-size:13px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.av23-track-info small{font-size:12px;color:#aeb9c7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.av22-record img{object-fit:cover;width:100%;height:100%}
.av-light .av23-track{background:#fff;border-color:#e2e5eb}
.av-light .av23-track-info small,.av-light .av23-auto,.av-light .av23-listeners{color:#596577}
@media(max-width:640px){.av23-heading{align-items:start;flex-direction:column}.av23-track{flex-basis:138px}}

/* Activavida 2.4: carátulas musicales cuadradas */
.av22-record{width:min(245px,75%);aspect-ratio:1;margin:15px auto 18px;overflow:hidden;border-radius:18px;background:#172634;padding:0!important;border:1px solid rgba(255,255,255,.1);box-shadow:none!important}
.av22-record img{display:block;width:100%;height:100%;object-fit:cover;border-radius:16px}
.player-cover{overflow:hidden;flex-shrink:0;border-radius:10px}
.player-cover img{display:block;width:100%;height:100%;object-fit:cover}
.av23-history{min-height:185px}
