/* ACTIVATE · Portátiles
 * Pantallas como la de un ThinkPad P14 con la ampliación de Windows al 150 % (unos 1280×610 útiles) o
 * similares: anchas pero BAJAS. El diseño de sobremesa quedaba apretado y el reproductor tapaba contenido.
 * Todo cuelga de dos condiciones; ni el móvil ni las pantallas grandes se ven afectados. */

/* ---------- 1. portátil por ancho: más aire a los lados y controles flotantes discretos ---------- */
@media (min-width: 901px) and (max-width: 1439px) {
  html .wrap { max-width: calc(100% - 96px); padding-left: 16px; padding-right: 16px; }
  html .nav-inner { padding-left: 64px; padding-right: 48px; }
  html .nav-links { gap: 18px; }
  html .nav-links a { letter-spacing: 1.4px; }
  html .nav-socials a { width: 26px; height: 30px; }
  html .player-shell { padding-left: 64px; padding-right: 64px; }
  /* Arriba, Estudio y Llamar quedan como iconos: con texto se montaban sobre el contenido */
  html .contact-bar { right: 12px; gap: 4px; }
  html .contact-btn { width: 38px; height: 38px; min-width: 0; padding: 0; justify-content: center; }
  html .contact-btn span { display: none; }
}

/* ---------- 2. pantalla baja: todo cabe a lo alto ---------- */
@media (min-width: 901px) and (max-height: 760px) {
  /* reproductor más fino */
  html .player-bar { bottom: 8px; }
  html .player-inner { height: 54px; }
  html .player-play { width: 36px; height: 36px; }
  html .player-thumb { width: 34px; height: 34px; }
  html .player-track { font-size: 13px; }
  html .player-label { margin-bottom: 0; }
  html .player-bar.has-seek .player-inner { height: 70px; padding-bottom: 18px; }
  html .player-seek { bottom: 0; }

  /* portada: los tarjetones se ajustan al alto que queda entre la cabecera y el reproductor */
  html .ticker { height: 30px; }
  html .hero { padding-top: 6px; padding-bottom: 28px; }
  html .prog-cards { padding-top: 4px; }
  html .prog-cards .prog-card { flex: 0 0 clamp(288px, calc(100vh - 318px), calc((100% - 4px) / 3)); }
  html .pc-live-inner { padding: 14px 16px; }
  html .pc-badge { margin-bottom: 8px; padding: 4px 8px; }
  html .pc-live-program { padding-bottom: 8px; margin-bottom: 8px; }
  html .pc-recent-label { margin-bottom: 4px; }
  html .pc-track { padding: 4px 0; }
  html .pc-track-thumb { width: 28px; height: 28px; }
  html .pc-track-name { line-height: 1.25; }
  html .pc-track-artist { line-height: 1.25; }
  html .pc-play-row { margin-top: 8px; flex-wrap: nowrap; }
  html .pc-play-btn, html .pc-wa { min-height: 36px; padding-top: 8px; padding-bottom: 8px; }
  html .pc-artwork-info { padding: 14px; }
  html .pc-next-content { padding: 14px 16px; }
  html .pc-next-badge { margin-bottom: 8px; }
  html .pc-next-times { font-size: 20px; margin-bottom: 6px; }
  html .pc-next-name { font-size: 20px; margin-bottom: 6px; }
  html .prog-nav { padding-top: 6px; }

  /* titulares y separaciones de cada apartado */
  html .noticias, html .agenda { padding-top: 44px; padding-bottom: 44px; }
  html .nr-hl, html .rep-hl { font-size: clamp(40px, 5.4vw, 70px); margin-bottom: 20px; }
  html .nr-feat-media { max-height: max(250px, calc(100vh - 310px)); width: 100%; }
  html .agenda-title { font-size: clamp(40px, 6vw, 76px); }
  html .sec-header { padding-bottom: 12px; margin-bottom: 20px; }
  html .news-page { padding-top: 66px; }
  html .news-page-hl, html .agenda-page-hl, html .pod-page-hl { font-size: clamp(40px, 5.4vw, 66px); }
  html .ct-hl { font-size: 48px; margin-bottom: 20px; }
  html .ct-page { padding-top: 78px; }
  html .ct-channels { margin-bottom: 32px; }
  html .ct-channel { padding: 16px 22px; }
  html .ct-channel-icon { margin-bottom: 8px; }
  html .ct-channel-label { margin-bottom: 4px; }
  /* listado de noticias a tres columnas: se ve una fila completa de un vistazo */
  html .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* agenda de portada: fotos más bajas para que la tarjeta quepa entera con sus botones */
  html .at-img { aspect-ratio: 16 / 9; }
  html .at-body { padding: 10px 14px; }
  html .at-btns { margin-top: 8px; }

  /* noticia: menos hueco arriba para que la foto asome enseguida */
  html .art-page { padding-top: 72px; }
  html .art-hero-zone { padding-top: 16px; padding-bottom: 18px; }

  /* la foto de la noticia se ve entera, sin ocupar más que la pantalla */
  html .art-hero-img { width: min(1100px, 100%, calc((100vh - 230px) * 16 / 9)); margin-left: auto; margin-right: auto; }
  html .art-page--flash .art-hero-img { width: min(900px, 100%, calc((100vh - 230px) * 16 / 9)); }
}
