/* ==========================================================================
   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; }
.section-title-modern { font-size: 1.25rem; font-weight: 900; margin-bottom: 20px; letter-spacing: 0.5px; text-transform: uppercase; }
.stations-logos-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.radio-btn.circular { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%; background: #fff; padding: 4px; border: 2px solid transparent; cursor: pointer; transition: transform 0.2s; }
.radio-btn.circular.activa { border-color: var(--accent-color); transform: scale(1.05); }
.compact-radio-player { display: flex; flex-direction: column; gap: 15px; background: rgba(255, 255, 255, 0.05); padding: 20px; border-radius: 20px; }
.player-main-row { display: flex; align-items: center; gap: 15px; width: 100%; }
.play-btn-main { width: 55px; height: 55px; background: var(--accent-color); border-radius: 50%; color: #000; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; cursor: pointer; transition: transform 0.2s; position: relative; }
.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 { flex: 1; }
.player-info-station h3 { font-size: 1.1rem; margin: 0; color: #fff; }
.player-info-station p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }
.progress-bar-wrap { height: 6px; background: #333; border-radius: 10px; overflow: hidden; }
.progress-bar-wrap .fill { height: 100%; width: 0; background: var(--accent-color); transition: width 0.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; }
.mini-station-logo { width: 45px; height: 45px; border-radius: 8px; background: #fff; padding: 4px; object-fit: contain; }

/* TV */
.tv-screen { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--border-radius); overflow: hidden; margin-bottom: 20px; }
#tv-player { width: 100%; height: 100%; object-fit: cover; }
.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 */
.fecha-hora { position: fixed; top: 85px; right: 18px; z-index: 10; color: #eaeaea; font-size: 14px; padding: 8px 12px; border-radius: 12px; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); white-space: nowrap; pointer-events: none; }
@media (max-width: 768px) { .fecha-hora { display: none; } }
.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; } 
}
@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; }
@media (max-width: 768px) {
    .botones-compartir { padding: 22px 16px; }
    .btn-share.share-native { width: 100%; }
    .btn-share.share-icon { flex: 0 0 44px; }
}
