/* ==========================================================================
   MAIN BUNDLE - SIPSE PLAY (MINIFIED & COMBINED)
   ========================================================================== */

:root {
  --bg: #0d0d10;
  --bg-dark: #000000;
  --surface: #15151b;
  --surface-2: #1c1c23;
  --border: #292934;
  --ink: #f2f3f7;
  --muted: #aeb3bd;
  --panel: #f2d34c;
  --panel-dark: #d4b83a;
  --panel-ink: #151515;
  --header-height: 70px;
  --content-max: 1200px;
  --radius: 12px;
  --shadow: 0 12px 28px rgba(0, 0, 0, .34);
  --transition: all 0.3s ease;
  --bg-streaming: #000000;
  --card-streaming: #121212;
  --card-hover: #1f1f1f;
  --accent-color: #f2d34c;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --border-radius: 12px;
  --purple-gradient: linear-gradient(90deg, #a855f7, #7c3aed);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.5);
  --transition-speed: 0.3s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { min-height: 100%; background: var(--bg); color: var(--ink); scrollbar-width: thin; scrollbar-color: var(--panel) #32323a; scroll-behavior: smooth; }
body { min-height: 100%; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: 'Inter', system-ui, -apple-system, sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button, input, select, textarea { font: inherit; color: inherit; background: transparent; border: none; outline: none; }
ul, ol { list-style: none; }

/* HEADER */
body > header { position: sticky; top: 0; z-index: 1000; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: var(--bg-dark); box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.logo { height: 45px; transition: var(--transition); }
.logo:hover { transform: scale(1.05); }
.header-toggle { display: none; width: 44px; height: 44px; border-radius: 8px; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; font-size: 1.5rem; }
.main-nav ul { display: flex; align-items: center; gap: 10px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 12px; border-radius: 8px; color: #fff; font-weight: 700; font-size: 0.95rem; }
.main-nav a:hover, .main-nav a.active { color: var(--panel); background: rgba(242, 211, 76, 0.1); }

/* LAYOUT */
.main-layout { max-width: 1600px; margin: 0 auto; padding: 30px 2%; }
.content-grid { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }

/* HERO / CARRUSEL */
.hero-block { width: 100%; margin-bottom: 30px; }
.carrusel-wrapper-box { width: 100%; aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: var(--border-radius); background: #000; box-shadow: var(--shadow-soft); }
.carrusel-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; background: #000; transition: opacity 0.8s ease-in-out; opacity: 0; z-index: 1; }
.carrusel-img.activa { opacity: 1; z-index: 2; }
.carrusel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.4); color: #fff; border: none; width: 44px; height: 44px; cursor: pointer; z-index: 10; font-size: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition-speed); backdrop-filter: blur(4px); }
.carrusel-btn:hover { background: var(--accent-color); color: #000; }
.carrusel-btn.anterior { left: 20px; } .carrusel-btn.siguiente { right: 20px; }

/* ON DEMAND SPECIFIC HERO */
.od-hero { aspect-ratio: 21 / 7 !important; max-height: 480px; }
.od-hero-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 50px; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%); z-index: 5; text-align: left; }
.od-hero-content h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: 10px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.od-hero-content p { max-width: 550px; font-size: 1rem; color: #ddd; margin-bottom: 20px; line-height: 1.4; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

/* MULTIMEDIA */
.multimedia-container { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.multimedia-card { background: var(--card-streaming); border-radius: var(--border-radius); padding: 24px; box-shadow: var(--shadow-soft); border: 1px solid #222; display: flex; flex-direction: column; }
.radio-card-box, .tv-card-box { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 0%, rgba(242,211,76,.12), transparent 34%), linear-gradient(145deg,#151519 0%,#0b0b0e 100%); border-color: rgba(242,211,76,.24); }
.radio-card-box::before, .tv-card-box::before { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(115deg,transparent 25%,rgba(255,255,255,.025) 50%,transparent 75%); }
.tv-card-box > * { position:relative; z-index:1; }
.section-title-modern { font-size: 1.25rem; font-weight: 900; margin-bottom: 20px; letter-spacing: 0.5px; text-transform: uppercase; }
.radio-section-heading { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.radio-section-heading .section-title-modern { margin:2px 0 0; font-size:1.38rem; letter-spacing:.02em; }
.radio-kicker { color:var(--accent-color); font-size:.64rem; font-weight:900; letter-spacing:.2em; }
.radio-live-badge { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border:1px solid rgba(242,211,76,.28); border-radius:999px; background:rgba(242,211,76,.08); color:var(--accent-color); font-size:.65rem; font-weight:900; letter-spacing:.1em; }
.radio-live-badge i { width:7px; height:7px; border-radius:50%; background:var(--accent-color); box-shadow:0 0 0 4px rgba(242,211,76,.12); animation:radio-live-pulse 1.6s infinite; }
.stations-logos-row { position:relative; z-index:1; display:flex; gap:12px; overflow-x:auto; padding:18px 12px 20px; margin:-12px -10px 8px; flex-wrap:nowrap; scrollbar-width:thin; scrollbar-color:rgba(242,211,76,.55) transparent; scroll-padding-inline:12px; }
.radio-btn.circular { flex:0 0 64px; width:64px; height:58px; display:grid; place-items:center; overflow:hidden; border-radius:15px; background:#050506; padding:0; border:1px solid rgba(255,255,255,.12); cursor:pointer; opacity:.78; filter:saturate(.82); transition:transform .22s ease,border-color .22s ease,opacity .22s ease,filter .22s ease,box-shadow .22s ease,background .22s ease; }
.radio-btn.circular picture { display:grid; place-items:center; width:100%; height:100%; }
.radio-btn.circular img { display:block; width:100%; height:100%; object-fit:contain; transform:scale(1.48); transition:transform .28s cubic-bezier(.2,.8,.2,1),filter .28s ease; }
.radio-btn.circular:hover { z-index:3; opacity:1; filter:saturate(1); transform:translateY(-7px) scale(1.17); border-color:var(--accent-color); background:#000; box-shadow:0 15px 32px rgba(0,0,0,.65),0 0 0 4px rgba(242,211,76,.13),0 0 24px rgba(242,211,76,.28); }
.radio-btn.circular:hover img { transform:scale(1.92); filter:brightness(1.2) contrast(1.05); }
.radio-btn.circular.activa { border-color:var(--accent-color); opacity:1; filter:saturate(1); transform:translateY(-3px); background:#000; box-shadow:0 7px 20px rgba(242,211,76,.22); }
.radio-btn.circular.activa img { transform:scale(1.58); }
.compact-radio-player { position:relative; isolation:isolate; display:flex; flex-direction:column; gap:15px; overflow:hidden; min-height:214px; padding:18px; border:1px solid rgba(255,255,255,.08); border-radius:22px; background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025)); box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 16px 34px rgba(0,0,0,.24); }
.radio-player-glow { position:absolute; z-index:-1; top:-90px; left:-60px; width:220px; height:220px; border-radius:50%; background:rgba(242,211,76,.11); filter:blur(40px); transition:background .3s ease; }
.compact-radio-player.is-playing .radio-player-glow { background:rgba(242,211,76,.23); }
.player-main-row { display:grid; grid-template-columns:82px minmax(0,1fr) 58px; align-items:center; gap:15px; width:100%; }
.active-station-art { position:relative; display:grid; place-items:center; width:82px; height:82px; }
.station-orbit { position:absolute; inset:0; border:1px solid rgba(242,211,76,.32); border-radius:24px; transform:rotate(7deg); transition:transform .5s ease; }
.compact-radio-player.is-playing .station-orbit { animation:station-orbit 5s linear infinite; }
.station-logo-viewport { position:relative; z-index:1; width:70px; height:70px; display:grid; place-items:center; overflow:hidden; border:1px solid rgba(255,255,255,.11); border-radius:19px; background:#000; box-shadow:0 10px 24px rgba(0,0,0,.45),inset 0 0 20px rgba(242,211,76,.04); }
.mini-station-logo { display:block; width:100%; max-width:none; height:100%; padding:0; border-radius:0; background:#000; object-fit:contain; transform:scale(1.62); transition:transform .3s ease,filter .3s ease; }
.compact-radio-player.is-playing .mini-station-logo { transform:scale(1.72); filter:brightness(1.12) contrast(1.04); }
.mini-station-logo.is-guadalupana-logo { transform:scale(1.18); }
.compact-radio-player.is-playing .mini-station-logo.is-guadalupana-logo { transform:scale(1.24); }
.play-btn-main { width:58px; height:58px; border:1px solid rgba(255,255,255,.3); background:var(--accent-color); border-radius:19px; color:#000; display:flex; align-items:center; justify-content:center; font-size:1.25rem; flex-shrink:0; cursor:pointer; transition:transform .2s ease,box-shadow .2s ease,background .2s ease; position:relative; box-shadow:0 10px 25px rgba(242,211,76,.22); }
.play-btn-main:hover { transform:translateY(-2px) scale(1.03); background:#ffe568; box-shadow:0 14px 28px rgba(242,211,76,.3); }
.play-btn-main.paused .icon::before { content: "\f04c"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.play-btn-main .icon::before { content: "\f04b"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.player-info-station { min-width:0; }
.now-playing-label { display:block; margin-bottom:4px; color:var(--accent-color); font-size:.58rem; font-weight:900; letter-spacing:.14em; }
.player-info-station h3 { overflow:hidden; margin:0; color:#fff; font-size:1.08rem; line-height:1.18; text-overflow:ellipsis; white-space:nowrap; }
.player-info-station p { overflow:hidden; margin:5px 0 0; color:var(--text-secondary); font-size:.75rem; text-overflow:ellipsis; white-space:nowrap; }
.player-progress-area { display:flex; align-items:flex-end; gap:12px; min-height:30px; }
.radio-equalizer { flex:0 0 82px; height:28px; display:flex; align-items:flex-end; justify-content:center; gap:3px; }
.radio-equalizer i { width:3px; height:25%; border-radius:3px; background:linear-gradient(to top,var(--accent-color),#fff3a1); opacity:.65; }
.compact-radio-player.is-playing .radio-equalizer i { animation:radio-wave .8s ease-in-out infinite alternate; }
.radio-equalizer i:nth-child(2n) { height:65%; animation-delay:-.3s !important; }.radio-equalizer i:nth-child(3n) { height:95%; animation-delay:-.55s !important; }.radio-equalizer i:nth-child(4n) { height:45%; animation-delay:-.15s !important; }
.progress-bar-wrap { flex:1; height:4px; margin-bottom:3px; background:#303035; border-radius:10px; overflow:hidden; }
.progress-bar-wrap .fill { height:100%; width:0; background:linear-gradient(90deg,var(--accent-color),#fff2a0); box-shadow:0 0 10px rgba(242,211,76,.7); transition:width .1s; }
.player-controls-bottom { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.volume-box { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.9rem; }
.volume-box input { width: 80px; accent-color: var(--accent-color); cursor: pointer; }
.stream-quality { color:#777d87; font-size:.57rem; font-weight:850; letter-spacing:.08em; }
.stream-quality i { margin-right:5px; color:var(--accent-color); }
@keyframes radio-live-pulse { 50% { opacity:.45; box-shadow:0 0 0 7px rgba(242,211,76,0); } }
@keyframes station-orbit { to { transform:rotate(367deg); } }
@keyframes radio-wave { from { height:20%; opacity:.4; } to { height:100%; opacity:1; } }

/* VIDEO PUBLICITARIO VERTICAL DE INICIO */
.home-video-ad { position:fixed; top:178px; right:max(22px,calc((100vw - 1320px)/2 - 25px)); z-index:9000; width:min(290px,24vw); margin:0; animation:home-video-enter .45s cubic-bezier(.2,.8,.2,1) both; }
.home-video-ad.is-closed { display:none; }
.home-video-ad__frame { position:relative; width:100%; aspect-ratio:9/16; overflow:hidden; border:1px solid rgba(242,211,76,.55); border-radius:22px; background:#000; box-shadow:0 24px 65px rgba(0,0,0,.7),0 0 0 4px rgba(242,211,76,.07); }
.home-video-ad__frame::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(to bottom,rgba(0,0,0,.36),transparent 18%,transparent 72%,rgba(0,0,0,.68)); }
.home-video-ad video { width:100%; height:100%; display:block; object-fit:cover; background:#000; }
.home-video-ad__label { position:absolute; top:14px; left:14px; z-index:3; padding:6px 9px; border:1px solid rgba(255,255,255,.2); border-radius:999px; background:rgba(0,0,0,.58); color:#fff; font-size:.58rem; font-weight:900; letter-spacing:.12em; backdrop-filter:blur(8px); }
.home-video-ad__close { position:absolute; top:10px; right:10px; z-index:4; display:grid; place-items:center; width:38px; height:38px; padding:0; border:1px solid rgba(255,255,255,.22); border-radius:50%; background:rgba(0,0,0,.72); color:#fff; font-size:27px; line-height:1; cursor:pointer; box-shadow:0 6px 18px rgba(0,0,0,.35); transition:transform .2s ease,background .2s ease,color .2s ease; }
.home-video-ad__close:hover { transform:scale(1.08); background:var(--accent-color); color:#000; }
.home-video-ad__sound { position:absolute; right:14px; bottom:14px; left:14px; z-index:3; display:flex; align-items:center; justify-content:center; gap:8px; min-height:40px; padding:0 12px; border:1px solid rgba(255,255,255,.2); border-radius:12px; background:rgba(0,0,0,.65); color:#fff; font-size:.7rem; font-weight:850; cursor:pointer; backdrop-filter:blur(10px); }
.home-video-ad__sound:hover { border-color:var(--accent-color); color:var(--accent-color); }
@keyframes home-video-enter { from { opacity:0; transform:translateX(35px) scale(.94); } to { opacity:1; transform:none; } }

/* TV */
.tv-screen { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--border-radius); overflow: hidden; margin-bottom: 20px; position: relative; }
#tv-player { width: 100%; height: 100%; object-fit: cover; }
.tv-mobile-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; min-width: 132px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--panel); color: #111; font-weight: 900; cursor: pointer; z-index: 2; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.tv-mobile-play[hidden] { display: none; }
@media (min-width: 769px) { .tv-mobile-play { display: none; } }
.tv-info-bar { display: flex; justify-content: space-between; align-items: center; }
.tv-info-bar h3 { font-size: 1.2rem; margin: 0; color: #fff; }
.btn-switch { background: var(--accent-color); color: #000; padding: 12px 28px; border-radius: 30px; font-weight: 800; font-size: 0.9rem; text-transform: uppercase; cursor: pointer; transition: transform 0.2s; }
.btn-switch:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* ON DEMAND SLIDERS (Netflix Style) */
.on-demand-section { margin: 40px 0 60px; position: relative; }
.slider-container { position: relative; display: flex; align-items: center; padding: 0 10px; }
.slider { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 20px 5px; }
.slider::-webkit-scrollbar { display: none; }
.on-demand-section .item { flex: 0 0 220px; height: 320px; border-radius: 12px; overflow: hidden; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; background: #111; border: 1px solid #222; }
.on-demand-section .item:hover { transform: scale(1.05); border-color: var(--accent-color); box-shadow: 0 10px 30px rgba(0,0,0,0.8); z-index: 10; }
.on-demand-section .item img { width: 100%; height: 100%; object-fit: cover; }
.item-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px 15px; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); opacity: 0.9; }
.item-overlay p { font-size: 0.95rem; font-weight: 700; color: #fff; margin: 0; text-align: center; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(0,0,0,0.6); color: var(--accent-color); border: none; border-radius: 50%; font-size: 2rem; cursor: pointer; z-index: 15; opacity: 0; transition: opacity 0.3s, background 0.3s; display: flex; align-items: center; justify-content: center; }
.slider-container:hover .arrow { opacity: 1; }
.arrow:hover { background: var(--accent-color); color: #000; }
.arrow.left { left: -20px; } .arrow.right { right: -20px; }

/* SIDEBAR NEWS */
.sidebar-news-card { background: var(--card-streaming); border-radius: var(--border-radius); overflow: hidden; margin-bottom: 20px; border: 1px solid #222; cursor: pointer; transition: all 0.3s ease; display: flex; flex-direction: column; }
.sidebar-news-card:hover { border-color: var(--accent-color); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); }
.news-thumb { width: 100%; height: 160px; overflow: hidden; border-bottom: 1px solid #222; }
.sidebar-news-card:hover .news-thumb { border-bottom-color: var(--accent-color); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sidebar-news-card:hover img { transform: scale(1.05); }
.news-details { padding: 18px; }
.news-top { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.75rem; font-weight: 700; }
.cat-label { color: var(--accent-color); text-transform: uppercase; }
.date-label { color: var(--text-secondary); }
.news-details h3 { font-size: 1.05rem; line-height: 1.35; margin: 0; font-weight: 700; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.news-bot { margin-top: 12px; }
.lugar-tag { background: #222; padding: 4px 12px; border-radius: 4px; font-size: 0.7rem; color: #eee; }

/* PODCASTS */
.podcasts-section { width: 100%; margin-top: 40px; }
.podcasts__title.left-aligned { font-size: 2.2rem; font-weight: 900; text-align: left; margin-bottom: 30px; color: var(--accent-color); text-transform: uppercase; }
.podcasts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.podcard { position: relative; min-height: 180px; background: var(--card-streaming); border-radius: 16px; overflow: hidden; border: 1px solid #222; }
.podcard__frame { width: 100%; height: 232px; border: none; }
.podcard__skeleton { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #181818; padding: 16px; display: flex; flex-direction: column; gap: 12px; z-index: 2; transition: opacity 0.5s ease; }
.skel-header { display: flex; gap: 12px; align-items: center; }
.skel-img { width: 48px; height: 48px; background: #282828; border-radius: 4px; }
.skel-texts { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.skel-title { width: 60%; height: 12px; background: #282828; border-radius: 2px; }
.skel-body { flex: 1; background: #282828; border-radius: 4px; }
.pulse { animation: pulse 1.5s infinite ease-in-out; }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 0.3; } 100% { opacity: 0.6; } }

/* TV PAGE LAYOUT (Original SIPSE) */
.page-shell { width: min(1200px, 92vw); margin: 0 auto; }
.hero { margin: 24px 0 20px; padding: 24px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: radial-gradient(520px 220px at 88% 0%, rgba(124, 58, 237, .18), transparent 62%), linear-gradient(180deg, #111117, #15151b); box-shadow: var(--shadow); }
.hero h1 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.hero p { margin: 6px 0 0; color: var(--muted); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr); gap: 24px; margin-bottom: 42px; }
.player-col { display: flex; flex-direction: column; }
.player-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); align-self: stretch; }
.player-header, .player-footer { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.player-header { border-bottom: 1px solid var(--border); background: var(--surface-2); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff4444; box-shadow: 0 0 0 6px rgba(255, 68, 68, .16); }
.player-title { font-weight: 900; }
.player-tag { margin-left: auto; padding: 5px 10px; border-radius: 999px; background: linear-gradient(90deg, #7c3aed, #5b21b6); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.player-frame { aspect-ratio: 16 / 9; background: #07070a; }
.player-frame video { width: 100%; height: 100%; }
.player-footer { justify-content: space-between; border-top: 1px solid var(--border); }
.promo-app-box { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, #1a1a24, #0d0d12); box-shadow: var(--shadow); position: relative; height: 100%; }
.promo-content { padding: 40px 30px; display: flex; flex-direction: column; gap: 20px; z-index: 2; text-align: center; flex: 1; justify-content: center; }
.promo-badge { display: inline-block; align-self: center; padding: 4px 12px; background: rgba(242, 211, 76, 0.1); color: var(--panel); border: 1px solid rgba(242, 211, 76, 0.3); border-radius: 99px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.promo-visual { padding: 0 20px 30px; display: flex; justify-content: center; }
.promo-visual img { max-width: 100%; height: auto; border-radius: 12px; }

/* Ad carousel box adjusted to match promo height exactly */
.ad-carousel-tv-box {
  margin-top: 24px;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ad-carousel-tv-box .player-frame {
  flex: 1;
  aspect-ratio: auto !important;
  min-height: 200px;
}
/* FILTER NAVIGATION (Standardized & Centered) */
.filter-nav {
  background: var(--panel);
  padding: 0;
  margin-bottom: 30px;
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  border-radius: 8px;
}
.filter-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 50px;
  padding: 0 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0;
}
.filter-container::-webkit-scrollbar { display: none; }
.filter-item {
  color: var(--panel-ink);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-item:hover, .filter-item.active { background: rgba(0, 0, 0, 0.08); color: #000; }
.filter-dropdown { position: relative; }
.filter-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--panel);
  border-radius: 0 0 8px 8px;
  min-width: 220px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 1000;
}
.filter-dropdown:hover .filter-dropdown-content { display: block; }
.filter-dropdown-content a {
  display: block;
  color: var(--panel-ink);
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}
.filter-dropdown-content a:hover { background-color: rgba(255, 255, 255, 0.2); }

.filter-search { 
  display: flex; 
  background: #fff; 
  border-radius: 6px; 
  overflow: hidden; 
  height: 34px; 
  width: 220px; 
  margin: 8px 15px; /* Added margin for centering flow */
}
.filter-search input { border: none; padding: 0 12px; font-size: 0.85rem; color: #333; width: 100%; }

/* TAG BUTTONS */
.tag-btn {
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: capitalize;
  display: inline-block;
  text-decoration: none !important;
}
.tag-btn:nth-of-type(1) { background: var(--panel); color: #000; }
.tag-btn.small { background: #2a2a2a; color: #fff; }
.tag-btn:hover { filter: brightness(1.1); transform: translateY(-1px); opacity: 0.9; }

/* SECTIONS & CAROUSELS FIX */
.section-block { width: min(1200px, 92%); margin: 40px auto; min-width: 0; position: relative; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-title, .sec-more { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px; background: var(--panel) !important; color: var(--panel-ink) !important; font-weight: 900; text-transform: uppercase; border: none !important; }

.carousel-container {
  position: relative;
  width: 100%;
  padding: 0 60px; /* More padding to push buttons out */
  display: flex;
  align-items: center;
}
.carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 15px 0 35px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
}
.carousel::-webkit-scrollbar { display: none; }
.nav-btn {
  position: absolute;
  top: calc(50% - 15px);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--panel);
  color: var(--panel-ink);
  font-size: 26px;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .45);
  transition: all 0.2s ease;
}
.left-btn { left: 0; } 
.right-btn { right: 0; }

@media (max-width: 1350px) {
  .carousel-container { padding: 0 20px; }
  .left-btn { left: -10px; }
  .right-btn { right: -10px; }
  .nav-btn { width: 44px; height: 44px; background: rgba(242, 211, 76, 0.95); }
  .filter-container { flex-direction: row; padding: 10px; }
}



.news-card {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  transition: all .3s ease;
  background: #15151b;
  border: 1px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 12px;
}
.news-card:hover { border-color: var(--panel); transform: translateY(-4px); }
.news-img { width: 100%; height: 160px; margin-bottom: 12px; object-fit: cover; border-radius: 12px; }
.info-top { display: flex; align-items: center; justify-content: space-between; padding: 0 5px; margin-bottom: 10px; color: #e6a345; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.date-tag { padding: 4px 8px; border-radius: 999px; background: #24242a; color: #c9cbd2; font-size: 11px; }

.news-card h3 {
  padding: 0 5px 10px;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #fff;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card p {
  padding: 0 5px 15px;
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-actions {
  padding: 10px 5px 5px;
  display: flex;
  gap: 8px;
}

@media (max-width: 1100px) { .layout { grid-template-columns: 1fr; } .promo-app-box { min-height: 400px; } }
@media (max-width: 700px) { .player-footer, .section-head { flex-direction: column; align-items: flex-start; } .btn, .sec-more { width: 100%; } .nav-btn { display: inline-flex; width: 42px; height: 42px; font-size: 20px; } }

/* BUTTONS & ANIMATIONS RESTORATION */
.btn.ghost, .btn-switch { background: var(--panel) !important; color: var(--panel-ink) !important; border: none !important; font-weight: 800 !important; padding: 12px 28px !important; border-radius: 30px !important; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.btn.ghost:hover, .btn-switch:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(242, 211, 76, 0.4); }
.store-buttons { display: flex; justify-content: center; width: 100%; }
.store-btn { background: var(--panel) !important; color: var(--panel-ink) !important; border-radius: 15px !important; font-weight: 900 !important; font-size: 16px !important; padding: 16px 32px !important; width: auto; min-width: 260px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto; }
.store-btn:hover { filter: brightness(1.1); transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 20px rgba(242, 211, 76, 0.4); }

/* 3D Animation for Promo App */
.promo-app-box { perspective: 1000px; }
.promo-visual img { transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); transform-style: preserve-3d; }
.promo-app-box:hover .promo-visual img { transform: rotateY(-10deg) rotateX(5deg) scale(1.05); box-shadow: 20px 20px 50px rgba(0,0,0,0.5); }

/* EXTRAS & SOCIAL */
.social-share-strip { margin: 40px 0; display: flex; justify-content: center; }
.share-buttons, .share-container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1200px; width: min(1200px, 92%); padding: 0 14px; }
.share-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 72px; width: 100%; padding: 0 22px; font-size: 1.05rem; font-weight: 700; color: #fff !important; border-radius: 12px; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.4); text-shadow: 0 0 6px rgba(255, 255, 255, 0.35); white-space: nowrap; }
.share-button i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 1.5rem; width: auto; }
.share-button span { line-height: 1; }
.share-button.facebook { background-color: #1877f2; }
.share-button.whatsapp { background-color: #25d366; }
.share-button.telegram { background-color: #0088cc; }
.share-button.instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4); }

/* FOOTER */
.footer { position: relative; color: #ddd; background: var(--bg-dark); padding: 40px 0 24px; margin-top: 60px; border-top: 2px solid var(--panel); }
.footer-inner { width: min(1200px, 92%); margin: 0 auto; }
.footer-columns { display: flex; gap: 80px; align-items: flex-start; }
.footer-col h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1rem; }
.footer-col li { margin: 0.5rem 0; }
.footer-col a { color: #cfd2d6; font-size: 0.9rem; }
.footer-col a:hover { color: var(--panel); }
.footer-col.social { margin-left: auto; }
.social-list { display: flex; gap: 12px; justify-content: flex-end; }
.social-list a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .8); font-size: 1.1rem; color: #fff; transition: all 0.3s ease; }
.social-list a:hover { transform: translateY(-3px); border-color: var(--panel); color: var(--panel); }
.social-list svg { width: 20px; height: 20px; fill: currentColor; }
.footer-legal { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-legal .sep { margin: 0 10px; }

/* RESPONSIVE */
@media (max-width: 1100px) { .content-grid { grid-template-columns: 1fr; } .col-sidebar { margin-top: 50px; } .sidebar-news-card { flex-direction: row; align-items: center; } .news-thumb { width: 160px; height: 120px; border-bottom: none; border-right: 1px solid #222; } .podcasts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px) {
  .sidebar-news-card { flex-direction: column !important; align-items: stretch !important; }
  .sidebar-news-card .news-thumb { width: 100% !important; height: 200px !important; border-right: none !important; border-bottom: 1px solid #222 !important; }
  .od-hero { aspect-ratio: 16 / 10 !important; max-height: none !important; height: 420px !important; }
  .od-hero-content { padding: 20px !important; }
  .od-hero-content h1 { font-size: 1.6rem !important; line-height: 1.1 !important; margin-bottom: 8px !important; }
  .od-hero-content p { font-size: 0.85rem !important; -webkit-line-clamp: 2 !important; margin-bottom: 15px !important; }
  .btn-switch { padding: 10px 20px !important; font-size: 0.8rem !important; }
}
@media (max-width: 850px) { .multimedia-container { grid-template-columns: 1fr; } }

@media (max-width: 768px) { 
  .share-buttons, .share-container { grid-template-columns: repeat(2, minmax(0, 1fr)); } 
  .share-button { min-height: 68px; font-size: 1rem; } 
  .home-page .play-btn-main .icon::before { content: "\25b6"; font-family: system-ui, sans-serif; font-weight: 900; }
  .home-page .play-btn-main.paused .icon::before { content: "\275a\275a"; font-family: system-ui, sans-serif; letter-spacing: -3px; }
  .home-page .tv-mobile-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; min-width: 132px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--panel); color: #111; font-weight: 900; cursor: pointer; z-index: 2; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
  .home-page .tv-mobile-play[hidden] { display: none; }
  .home-page .botones-compartir,
  .home-page .publicidad-home,
  .home-page .podcasts-section { content-visibility: auto; contain-intrinsic-size: 1px 600px; }
  .home-video-ad { top:auto; right:12px; bottom:12px; z-index:10100; width:min(200px,48vw); }
  .home-video-ad__frame { border-radius:17px; }
  .home-video-ad__label { top:10px; left:10px; padding:5px 7px; font-size:.5rem; }
  .home-video-ad__close { top:7px; right:7px; width:34px; height:34px; font-size:24px; }
  .home-video-ad__sound { right:9px; bottom:9px; left:9px; min-height:36px; font-size:.61rem; }
}
@media (max-width: 520px) {
  .radio-card-box { padding:18px; }
  .radio-section-heading .section-title-modern { font-size:1.18rem; }
  .radio-live-badge { padding:6px 8px; font-size:.58rem; }
  .radio-btn.circular { flex-basis:58px; width:58px; height:54px; border-radius:14px; }
  .compact-radio-player { min-height:202px; padding:15px; border-radius:19px; }
  .player-main-row { grid-template-columns:68px minmax(0,1fr) 50px; gap:10px; }
  .active-station-art { width:68px; height:68px; }
  .station-logo-viewport { width:58px; height:58px; border-radius:16px; }
  .station-orbit { border-radius:20px; }
  .play-btn-main { width:50px; height:50px; border-radius:16px; }
  .player-info-station h3 { font-size:.93rem; }
  .player-info-station p { font-size:.68rem; }
  .now-playing-label { font-size:.5rem; letter-spacing:.1em; }
  .radio-equalizer { flex-basis:68px; }
  .stream-quality { font-size:.5rem; }
}
@media (max-width: 520px) { .share-buttons, .share-container { grid-template-columns: 1fr; } }

@media (max-width: 992px) { .header-toggle { display: flex !important; } .main-nav { position: fixed !important; top: 0 !important; right: -100% !important; width: 280px !important; height: 100vh !important; background: var(--surface) !important; padding: 80px 20px !important; transition: right 0.3s ease-in-out !important; box-shadow: -5px 0 15px rgba(0,0,0,0.5) !important; z-index: 10000 !important; visibility: visible !important; display: block !important; } .main-nav.is-open, .main-nav.active { right: 0 !important; } .main-nav ul { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 15px !important; } }

.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; } .nav-overlay.active, .nav-overlay.is-open { opacity: 1; visibility: visible; }

.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); } .nav-overlay.active, .nav-overlay.is-open { opacity: 1; visibility: visible; }

@media (max-width: 700px) {
  .home-page .news-card.sidebar-mode {
    padding: 12px !important;
  }

  .home-page .news-card.sidebar-mode .news-link {
    display: block !important;
    width: 100% !important;
  }

  .home-page .news-card.sidebar-mode .news-thumb {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 0 12px !important;
    border: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .home-page .news-card.sidebar-mode .news-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }

  .home-page .podcasts__grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .home-page .podcard,
  .home-page .podcard__frame {
    width: 100% !important;
  }
}

/* ==========================================================================
   ESTILOS COMPARTIR PAGINA (REPLICADOS DE NOTICIA)
   ========================================================================== */
.botones-compartir { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 54px 0; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, rgba(27, 27, 34, 0.96), rgba(18, 18, 23, 0.96)); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24); flex-wrap: wrap; }
.botones-compartir .section-subtitle { width: 100%; margin: 0 0 15px; color: var(--ink); font-size: clamp(1.25rem, 2.6vw, 1.45rem); font-weight: 900; line-height: 1.1; text-align: center; text-transform: uppercase; }
.btn-share { min-width: 0; min-height: 46px; padding: 0 20px; border: 1px solid rgba(242, 211, 76, 0.22); border-radius: 10px; background: rgba(255, 255, 255, 0.03); color: var(--panel); font-weight: 900; text-transform: uppercase; cursor: pointer; transition: all 0.25s ease; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.btn-share:hover { border-color: var(--panel); background: rgba(242, 211, 76, 0.1); transform: translateY(-2px); color: var(--panel); }
.btn-share.share-native { background: var(--panel); color: #15151b; border: none; min-width: 160px; }
.btn-share.share-native:hover { background: #ffe36a; transform: translateY(-2px); color: #15151b; }
.btn-share.share-icon { width: 46px; padding: 0; border-radius: 50%; font-size: 1.1rem; }
.share-feedback { width: 100%; margin-top: 12px; color: var(--panel); font-size: 0.85rem; font-weight: 700; text-align: center; text-transform: uppercase; letter-spacing: 1px; }
#home-share-block { position:relative; overflow:hidden; border-color:rgba(242,211,76,.24); background:radial-gradient(circle at 85% 0%,rgba(242,211,76,.12),transparent 34%),linear-gradient(145deg,#151519 0%,#0b0b0e 100%); box-shadow:var(--shadow-soft); }
#home-share-block::before { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(115deg,transparent 25%,rgba(255,255,255,.025) 50%,transparent 75%); }
#home-share-block > * { position:relative; z-index:1; }
@media (max-width: 768px) {
    .botones-compartir { padding: 22px 16px; }
    .btn-share.share-native { width: 100%; }
    .btn-share.share-icon { flex: 0 0 44px; }
}
