body.vmn-site .activity-photo-lightbox {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(900px, calc(100% - 36px));
  max-width: none;
  max-height: calc(100% - 36px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #d9f4ff;
  border-radius: 24px;
  background: linear-gradient(145deg, #f7fcff, #dff4fb);
  box-shadow: 0 24px 90px #00283d66;
  color: #173b50;
}
body.vmn-site .activity-photo-lightbox::backdrop {
  background: #082638bd;
  backdrop-filter: blur(7px);
}
body.vmn-site .activity-photo-lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #c9e8f2;
  color: #315b70;
  font-size: 13px;
}
body.vmn-site .activity-photo-lightbox__top button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #c4e6f2;
  border-radius: 50%;
  background: #ffffffb8;
  color: #176887;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
body.vmn-site .activity-photo-lightbox__top button:hover {
  background: #c9f0fb;
  transform: rotate(5deg);
}
body.vmn-site .activity-photo-lightbox figure {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 18px;
  min-height: 280px;
  max-height: calc(100vh - 105px);
}
body.vmn-site .activity-photo-lightbox figure > img {
  grid-column: 2;
  grid-row: 1;
  width: min(100%, 620px);
  height: min(68vh, 680px);
  object-fit: contain;
  border-radius: 12px;
}
body.vmn-site .activity-photo-lightbox figure > button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 48px;
  border: 1px solid #c4e6f2;
  border-radius: 14px;
  background: #ffffffb8;
  color: #0879a5;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
body.vmn-site .activity-photo-lightbox figure > button:hover {
  background: #c9f0fb;
  transform: scale(1.04);
}
body.vmn-site .activity-photo-lightbox figure > [data-previous] {
  grid-column: 1;
  grid-row: 1;
}
body.vmn-site .activity-photo-lightbox figure > [data-next] {
  grid-column: 3;
  grid-row: 1;
}
body.vmn-site .activity-photo-lightbox figcaption {
  grid-column: 1/-1;
  grid-row: 2;
  min-height: 1em;
  text-align: center;
  color: #315b70;
  font-size: 13px;
}
.activity-extra-photo:focus-visible {
  outline: 3px solid #008fc9;
  outline-offset: 4px;
}
body.vmn-site .activity-detail-image {
  cursor: zoom-in;
}
body.vmn-site .activity-detail-image:focus-visible {
  outline: 3px solid #008fc9;
  outline-offset: 4px;
}
@media (max-width: 575px) {
  body.vmn-site .activity-photo-lightbox {
    inset: 50% auto auto 50%;
    width: calc(100% - 20px);
    max-height: calc(100% - 20px);
    border-radius: 18px;
  }
  body.vmn-site .activity-photo-lightbox figure {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 6px;
    padding: 10px;
    min-height: 220px;
  }
  body.vmn-site .activity-photo-lightbox figure > img {
    width: min(100%, 520px);
    height: 64vh;
  }
  body.vmn-site .activity-photo-lightbox figure > button {
    width: 30px;
    height: 40px;
    border-radius: 11px;
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.vmn-site .activity-photo-lightbox button {
    transition: none;
  }
}
