/* Responsive rules: tablet and mobile adjustments for style.css */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .nav-link { padding: .6rem .55rem; font-size: .9rem; }
}

@media (max-width: 900px) {
  .topbar { display: none; }                  /* the top information bar is hidden on mobile */
  .nav-toggle { display: inline-grid; place-items: center; position: relative; z-index: 1200; }
  .mmu-logo.desktop-only { display: none; }
  .mobile-only { display: block; }
  .nav-menu { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--white); flex-direction: column; align-items: stretch; padding: 5rem 1rem 2rem; gap: 0; overflow-y: auto; transform: translateX(105%); visibility: hidden; transition: transform .3s ease, visibility .3s; box-shadow: -10px 0 30px rgba(0, 0, 0, .15); z-index: 1100; }
  .nav-menu.open { transform: none; visibility: visible; }
  .nav-menu > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: .9rem .5rem; border-bottom: 0; }
  .dropdown { position: static; box-shadow: none; border-top: 0; min-width: 0; opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; padding: 0 .5rem; transition: max-height .3s ease; }
  .has-dropdown.open > .dropdown, .has-dropdown:focus-within > .dropdown { max-height: 520px; padding-bottom: .5rem; }
  .nav-register { margin: 1rem 0 0; border-bottom: 0 !important; }
  .messages { top: 70px; }
  .message-layout { grid-template-columns: 1fr; justify-items: center; }
  .message-layout .prose { justify-self: stretch; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 96px 1fr; }
  .news-row img, .news-row .thumb-empty { width: 96px; }
  .hero-arrow { display: none; }
  .hero { min-height: 520px; }
  .brand-logo img { height: 50px; width: 50px; }
  table.data { font-size: .88rem; }
}
