/*
Theme Name: Radio Onix
Theme URI: https://radioonix.com
Description: Tema personalizado para Radio Onix - Pop & Tropical
Author: Radio Onix
Template: generatepress
Version: 1.0.0
Text Domain: radio-onix
*/

/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  --color-primary: #E91E8C;
  --color-secondary: #FF6BB5;
  --color-accent: #FF1493;
  --color-dark: #1A1A2E;
  --color-darker: #0F0F1A;
  --color-surface: #16213E;
  --color-surface2: #1E2A4A;
  --color-text: #FFFFFF;
  --color-text-muted: #A0AEC0;
  --color-text-dark: #2D3748;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.3);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-darker);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
}

/* ===========================
   LAYOUT
=========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* ===========================
   HEADER & NAV
=========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: linear-gradient(135deg, #FF6EB4 0%, #E91E8C 50%, #C4006A 100%);
  transition: var(--transition);
  box-shadow: 0 2px 24px rgba(196, 0, 106, 0.35);
}

.site-header.scrolled {
  background: linear-gradient(135deg, #E85DA3 0%, #C4006A 50%, #9A0052 100%);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(196, 0, 106, 0.5);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-logo-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.logo-text span {
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
  line-height: 58px !important;
  padding: 0 !important;
  margin: 0 !important;
  padding-top: 18px !important;
}

.nav-links a.nav-cta {
  line-height: 1 !important;
  padding: 10px 22px !important;
  padding-top: 10px !important;
  margin-top: 18px !important;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--color-primary);
  color: white !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: #e55a25 !important;
  transform: translateY(-2px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Botón ✕ dentro del drawer — oculto en desktop */
.nav-drawer-close {
  display: none;
}

@media (max-width: 768px) {
  .nav-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 20px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    color: transparent; /* ocultamos el char ✕ si queda */
    font-size: 0;        /* idem */
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
  }
  /* X dibujada con pseudo-elementos, perfectamente centrada */
  .nav-drawer-close::before,
  .nav-drawer-close::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background: rgba(255,255,255,0.75);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transition: background 0.2s ease;
  }
  .nav-drawer-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .nav-drawer-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .nav-drawer-close:hover {
    background: rgba(233,30,140,0.25);
    transform: rotate(90deg);
  }
  .nav-drawer-close:hover::before,
  .nav-drawer-close:hover::after {
    background: #fff;
  }
}

/* ===========================
   PLAYER BAR (sticky bottom)
=========================== */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(15, 15, 26, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 107, 53, 0.3);
  padding: 12px 0;
}

.player-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  min-width: 0;
}

.player-art {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  animation: pulse-art 2s ease-in-out infinite;
}

@keyframes pulse-art {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255,107,53,0); }
}

.player-art.paused {
  animation: none;
}

.player-track-marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  min-width: 0;
}

.player-track-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  display: inline-block;
}

/* Marquee activo: desliza de derecha a izquierda en loop */
.player-track-marquee.scrolling .player-track-name {
  animation: marquee-scroll 20s linear infinite;
  /* padding-right da el espacio visual entre las dos repeticiones */
  padding-right: 80px;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.player-track-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-shrink: 0;
}

.player-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  padding: 4px;
  display: flex;
  align-items: center;
}

.player-btn:hover { color: var(--color-text); }

.player-btn-main {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border: none;
  color: #7A9BBF;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-btn-main svg {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}

.player-btn-main:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255,107,53,0.5);
}

.player-live-badge {
  background: #e53e3e;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF1060;
  animation: blink 1s infinite;
  flex-shrink: 0;
}

/* Dentro del badge rojo del player, el punto debe ser blanco */
.player-live-badge .live-dot {
  background: #fff;
  width: 6px;
  height: 6px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.player-volume {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.player-volume input[type="range"] {
  -webkit-appearance: none;
  width: 90px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  outline: none;
}

.player-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
}

/* ===========================
   HERO
=========================== */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-darker);
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: var(--color-primary);
  top: -200px;
  right: -100px;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  bottom: -100px;
  left: -100px;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Badge "Transmitiendo en vivo":
   posición absoluta dentro del #inicio,
   10px desde el borde derecho del viewport, 10px debajo del header (58px) */
.hero-tag {
  position: fixed;
  top: calc(58px + 10px);   /* header height + 10px */
  right: 10px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 200, 50, 0.10);
  border: 1px solid rgba(255, 200, 50, 0.7);
  box-shadow: 0 0 12px rgba(255, 200, 50, 0.35), 0 0 28px rgba(255, 200, 50, 0.15);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary), #e55a25);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-text);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Columna derecha — disco centrado verticalmente */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Columna izquierda */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Disco mobile — no se usa más */
.hero-disc-mobile { display: none !important; }

.hero-disc {
  position: relative;
  width: 320px;
  height: 320px;
}

.disc-outer {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: conic-gradient(
    var(--color-primary) 0deg 45deg,
    var(--color-secondary) 45deg 90deg,
    var(--color-accent) 90deg 135deg,
    var(--color-dark) 135deg 180deg,
    var(--color-primary) 180deg 225deg,
    var(--color-secondary) 225deg 270deg,
    var(--color-accent) 270deg 315deg,
    var(--color-dark) 315deg 360deg
  );
  animation: spin-slow 8s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.disc-inner {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--color-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  border: 3px solid rgba(255,255,255,0.1);
}

.disc-inner span {
  color: var(--color-primary);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-waves {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  align-items: flex-end;
}

.wave-bar {
  width: 5px;
  background: var(--color-primary);
  border-radius: 3px;
  animation: wave-anim 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 50px; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 60px; animation-delay: 0.4s; }
.wave-bar:nth-child(6) { height: 45px; animation-delay: 0.5s; }
.wave-bar:nth-child(7) { height: 30px; animation-delay: 0.6s; }
.wave-bar:nth-child(8) { height: 15px; animation-delay: 0.7s; }

@keyframes wave-anim {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ===========================
   DJS
=========================== */
#djs {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

#djs::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.djs-header {
  text-align: center;
  margin-bottom: 60px;
}

.djs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.dj-card {
  background: var(--color-surface2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.dj-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255,107,53,0.3);
}

.dj-photo {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.dj-photo-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}

.dj-photo-gradient {
  position: absolute;
  inset: 0;
  opacity: 0.7;
}

.dj-emoji {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.dj-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--color-primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.dj-info {
  padding: 20px;
}

.dj-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dj-genre {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.dj-schedule {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dj-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.dj-social a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.dj-social a:hover {
  background: var(--color-primary);
}

/* ===========================
   PROGRAMACION
=========================== */
#programacion {
  background: var(--color-darker);
}

.prog-header {
  text-align: center;
  margin-bottom: 60px;
}

.prog-header .section-subtitle {
  margin: 0 auto;
  text-align: center;
}

.prog-days {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.day-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.day-btn.active,
.day-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.prog-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prog-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.prog-item:hover {
  border-left-color: var(--color-primary);
  background: var(--color-surface2);
}

.prog-item.current {
  border-left-color: var(--color-accent);
  background: rgba(6, 214, 160, 0.08);
}

.prog-time {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.prog-show {
  font-weight: 600;
  font-size: 0.95rem;
}

.prog-dj {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.prog-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.prog-status.live {
  background: rgba(6, 214, 160, 0.15);
  color: var(--color-accent);
}

.prog-status.next {
  background: rgba(255,107,53,0.15);
  color: var(--color-primary);
}

/* ===========================
   NOTICIAS (mejorado)
=========================== */
#noticias {
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

#noticias::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), transparent);
}

.noticias-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

/* Filtros de categoría */
.news-cats-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.news-filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.news-filter-btn.active,
.news-filter-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* Grid principal noticias */
.noticias-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.news-card {
  background: var(--color-surface2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
  display: block;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(233, 30, 140, 0.3);
}

.news-img-real {
  height: 240px;
  overflow: hidden;
}

.news-img-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-img-real img {
  transform: scale(1.04);
}

.news-card-featured .news-img {
  height: 240px;
}

.news-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.news-img-bg {
  position: absolute;
  inset: 0;
  opacity: 0.6;
}

.news-img-emoji {
  position: relative;
  z-index: 1;
}

.news-body {
  padding: 22px;
}

.news-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.news-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--color-text);
}

.news-card-featured .news-title {
  font-size: 1.3rem;
}

.news-excerpt {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Noticias secundarias */
.news-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-small {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--color-surface2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
  text-decoration: none;
}

.news-small:hover {
  transform: translateX(4px);
  border-color: rgba(233,30,140,0.25);
}

.news-small-img {
  width: 90px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  position: relative;
  overflow: hidden;
}

.news-small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-small-bg {
  position: absolute;
  inset: 0;
}

.news-small-emoji {
  position: relative;
  z-index: 1;
}

.news-small-body {
  padding: 10px 12px 10px 0;
  flex: 1;
}

.news-small-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.news-small-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 5px;
  color: var(--color-text);
}

.news-small-date {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* Grilla extra de noticias */
.news-grid-extra {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.news-card-mini {
  background: var(--color-surface2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
  display: block;
  text-decoration: none;
}

.news-card-mini:hover {
  transform: translateY(-5px);
  border-color: rgba(233,30,140,0.25);
  box-shadow: var(--shadow-card);
}

.news-mini-img {
  height: 160px;
  overflow: hidden;
}

.news-mini-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card-mini:hover .news-mini-img img {
  transform: scale(1.05);
}

.news-mini-placeholder {
  background: linear-gradient(135deg, #E91E8C, #FF6BB5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.news-mini-body {
  padding: 16px;
}

.news-mini-cat {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.news-mini-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-mini-date {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

/* ===========================
   CONTACTO
=========================== */
#contacto {
  background: var(--color-darker);
  position: relative;
  overflow: hidden;
}

.contacto-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  background: var(--color-primary);
  bottom: -200px;
  right: -100px;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contacto-info h2 {
  margin-bottom: 1rem;
}

.contacto-info p {
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contacto-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacto-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,107,53,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(255,107,53,0.25);
}

.method-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.method-value {
  font-weight: 600;
  margin-top: 2px;
}

/* Contact Form */
.contacto-form-wrap {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--color-surface2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--color-text);
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23A0AEC0'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-group select option { background: var(--color-surface); }

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--color-primary), #e55a25);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.4);
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--color-darker);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 90px;
}

.footer-inner {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  text-align: center;
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.footer-logo-img {
  max-width: 180px;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0;
  line-height: 1.7;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand .footer-socials {
  justify-content: center;
  max-width: 100%;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}

.social-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.footer-col ul {
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  padding: 0;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--color-text);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-bottom a {
  color: var(--color-primary);
}

/* GIFs animados en banners: no cortar la animación */
.pub-banner-prog img[src$=".gif"],
.pub-banner-v img[src$=".gif"],
.pub-banner img[src$=".gif"] {
  object-fit: contain;
  background: transparent;
}

/* ===========================
   PROGRAMACIÓN — LAYOUT CON BANNERS LATERALES
=========================== */
.prog-layout {
  display: block;
}

.prog-layout.prog-layout-with-banners {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  gap: 24px;
  align-items: stretch; /* se estiran a toda la altura */
}

/* Si solo hay banner izquierdo */
.prog-layout.prog-layout-with-banners:not(:has(.prog-banner-right)) {
  grid-template-columns: 160px 1fr;
}

/* Si solo hay banner derecho */
.prog-layout.prog-layout-with-banners:not(:has(.prog-banner-left)) {
  grid-template-columns: 1fr 160px;
}

.prog-banner-col {
  position: sticky;
  top: 90px;
  align-self: start;
  /* La columna se queda fija mientras scrolleás la programación */
  height: fit-content;
}

/* El banner llena todo el ancho disponible y se estira verticalmente */
.pub-banner-prog {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  width: 100%;
  /* La imagen se estira para cubrir la altura de la programación */
  min-height: 400px;
}

.pub-banner-prog img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
  object-fit: cover; /* rellena todo el espacio sin deformar */
}

.pub-banner-prog:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(233,30,140,0.3);
}

@media (max-width: 1100px) {
  .prog-layout.prog-layout-with-banners {
    grid-template-columns: 130px 1fr 130px;
    gap: 16px;
  }
  .pub-banner-prog,
  .pub-banner-prog img { min-height: 320px; }
}

/* Tablet/Mobile — banners arriba y abajo de la programación */
@media (max-width: 900px) {
  .prog-layout.prog-layout-with-banners {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* En mobile: izquierdo arriba, programación en el medio, derecho abajo */
  .prog-banner-left  { order: 1; }
  .prog-main         { order: 2; }
  .prog-banner-right { order: 3; }

  .prog-banner-col {
    position: static;
    display: flex;
    justify-content: center;
  }

  .pub-banner-prog {
    max-width: 100%;
    min-height: 0;
    margin: 0 auto;
  }

  .pub-banner-prog img {
    min-height: 0;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    width: 100%;
  }

  /* Mostrar siempre en mobile */
  .prog-banner-left,
  .prog-banner-right {
    display: flex;
  }
}

/* ===========================
   RESPONSIVE — MEJORAS ULTRA MOBILE
=========================== */

/* Tablet */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .hero-grid { gap: 40px; }
  .hero-desc { max-width: 100%; }
}

/* Mobile grande */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .container { padding: 0 16px; }

  /* NAV */
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* Overlay oscuro detrás del drawer */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 20, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .nav-overlay.open {
    display: block;
    opacity: 1;
  }

  /* Drawer lateral */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 300px);
    z-index: 999;
    display: flex !important;
    flex-direction: column;
    padding: 80px 28px 40px;
    gap: 4px;

    /* Glassmorphism muy sutil */
    background: rgba(22, 18, 42, 0.55);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px 0 0 20px;
    box-shadow:
      -8px 0 40px rgba(0, 0, 0, 0.35),
      inset 1px 0 0 rgba(255, 255, 255, 0.05);

    /* Animación: entra desde la derecha */
    transform: translateX(110%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateX(0);
    pointer-events: all;
  }

  /* Links dentro del drawer */
  .nav-links a {
    line-height: 1 !important;
    padding: 13px 16px !important;
    padding-top: 13px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.82) !important;
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease !important;
    border-bottom: none !important;
    position: relative;
  }

  .nav-links a::after { display: none !important; }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff !important;
    padding-left: 22px !important;
  }

  /* Separador sutil entre links */
  .nav-links li + li {
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  /* CTA dentro del drawer */
  .nav-links .nav-cta {
    margin-top: 20px !important;
    text-align: center;
    background: linear-gradient(135deg, rgba(233,30,140,0.85), rgba(196,0,106,0.85)) !important;
    color: #fff !important;
    padding: 13px 22px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(233,30,140,0.3);
    border-top: none !important;
  }
  .nav-links li:has(.nav-cta) { border-top: none !important; }
  .nav-links .nav-cta:hover {
    background: linear-gradient(135deg, rgba(233,30,140,1), rgba(196,0,106,1)) !important;
    padding-left: 22px !important;
    box-shadow: 0 6px 24px rgba(233,30,140,0.5);
  }

  /* Burger → X animada */
  .nav-burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* HERO mobile — una sola columna, sin disco, título grande */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
  }
  /* Ocultar disco completamente en mobile */
  .hero-visual { display: none !important; }

  .hero-content {
    align-items: flex-start;
    text-align: left;
    padding-top: 0;
  }
  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4rem);
    margin-bottom: 1rem;
    line-height: 1.05;
  }
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 1.4rem;
    line-height: 1.6;
    max-width: 100%;
    text-align: left;
  }
  .hero-actions {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    padding: 12px 22px;
    font-size: 0.88rem;
  }
  .hero-stats {
    gap: 24px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    justify-content: center;
    width: 100%;
  }
  .hero-stat { align-items: center; }
  .hero-stat-number { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.75rem; }

  /* Badge — ajustar top por si el header mobile es más chico */
  .hero-tag { font-size: 0.7rem; padding: 6px 12px; }

  /* DJS */
  .djs-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .dj-photo-bg { height: 140px; }

  /* PROGRAMACIÓN */
  .prog-days { gap: 6px; flex-wrap: wrap; }
  .day-btn { padding: 7px 12px; font-size: 0.78rem; }
  .prog-item { grid-template-columns: 70px 1fr; gap: 10px; padding: 12px; }
  .prog-status { display: none; }

  /* CONTACTO */
  .contacto-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contacto-methods { gap: 14px; }

  /* FOOTER */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 0.75rem; }
  .footer-brand .footer-socials { max-width: 100%; }

  /* PLAYER */
  .player-inner { gap: 10px; }
  .player-info { min-width: 0; overflow: hidden; }
  .player-track-name { font-size: 0.8rem; }
  .player-volume { display: none; }
  /* En mobile, col derecha (volumen) oculta → dar espacio a info */
  .player-inner { grid-template-columns: 1fr auto; }
  .player-volume { display: none !important; }

  /* NOTICIAS */
  .ro-noticias-layout.con-sidebar { grid-template-columns: 1fr; }
  .ro-pub-sidebar { flex-direction: row; flex-wrap: wrap; justify-content: center; position: static; gap: 16px; }
  .pub-banner-v { max-width: 280px; min-width: 140px; flex: 1; }
  .ro-grid { grid-template-columns: repeat(2, 1fr); }
  .ro-header { padding: 20px 16px 0; }
  .ro-tabs { padding: 0 16px; }
  .ro-slider-wrap { height: 240px; }

  /* PUBLICIDADES HORIZONTALES */
  .pub-grid { flex-direction: column; align-items: stretch; gap: 16px; }
  .pub-grid .pub-banner { max-width: 100%; }
}

/* Mobile chico */
@media (max-width: 480px) {
  section { padding: 48px 0; }
  .container { padding: 0 14px; }

  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* DJS en una columna */
  .djs-grid { grid-template-columns: 1fr; gap: 14px; }
  .dj-card { display: flex; flex-direction: row; }
  .dj-photo { flex-shrink: 0; }
  .dj-photo-bg { width: 100px; height: 100px; }

  /* HERO en mobile chico */
  .hero-title { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .hero-desc { font-size: 0.92rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { padding: 11px 18px; font-size: 0.82rem; }

  /* PROG */
  .prog-days {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .prog-days .day-btn:last-child {
    grid-column: span 1;
  }
  .day-btn { padding: 7px 4px; font-size: 0.72rem; text-align: center; }

  /* NOTICIAS */
  .ro-grid { grid-template-columns: 1fr; }
  .ro-slider-wrap { height: 200px; }
  .ro-slide-title { font-size: 14px; }

  /* PLAYER en mobile */
  .player-bar { padding: 10px 0; }
  .player-art { width: 38px; height: 38px; font-size: 1rem; }
  .player-btn-main { width: 44px; height: 44px; }
  .player-btn-main svg { width: 22px; height: 22px; }

  /* FOOTER */
  .footer-col { min-width: unset; }
}

/* Mobile muy chico */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  .hero-title { font-size: 2.2rem; }
  .nav-inner { height: 52px; }
  .prog-days { grid-template-columns: repeat(3, 1fr); }
}

/* ===========================
   ANIMATIONS
=========================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ===========================
   SCROLLBAR
=========================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-darker); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 3px; }

/* ===========================
   NOTICIAS — NUEVO SLIDER
=========================== */
#noticias { padding: 80px 0; }

.ro-wrap {
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
}

.ro-header { padding: 32px 32px 0; }

.ro-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-primary, #E91E8C);
  margin-bottom: 8px;
}

.ro-title {
  font-size: 22px;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ro-ver-todas {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  margin-left: auto;
  transition: color .2s;
}
.ro-ver-todas:hover { color: var(--color-primary, #E91E8C); }

/* Tabs */
.ro-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 32px;
  margin-bottom: 0;
}

.ro-tab {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  transition: all .25s;
  font-family: inherit;
}

.ro-tab.active {
  background: linear-gradient(135deg, #FF6EB4, #C4006A);
  border-color: transparent;
  color: #fff;
}

.ro-tab:hover:not(.active) {
  border-color: rgba(233,30,140,.4);
  color: #fff;
}

/* Slider */
.ro-slider-wrap {
  position: relative;
  height: 340px;
  overflow: hidden;
  margin-top: 20px;
}

.ro-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease, transform .5s ease;
  transform: scale(1.03);
}

.ro-slide.active { opacity: 1; transform: scale(1); }

.ro-slide-bg {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ro-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}

.ro-slide-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 32px;
}

.ro-slide-cat {
  display: inline-block;
  background: linear-gradient(135deg, #FF6EB4, #C4006A);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ro-slide-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  cursor: pointer;
}

.ro-slide-title:hover { color: #FF6EB4; }

.ro-slide-date { font-size: 11px; color: rgba(255,255,255,.6); }

/* Dots */
.ro-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
  background: #16213E;
}

.ro-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: all .3s;
}

.ro-dot.active {
  width: 20px;
  border-radius: 3px;
  background: linear-gradient(90deg, #FF6EB4, #C4006A);
}

/* Flechas */
.ro-arrows {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 12px;
  pointer-events: none;
  z-index: 10;
}

.ro-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: all .2s;
}

.ro-arrow:hover {
  background: linear-gradient(135deg, #FF6EB4, #C4006A);
  border-color: transparent;
}

/* Grid de tarjetas */
.ro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: transparent;
}

.ro-card {
  background: #16213E;
  padding: 16px;
  cursor: pointer;
  transition: all .2s;
  border-bottom: 2px solid transparent;
}

.ro-card:hover {
  background: #1E2A4A;
  border-bottom-color: var(--color-primary, #E91E8C);
}

.ro-card-img {
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.ro-card-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary, #E91E8C);
  margin-bottom: 4px;
}

.ro-card-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ro-card-date { font-size: 10px; color: rgba(255,255,255,.45); }

/* Modal */
.ro-modal-wrap {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ro-modal-wrap.open { display: flex; }

.ro-modal {
  background: #16213E;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(233,30,140,.3);
}

.ro-modal-img {
  height: 220px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.ro-modal-img-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ro-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ro-modal-body { padding: 24px; overflow-y: auto; flex: 1; max-height: calc(85vh - 220px - 70px); scroll-behavior: smooth; }
.ro-modal-cat { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #FF6EB4; margin-bottom: 8px; }
.ro-modal-title { font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; color: #fff; }
.ro-modal-date { font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.ro-modal-text { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.75); }
.ro-modal-text p { margin-bottom: 12px; }

/* Contenido completo scrapeado de ANSL */
.ro-modal-full-content { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.82); }
.ro-modal-full-content p { margin-bottom: 14px; }
.ro-modal-full-content h2,
.ro-modal-full-content h3,
.ro-modal-full-content h4 { font-family: 'Poppins', sans-serif; color: #fff; margin: 20px 0 8px; font-size: 15px; }
.ro-modal-full-content ul,
.ro-modal-full-content ol { margin: 0 0 14px 20px; }
.ro-modal-full-content li { margin-bottom: 6px; }
.ro-modal-full-content a { color: #FF6EB4; text-decoration: underline; }
.ro-modal-full-content img { max-width: 100%; border-radius: 8px; margin: 12px 0; display: block; }
.ro-modal-full-content blockquote { border-left: 3px solid #E91E8C; padding-left: 14px; margin: 14px 0; color: rgba(255,255,255,.6); font-style: italic; }
.ro-modal-full-content strong { color: #fff; }

/* Spinner de carga */
.ro-modal-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 0;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}
.ro-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255,255,255,.1);
  border-top-color: #E91E8C;
  border-radius: 50%;
  animation: ro-spin 0.7s linear infinite;
}
@keyframes ro-spin {
  to { transform: rotate(360deg); }
}

.ro-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}

.ro-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FF6EB4, #C4006A);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
  transition: opacity .2s;
}

.ro-modal-btn:hover { opacity: .85; color: #fff; }

/* Responsive noticias — reglas específicas del slider */
@media (max-width: 768px) {
  .ro-slide-info { padding: 16px; }
  .ro-slide-title { font-size: 15px; }
}

/* ===========================
   REDES SOCIALES — BARRA LATERAL FLOTANTE
=========================== */
.social-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 0 12px 12px 0;
  overflow: hidden;
  box-shadow: 2px 0 20px rgba(0,0,0,0.3);
}

.social-sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  transition: width 0.25s ease, background 0.2s;
  text-decoration: none;
  position: relative;
}

.social-sidebar-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Colores de marca de cada red */
.social-sidebar-btn:nth-child(1) { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); } /* Instagram */
.social-sidebar-btn:nth-child(2) { background: #1877F2; } /* Facebook */
.social-sidebar-btn:nth-child(3) { background: #000; }    /* X */
.social-sidebar-btn:nth-child(4) { background: #FF0000; } /* YouTube */
.social-sidebar-btn:nth-child(5) { background: #000; }    /* TikTok */

.social-sidebar-btn:hover {
  width: 54px;
  filter: brightness(1.15);
}

@media (max-width: 768px) {
  .social-sidebar { display: none; }
}

/* ===========================
   FOOTER — REDES CON ÍCONOS SVG
=========================== */
.footer-socials {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  max-width: 260px;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  stroke: #fff;
}

/* Hover con color de marca — íconos siempre blancos */
.footer-social-btn:nth-child(1):hover { background: linear-gradient(135deg,#f09433,#dc2743,#bc1888); border-color:transparent; }
.footer-social-btn:nth-child(2):hover { background: #1877F2; border-color:transparent; }
.footer-social-btn:nth-child(3):hover { background: #333; border-color:transparent; }
.footer-social-btn:nth-child(4):hover { background: #FF0000; border-color:transparent; }
.footer-social-btn:nth-child(5):hover { background: #000; border-color:transparent; }

.footer-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  color: #fff;
}

.footer-social-btn:hover svg {
  fill: #fff;
  stroke: #fff;
}

/* ===========================
   PUBLICIDADES
=========================== */
.pub-section {
  padding: 8px 0;
  background: transparent;
}

.pub-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Anchos automáticos según cantidad de banners */
.pub-grid-1 .pub-banner { max-width: 728px; width: 100%; }
.pub-grid-2 .pub-banner { max-width: 468px; flex: 1; }
.pub-grid-3 .pub-banner { max-width: 320px; flex: 1; }
.pub-grid-4 .pub-banner { max-width: 300px; flex: 1; }

.pub-banner {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  min-width: 0;
}

.pub-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.pub-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(233,30,140,0.3);
}

@media (max-width: 768px) {
  .pub-grid { flex-direction: column; align-items: stretch; }
  .pub-grid .pub-banner { max-width: 100%; }
}

/* ===========================
   POPUP DE BANNERS (lightbox)
=========================== */
.pub-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pub-popup-overlay.open {
  display: flex;
}

.pub-popup-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  cursor: pointer;
}

.pub-popup-inner img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}

.pub-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background 0.2s;
}

.pub-popup-close:hover {
  background: var(--color-primary);
}

/* ===========================
   NOTICIAS — LAYOUT CON SIDEBAR
=========================== */
.ro-noticias-layout {
  display: block;
}

.ro-noticias-layout.con-sidebar {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: start;
}

/* Sidebar de banners verticales */
.ro-pub-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 90px;
  margin-top: 230px; /* baja el sidebar a altura de la imagen de noticias */
}

.pub-banner-v {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  max-width: 240px;
  margin: 0 auto;
}

.pub-banner-v img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.pub-banner-v:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(233,30,140,0.3);
}

@media (max-width: 900px) {
  .ro-noticias-layout.con-sidebar {
    grid-template-columns: 1fr;
  }
  .ro-pub-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    position: static;
  }
  .pub-banner-v {
    max-width: 300px;
    flex: 1;
    min-width: 200px;
  }
}