.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99;
  max-width: none;
}
.modal .modal-body {
  max-width: 90%;
}

section.gallery .img-wrapper {
  cursor: pointer;
  -webkit-transition: var(--bezier);
  transition: var(--bezier);
}
section.gallery .img-wrapper:first-child:hover {
  scale: 1.025;
}
section.gallery .img-wrapper:hover {
  scale: 1.05;
}

section.hero:has(+ section.gallery) {
  margin-bottom: calc(var(--block-padding) / 2) !important;
}

section.hero + section.gallery {
  margin-top: calc(var(--block-padding) / 2) !important;
}