/* Magnus V268 — navegación móvil siempre accesible.
   Solo afecta pantallas hasta 1180 px; conserva la identidad visual. */
@media screen and (max-width: 1180px) {
  body { padding-top: var(--header-h, 78px); }
  #siteHeader.site-header {
    position: fixed; top: 0; inset-inline: 0; width: 100%;
    height: var(--header-h, 78px); z-index: 500;
    overflow: visible; isolation: isolate;
    background: #fff;
  }
  #siteHeader .menu-toggle {
    display: block; flex: 0 0 auto; position: relative; z-index: 2;
    touch-action: manipulation;
  }
  #siteHeader .mobile-menu {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 1;
    box-sizing: border-box;
    max-height: calc(100vh - var(--header-h, 78px));
    max-height: calc(100dvh - var(--header-h, 78px));
    overflow-x: hidden; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 12px max(16px, env(safe-area-inset-right))
      max(20px, env(safe-area-inset-bottom));
    box-shadow: 0 18px 36px rgba(8, 41, 51, .18);
  }
  #siteHeader .mobile-menu nav a {
    display: flex; align-items: center; min-height: 46px;
    padding-block: 10px;
  }
  #siteHeader .mobile-menu-cta { min-height: 48px; margin-top: 12px; }
  body.menu-open { overflow: hidden; }
}
@media screen and (max-width: 640px) {
  #siteHeader .mobile-menu { padding-inline: 20px; }
}
@media screen and (min-width: 1181px) {
  body { padding-top: 0; }
}

/* V269 — Separación correcta de títulos y descripciones en Equipo (móvil).
   Repara la regla previa que convertía el texto en línea, sin alterar escritorio. */
@media screen and (max-width: 900px) {
  #equipo .team-points > div > p {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
  }
  #equipo .team-points > div > p > strong {
    display: block;
    flex: none;
    max-width: 100%;
    line-height: 1.35;
  }
  #equipo .team-points > div > p > small {
    display: block;
    max-width: 100%;
    line-height: 1.6;
  }
}
