/*
 * Menu a tutto schermo sotto la barra dell'header. È fixed (non absolute) e il JS blocca lo scroll sul body:
 * con overflow:hidden su <html> l'header sticky salterebbe in cima al documento.
 */
@layer components {
  .mobile-menu {
    position: fixed; top: var(--menu-top, 68px); left: 0; right: 0; bottom: 0; z-index: 25;
    overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column;
    padding: 24px 20px 32px;
    background: var(--color-ink); color: #fff;
    &[hidden] { display: none; }
  }
  .mobile-menu__link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; border-bottom: 0.8px solid rgba(255, 255, 255, 0.3);
    color: #fff; text-decoration: none; font-weight: 500; font-size: 26px;
    &:hover { color: var(--color-accent-light); }
  }
  .mobile-menu__info {
    margin-top: 32px; display: flex; flex-direction: column; gap: 6px;
    font-size: 15px; color: var(--color-muted-light);
    & a { color: inherit; text-decoration: none; }
  }
}
