.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.shot-grid--landscape {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .shot-grid--landscape {
    grid-template-columns: 1fr;
  }
}

.shot-group {
  margin-bottom: 24px;
}

.shot-group:last-child {
  margin-bottom: 0;
}

.shot-group-title {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent, #1d4ed8);
  letter-spacing: 0.02em;
}

.shot-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line-soft, #d1d5db);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-muted, #f8fafc);
  cursor: zoom-in;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  box-shadow: var(--shadow, 0 4px 24px rgba(15, 23, 42, 0.07));
}

.shot-thumb:hover,
.shot-thumb:focus-visible {
  border-color: var(--accent, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg, 0 12px 40px rgba(15, 23, 42, 0.1));
  outline: none;
}

.shot-thumb img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.82);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-frame {
  margin: 0;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  text-align: center;
  max-width: 640px;
  line-height: 1.4;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background 0.15s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: none;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

@media (max-width: 640px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}
