/* Correcciones confirmadas por auditoría visual de producción (2026-09-15).
 * Elementor y ProRadio mantienen estructura, datos y controles. */
@media (max-width: 767px) {
  /* Un hueco lateral sin creatividad no debe mostrar únicamente su cierre. */
  .prbt-adslot.prbt-static.active:not(:has(iframe, img, a:not(.prbt-close))) {
    display: none !important;
  }

  /* La cabecera temática no puede partir una palabra en un carácter aislado. */
  #proradio-body .proradio-pagecaption {
    font-size: clamp(2.25rem, 11vw, 3.5rem) !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  /* Directo de portada: restablece el flujo del widget real sin sustituirlo. */
  body.page-id-392364 .elementor-element-5f0257a .proradio-customplayer {
    height: auto !important;
    min-height: 0 !important;
  }

  body.page-id-392364 .elementor-element-5f0257a .proradio-customplayer__cont {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.page-id-392364 .elementor-element-5f0257a .proradio-customplayer__show {
    align-items: center !important;
    display: grid !important;
    gap: 10px;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    height: auto !important;
    min-width: 0 !important;
    position: static !important;
  }

  body.page-id-392364 .elementor-element-5f0257a .proradio-customplayer__showart,
  body.page-id-392364 .elementor-element-5f0257a .proradio-customplayer__showart picture,
  body.page-id-392364 .elementor-element-5f0257a .proradio-customplayer__showart img {
    flex: 0 0 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    min-width: 58px !important;
    position: static !important;
    width: 58px !important;
  }

  body.page-id-392364 .elementor-element-5f0257a .proradio-customplayer__showcontents {
    min-width: 0 !important;
    position: static !important;
  }

  body.page-id-392364 .elementor-element-5f0257a .proradio-customplayer__button {
    grid-column: 1 / -1;
  }

  body.page-id-392364 .elementor-element-5f0257a .proradio-customplayer__button a {
    align-items: center;
    background: #c9f72d !important;
    border-radius: 999px !important;
    color: #101722 !important;
    display: flex !important;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    width: 100% !important;
  }
}
