/* —— Títulos estilo referencia (gris / borde rojo / icono naranja / morado) —— */
.section-heading {
  display: flex;
  justify-content: stretch;
  align-items: flex-start;
  width: calc(100% + 2 * var(--container-padding, 1rem));
  max-width: none;
  margin-left: calc(-1 * var(--container-padding, 1rem));
  margin-right: calc(-1 * var(--container-padding, 1rem));
  margin-bottom: 2rem;
  padding-top: 0.5rem;
  padding-left: var(--container-padding, 1rem);
  padding-right: var(--container-padding, 1rem);
  box-sizing: border-box;
  background: transparent;
  position: relative;
}

.section-heading::after {
  display: none;
}

/* Contenedor principal gris + borde rojo + esquinas redondeadas */
.section-name.titulo-banner {
  --titulo-fondo: #e0e0e0;
  --titulo-borde: var(--brand-titulo-borde, #e53935);
  --titulo-icono: var(--brand-titulo-icono, #ff5722);
  --titulo-morado: var(--brand-titulo-morado, #6a1b9a);
  --titulo-ink: #ffffff;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  white-space: normal;
  font-weight: 700;
  gap: 1.1rem 1.35rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.15rem 1.35rem 1.2rem 1.2rem;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", Onest, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
  background: var(--titulo-fondo);
  border: 2px solid var(--titulo-borde);
  border-radius: 14px;
  box-shadow: none;
  transform: none;
}

.section-name.titulo-banner::before,
.section-name.titulo-banner::after {
  display: none;
}

/* Círculo naranja + borde negro + icono negro */
.section-name-icon {
  flex-shrink: 0;
  width: 4.85rem;
  height: 4.85rem;
  min-width: 4.85rem;
  min-height: 4.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--titulo-icono);
  border: 2px solid var(--titulo-ink);
  border-radius: 50%;
  box-sizing: border-box;
}

.section-name-icon .icon {
  width: 2.35rem;
  height: 2.35rem;
  color: var(--titulo-ink);
}

.section-name-icon-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.section-name-icon-fallback {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--titulo-ink);
  line-height: 1;
  font-family: "Plus Jakarta Sans", Onest, system-ui, sans-serif;
}

.section-name-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
}

/* Franja morada + texto blanco */
.section-name-kicker {
  display: block;
  width: 100%;
  padding: 0.42rem 1rem 0.5rem;
  text-align: center;
  font-size: clamp(1.12rem, 3.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  background: var(--titulo-morado);
  border-radius: 10px;
  box-sizing: border-box;
}

/* Título inferior + barras negras a los lados */
.section-name-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
}

.section-name-title-bar {
  flex: 1;
  min-width: 1.25rem;
  height: 6px;
  background: var(--titulo-ink);
  border-radius: 1px;
}

.section-name-title-text {
  flex: 0 1 auto;
  text-align: center;
  font-size: clamp(1.2rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--titulo-ink);
}

.dark .section-name.titulo-banner {
  --titulo-fondo: #2d2d32;
  --titulo-borde: var(--brand-titulo-borde, #ff5252);
  --titulo-icono: var(--brand-titulo-icono, #ff7043);
  --titulo-morado: var(--brand-titulo-morado, #9c4dff);
  --titulo-ink: #fafafa;
}

.dark .section-name-icon .icon,
.dark .section-name-icon-fallback {
  color: #ffffff;
}

.dark .section-name-icon {
  border-color: #ffffff;
}

.dark .section-name-kicker {
  color: #fff;
}

.dark .section-name-title-text {
  color: var(--titulo-ink);
}

.dark .section-name-title-bar {
  background: var(--titulo-ink);
}

@media (max-width: 520px) {
  .section-name.titulo-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .section-name-body {
    width: 100%;
  }

  .section-name-title-bar {
    min-width: 0.5rem;
  }
}

/* —— Nuestra programación: bloque con esquinas redondeadas —— */
#section-program .program-wrapper.schedule {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

#section-program .program-super {
  border-radius: inherit;
  overflow: hidden;
}

#section-program .program-header {
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

#section-program .programs-list {
  padding: 1rem 1rem 1.15rem;
  background-color: var(--program-header-bg);
}

#section-program .schedule-item {
  border-radius: 18px;
  overflow: hidden;
}

#section-program .schedule-item-picture {
  border-radius: inherit;
  overflow: hidden;
}

#section-program .schedule-item-picture img {
  border-radius: inherit;
}

#section-program .schedule-item-content {
  border-radius: 0 0 16px 16px;
}

#section-program .schedule-item::before,
#section-program .schedule-item::after {
  border-radius: inherit;
}

.dark #section-program .program-wrapper.schedule {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.dark #section-program .program-header {
  border-bottom-color: rgba(248, 250, 252, 0.1);
}

@media (max-width: 575.98px) {
  #section-program .programs-list {
    padding: 0.75rem 0.65rem 0.9rem;
  }

  #section-program .program-wrapper.schedule {
    border-radius: 16px;
  }

  #section-program .schedule-item {
    border-radius: 16px;
  }

  #section-program .schedule-item-content {
    border-radius: 0 0 14px 14px;
  }
}

/* —— Locutores: esquinas redondeadas —— */
#section-team .swiper.swiper-team {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

#section-team .team-item {
  border-radius: 16px;
}

#section-team .team-description {
  border-radius: 999px;
}

.dark #section-team .swiper.swiper-team {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

@media (max-width: 575.98px) {
  #section-team .swiper.swiper-team {
    border-radius: 16px;
  }

  #section-team .team-item {
    border-radius: 14px;
  }
}

.volume-dropdown {
    position: absolute;
    left: 50%;
    bottom: 100%;
    padding: 0.75rem;
    border-radius: 9999px;
    background-color: #fbfbfb;
    transform: translate(-50%, 0);
    box-shadow: var(--box-shadow-high);
    transition: opacity var(--player-duration), transform var(--player-duration);
}


.player-equalizer {
    border-radius: 0.5rem;
    overflow: hidden;
}
.modal-article-title{
  
    font-weight: 800;
 
}

.social-item {
    transition: color var(--player-duration);
    padding: 0.3rem;
    background-color: var(--player-social-bg, rgba(255, 255, 255, 0.2));
    border-radius: 999px;
    color: var(--player-social-color, #fff);
}


.social-item {
    transition: transform 0.3s ease, color 0.3s ease;
    background-color: rgb(255 255 255);
    color: black;
}

.social-item:hover {
    color: var(--player-primary);
    transform: scale(1.1);
    /* Aumenta un 10% al hacer hover */
}


.mobile-menu-list {
    font-size: 12px;
    font-weight: 600;
    gap: 12px;
}


.player.is-static {
    position: static;
}

.btn {
    border-radius: 50px;
}
.player.is-static .player-desc .artist-name {
    background-color: #000;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
}

.modal-content {
    background-color: var(--player-primary, #60077d);
    width: 100%;
    padding: 10px;
    max-width: 900px;
    border-radius: 15px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: modalOpen var(--player-duration) ease;
}

.btn {

    font-weight: 700;

}

body {
    min-height: 100vh;
    /* asegura que cubra toda la pantalla */
    background: url("assets/bg.png") no-repeat center center fixed;
    background-size: cover;
    /* ajusta la imagen para cubrir todo */
}
.footer {
    background-color: var(--player-primary, #60077d);
    color: var(--player-footer-color);
}

/* Pie: copyright y redes centrados */
.footer .footer-wrapper {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.footer .footer-left,
.footer .footer-right {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer .footer-text {
  text-align: center;
  margin: 0;
}

/*.install-buttons-wrapper {
   
    background-color: #ffffff0d;
        -webkit-backdrop-filter: blur(1rem);
        backdrop-filter: blur(1rem);
}

.install-botton .install-button{
    align-items: center;
    gap: var(--button-gap, .5rem);
    padding: var(--button-padding, .75rem);
    text-transform: uppercase;
    transition: transform var(--duration);
    white-space: nowrap;
    background-color: rgba(255, 255, 255, .25);
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 700;
    display: flex;
}

.install-botton .install-button {
    text-transform: capitalize;
    --btn-bg: #fff;
    --btn-color: #ffffff;
}

.install-botton .install-button:hover {
    transform: scale(1.1);
}

/*.install-botton .install-button {
    transition: transform 0.3s ease;
    
}*/

/* Modal Video Player - Rounded Corners */
.modal {
  border-radius: 20px;
  overflow: hidden;
}

.modal-content {
  border-radius: 20px;
  overflow: hidden;
}

.modal-body {
  border-radius: 0 0 20px 20px;
}

/* Video Player Specific Styles */
.video-js.video-js-stream {
  border-radius: 15px;
  overflow: hidden;
}

.modal.modal-video .modal-content {
  border-radius: 20px;
  overflow: hidden;
}

.modal.modal-video .modal-body {
  border-radius: 0 0 20px 20px;
  padding: 0;
}

/* YouTube iframe rounded corners */
.ytube-embed {
  border-radius: 15px;
  overflow: hidden;
}

/* Video container rounded corners */
.videoTops-iframe iframe,
.videoTops-video iframe {
  border-radius: 15px;
  overflow: hidden;
}

/* Modal close button positioning for rounded modal */
.modal-close {
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* Close video button styling */
.modal-close-video .btn {
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.modal-close-video .btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* —— Ticker tipo “trending” (cabecera) —— */
.newsletter--trending {
  --news-height: auto;
  flex: 1;
  min-width: 0;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dark .newsletter--trending {
  background: rgba(30, 30, 35, 0.95);
}

.trending-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 10px 14px 10px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--player-primary, #2196f3);
  border-radius: 12px 0 0 12px;
  font-family: Onest, system-ui, sans-serif;
}

.trending-pill__chev {
  opacity: 0.9;
}

.breaking--trending {
  flex: 1;
  min-width: 0;
  height: auto !important;
}

.breaking-content--trending {
  height: auto !important;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 8px), transparent);
}

.breaking-items--trending {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  width: max-content;
  gap: 0;
  animation: trend-marquee var(--trend-duration, 36s) linear infinite !important;
  padding: 8px 12px;
}

@media (prefers-reduced-motion: reduce) {
  .breaking-items--trending {
    animation: none !important;
  }
}

@keyframes trend-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.newsletter--trending .breaking-item {
  animation: none !important;
  opacity: 1 !important;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9e9e9e;
  white-space: nowrap;
  font-family: Onest, system-ui, sans-serif;
}

.dark .newsletter--trending .breaking-item {
  color: #b0b0b8;
}

.newsletter--trending .breaking-item:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 14px;
  border-radius: 50%;
  background: var(--brand-accent, var(--player-primary, #e53935));
  vertical-align: middle;
}

/* —— Noticias estilo magazine (referencia moderna) —— */
.section-modern-news .section-content {
  padding-top: 0;
}

.modern-news-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.modern-news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(260px, 36%);
  grid-template-rows: minmax(200px, 1fr) minmax(180px, 1fr);
  gap: 1.25rem;
  min-height: 400px;
}

.modern-news-layout--featured-only {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(320px, 55vh);
}

.modern-news-layout--featured-only .modern-news-left {
  display: none;
}

.modern-news-layout--featured-only .modern-news-featured {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}

.modern-news-left {
  grid-column: 1 / 3;
  grid-row: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
  min-height: 0;
}

.modern-news-featured {
  grid-column: 3;
  grid-row: 1 / -1;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
}

.modern-news-card--wide {
  grid-column: 1 / -1;
}

.modern-news-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  font-family: Onest, system-ui, sans-serif;
  min-height: 0;
}

.modern-news-card--small {
  min-height: 200px;
}

.modern-news-card__media {
  position: absolute;
  inset: 0;
}

.modern-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.modern-news-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
  z-index: 1;
}

.modern-news-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
  color: #fff;
  line-height: 1.2;
}

.modern-news-card__tag--lifestyle,
.modern-news-card__tag--sports,
.modern-news-card__tag--entertainment,
.modern-news-card__tag--business {
  background: var(--player-primary, #03a9f4);
}

.modern-news-card__body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem 1.25rem 1.25rem;
  color: #fff;
}

.modern-news-card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modern-news-card--featured .modern-news-card__title {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  -webkit-line-clamp: 4;
}

.modern-news-card--wide .modern-news-card__title {
  -webkit-line-clamp: 2;
  font-size: 1.05rem;
}

.modern-news-card__excerpt {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  opacity: 0.92;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modern-news-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.95;
}

.modern-news-card__by,
.modern-news-card__date-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.modern-news-card__ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.9;
}

.swiper-news-featured {
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
}

.swiper-news-featured .swiper-slide {
  height: auto;
  align-self: stretch;
}

.modern-news-featured-slide {
  height: 100%;
}

.modern-news-featured-slide .modern-news-card {
  height: 100%;
  min-height: 360px;
}

.swiper-news-featured .swiper-pagination-news-featured {
  top: 14px !important;
  bottom: auto !important;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}

.swiper-news-featured .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.swiper-news-featured .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.15);
}

.swiper-news-featured .swiper-button-next,
.swiper-news-featured .swiper-button-prev {
  width: 44px;
  height: 44px;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--player-primary, #111);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.swiper-news-featured .swiper-button-next::after,
.swiper-news-featured .swiper-button-prev::after {
  font-size: 14px;
  font-weight: 900;
}

.swiper-news-featured .swiper-button-prev {
  left: 10px;
  opacity: 0;
  pointer-events: none;
}

.swiper-news-featured .swiper-button-next {
  right: 12px;
}

@media (min-width: 900px) {
  .swiper-news-featured:hover .swiper-button-prev {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 899px) {
  .modern-news-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .modern-news-left {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .modern-news-featured {
    grid-column: 1;
    grid-row: auto;
    order: -1;
  }

  .modern-news-card--wide {
    grid-column: 1 / -1;
  }

  .modern-news-featured-slide .modern-news-card {
    min-height: 280px;
  }

  .swiper-news-featured .swiper-button-prev {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 520px) {
  .modern-news-left {
    grid-template-columns: 1fr;
  }

  .modern-news-card--wide {
    grid-column: 1;
  }
}

/* —— Últimas musicales+ (carrusel bajo noticias) —— */
.section-lastnews-musicales {
  --lastnews-bg: #0a0e1c;
  --lastnews-card: #161c2d;
  --lastnews-accent: var(--brand-lastnews-accent, #16ff00);
}

.section-lastnews--empty {
  display: none !important;
}

.section-lastnews-musicales .section-content--lastnews {
  padding-top: 0.25rem;
  padding-bottom: 1.5rem;
}

.lastnews {
  display: flex;
  align-items: stretch;
  gap: 1rem 1.35rem;
  background: var(--lastnews-bg);
  border-radius: 14px;
  padding: 0.85rem 0.85rem 0.85rem 0.95rem;
  font-family: Onest, system-ui, sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lastnews-header {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  align-self: stretch;
  padding: 0.15rem 0.5rem 0.15rem 0;
  box-sizing: border-box;
}

.lastnews-title-rail {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.65rem;
  min-height: 100%;
}

.lastnews-title-rail__bar {
  width: 5px;
  flex-shrink: 0;
  align-self: stretch;
  background: var(--lastnews-accent);
  border-radius: 2px;
  box-shadow: 0 0 12px color-mix(in srgb, var(--lastnews-accent) 45%, transparent);
}

.lastnews-title-rail__heading {
  margin: 0;
  padding: 0.2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12em;
  max-width: 5.5rem;
  font-family: Montserrat, "Plus Jakarta Sans", Onest, system-ui, sans-serif;
  font-size: clamp(0.68rem, 1.25vw, 0.82rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--lastnews-accent);
  text-shadow: 0 0 18px color-mix(in srgb, var(--lastnews-accent) 35%, transparent);
}

.lastnews-title-rail__line {
  display: block;
}

.lastnews-carousel-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  padding-right: 42px;
}

.swiper-lastnews-musicales {
  overflow: hidden;
  border-radius: 10px;
}

.swiper-lastnews-musicales .sitem.swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.sitem {
  cursor: pointer;
  height: 100%;
}

.sitem-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--lastnews-card);
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.swiper-lastnews-musicales .sitem-inner {
  border-radius: 8px;
  background: var(--lastnews-card);
}

.sitem:hover .sitem-inner {
  border-color: rgba(57, 255, 20, 0.25);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.swiper-lastnews-musicales .sitem:hover .sitem-inner {
  border-color: color-mix(in srgb, var(--lastnews-accent) 40%, transparent);
}

.sitem-thumbnail {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--lastnews-accent);
  overflow: hidden;
  background: var(--lastnews-card);
}

.swiper-lastnews-musicales .sitem-thumbnail {
  border-width: 2px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--lastnews-accent) 22%, transparent);
}

.sitem-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sitem-title {
  margin: 0;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  --line-clamp: 2;
}

.swiper-lastnews-musicales .sitem-title {
  font-weight: 700;
  font-size: 0.8125rem;
  color: #fff;
}

.lastnews-carousel-wrap .swiper-button-prev,
.lastnews-carousel-wrap .swiper-button-next {
  width: 36px;
  height: 36px;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lastnews-accent);
  background: rgba(22, 28, 45, 0.96);
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--lastnews-accent) 45%, transparent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.lastnews-carousel-wrap .swiper-button-prev::after,
.lastnews-carousel-wrap .swiper-button-next::after {
  font-size: 13px;
  font-weight: 900;
}

.lastnews-carousel-wrap .swiper-button-prev {
  left: 2px;
}

.lastnews-carousel-wrap .swiper-button-next {
  right: 2px;
}

.lastnews-carousel-wrap .swiper-button-disabled {
  opacity: 0.22;
  pointer-events: none;
}

@media (max-width: 560px) {
  .lastnews {
    flex-direction: column;
    padding: 0.75rem 0.65rem 0.85rem;
  }

  .lastnews-header {
    width: 100%;
    padding: 0 0 0.65rem 0;
  }

  .lastnews-title-rail__heading {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    max-width: none;
    gap: 0.35rem;
    font-size: clamp(0.78rem, 3.2vw, 0.95rem);
  }

  .lastnews-carousel-wrap {
    padding-right: 38px;
    padding-left: 2px;
  }
}

@media (max-width: 420px) {
  .lastnews-carousel-wrap .sitem-inner {
    padding: 9px 10px;
    gap: 9px;
    min-height: 68px;
  }

  .lastnews-carousel-wrap .sitem-thumbnail {
    width: 46px;
    height: 46px;
  }

  .lastnews-carousel-wrap .sitem-title {
    font-size: 0.78rem;
  }
}

/* —— Programación semanal (spotlight, datos del panel) —— */
.section-weekly-spotlight {
  padding: 0.5rem 1rem 1.25rem;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--player-primary, #005c32) 10%, var(--program-header-bg, #ffffff)) 0%,
    var(--program-header-bg, #ffffff) 68%
  );
}

html.dark .section-weekly-spotlight {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--player-primary, #005c32) 22%, var(--program-header-bg, #0f172a)) 0%,
    var(--program-header-bg, #0f172a) 68%
  );
}

.section-weekly-spotlight[hidden] {
  display: none !important;
}

.weekly-spotlight {
  max-width: 1200px;
  margin: 0 auto;
  font-family: Onest, system-ui, sans-serif;
}

.weekly-spotlight__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  margin-bottom: 0.65rem;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(
    145deg,
    var(--player-primary, #005c32) 0%,
    color-mix(in srgb, var(--player-primary, #005c32) 62%, #000 38%) 100%
  );
  box-shadow: 0 4px 18px color-mix(in srgb, var(--player-primary, #005c32) 28%, transparent);
}

.weekly-spotlight__header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.weekly-spotlight__cal-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  opacity: 0.95;
}

.weekly-spotlight__heading {
  margin: 0;
  font-size: clamp(0.72rem, 1.9vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.weekly-spotlight__rule {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  min-width: 1rem;
}

.weekly-spotlight__card {
  --weekly-spotlight-thumb: clamp(120px, 28vw, 200px);
  display: grid;
  grid-template-columns: var(--weekly-spotlight-thumb) var(--weekly-spotlight-thumb) 1fr;
  gap: clamp(0.75rem, 2.5vw, 1.35rem);
  align-items: stretch;
  padding: clamp(0.85rem, 2.2vw, 1.25rem);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--player-primary, #005c32) 88%, var(--brand-accent, var(--player-primary, #005c32)) 12%) 0%,
    color-mix(in srgb, var(--player-primary, #005c32) 48%, #000 52%) 100%
  );
  box-shadow:
    0 8px 28px color-mix(in srgb, var(--player-primary, #005c32) 22%, transparent),
    0 2px 0 color-mix(in srgb, var(--brand-accent, var(--player-primary, #005c32)) 35%, transparent);
}

.weekly-spotlight__col {
  min-width: 0;
}

.weekly-spotlight__logo-ring {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  box-sizing: border-box;
  border: 4px solid #fff;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.weekly-spotlight__logo-ring img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.12);
}

.weekly-spotlight__photo-frame {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.weekly-spotlight__photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weekly-spotlight__col--details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.weekly-spotlight__prog-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.weekly-spotlight__prog-time {
  margin: 0 0 0.15rem;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 600;
  opacity: 0.95;
}

.weekly-spotlight__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: clamp(0.68rem, 1.6vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff !important;
  background: var(--brand-accent, #e53935);
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.weekly-spotlight__btn:hover {
  filter: brightness(1.06);
}

.weekly-spotlight__btn:active {
  transform: scale(0.99);
}

.weekly-spotlight__btn--live {
  align-self: flex-start;
  flex-shrink: 0;
}

.weekly-spotlight__btn.weekly-spotlight__btn--live {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}

.weekly-spotlight__btn.weekly-spotlight__btn--live:hover {
  filter: none;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.82);
}

.weekly-spotlight__btn.weekly-spotlight__btn--live:active {
  transform: scale(0.98);
}

.weekly-spotlight__live-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.2rem;
}

.weekly-spotlight__btn-sprograma {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: Onest, system-ui, sans-serif;
  font-size: clamp(0.65rem, 1.55vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}

.weekly-spotlight__btn-sprograma:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
}

.weekly-spotlight__btn-sprograma:active {
  transform: scale(0.98);
}

.weekly-spotlight__btn-sprograma.is-open {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.9);
}

.weekly-spotlight__btn-sprograma[hidden] {
  display: none !important;
}

.weekly-spotlight__next-panel {
  margin-top: 0.55rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.weekly-spotlight__next-panel[hidden] {
  display: none !important;
}

.weekly-spotlight__next-panel-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.weekly-spotlight__next-panel-thumb {
  flex-shrink: 0;
  width: clamp(72px, 18vw, 96px);
  height: clamp(72px, 18vw, 96px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.weekly-spotlight__next-panel-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.weekly-spotlight__next-panel-body {
  min-width: 0;
  flex: 1;
}

.weekly-spotlight__next-panel-title {
  margin: 0 0 0.25rem;
  font-size: clamp(0.82rem, 2.1vw, 1rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  word-break: break-word;
  color: #fff;
}

.weekly-spotlight__next-panel-time {
  margin: 0;
  font-size: clamp(0.76rem, 1.85vw, 0.9rem);
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.95;
  color: #fff;
}

.weekly-spotlight__btn--full {
  width: 100%;
  margin-top: 0.35rem;
}

.weekly-spotlight__live-badge-wrap {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 0.35rem;
}

.weekly-spotlight__live-badge {
  --live-badge-red: #d32f2f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.75rem;
  padding: 0.42rem 1.4rem;
  border-radius: 4px;
  background: var(--live-badge-red);
  color: #fff;
  font-family: var(--primary-font, 'Montserrat', system-ui, sans-serif);
  font-size: clamp(0.7rem, 1.7vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 2px 10px rgba(183, 28, 28, 0.45);
  animation: weekly-spotlight-live-pulse 1.55s ease-in-out infinite;
}

.weekly-spotlight__live-badge-text {
  display: block;
  white-space: nowrap;
}

@keyframes weekly-spotlight-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow:
      0 2px 10px rgba(183, 28, 28, 0.45),
      0 0 0 0 rgba(211, 47, 47, 0.5);
  }

  45% {
    opacity: 0.9;
    transform: scale(1.02);
    box-shadow:
      0 3px 16px rgba(211, 47, 47, 0.55),
      0 0 0 14px rgba(211, 47, 47, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .weekly-spotlight__live-badge {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Videos tops: quitar columna numerada (ranking) */
.videoTops-list {
  counter-reset: ytlist-item 0;
}

.videoTops-item {
  counter-increment: none;
  border-radius: 0.5rem;
}

.videoTops-item::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 0 0 !important;
  line-height: 0 !important;
  overflow: hidden;
}

@media (max-width: 720px) {
  .weekly-spotlight__card {
    --weekly-spotlight-thumb: clamp(100px, 42vw, 180px);
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'logo photo'
      'details details';
  }

  .weekly-spotlight__col--logo {
    grid-area: logo;
  }

  .weekly-spotlight__col--photo {
    grid-area: photo;
  }

  .weekly-spotlight__col--details {
    grid-area: details;
  }

  .weekly-spotlight__logo-ring {
    margin: 0;
    max-width: 100%;
  }

  .weekly-spotlight__photo-frame {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .section-weekly-spotlight {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .weekly-spotlight__header {
    flex-wrap: wrap;
    padding: 0.5rem 0.75rem;
  }

  .weekly-spotlight__rule {
    width: 100%;
    flex: none;
  }

  .weekly-spotlight__card {
    --weekly-spotlight-thumb: min(200px, 72vw);
    grid-template-columns: 1fr;
    grid-template-areas:
      'photo'
      'logo'
      'details';
    text-align: center;
  }

  .weekly-spotlight__logo-ring {
    margin: 0 auto;
    width: var(--weekly-spotlight-thumb);
    max-width: 100%;
  }

  .weekly-spotlight__photo-frame {
    width: var(--weekly-spotlight-thumb);
    max-width: 100%;
  }

  .weekly-spotlight__btn--live {
    align-self: center;
  }

  .weekly-spotlight__live-badge-wrap {
    justify-content: center;
  }

  .weekly-spotlight__live-row {
    flex-direction: column;
    align-items: center;
  }

  .weekly-spotlight__next-panel {
    text-align: left;
    max-width: 100%;
  }

  .weekly-spotlight__next-panel-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .weekly-spotlight__next-panel-thumb {
    width: min(96px, 40vw);
    height: min(96px, 40vw);
  }
}

/* —— Ecualizador en menú lateral + visible también en escritorio —— */
/* Separación horizontal del borde; desplazamiento superior para alinear con el área visible del contenido */
:root {
  --sidebar-width: 260px;
  --sidebar-gap-x: clamp(1.35rem, 6.5vw, 3rem);
  /* Misma línea visual que el padding superior de .main (~1rem) + un poco más */
  --sidebar-top-offset: clamp(0.85rem, 2.4vh, 1.85rem);
  /* Hueco entre columna del menú y el contenido (solo desktop) */
  --sidebar-to-content-gap: 1rem;
  /* Altura aproximada del pie + respiro: la barra fija del reproductor no va al borde inferior del viewport */
  --player-footer-clearance: clamp(5.5rem, 11vh, 8rem);
  /* Menú lateral: en desktop el player no queda debajo del menú → menos hueco abajo y más altura útil */
  --sidebar-footer-clearance: clamp(0.35rem, 1.35vh, 1.1rem);
}

@media (max-width: 991px) {
  :root {
    /* Pie en columna en móvil: más alto */
    --player-footer-clearance: clamp(7.5rem, 22vh, 12rem);
    /* Menú: un poco menos que el player para ganar altura (el player sigue respetando --player-footer-clearance) */
    --sidebar-footer-clearance: clamp(5.35rem, 15vh, 8.75rem);
  }

  /* Evita que fixed del menú quede anclado al main si hay transform/filter */
  main.main.container {
    transform: none !important;
    filter: none !important;
  }

  /* Menú lateral fijo al viewport (no se desplaza con el scroll de la página) */
  #header.header {
    position: fixed !important;
    inset: unset !important;
    top: var(--sidebar-top-offset) !important;
    left: var(--sidebar-gap-x) !important;
    bottom: calc(var(--sidebar-footer-clearance) + env(safe-area-inset-bottom, 0px)) !important;
    right: auto !important;
    width: min(280px, calc(100vw - 2 * var(--sidebar-gap-x) - 0.5rem)) !important;
    max-width: 280px !important;
    height: auto !important;
    min-height: calc(
      100vh - var(--sidebar-top-offset) - var(--sidebar-footer-clearance) -
        env(safe-area-inset-bottom, 0px)
    ) !important;
    min-height: calc(
      100dvh - var(--sidebar-top-offset) - var(--sidebar-footer-clearance) -
        env(safe-area-inset-bottom, 0px)
    ) !important;
    max-height: none !important;
    margin: 0 !important;
    z-index: 10050 !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transition: transform var(--player-duration, 0.3s), box-shadow var(--player-duration, 0.3s);
    border-radius: 1rem !important;
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(0, 0, 0, 0.06);
  }

  #header.header:not(.is-active) {
    transform: translateX(-100%) !important;
    box-shadow: none;
    pointer-events: none;
  }

  #header.header.is-active {
    transform: translateX(0) !important;
    pointer-events: auto;
  }

  #header .header-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    top: auto;
  }

  #header .menu-equalizer {
    margin-top: auto;
    margin-left: 0.35rem;
    margin-right: 0.35rem;
    margin-bottom: 0.4rem;
    width: calc(100% - 0.7rem);
    max-width: calc(100% - 0.7rem);
  }
}

@media (min-width: 992px) {
  /* Menú lateral fijo al hacer scroll (ratón / touch); alineado con el contenedor centrado */
  main.main.container {
    display: block !important;
    transform: none !important;
    filter: none !important;
  }

  main.main.container > .main-body {
    margin-left: calc(var(--sidebar-width) + var(--sidebar-to-content-gap) + var(--sidebar-gap-x));
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
  }

  #header.header {
    position: fixed !important;
    inset: unset !important;
    top: var(--sidebar-top-offset) !important;
    bottom: calc(var(--sidebar-footer-clearance) + env(safe-area-inset-bottom, 0px)) !important;
    left: calc(
      (100vw - min(var(--container-width, 1320px), 100vw)) / 2 + var(--container-padding, 1rem) +
        var(--sidebar-gap-x)
    ) !important;
    right: auto !important;
    width: var(--sidebar-width) !important;
    max-width: var(--sidebar-width) !important;
    height: auto !important;
    min-height: calc(
      100vh - var(--sidebar-top-offset) - var(--sidebar-footer-clearance) -
        env(safe-area-inset-bottom, 0px)
    ) !important;
    min-height: calc(
      100dvh - var(--sidebar-top-offset) - var(--sidebar-footer-clearance) -
        env(safe-area-inset-bottom, 0px)
    ) !important;
    max-height: none !important;
    margin: 0 !important;
    z-index: 10040 !important;
    transform: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    overflow: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 1rem !important;
    box-shadow:
      0 10px 32px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(0, 0, 0, 0.06);
  }

  #header .header-wrapper {
    position: relative !important;
    top: auto !important;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  #header .menu-equalizer {
    margin-top: auto;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    max-height: min(420px, 42vh);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

/* Boton TV dentro del menu lateral */
.header-menu-tv {
  appearance: none;
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  color: var(--color-title);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color var(--player-duration, 0.3s),
    color var(--player-duration, 0.3s),
    box-shadow var(--player-duration, 0.3s);
}

.header-menu-tv:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--player-primary);
}

.header-menu-tv.is-loaded {
  box-shadow: inset 0 0 0 1px rgba(var(--player-primary-rgb, 255, 255, 255), 0.35);
}

.header-menu-tv .icon {
  width: 1.25em;
  height: 1.25em;
}

.menu-equalizer {
  --eq-bg: #121212;
  --eq-panel: #1a1a1a;
  --eq-accent: #00ff66;
  --eq-accent-bright: #39ff14;
  --eq-accent-dim: rgba(0, 255, 102, 0.35);
  --eq-metal: linear-gradient(145deg, #5a5a5a, #2a2a2a 45%, #1a1a1a);
  --eq-radius: 0.85rem;
  display: block;
  visibility: visible;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding: 0.55rem 0.45rem 0.65rem;
  background: linear-gradient(180deg, #161616 0%, var(--eq-bg) 55%, #0a0a0a 100%);
  border: 1px solid rgba(0, 255, 102, 0.18);
  border-radius: var(--eq-radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  font-family: var(--secondary-font, Onest, system-ui, sans-serif);
  color: #f0f0f0;
  box-sizing: border-box;
}

.menu-equalizer.menu-eq--off .menu-eq__presets,
.menu-equalizer.menu-eq--off .menu-eq__bands,
.menu-equalizer.menu-eq--off .menu-eq__knobs,
.menu-equalizer.menu-eq--off .menu-eq__volume {
  opacity: 0.42;
  pointer-events: none;
  filter: grayscale(0.35);
}

.menu-eq__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  padding: 0 0.1rem;
}

.menu-eq__menu-icon {
  flex-shrink: 0;
  color: var(--eq-accent);
  display: flex;
  align-items: center;
  opacity: 0.95;
  filter: drop-shadow(0 0 4px var(--eq-accent-dim));
}

.menu-eq__title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-eq__toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.menu-eq__toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.menu-eq__toggle-ui {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: #2a2a2a;
  position: relative;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.65);
}

.menu-eq__toggle-ui::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #eee, #999);
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.menu-eq__toggle-ui::before {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333;
  box-shadow: inset 0 0 2px #000;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.menu-eq__toggle input:checked + .menu-eq__toggle-ui {
  background: rgba(0, 255, 102, 0.25);
  box-shadow: inset 0 0 8px rgba(0, 255, 102, 0.15), 0 0 10px rgba(0, 255, 102, 0.2);
}

.menu-eq__toggle input:checked + .menu-eq__toggle-ui::after {
  transform: translateX(20px);
}

.menu-eq__toggle input:checked + .menu-eq__toggle-ui::before {
  left: 6px;
  right: auto;
  background: var(--eq-accent-bright);
  box-shadow: 0 0 8px var(--eq-accent);
}

.menu-eq__presets {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  align-items: center;
  margin-bottom: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.menu-eq__preset {
  flex: 0 0 auto;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  background: #252525;
  color: #e8e8e8;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.menu-eq__preset.is-active {
  background: var(--eq-accent);
  color: #0a0a0a;
  border-color: var(--eq-accent-bright);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.35);
}

.menu-eq__save {
  flex: 0 0 auto;
  margin-left: 0.15rem;
  padding: 0.28rem;
  border: none;
  border-radius: 6px;
  background: rgba(0, 255, 102, 0.15);
  color: var(--eq-accent-bright);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(0, 255, 102, 0.35);
}

.menu-eq__bands {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.55rem;
}

.menu-eq__vu {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 3px;
  width: 11px;
  flex-shrink: 0;
  padding: 0 3px;
}

.menu-eq__vu span {
  flex: 0 0 8px;
  min-height: 8px;
  border-radius: 2px;
  opacity: 1;
  background: #3a3f3a;
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform-origin: center bottom;
  transition: transform 0.08s ease, background 0.08s ease, filter 0.08s ease;
}

.menu-eq__vu span:nth-child(-n + 3) {
  background: linear-gradient(180deg, #5cff8f 0%, #22c55e 45%, #15803d 100%);
  box-shadow:
    0 0 10px rgba(74, 222, 128, 0.85),
    0 0 4px rgba(34, 197, 94, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.menu-eq__vu span:nth-child(n + 4):nth-child(-n + 5) {
  background: linear-gradient(180deg, #fde047 0%, #eab308 50%, #a16207 100%);
  box-shadow:
    0 0 10px rgba(253, 224, 71, 0.75),
    0 0 4px rgba(234, 179, 8, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.menu-eq__vu span:nth-child(n + 6) {
  background: linear-gradient(180deg, #fca5a5 0%, #ef4444 50%, #b91c1c 100%);
  box-shadow:
    0 0 10px rgba(248, 113, 113, 0.75),
    0 0 4px rgba(239, 68, 68, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.menu-equalizer.menu-eq--off .menu-eq__vu span {
  opacity: 0.3 !important;
  transform: scaleY(0.35) !important;
}

.menu-eq__sliders {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
  padding: 0 0.1rem;
}

.menu-eq__band {
  --band-led: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}

/* LED rojo por banda (ritmo: --band-led en .menu-eq__band desde JS + analizador) */
.menu-eq__band-led {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0.05rem 0;
  opacity: 1;
  background: radial-gradient(
    circle at 34% 28%,
    #fff5f5 0%,
    #ff5c5c 22%,
    #ff1a1a 48%,
    #d40000 78%,
    #7a0000 100%
  );
  box-shadow:
    inset 0 1px 1px rgba(255, 220, 220, 0.65),
    inset 0 -1px 2px rgba(60, 0, 0, 0.35),
    0 0 calc(3px + var(--band-led) * 16px) #ff2a2a,
    0 0 calc(1px + var(--band-led) * 8px) #ff6b6b,
    0 0 calc(6px + var(--band-led) * 18px) rgba(255, 40, 40, 0.85);
  transform: scale(calc(0.82 + var(--band-led) * 0.4));
  transform-origin: center center;
  transition: transform 0.06s ease-out, box-shadow 0.06s ease-out;
}

.menu-equalizer.menu-eq--off .menu-eq__band {
  --band-led: 0 !important;
}

.menu-equalizer.menu-eq--off .menu-eq__band-led {
  opacity: 0.45;
  filter: brightness(0.72);
}

.menu-eq__band-on {
  padding: 0.1rem 0.26rem;
  border: none;
  border-radius: 3px;
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--eq-accent);
  color: #0a0a0a;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 0 6px rgba(0, 255, 102, 0.35);
}

.menu-eq__band-on:not(.is-on) {
  background: #333;
  color: #888;
  box-shadow: none;
}

.menu-eq__fader-track {
  position: relative;
  width: 20px;
  height: 76px;
  border-radius: 5px;
  background: #0d0d0d;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.85);
  background-image: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.45) 3px,
    rgba(0, 0, 0, 0.45) 4px
  );
}

.menu-eq__fader-track::before {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: var(--fader-pct, 50%);
  max-height: calc(100% - 8px);
  border-radius: 3px;
  background: repeating-linear-gradient(
    to top,
    #00aa44 0,
    #00aa44 2px,
    #006633 2px,
    #006633 4px
  );
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.25);
  pointer-events: none;
  z-index: 0;
}

.menu-eq__fader {
  -webkit-appearance: none;
  appearance: none;
  writing-mode: vertical-lr;
  direction: rtl;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  accent-color: var(--eq-accent);
}

.menu-eq__fader::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(90deg, #6a6a6a, #3a3a3a 40%, #2a2a2a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.6);
  border: 1px solid #1a1a1a;
}

.menu-eq__fader::-webkit-slider-runnable-track {
  width: 8px;
  height: 100%;
  background: transparent;
}

.menu-eq__fader::-moz-range-thumb {
  width: 14px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(90deg, #6a6a6a, #2a2a2a);
  border: 1px solid #1a1a1a;
}

.menu-eq__fader::-moz-range-track {
  width: 8px;
  height: 100%;
  background: transparent;
}

.menu-eq__band.is-muted .menu-eq__fader {
  opacity: 0.35;
  pointer-events: none;
}

.menu-eq__hz {
  font-size: 0.46rem;
  font-weight: 600;
  color: #b8b8b8;
  white-space: nowrap;
}

.menu-eq__knobs {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.15rem 0.25rem;
}

.menu-eq__knob-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  flex: 1;
}

.menu-eq__knob {
  --knob: 50;
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    conic-gradient(
      from -90deg,
      var(--eq-accent) 0deg,
      var(--eq-accent) calc(var(--knob) * 2.7deg),
      rgba(40, 40, 40, 0.9) calc(var(--knob) * 2.7deg),
      rgba(40, 40, 40, 0.9) 360deg
    );
  padding: 4px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.menu-eq__knob::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #5a5a5a, #2a2a2a 50%, #121212 100%);
  box-shadow:
    inset 0 3px 10px rgba(0, 0, 0, 0.75),
    inset 0 -2px 6px rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}

.menu-eq__knob-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  margin: 0;
}

.menu-eq__knob-dial {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: linear-gradient(155deg, #4a4a4a, #222);
  pointer-events: none;
  z-index: 1;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.menu-eq__knob-dial::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 3px;
  width: 3px;
  height: 11px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--eq-accent-bright);
  box-shadow: 0 0 8px var(--eq-accent);
  transform-origin: 50% 19px;
  transform: rotate(calc(-135deg + var(--knob) * 2.7deg));
}

.menu-eq__knob-label {
  font-size: 0.42rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #aaa;
  text-align: center;
  line-height: 1.15;
}

.menu-eq__volume {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  padding: 0 0.2rem;
}

.menu-eq__vol-icon {
  flex-shrink: 0;
  color: var(--eq-accent-bright);
  display: flex;
  filter: drop-shadow(0 0 3px var(--eq-accent-dim));
}

.menu-eq__vol-slider {
  flex: 1;
  min-width: 0;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  accent-color: var(--eq-accent);
  --vol-pct: 75%;
  background: linear-gradient(
    90deg,
    var(--eq-accent) 0%,
    var(--eq-accent) var(--vol-pct, 75%),
    #2a2a2a var(--vol-pct, 75%),
    #2a2a2a 100%
  );
}

.menu-eq__vol-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--eq-accent) 0%,
    var(--eq-accent) var(--vol-pct, 75%),
    #252525 var(--vol-pct, 75%),
    #252525 100%
  );
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
}

.menu-eq__vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e0e0e0, #707070);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
  margin-top: -4px;
  border: 1px solid #1a1a1a;
}

.menu-eq__vol-slider::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--eq-accent) 0%,
    var(--eq-accent) var(--vol-pct, 75%),
    #252525 var(--vol-pct, 75%),
    #252525 100%
  );
}

.menu-eq__vol-on {
  flex-shrink: 0;
  padding: 0.12rem 0.32rem;
  border-radius: 3px;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0a0a0a;
  background: var(--eq-accent);
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.35);
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .menu-eq__vu span {
    transition: none;
  }

  .menu-eq__band-led {
    transition: none;
  }
}

/* —— Reproductor fijo al hacer scroll: mismo ancho que el bloque de contenido (p. ej. Locutores / .main-body) —— */
#player-fixed.player:not(.is-static) {
  position: fixed !important;
  z-index: 900 !important;
  inset: unset !important;
  top: auto !important;
  bottom: calc(var(--player-footer-clearance) + env(safe-area-inset-bottom, 0px)) !important;
  transform: none !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-bottom: 1rem !important;
  /* Móvil: mismo margen lateral que el main (secciones / Locutores) */
  left: max(var(--container-padding, 1rem), env(safe-area-inset-left, 0px)) !important;
  right: max(var(--container-padding, 1rem), env(safe-area-inset-right, 0px)) !important;
}

#player-fixed.player:not(.is-static) > .container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#player-fixed.player:not(.is-static) .player-wrapper {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

@media (min-width: 992px) {
  #player-fixed.player:not(.is-static) {
    /* Escritorio: alineado con .main-body (donde está #section-team / Locutores) */
    left: calc(
      (100vw - min(var(--container-width, 1320px), 100vw)) / 2 + var(--container-padding, 1rem) +
        var(--sidebar-width) + var(--sidebar-to-content-gap) + var(--sidebar-gap-x)
    ) !important;
    right: calc(
      (100vw - min(var(--container-width, 1320px), 100vw)) / 2 + var(--container-padding, 1rem)
    ) !important;
    padding-bottom: 1.5rem !important;
  }
}
