/* Lote UX público: cargar solo en portada y horarios. Sin tokens ni fuentes nuevos. */
body.v115-home .hero-quicklinks {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
body.v115-home .hero-quicklinks .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--paper);
}
body.v115-home .hero-quicklinks a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 5px;
}
@media (max-width: 700px) {
  body.v115-home .hero-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  body.v115-home .hero-intro > p {
    max-width: 42ch;
    font-size: .875rem;
    line-height: 1.5;
  }
  body.v115-home .hero-intro .hero-calendar-cta {
    grid-column: 1;
    width: 100%;
    min-width: 0;
  }
  body.v115-home .hero-calendar-cta span { min-width: 0; }
  body.v115-home .hero-calendar-cta b { flex-shrink: 0; }
}
/* La hoja histórica usa !important: limitar la corrección a las filas del horario. */
body.horarios-compact-page .m4-class-row {
  gap: 6px !important;
  padding: 9px 8px !important;
}
body.horarios-compact-page .m4-class-row time {
  font-size: 12px !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}
body.horarios-compact-page .m4-class-row strong {
  font-size: 14px !important;
  line-height: 1.25 !important;
}
