@media (max-width: 1180px) {
  .gg-static-nav,
  .gg-static-nav .wp-block-navigation__container,
  .gg-login-link {
    display: none !important;
  }

  .gg-mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 900px) {
  .gg-v3-hero,
  .gg-split,
  .gg-footer-brand {
    grid-template-columns: 1fr;
  }

  .gg-v3-hero {
    min-height: auto;
  }

  .gg-product-glimpse {
    min-height: 320px;
  }

  .gg-product-glimpse img {
    min-height: 320px;
  }

  .gg-card-grid,
  .gg-footer-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --gg-page-pad: 20px;
  }

  body:not(.home):not(.front-page) h1 {
    font-size: clamp(36px, 11vw, 54px);
  }

  body:not(.home):not(.front-page) .gg-commercial-hero h1 {
    font-size: clamp(42px, 6vw, 48px);
    line-height: 1.04;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
  }

  .gg-header-inner {
    min-height: 68px;
  }

  .gg-logo {
    width: 158px;
  }

  .gg-v3-hero {
    padding-top: 54px;
  }

  .gg-v3-hero p {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  body:not(.home):not(.front-page) .gg-commercial-hero h1 {
    font-size: clamp(36px, 10vw, 40px);
  }
}

@media (max-width: 560px) {
  .gg-card-grid,
  .gg-footer-menu {
    grid-template-columns: 1fr;
  }

  .gg-card {
    min-height: auto;
  }

  .gg-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gg-hero-actions .wp-block-button,
  .gg-hero-actions .wp-block-button__link {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .gg-header-actions {
    display: none;
  }

  .gg-mobile-menu {
    top: 74px;
    right: 14px;
    left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
  }
}
