
/* =========================================================
   AJUSTE GLOBAL DE MODALES EN CELULAR
   Solo afecta textos internos y botón de cierre
========================================================= */

@media (max-width: 768px) {

  .art-modal-info,
  .book-modal-info,
  .teaching-modal-info {
    width: 100%;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
    padding: 4px 18px 8px 18px;
    text-align: center;
    box-sizing: border-box;
  }

  .art-modal-info h2,
  .book-modal-info h2,
  .teaching-modal-info h2,
  .video-modal-title {
    text-align: center;
    margin-top: 4px;
    margin-bottom: 6px;
  }

  .art-modal-meta,
  .book-modal-meta,
  .teaching-modal-meta {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6px;
  }

  .art-modal-description,
  .book-modal-description,
  .teaching-modal-description,
  .video-modal-title {
    text-align: center;
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }

  .art-modal-content,
  .book-modal-content,
  .teaching-modal-content {
    padding-bottom: 2px;
  }

  .art-modal-image-wrap,
  .book-modal-image-wrap,
  .teaching-modal-video-wrap {
    align-items: flex-end;
  }

  .video-modal-panel {
    align-items: center;
  }

  .video-modal-title {
    margin-top: 8px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .art-modal-close,
  .book-modal-close,
  .teaching-modal-close,
  .video-modal-close {
    width: 46px;
    height: 46px;
    font-size: 2rem;
    line-height: 1;
  }
}

@media (max-width: 768px) {

  .menu-toggle {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: auto;
    min-height: 100svh;
    z-index: 1100;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: auto;
    min-height: 100svh;
    overflow-y: auto;
  }

}