.photo-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(17,24,20,.06);
}
.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #dde5df;
  cursor: zoom-in;
  transition: transform .25s ease, filter .25s ease;
}
.photo-card:hover img { transform: scale(1.025); filter: brightness(.94); }
.photo-card figcaption {
  padding: 16px 18px;
  font-weight: 750;
  color: var(--green2);
}
.photo-card.wide { grid-column: span 2; }
.photo-card.wide img { aspect-ratio: 2/1; }
.gallery-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 28px;
  color: var(--muted);
}
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 14px;
  padding: 74px 22px 92px;
  background: rgba(5, 10, 7, .96);
  color: var(--white);
}
.lightbox-stage {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  transform-origin: center;
  transition: transform .15s ease;
  user-select: none;
}
.lightbox-caption { margin: 16px 0 0; font-weight: 750; text-align: center; }
.lightbox button {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  color: var(--white);
  cursor: pointer;
  font: inherit;
}
.lightbox button:hover { background: var(--gold); color: var(--black); }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem !important;
  line-height: 1;
}
.lightbox-nav { width: 56px; height: 64px; border-radius: 18px; font-size: 2.5rem !important; }
.lightbox-tools {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(17,24,20,.88);
}
.lightbox-tools button { min-width: 44px; height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 850; }
.zoom-level { min-width: 58px; text-align: center; font-size: .9rem; }
body.lightbox-open { overflow: hidden; }
@media(max-width:800px){
  .photo-card.wide { grid-column: auto; }
  .photo-card.wide img { aspect-ratio: 4/3; }
  .lightbox { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 4px; padding-inline: 8px; }
  .lightbox-nav { width: 42px; height: 54px; border-radius: 14px; }
}
