.grid--main { visibility: visible; }
.grid__item-container { max-width: 100%; }
img[data-full] { cursor: zoom-in; }
img[data-full]:focus-visible { outline: 2px solid white; outline-offset: -3px; }
.project-module-form .button-module {
  display: inline-block;
  margin: 0 0 24px;
  padding: 10px 25px;
  background: white;
  color: #111;
  border-radius: 22px;
}
.photo-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(9 9 9 / 96%);
  color: white;
}
.photo-viewer[open] { display: grid; place-items: center; }
html:has(.photo-viewer[open]) { overflow: hidden; }
.photo-viewer figure { margin: 0; text-align: center; pointer-events: none; }
.photo-viewer figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 104px);
  max-height: calc(100dvh - 105px);
  margin: auto;
  object-fit: contain;
}
.photo-viewer figcaption { padding-top: 14px; font: 14px system-ui, sans-serif; }
.photo-viewer button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  font: 34px/1 system-ui, sans-serif;
  cursor: pointer;
}
.photo-viewer button[hidden] { display: none; }
.viewer-close { top: 8px; right: 8px; }
.viewer-prev { left: 4px; top: calc(50% - 22px); }
.viewer-next { right: 4px; top: calc(50% - 22px); }
@media (max-width: 540px) {
  .photo-viewer figure img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 160px); }
  .viewer-prev, .viewer-next { top: auto; bottom: 12px; }
}
