/* QA refinements for the photography additions. */
body:has(.image-dialog[open]) {
  overflow: hidden;
}

.gallery-heading h2 {
  font-size: clamp(2.15rem, 3.2vw, 3.6rem);
}

@media (max-width: 1180px) {
  .site-header {
    padding: 16px 4.5%;
  }

  .menu-toggle {
    display: block;
  }

  .site-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    max-height: calc(100dvh - 76px);
    padding: 18px 4.5%;
    overflow-y: auto;
    background: #080808f2;
    border-bottom: 1px solid #ffffff20;
  }

  .site-header nav.is-open {
    display: flex;
  }

  .site-header nav a {
    padding: 10px 0;
  }

  .site-header .nav-cta {
    margin-top: 5px;
    padding: 11px 12px;
  }
}
