
/* NGAIS Mobile Fix Pack (v2025-09-09) */
/* base resets and mobile layout fixes */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; height: auto; }
body { margin: 0; overflow-x: hidden; }
.center { text-align: center !important; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.wrap { flex-wrap: wrap; }
.w-100 { width: 100% !important; }
.maxw-680 { max-width: 680px; margin-left: auto; margin-right: auto; }
.pad { padding: 1rem; }
.container, .content, main, section {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
nav, .top-nav, .main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
}
nav a, .main-nav a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
}
.hero, .masthead, .banner {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3.5rem 1rem;
}
.hero h1, .masthead h1, .banner h1 {
  margin: 0.25rem 0 0.5rem 0;
  line-height: 1.15;
}
.hero .cta-row, .banner .cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.hero .btn, .banner .btn { min-width: 220px; }
.row, .cols, .grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }
@media (max-width: 992px) {
  .col-4, .col-6 { grid-column: span 6; }
}
@media (max-width: 768px) {
  .row, .cols, .grid {
    grid-template-columns: 1fr;
  }
  .col-4, .col-6, .col-12 { grid-column: 1 / -1; }
  .absolute, .abs, .pos-abs, [style*="position:absolute"] {
    position: static !important;
    transform: none !important;
    left: auto !important; top: auto !important; right: auto !important; bottom: auto !important;
    margin: 0 auto !important;
  }
  nav, .top-nav, .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }
}
.btn-yellow { background: #FFD400; color: #000; border: 0; padding: 0.75rem 1.1rem; border-radius: 6px; font-weight: 700; }
.btn-blue   { background: #005BBB; color: #fff; border: 0; padding: 0.75rem 1.1rem; border-radius: 6px; font-weight: 700; }
.btn-yellow:hover, .btn-blue:hover { filter: brightness(1.05); }
footer, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  position: relative;
  width: 100%;
}
footer .footer-left, .site-footer .footer-left,
footer .footer-center, .site-footer .footer-center,
footer .footer-right, .site-footer .footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
footer img, .site-footer img {
  height: auto;
  max-height: 56px;
  width: auto;
}
@media (max-width: 768px) {
  footer, .site-footer {
    flex-wrap: wrap;
    justify-content: center;
  }
}
.section, .section-dark, .section-contrast {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 2rem;
  overflow: hidden;
}
.section > * { position: relative; z-index: 1; }
.bg, .bg-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
