.live-card p {
  margin: 0;
  color: #d7e5f4;
  font-size: .86rem;
}

/* Tira automática de noticias regionales */
.regional-news-ticker {
  position: relative;
  z-index: 45;
  display: flex;
  min-height: 40px;
  overflow: hidden;
  background: #10345d;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 5px 14px rgba(3,15,35,.18);
}

.regional-news-label {
  position: relative;
  z-index: 2;
  flex: 0 0 220px;
  display: grid;
  place-items: center;
  padding: 0 1.4rem 0 1rem;
  background: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .075em;
  white-space: nowrap;
}

.regional-news-label::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid var(--red);
}

.regional-news-window {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  padding-left: 2rem;
}

.regional-news-track {
  display: flex;
  width: max-content;
  animation: regional-news-scroll 72s linear infinite;
  will-change: transform;
}

.regional-news-group {
  display: flex;
  align-items: center;
  flex: none;
  white-space: nowrap;
}

.regional-news-group a {
  color: #fff;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 700;
}

.regional-news-group a:hover,
.regional-news-group a:focus-visible {
  color: #a9d8ff;
  text-decoration: underline;
}

.regional-news-separator {
  margin: 0 1.65rem;
  color: var(--gold);
  font-size: 1rem;
}

.regional-news-ticker:hover .regional-news-track,
.regional-news-ticker:focus-within .regional-news-track {
  animation-play-state: paused;
}

@keyframes regional-news-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 720px) {
  .regional-news-ticker { min-height: 38px; }
  .regional-news-label {
    flex-basis: 154px;
    padding: 0 .75rem 0 .45rem;
    font-size: .68rem;
    letter-spacing: .035em;
  }
  .regional-news-label::after {
    right: -18px;
    border-top-width: 19px;
    border-bottom-width: 19px;
    border-left-width: 18px;
  }
  .regional-news-window { padding-left: 1.6rem; }
  .regional-news-group a { font-size: .8rem; }
  .regional-news-separator { margin: 0 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .regional-news-track {
    animation: none;
    transform: none;
  }
  .regional-news-window {
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .regional-news-group[aria-hidden="true"] { display: none; }
}

.live-card .now-clock {
  margin-top: .3rem;
  color: #9dd2ff;
  font-size: .78rem;
  text-transform: capitalize;
}

.live-card p.listen-hint {
  grid-column: 1 / -1;
  justify-self: start;
  margin: -.15rem 0 0 .65rem;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: left;
}

.live-card {
  grid-template-columns: auto minmax(230px, .9fr) minmax(210px, 1fr);
}

.live-program-art {
  position: relative;
  width: 155px;
  aspect-ratio: 2000 / 1405;
  overflow: hidden;
  border-radius: 12px;
  background: #edf0f4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  justify-self: center;
  align-self: center;
}

.program-card.is-on-air::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  width: clamp(64px, 7vw, 82px);
  aspect-ratio: 2.85 / 1;
  border-radius: 8px;
  background: url("assets/al-aire.png") center 52% / 100% auto no-repeat;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, .5));
  animation: on-air-blink .9s steps(2, end) infinite;
  pointer-events: none;
}

.program-card.is-soon::before {
  content: "EN INSTANTES";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  min-height: 0;
  padding: .24rem .36rem;
  border-radius: 4px;
  background: #d50000;
  color: #fff;
  box-shadow: 0 3px 7px rgba(0, 0, 0, .45);
  font: 800 .72rem/1 Inter, sans-serif;
  letter-spacing: .035em;
  transform: rotate(-7deg);
  transform-origin: center;
  animation: on-air-blink .9s steps(2, end) infinite;
  pointer-events: none;
}

.now-label.is-on-air,
.live-status.is-on-air {
  color: #fff;
  font-weight: 800;
  animation: on-air-blink .9s steps(2, end) infinite;
}

.program-card {
  position: relative;
}

@keyframes on-air-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: .18; }
}

@media (prefers-reduced-motion: reduce) {
  .program-card.is-on-air::before,
  .program-card.is-soon::before,
  .now-label.is-on-air,
  .live-status.is-on-air {
    animation: none;
  }
}

.live-program-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.live-program-art img.is-music {
  object-fit: cover;
}

.program-card img {
  aspect-ratio: 2000 / 1405;
  object-fit: cover;
  object-position: center top;
  background: #edf0f4;
}

.youtube-card {
  background: linear-gradient(145deg, #ffffff 0%, #fff1f1 58%, #ffdede 100%);
  border-color: #ffc5c5;
  color: var(--navy);
}

.app-card {
  background: linear-gradient(145deg, #07376d 0%, #0964a8 58%, #168bca 100%);
  border-color: #0d6eb1;
}

.facebook-card {
  background: linear-gradient(145deg, #ffffff 0%, #eef5ff 55%, #d9e9ff 100%);
  border-color: #b8d4f5;
}

.instagram-card {
  background: linear-gradient(145deg, #ffffff 0%, #fff0f7 52%, #eee2ff 100%);
  border-color: #e7bdd5;
}

.info-card,
.instagram-profile {
  position: relative;
}

.app-card,
.facebook-card,
.youtube-card,
.weather,
.news,
.instagram-card {
  padding-right: 5.5rem;
}

.brand-icon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  box-shadow: 0 9px 22px rgba(0, 0, 0, .2);
}

.brand-icon svg {
  width: 34px;
  height: 34px;
}

.app-icon {
  color: #0964a8;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, .85);
}

.app-icon svg,
.instagram-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facebook-icon {
  color: #fff;
  background: #1877f2;
  border: 2px solid #fff;
}

.facebook-icon svg,
.youtube-icon svg {
  fill: currentColor;
}

.youtube-icon .play-mark {
  fill: #fff;
}

.youtube-icon {
  color: #f00;
  background: #fff;
  border: 2px solid #f00;
}

.instagram-icon {
  color: #fff;
  background: linear-gradient(135deg, #833ab4, #e1306c 55%, #f77737);
}

.instagram-icon .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.weather-icon {
  color: #fff;
  background: rgba(255, 255, 255, .17);
  border: 2px solid rgba(255, 255, 255, .78);
}

.weather-icon svg,
.news-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.weather-icon .weather-sun {
  fill: #ffd34e;
  stroke: #ffd34e;
}

.news-icon {
  color: #fff;
  background: var(--navy);
  border: 2px solid #fff;
}

.youtube-card .eyebrow,
.youtube-card a {
  color: #d90000;
}

.youtube-card h2 {
  color: #651010;
}

.youtube-card p {
  color: #674141;
}

.facebook-card .eyebrow,
.facebook-card a {
  color: #1264cf;
}

.facebook-card h2 {
  color: #123b72;
}

.facebook-card p {
  color: #405875;
}

.instagram-card .eyebrow,
.instagram-card a {
  color: #c22970;
}

.instagram-card h2 {
  color: #67205e;
}

.instagram-card p {
  color: #644d68;
}

.story {
  align-items: start;
  grid-template-columns: minmax(330px, .72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 5vw, 6rem);
}

.story-visual {
  position: sticky;
  top: 110px;
  min-height: 650px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 20%, rgba(127, 185, 233, .38), transparent 34%),
    linear-gradient(150deg, #06162f 0%, #0b376f 62%, #164e9b 100%);
  box-shadow: 0 28px 70px rgba(7, 26, 61, .22);
  isolation: isolate;
}

.story-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 330px;
  height: 330px;
  right: -165px;
  bottom: -120px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(255, 255, 255, .035),
    0 0 0 116px rgba(255, 255, 255, .025);
}

.story-visual img {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  display: block;
  width: min(100%, 560px);
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .28));
}

.story-era {
  position: absolute;
  z-index: 3;
  top: 26px;
  left: 28px;
  display: grid;
  justify-items: center;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .3);
}

.story-era span {
  color: #9dd2ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .28em;
  padding-left: .28em;
}

.story-era strong {
  font: 800 clamp(4.8rem, 7vw, 7rem)/.78 Barlow Condensed, sans-serif;
  letter-spacing: -.02em;
}

.story-copy {
  max-width: 830px;
}

.story-copy p:not(.eyebrow) {
  line-height: 1.75;
}

.promo-strip {
  max-width: 1280px;
  margin: 0 auto 6rem;
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(24, 40, 72, .09);
}

.promo-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #e6e7e9;
}

.promo-strip > div {
  padding: 2.5rem;
}

.promo-strip h2,
.social-section h2 {
  font: 800 clamp(2.3rem, 4vw, 4.4rem)/.95 Barlow Condensed, sans-serif;
  text-transform: uppercase;
  color: var(--navy);
  margin: .1rem 0 1rem;
}

.promo-strip p:not(.eyebrow) {
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.promo-second {
  margin-top: 0;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 1fr);
  background: #071a3d;
  color: #fff;
}

.promo-second h2 {
  color: #fff;
}

.promo-second .eyebrow {
  color: #9dd2ff;
}

.social-section {
  max-width: none;
  background: linear-gradient(130deg, #071a3d, #164e9b);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-left: max(calc((100vw - 1280px) / 2), 5vw);
  padding-right: max(calc((100vw - 1280px) / 2), 5vw);
}

.social-section h2 {
  color: #fff;
}

.social-section p:not(.eyebrow) {
  color: #d9e7fa;
  max-width: 520px;
}

.social-section .button {
  margin-top: 1rem;
}

.instagram-profile {
  width: 100%;
  max-width: 540px;
  justify-self: end;
  background: #fff;
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .25);
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-right: clamp(5.5rem, 9vw, 7rem);
}

.instagram-profile img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #e1306c;
}

.instagram-profile span {
  display: grid;
}

.instagram-profile strong {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

.instagram-profile small {
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 900px) {
  .story {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-visual {
    position: relative;
    min-height: min(590px, 135vw);
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .story-visual img {
    width: min(100%, 520px);
  }

  .promo-strip,
  .promo-second,
  .social-section {
    grid-template-columns: 1fr;
  }

  .promo-strip {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
    gap: 0;
  }

  .promo-second > div {
    order: 2;
  }

  .instagram-profile {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .live-card {
    grid-template-columns: 1fr;
  }

  .live-program-art {
    width: min(100%, 280px);
    justify-self: start;
  }
}

@media (max-width: 600px) {

  .promo-strip > div {
    padding: 1.5rem;
  }

  .instagram-profile {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Llamado comercial unificado */
.advertise-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .95fr) minmax(210px, .65fr);
  gap: clamp(1.25rem, 2.5vw, 2.75rem);
  max-width: 1280px;
  margin: 0 auto 6rem;
  padding: clamp(2.2rem, 5vw, 4.8rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 8%, rgba(72, 154, 226, .22), transparent 32%),
    linear-gradient(135deg, #0b2a5d 0%, #071a3d 68%);
  color: #fff;
  box-shadow: 0 24px 70px rgba(7, 26, 61, .2);
}

.advertise-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  background: #e3192c;
}

.advertise-intro,
.advertise-options,
.advertise-photo,
.advertise-options article {
  position: relative;
  min-width: 0;
}

.advertise-kicker {
  width: fit-content;
  margin: 0 0 1.1rem;
  padding: .48rem .72rem;
  border: 1px solid rgba(157, 210, 255, .45);
  border-radius: 999px;
  color: #bfe2ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.advertise-section h2 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font: 800 clamp(3rem, 5.4vw, 5.4rem)/.9 Barlow Condensed, sans-serif;
  letter-spacing: -.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.advertise-lead {
  max-width: 620px;
  margin: 1.4rem 0 1.9rem;
  color: rgba(255, 255, 255, .8);
  font-size: 1.08rem;
  line-height: 1.65;
}

.advertise-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

.advertise-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .9rem 1.3rem;
  border-radius: 12px;
  background: #e3192c;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(227, 25, 44, .25);
  transition: transform .2s ease, background-color .2s ease;
}

.advertise-button:hover,
.advertise-button:focus-visible {
  transform: translateY(-2px);
  background: #f02639;
}

.advertise-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.advertise-actions > span {
  display: grid;
  gap: .18rem;
}

.advertise-actions small {
  color: #9dd2ff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.advertise-actions strong {
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: .02em;
}

.advertise-options {
  display: grid;
  gap: .85rem;
  align-content: center;
}

.advertise-options article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(8px);
}

.advertise-number {
  grid-row: 1 / 3;
  color: #f1c84c;
  font: 800 1.15rem/1 Barlow Condensed, sans-serif;
  letter-spacing: .06em;
}

.advertise-options h3 {
  margin: 0 0 .3rem;
  color: #fff;
  font: 800 1.45rem/1 Barlow Condensed, sans-serif;
  text-transform: uppercase;
}

.advertise-options p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: .96rem;
  line-height: 1.5;
}

.advertise-photo {
  min-height: 410px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: #06152f;
}

.advertise-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(6, 21, 47, .88));
  pointer-events: none;
}

.advertise-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  object-position: center;
}

.advertise-photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .advertise-section {
    grid-template-columns: 1fr;
    margin-right: 1.2rem;
    margin-left: 1.2rem;
  }

  .advertise-photo {
    width: min(100%, 430px);
    min-height: 500px;
    justify-self: center;
  }

  .advertise-photo img {
    min-height: 500px;
  }
}

@media (max-width: 600px) {
  .advertise-section {
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 1.8rem 1.35rem 1.5rem;
    border-radius: 20px;
  }

  .advertise-section h2 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .advertise-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .advertise-button {
    width: 100%;
  }

  .advertise-options article {
    padding: 1.2rem;
  }

  .advertise-photo,
  .advertise-photo img {
    min-height: 390px;
  }
}

/* Publicidad de eventos: piezas editoriales, legibles y responsivas */
.event-promo {
  position: relative;
  isolation: isolate;
  max-width: 1280px;
  min-height: 430px;
  margin: 0 auto 6rem;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  background: #071a3d;
  box-shadow: 0 24px 70px rgba(7, 26, 61, .2);
}

.event-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(53, 139, 222, .2), transparent 34%),
    linear-gradient(135deg, transparent 55%, rgba(255, 255, 255, .04));
}

.event-promo-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.4rem, 5vw, 4.7rem);
  color: #fff;
}

.event-promo-kicker {
  width: fit-content;
  margin-bottom: 1.35rem;
  padding: .5rem .75rem;
  border: 1px solid rgba(157, 210, 255, .45);
  border-radius: 999px;
  color: #bfe2ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.event-promo h2 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font: 800 clamp(2.75rem, 5vw, 5rem)/.9 Barlow Condensed, sans-serif;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

.event-promo-copy > p {
  max-width: 600px;
  margin: 1.35rem 0 1.75rem;
  color: rgba(255, 255, 255, .78);
  font-size: 1.08rem;
  line-height: 1.6;
}

.event-promo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.event-promo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 52px;
  padding: .9rem 1.25rem;
  border-radius: 12px;
  background: #e3192c;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(227, 25, 44, .25);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.event-promo-button:hover,
.event-promo-button:focus-visible {
  transform: translateY(-2px);
  background: #f02639;
  box-shadow: 0 16px 34px rgba(227, 25, 44, .34);
}

.event-promo-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.event-promo-phone {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: .03em;
}

.event-promo-media {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
}

.event-promo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 61, .42), transparent 32%);
  pointer-events: none;
}

.event-promo-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.event-promo-media figcaption {
  position: absolute;
  right: 1.4rem;
  bottom: 1.25rem;
  z-index: 1;
  padding: .65rem .85rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  background: rgba(7, 26, 61, .72);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.event-promo-primary .event-promo-media img {
  object-position: 34% center;
}

.event-promo-secondary {
  grid-template-columns: minmax(520px, 1.1fr) minmax(360px, .9fr);
  background: linear-gradient(135deg, #0a2350, #071a3d 72%);
}

.event-promo-secondary .event-promo-media::after {
  background: linear-gradient(270deg, rgba(7, 26, 61, .5), transparent 34%);
}

.event-promo-secondary .event-promo-media img {
  object-position: 62% center;
}

.event-promo-media-portrait {
  background: #06152f;
}

.event-promo-media-portrait .event-promo-backdrop {
  position: absolute;
  inset: -24px;
  z-index: 0;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  min-height: 0;
  object-fit: cover;
  object-position: center;
  filter: blur(18px) brightness(.48) saturate(.85);
  transform: scale(1.08);
}

.event-promo-media-portrait .event-promo-foreground {
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .28));
}

.event-promo-media-portrait::after {
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 26, 61, .52), transparent 34%, rgba(7, 26, 61, .12));
}

.event-promo-media-portrait figcaption {
  z-index: 2;
}

@media (max-width: 900px) {
  .event-promo,
  .event-promo-secondary {
    grid-template-columns: 1fr;
    margin-right: 1.2rem;
    margin-left: 1.2rem;
  }

  .event-promo-copy {
    order: 1;
    padding: 2.4rem;
  }

  .event-promo-media {
    order: 2;
    min-height: 360px;
  }

  .event-promo-media img {
    min-height: 360px;
  }

  .event-promo-media::after,
  .event-promo-secondary .event-promo-media::after {
    background: linear-gradient(180deg, rgba(7, 26, 61, .35), transparent 34%);
  }
}

@media (max-width: 600px) {
  .event-promo {
    min-height: 0;
    margin-bottom: 4rem;
    border-radius: 20px;
  }

  .event-promo-copy {
    padding: 1.75rem 1.4rem 1.9rem;
  }

  .event-promo h2 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  .event-promo-copy > p {
    font-size: 1rem;
  }

  .event-promo-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .event-promo-button {
    width: 100%;
  }

  .event-promo-phone {
    text-align: center;
  }

  .event-promo-media,
  .event-promo-media img {
    min-height: 270px;
  }

  .event-promo-media figcaption {
    right: .85rem;
    bottom: .8rem;
    left: .85rem;
    text-align: center;
  }
}

/* Accesos directos para móvil y escritorio */
.direct-actions {
  max-width: 1280px;
  margin: 0 auto 6rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(24, 40, 72, .09);
}

.direct-actions-heading {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.direct-actions-heading .eyebrow {
  margin-bottom: .6rem;
}

.direct-actions-heading h2 {
  margin: 0;
  color: var(--navy);
  font: 800 clamp(2.4rem, 4.5vw, 4.2rem)/.95 Barlow Condensed, sans-serif;
  text-transform: uppercase;
}

.direct-actions-heading > p:last-child {
  margin: .9rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.direct-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.direct-action {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 15px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(7, 26, 61, .14);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

a.direct-action:hover,
a.direct-action:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(7, 26, 61, .2);
  filter: brightness(1.04);
}

a.direct-action:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.direct-action-whatsapp {
  background: #25d366;
  font-size: 1.05rem;
  font-weight: 800;
}

.direct-action-whatsapp svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-action {
  justify-content: flex-start;
  background: #050505;
}

.store-action > svg {
  width: 36px;
  height: 40px;
  flex: 0 0 auto;
}

.store-action > span:not(.store-soon) {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.store-action small {
  margin-bottom: .3rem;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .08em;
}

.store-action strong {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.google-play-icon .play-blue { fill: #4285f4; }
.google-play-icon .play-green { fill: #34a853; }
.google-play-icon .play-yellow { fill: #fbbc04; }
.google-play-icon .play-red { fill: #ea4335; }

.apple-icon {
  fill: #fff;
}

.store-action-disabled {
  opacity: .72;
  cursor: not-allowed;
}

.store-soon {
  position: absolute;
  top: .45rem;
  right: .55rem;
  padding: .28rem .42rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .08em;
}

@media (max-width: 900px) {
  .direct-actions {
    margin-right: 1.2rem;
    margin-left: 1.2rem;
  }

  .direct-actions-grid {
    grid-template-columns: 1fr;
  }

  .direct-action {
    width: min(100%, 520px);
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .direct-actions {
    margin-bottom: 4rem;
    padding: 1.65rem 1.15rem;
    border-radius: 20px;
  }

  .direct-actions-heading {
    margin-bottom: 1.4rem;
  }

  .direct-action {
    min-height: 72px;
    padding: .9rem 1rem;
  }

  .store-action strong {
    font-size: 1.3rem;
  }
}

/* Tarjetas de acceso: identidad visual y superficie completa clickeable */
.info-card-link {
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  border: 0;
  box-shadow: 0 16px 36px rgba(8, 27, 61, .14);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.info-card-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .2), transparent 30%);
  pointer-events: none;
}

.info-card-link:hover,
.info-card-link:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(8, 27, 61, .24);
  filter: saturate(1.06);
  outline: none;
}

.info-card-link:focus-visible {
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px #1d67b1, 0 24px 48px rgba(8, 27, 61, .24);
}

.info-card-link.app-card {
  background: linear-gradient(145deg, #064b61 0%, #087b8c 55%, #10a0ad 100%);
}

.info-card-link.facebook-card {
  background: linear-gradient(145deg, #064bb5 0%, #0866ff 58%, #3181ff 100%);
}

.info-card-link.youtube-card {
  background: linear-gradient(145deg, #a70718 0%, #e51525 58%, #ff4747 100%);
}

.info-card-link.weather {
  background: linear-gradient(145deg, #07509a 0%, #147fc4 55%, #3aadd9 100%);
}

.info-card-link.news {
  background: linear-gradient(145deg, #071735 0%, #16396d 58%, #315d98 100%);
}

.info-card-link.instagram-card {
  background: linear-gradient(145deg, #4e1a8a 0%, #aa237d 48%, #e63f66 76%, #ee7752 100%);
}

.info-card-link .eyebrow,
.info-card-link h2,
.info-card-link p,
.info-card-link .card-cta {
  position: relative;
  z-index: 1;
  color: #fff;
}

.info-card-link p {
  color: rgba(255, 255, 255, .88);
}

.info-card-link .brand-icon {
  z-index: 2;
  margin-top: 0;
}

.info-card-link .card-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  margin-top: auto;
  padding: .55rem .8rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .25);
  font-weight: 800;
}

.info-card-link .card-cta::after {
  content: "→";
  font-size: 1.15rem;
  line-height: 1;
  transition: transform .2s ease;
}

.info-card-link:hover .card-cta::after,
.info-card-link:focus-visible .card-cta::after {
  transform: translateX(4px);
}

.facebook-card .facebook-icon,
.news .news-icon,
.instagram-card .instagram-icon {
  background: #fff;
  border-color: rgba(255, 255, 255, .95);
}

.facebook-card .facebook-icon {
  color: #0866ff;
}

.news .news-icon {
  color: #16396d;
}

.instagram-card .instagram-icon {
  color: #d62976;
}

@media (prefers-reduced-motion: reduce) {
  .info-card-link,
  .info-card-link .card-cta::after {
    transition: none;
  }
}

/* Ondas de radio: más altas, discretas y completamente sobre el fondo azul */
.signal {
  top: -92px;
  right: 18px;
  gap: 8px;
  align-items: center;
  opacity: .9;
  transform: rotate(-8deg);
}

.signal i {
  width: 28px;
  height: 56px;
  border-width: 4px;
  border-right-color: #9dd2ff;
  filter: drop-shadow(0 4px 8px rgba(6, 20, 47, .28));
}

.signal i:nth-child(2) {
  width: 42px;
  height: 84px;
}

.signal i:nth-child(3) {
  width: 56px;
  height: 112px;
}

/* Publicidad de auspiciantes */
.sponsor-ad {
  width: min(760px, calc(100% - 2.4rem));
  margin: 0 auto 6rem;
}

.sponsor-label {
  margin: 0 0 .55rem;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-align: center;
}

.sponsor-ad a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(7, 26, 61, .15);
  border-radius: 18px;
  background: #071a3d;
  box-shadow: 0 16px 42px rgba(7, 26, 61, .15);
  transition: transform .22s ease, box-shadow .22s ease;
}

.sponsor-ad img {
  display: block;
  width: 100%;
  height: auto;
}

.sponsor-ad a:hover,
.sponsor-ad a:focus-visible {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 24px 54px rgba(7, 26, 61, .25);
  outline: none;
}

.sponsor-ad a:focus-visible {
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--blue), 0 24px 54px rgba(7, 26, 61, .25);
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-ad a {
    transition: none;
  }
}

.hero-clock {
  position: absolute;
  bottom: calc(100% + 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 38vw;
  margin: 0;
  color: #9dd2ff;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}

/* Reproductor fijo, visible durante toda la navegación */
body {
  padding-bottom: 94px;
}

.fixed-player {
  position: fixed;
  z-index: 1000;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 84px;
  color: #fff;
  background: linear-gradient(90deg, #123f75 0%, #0a2b58 100%);
  border-top: 4px solid #9dd2ff;
  box-shadow: 0 -10px 30px rgba(2, 13, 34, .3);
}

.fixed-player audio {
  display: none;
}

.fixed-player-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 80px;
  margin: auto;
  display: grid;
  grid-template-columns: 54px minmax(210px, 1fr) minmax(320px, auto) 58px 150px;
  grid-template-areas: "art copy listeners toggle volume";
  align-items: center;
  gap: 1rem;
}

.listener-count {
  grid-area: listeners;
  min-width: 0;
  min-height: 48px;
  padding: .55rem .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  border: 1px solid rgba(157, 210, 255, .55);
  border-radius: 12px;
  background: rgba(5, 22, 52, .72);
  color: #fff;
  box-shadow: inset 0 0 18px rgba(72, 154, 226, .12);
  text-align: center;
}

.listener-count span {
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.25;
}

#listener-count-number {
  flex: 0 0 auto;
  min-width: 2.2ch;
  color: #f1c84c;
  font: 800 1.55rem/1 Barlow Condensed, sans-serif;
}

.fixed-player-art {
  grid-area: art;
  position: relative;
  width: 54px;
  height: 74px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

#fixed-player-image {
  display: block;
  width: 100%;
  height: 74px;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  background: transparent;
}

#fixed-player-image.is-program {
  position: relative;
  top: 0;
  width: auto;
  height: 84px;
  object-fit: contain;
}

.fixed-player-copy {
  grid-area: copy;
  min-width: 0;
  display: grid;
  line-height: 1.15;
}

#fixed-player-status {
  width: fit-content;
  margin-bottom: .2rem;
  color: #9dd2ff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
}

#fixed-player-status.is-on-air {
  color: #fff;
}

#fixed-player-title {
  overflow: hidden;
  color: #fff;
  font: 800 1.25rem/1.05 Barlow Condensed, sans-serif;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#fixed-player-meta {
  overflow: hidden;
  margin-top: .25rem;
  color: #d7e5f4;
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-toggle {
  grid-area: toggle;
  width: 54px;
  height: 54px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #164e9b;
  background: #fff;
  border: 5px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .25);
  cursor: pointer;
}

.player-toggle:hover,
.player-toggle:focus-visible {
  transform: scale(1.06);
  outline: 3px solid #9dd2ff;
  outline-offset: 2px;
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid currentColor;
}

.player-toggle.is-playing .play-icon {
  width: 13px;
  height: 18px;
  margin-left: 0;
  border: 0;
  border-right: 5px solid currentColor;
  border-left: 5px solid currentColor;
}

.volume-control {
  grid-area: volume;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #d7e5f4;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.volume-control input {
  width: 100%;
  min-width: 80px;
  accent-color: #9dd2ff;
  cursor: pointer;
}

.volume-control input:focus-visible {
  outline: 3px solid #9dd2ff;
  outline-offset: 3px;
}

@media (min-width: 721px) and (max-width: 900px) {
  .fixed-player-inner {
    width: calc(100% - 1rem);
    grid-template-columns: 50px minmax(140px, 1fr) minmax(220px, 300px) 50px 105px;
    gap: .55rem;
  }

  .listener-count {
    padding-right: .55rem;
    padding-left: .55rem;
  }

  .listener-count span {
    font-size: .68rem;
  }

  #listener-count-number {
    font-size: 1.35rem;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(166px + env(safe-area-inset-bottom));
  }

  .fixed-player {
    min-height: 158px;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .fixed-player-inner {
    width: calc(100% - 1rem);
    min-height: 154px;
    grid-template-columns: 54px minmax(0, 1fr) 50px;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "art copy toggle"
      "listeners listeners listeners"
      "volume volume volume";
    gap: .45rem .65rem;
    padding: .45rem 0 .55rem;
  }

  .fixed-player-art {
    width: 54px;
    height: 62px;
  }

  #fixed-player-image {
    width: 100%;
    height: 62px;
  }

  #fixed-player-image.is-program {
    top: 0;
    width: auto;
    height: 70px;
  }

  .fixed-player-copy {
    width: 100%;
  }

  #fixed-player-status,
  #fixed-player-title,
  #fixed-player-meta {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #fixed-player-status {
    margin-bottom: .12rem;
    font-size: .66rem;
    letter-spacing: .06em;
  }

  #fixed-player-title {
    font-size: 1.05rem;
  }

  #fixed-player-meta {
    font-size: .68rem;
  }

  .player-toggle {
    width: 48px;
    height: 48px;
  }

  .volume-control {
    width: 100%;
    align-self: center;
  }

  .volume-control input {
    min-width: 0;
  }

  .listener-count {
    min-height: 36px;
    padding: .38rem .65rem;
    gap: .45rem;
  }

  .listener-count span {
    font-size: .68rem;
  }

  #listener-count-number {
    font-size: 1.35rem;
  }

}

@media (max-width: 420px) {
  .fixed-player-inner {
    grid-template-columns: 48px minmax(0, 1fr) 44px;
    column-gap: .5rem;
  }

  .fixed-player-art {
    width: 48px;
    height: 58px;
  }

  #fixed-player-image {
    height: 58px;
  }

  #fixed-player-image.is-program {
    height: 66px;
  }

  .player-toggle {
    width: 44px;
    height: 44px;
    border-width: 4px;
  }

  #fixed-player-title {
    font-size: 1rem;
  }

  #fixed-player-meta {
    font-size: .65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .player-toggle {
    transition: none;
  }
}

/* Publicidad inicial y avisos flotantes. */
.welcome-ad {
  position: fixed;
  z-index: 1300;
  inset: 0;
  padding: clamp(1rem, 4vw, 3rem);
  display: grid;
  place-items: center;
  background: rgba(2, 13, 34, .76);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .22s ease;
}

.welcome-ad[hidden] {
  display: none;
}

.welcome-ad.is-visible {
  opacity: 1;
}

.welcome-ad-panel {
  position: relative;
  width: min(720px, 94vw);
  max-height: 86vh;
  padding: 2.1rem .55rem .55rem;
  overflow: hidden;
  background: #071a3d;
  border: 2px solid rgba(157, 210, 255, .8);
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .55);
  transform: scale(.96);
  transition: transform .22s ease;
}

.welcome-ad.is-visible .welcome-ad-panel {
  transform: scale(1);
}

.welcome-ad-panel a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.welcome-ad-panel img {
  display: block;
  width: 100%;
  max-height: calc(86vh - 2.65rem);
  object-fit: contain;
  background: #071a3d;
}

.welcome-ad-label {
  position: absolute;
  top: .65rem;
  left: 1rem;
  color: #9dd2ff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.welcome-ad-close {
  position: absolute;
  z-index: 2;
  top: .28rem;
  right: .45rem;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.welcome-ad-close:hover,
.welcome-ad-close:focus-visible {
  background: #d7192d;
  outline: 3px solid #9dd2ff;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .welcome-ad {
    padding: .8rem;
  }

  .welcome-ad-panel {
    width: 96vw;
    padding: 2rem .35rem .35rem;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-ad,
  .welcome-ad-panel {
    transition: none;
  }
}

/* Anniversary collage keeps its full portrait composition at every width. */
.story-visual.story-collage {
  min-height: 0;
  aspect-ratio: auto;
}
.story-visual.story-collage::before { content: none; }
.story-visual.story-collage img {
  position: static;
  width: 100%;
  height: auto;
  transform: none;
  filter: none;
}

/* Responsive layout: allow content to wrap without forcing grid tracks wider. */
.hero-copy, .live-card > *, .story > *, .info-card, .social-section > *,
.instagram-profile > span, .event-promo > *, .footer-brand > div {
  min-width: 0;
}
.hero h1 { line-height: 1.04; }
.section h2, .info-card h2, .event-promo h2,
.promo-strip h2, .social-section h2, .direct-actions-heading h2 {
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.story-era { gap: .7rem; }
.story-era strong { line-height: 1; }
.live-card { grid-template-columns: auto minmax(0, max-content) minmax(155px, 1fr); }
.info-card-link { padding: 1.75rem; }
.info-card-link .brand-icon {
  position: static;
  flex: 0 0 56px;
  margin-bottom: 1.2rem;
}
.info-card-link .card-cta { max-width: 100%; }
.info-card-link .card-cta::after { flex-shrink: 0; }
.instagram-profile strong { overflow-wrap: anywhere; }
.event-promo, .event-promo-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.event-promo-kicker { max-width: 100%; }
@media (max-width: 1100px) {
  .social-section { grid-template-columns: minmax(0, 1fr); }
  .instagram-profile { justify-self: center; }
}
@media (max-width: 900px) {
  .event-promo, .event-promo-secondary { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.9rem); line-height: 1.08; }
  .live-card { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .live-program-art { width: min(100%, 280px); }
  .hero-actions > .button { max-width: 100%; text-align: center; }
  .story-copy p:not(.eyebrow) { font-size: 1rem; line-height: 1.75; }
  .story-visual { min-height: 0; aspect-ratio: 4 / 5; }
  .story-era { top: 1.25rem; left: 1.25rem; }
  .story-era strong { font-size: clamp(4rem, 20vw, 6rem); }
  .instagram-profile { padding: 1.5rem; }
  .instagram-profile .brand-icon { position: static; margin: 0; }
  .footer-brand { align-items: flex-start; }
  .footer-brand img { flex-shrink: 0; }
}

/* Compact cover and primary listening action. */
.hero { min-height: 0; padding-top: 3rem; padding-bottom: 3rem; gap: 3rem; grid-template-columns: minmax(0,1.5fr) minmax(240px,.65fr); }
.hero h1 { font-size: clamp(2.6rem,4.5vw,4.5rem); line-height: 1.02; max-width: 760px; }
.hero-text { font-size: 1.05rem; margin: 1.1rem 0; }
.hero-mark img { width: min(280px,24vw); border-width: 6px; }
.hero .hero-clock { position: static; transform: none; width: auto; max-width: none; margin: 0 0 1rem; font-size: .9rem; }
.listen-live { border: 0; font: inherit; font-weight: 800; font-size: 1.15rem; min-height: 58px; cursor: pointer; box-shadow: 0 6px 22px rgba(0,0,0,.2); }
.listen-live:hover { background: #b71022; }
.listen-live:focus-visible, .history-photo:focus-visible { outline: 3px solid #7fb9e9; outline-offset: 4px; }
.hero-actions { align-items: center; }
.info-grid-section { grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); }

/* Each image is a separate accessible target, with a full-photo preview. */
.interactive-collage .collage-title { margin: 0; padding: .75rem; text-align: center; color: white; font: 800 clamp(2rem,4vw,3.5rem)/1.1 'Barlow Condensed',sans-serif; }
.history-grid { display: flex; flex-direction: column; gap: 3px; padding: 3px; background: #071a3d; }
.history-row { display: flex; align-items: flex-start; gap: 3px; }
.history-photo { display: block; padding: 0; border: 0; background: #e8edf3; cursor: zoom-in; min-width: 0; flex: var(--photo-grow) 1 0; aspect-ratio: var(--photo-ratio); overflow: hidden; }
.story-visual.story-collage .history-photo img { width: 100%; height: 100%; object-fit: contain; }
.history-photo:hover, .history-photo:focus-visible { outline: 3px solid #7fb9e9; outline-offset: -3px; }
.history-hover { position: fixed; z-index: 150; width: min(460px,42vw); height: min(560px,65vh); padding: 8px; background: #071a3d; border-radius: 12px; box-shadow: 0 16px 60px #0008; pointer-events: none; }
.history-hover[hidden] { display: none; }
.history-hover img { display: block; width: 100%; height: 100%; object-fit: contain; }
#history-dialog { padding: 2.8rem .6rem .6rem; border: 0; border-radius: 14px; background: #071a3d; max-width: 94vw; max-height: 86vh; }
#history-dialog::backdrop { background: #020a19cc; }
#history-dialog img { display: block; max-width: 88vw; max-height: 74vh; object-fit: contain; }
.history-close { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; background: transparent; color: white; font-size: 2rem; cursor: pointer; }
@media(max-width:1100px) { .hero { grid-template-columns: minmax(0,1fr); } }
@media(max-width:720px) {
  .hero { padding: 2rem 1.2rem; }
  .hero h1 { font-size: clamp(2.2rem,8vw,3rem); }
  .hero .live-card { grid-template-columns: minmax(0,1fr) 90px; gap: .5rem .8rem; }
  .hero .live-status { grid-column: 1/-1; }
  .hero .live-program-art { width: 90px; }
  .hero .live-card h2 { font-size: 1.45rem; }
  .hero-actions { gap: .7rem; }
  .hero-actions .listen-live { width: 100%; }
  .story-visual.story-collage { aspect-ratio: auto; }
  .info-grid-section { grid-template-columns: minmax(0,1fr); }
}

/* On narrow screens, preview below the photos instead of covering them. */
.history-hover.history-hover-inline { position: static; width: 100%; height: min(460px, 60vh); margin-top: 8px; box-shadow: none; }
.story-visual.story-collage .history-hover img { width: 100%; height: 100%; object-fit: contain; }

/* Next broadcast slot, including the musical intervals between programs. */
.next-program { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .85rem; margin-top: .8rem; padding: .75rem 1rem; border-left: 3px solid #7fb9e9; background: rgba(255,255,255,.06); border-radius: 0 8px 8px 0; }
.next-program-label { color: #b9d3ef; font-size: .8rem; }
.next-program strong { color: #fff; font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
@media(max-width:720px) { .next-program { flex-direction: column; gap: .2rem; } }

.program-card.tango-program img { object-fit: cover; padding: 0; }

.program-card.tango-program h3, #now-title.tango-title, #fixed-player-title.tango-title { text-transform: none; }

#fixed-player-image.tango-art { width: 100%; height: 100%; object-fit: cover; object-position: left center; }

/* September additions preserve the existing station palette and page layout. */
.today-section { margin-top: 2.5rem; }
.today-programs { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.today-program { position:relative; overflow:hidden; border:1px solid #c6d4e5; border-top:4px solid #164e9b; border-radius:12px; padding:1.2rem; min-width:0; background:#fff; }
.today-program span,.today-program small { font-size:.875rem; }
.today-program h3 { font:700 1.5rem/1.2 'Barlow Condensed',sans-serif; margin:.65rem 0; overflow-wrap:anywhere; }
.today-program p { font-size:1rem; margin:0 0 .6rem; }
.today-program small { color:#52647c; }
.today-soon .program-state { color:#d50000; font-weight:800; }
.today-active { background:#071a3d; color:#fff; border-color:#071a3d; }
.today-active small { color:#b9d3ef; font-weight:700; }
.today-live-badge { position:absolute; top:7px; left:7px; z-index:5; display:inline-flex; align-items:center; min-height:20px; padding:.2rem .34rem; border-radius:4px; background:#d50000; color:#fff; box-shadow:0 3px 7px #0006; font:800 .58rem/1 Inter,sans-serif; letter-spacing:.02em; animation:on-air-blink .9s steps(2,end) infinite; pointer-events:none; }
.replay-section { border-left:4px solid #164e9b; padding:1.5rem; background:#edf3fa; border-radius:0 12px 12px 0; }
.replay-section p { font-size:1rem; line-height:1.6; }
.replay-empty { color:#52647c; }
.install-section { display:flex; flex-wrap:wrap; gap:1.3rem; align-items:center; padding:1.5rem; border:1px solid #c6d4e5; border-radius:12px; }
.install-section img { border-radius:12px; object-fit:contain; }
.install-section > div { flex:1 1 240px; min-width:0; }
.install-section h2 { font-size:1.8rem; }
.install-section p { font-size:1rem; line-height:1.5; }
.install-section #install-help { margin:.75rem 0 0; padding:.7rem .85rem; border-left:4px solid #164e9b; border-radius:0 7px 7px 0; background:#edf3fa; color:#071a3d; font-weight:700; }
.install-section button { cursor:pointer; font:600 1rem/1.3 Inter,sans-serif; }
#track-title,#playback-status { display:block; font-size:.875rem; line-height:1.35; color:#d7e5f4; margin-top:.2rem; overflow-wrap:anywhere; }
#track-title { color:#fff; }
.fixed-player-inner { padding-top:.65rem; padding-bottom:.65rem; }
body { padding-bottom:160px; }
@media(max-width:720px){
  .today-programs { grid-template-columns:minmax(0,1fr); }
  #fixed-player-meta { display:none; }
  #fixed-player-title { white-space:normal; line-height:1.2; }
  #track-title,#playback-status { font-size:.875rem; }
  body { padding-bottom:210px; }
  .install-section button { width:100%; }
}

/* Daily schedule links lead to the full weekly flyer. */
.today-program { display:block; text-decoration:none; color:inherit; cursor:pointer; }
.today-program.today-active { color:#fff; }
.today-program:hover { box-shadow:0 4px 18px #071a3d24; }
.today-program:focus-visible { outline:3px solid #164e9b; outline-offset:4px; }
.program-card { scroll-margin-top:110px; }
.program-card:target { outline:3px solid #164e9b; outline-offset:5px; }
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}.today-live-badge{animation:none;}}

/* Scoped changes: regional agenda, installation and optional track metadata. */
#track-title[hidden], #install-app[hidden] { display:none !important; }
.regional-agenda .section-head p { font-size:1rem; line-height:1.6; }
.regional-agenda .agenda-coverage { margin:0 0 1.25rem; font-size:1rem; line-height:1.6; }
.regional-agenda .agenda-coverage summary { cursor:pointer; color:#164e9b; }
.regional-agenda .regional-event { display:flex; flex-direction:column; gap:.5rem; cursor:default; }
.regional-agenda .regional-event h3 { margin:.25rem 0 .5rem; }
.regional-agenda .regional-event p { margin:0; }
.regional-agenda .event-city { color:#164e9b; font-weight:700; }
.regional-agenda .regional-event small { margin-bottom:.5rem; }
.regional-agenda .regional-event .button { margin-top:auto; align-self:flex-start; }
.regional-agenda .regional-event time { font-size:1rem; font-weight:600; }
.regional-agenda .event-flyer-link { display:block; width:100%; aspect-ratio:4/5; overflow:hidden; border-radius:8px; background:#edf3fa; }
.regional-agenda .event-flyer { display:block; width:100%; height:100%; object-fit:contain; }
.regional-agenda button.event-flyer-link { padding:0; border:0; cursor:zoom-in; }
.regional-agenda button.event-flyer-link:focus-visible { outline:3px solid #e31d2b; outline-offset:3px; }
#event-flyer-dialog { padding:2.8rem .6rem .6rem; border:0; border-radius:14px; background:#071a3d; max-width:94vw; max-height:90vh; }
#event-flyer-dialog::backdrop { background:#020a19e6; }
#event-flyer-dialog img { display:block; max-width:88vw; max-height:78vh; object-fit:contain; }
.regional-agenda .agenda-filter { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem 1rem; margin:0 0 1.25rem; }
.regional-agenda .agenda-filter label { color:#164e9b; font-size:1rem; font-weight:700; }
.regional-agenda .agenda-filter select { min-width:min(100%,290px); min-height:44px; padding:.65rem 2.4rem .65rem .8rem; border:1px solid #9fb4cd; border-radius:8px; background:#fff; color:#071a3d; font:600 1rem/1.3 Inter,sans-serif; }
.regional-agenda .agenda-filter select:focus-visible { outline:3px solid #7fb9e9; outline-offset:2px; }
@media(max-width:720px) { .regional-agenda .agenda-filter { align-items:stretch; } .regional-agenda .agenda-filter label,.regional-agenda .agenda-filter select { width:100%; } }
#install-app:disabled { opacity:.65; cursor:wait; }

/* Navigation follows the page sections and fits without crowding. */
.site-header #site-nav { flex-wrap:wrap; justify-content:flex-end; gap:.4rem 1rem; min-width:0; }
.site-header #site-nav a { font-size:.875rem; line-height:1.4; padding:.3rem 0; }
@media(min-width:1101px) { html { scroll-padding-top:120px; } }
@media(max-width:1100px) {
  .site-header #site-nav { top:100%; gap:.3rem 1rem; max-height:calc(100dvh - 90px); overflow-y:auto; }
  .site-header #site-nav.open { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .site-header #site-nav a { white-space:normal; display:flex; align-items:center; min-height:44px; padding:.55rem .25rem; }
}

/* Host-only photographs are exclusive to the daily program cards. */
#today-programs .today-host-photo { display:block; width:100%; height:210px; object-fit:contain; object-position:center; background:#fff; border-radius:7px; margin:0 0 1rem; }
@media(max-width:720px) { #today-programs .today-host-photo { height:240px; } }

/* La actividad aparece dentro del sector azul, inmediatamente sobre la fecha. */
.hero-mark {
  display: grid;
  justify-items: center;
}
.hero-mark .hero-clock {
  position: static;
  transform: none;
  width: auto;
  max-width: none;
  margin: 0 0 1rem;
}

/* Titilado lento y suave, limitado al número de oyentes. */
#listener-count-number {
  animation: listener-count-pulse 3s ease-in-out infinite;
}
@keyframes listener-count-pulse {
  0%, 100% { opacity: 1; text-shadow: 0 0 0 rgba(241,200,76,0); }
  50% { opacity: .38; text-shadow: 0 0 12px rgba(241,200,76,.4); }
}

@media(max-width:1100px) {
  .hero-mark {
    grid-column: 1;
    justify-self: stretch;
    justify-items: start;
    margin-top: -1.25rem;
  }
  .hero-mark img { display:none; }
}

@media(prefers-reduced-motion:reduce) {
  #listener-count-number { animation:none; }
}

/* Agenda y eventos folklóricos compactos: más eventos visibles sin perder información. */
:is(#regional-events,#folklore-events) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

:is(#regional-events,#folklore-events) .event-compact {
  min-height: 112px;
  padding: .85rem;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  grid-template-areas: "date copy link";
  align-items: center;
  gap: .8rem;
  border-top-width: 1px;
  border-left: 4px solid #164e9b;
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(7,26,61,.08);
}

:is(#regional-events,#folklore-events) .event-compact.has-flyer {
  grid-template-columns: 82px 62px minmax(0, 1fr) auto;
  grid-template-areas: "flyer date copy link";
}

:is(#regional-events,#folklore-events) .event-flyer-link {
  grid-area: flyer;
  width: 82px;
  height: 92px;
  aspect-ratio: auto;
  border-radius: 7px;
}

:is(#regional-events,#folklore-events) .event-date-badge {
  grid-area: date;
  width: 62px;
  min-height: 66px;
  padding: .45rem .25rem;
  display: grid;
  place-content: center;
  color: #fff;
  background: #164e9b;
  border-radius: 8px;
  text-align: center;
  line-height: 1;
}

:is(#regional-events,#folklore-events) .event-date-badge strong {
  font: 800 1.7rem/1 Barlow Condensed,sans-serif;
}

:is(#regional-events,#folklore-events) .event-date-badge span {
  margin-top: .2rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
}

:is(#regional-events,#folklore-events) .event-date-badge small {
  margin: .3rem 0 0;
  color: #d9eaff;
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
}

:is(#regional-events,#folklore-events) .event-compact-copy {
  grid-area: copy;
  min-width: 0;
}

:is(#regional-events,#folklore-events) .event-compact-copy .event-city {
  display: block;
  margin: 0 0 .18rem;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

:is(#regional-events,#folklore-events) .event-compact-copy h3 {
  margin: 0 0 .3rem;
  color: #071a3d;
  font-size: 1.2rem;
  line-height: 1.12;
}

:is(#regional-events,#folklore-events) .event-compact-meta {
  overflow: hidden;
  margin: 0;
  color: #52647c;
  font-size: .78rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

:is(#regional-events,#folklore-events) .event-compact-copy small {
  display: block;
  overflow: hidden;
  margin: .25rem 0 0;
  color: #6b7788;
  font-size: .68rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:is(#regional-events,#folklore-events) .event-compact-link {
  grid-area: link;
  align-self: center;
  margin: 0;
  padding: .55rem .7rem;
  font-size: .72rem;
  white-space: nowrap;
}

@media(max-width:1100px) {
  :is(#regional-events,#folklore-events) { grid-template-columns: minmax(0,1fr); }
}

@media(max-width:600px) {
  :is(#regional-events,#folklore-events) .event-compact,
  :is(#regional-events,#folklore-events) .event-compact.has-flyer {
    grid-template-columns: 56px minmax(0,1fr);
    grid-template-areas: "date copy" "link link";
    gap: .65rem;
  }
  :is(#regional-events,#folklore-events) .event-compact.has-flyer {
    grid-template-columns: 68px 56px minmax(0,1fr);
    grid-template-areas: "flyer date copy" "link link link";
  }
  :is(#regional-events,#folklore-events) .event-flyer-link { width:68px; height:82px; }
  :is(#regional-events,#folklore-events) .event-date-badge { width:56px; min-height:62px; }
  :is(#regional-events,#folklore-events) .event-compact-link { width:100%; text-align:center; }
}
