/* Aurora Design Systems32 tablet/zoom freeze pass
   Purpose: preserve desktop-style UHD layouts on tablets and browser zoom, matching the Studios32 behavior.
   Scope: CSS/layout only. No header markup, navigation targets, project text, or images are altered. */

@media (min-width: 700px) and (max-width: 1220px) {
  html,
  body {
    min-width: 1180px !important;
    overflow-x: auto !important;
  }

  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  header.aurora-uhd,
  .aurora-uhd,
  .site-header,
  .ads-site-header,
  .topbar,
  .navbar,
  .header,
  .masthead {
    min-width: 1180px !important;
  }

  header.aurora-uhd,
  .site-header,
  .ads-site-header {
    flex-direction: row !important;
    align-items: center !important;
  }

  header.aurora-uhd .uhd-nav,
  .top-nav,
  .ads-nav,
  nav {
    flex-wrap: wrap !important;
  }

  header.aurora-uhd .uhd-search,
  .top-search,
  .ads-header-search {
    max-width: 360px !important;
    width: auto !important;
  }

  main,
  .page-shell,
  .page-content,
  .content,
  .container,
  .wrap,
  .shell,
  .section-inner,
  .systems-page,
  .home-shell,
  .dashboard,
  .portal-shell {
    min-width: 0;
  }

  .grid,
  .cards,
  .card-grid,
  .project-grid,
  .projects-grid,
  .system-grid,
  .systems-grid,
  .feature-grid,
  .module-grid,
  .tiles,
  .tile-grid,
  .home-card-grid,
  .rescue-grid,
  .scope-grid,
  .queue-grid,
  .bridge-grid,
  .concept-grid,
  .library-grid,
  .research-grid,
  .platform-grid,
  .capability-grid,
  .gallery-grid,
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .hero-grid,
  .home-grid,
  .split,
  .two-col,
  .two-column,
  .book-layout,
  .overview-grid,
  .detail-grid,
  .metrics-grid,
  .stats-grid,
  .dual-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .grid.featured,
  .featured-grid,
  .lead-grid,
  .wide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .card,
  .project-card,
  .system-card,
  .feature-card,
  .module-card,
  .tile,
  .bridge-card,
  .rescue-card,
  .scope-card,
  .queue-card,
  .book-card {
    min-height: 0;
  }

  img,
  video,
  canvas,
  svg {
    max-width: 100%;
  }
}
