/* ═══════════════════════════════════════════
   GALLERY PAGE
════════════════════════════════════════════ */
.gallery-page {
  padding: 140px 0 40px;
}
.gallery-page .section-header {
  margin-bottom: 40px;
}

.gallery-wall {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 80px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.gallery-wall__col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s, opacity 0.2s;
}
.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}
.gallery-item__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(13, 27, 62, 0.75);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  pointer-events: none;
}

.gallery-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.gallery-item__play svg {
  width: 44px;
  height: 44px;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(13, 27, 62, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
}

/* Video item — fixed box so an inline iframe can take over on click (masonry images are height:auto) */
.gallery-item--video {
  aspect-ratio: 9 / 16;
  cursor: pointer;
}
.gallery-item--video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item--video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.gallery-item--video.is-playing { cursor: default; }

@media (max-width: 680px) {
  .gallery-page { padding: 96px 0 24px; }
  .gallery-wall { gap: 6px; padding: 0 6px 56px; }
  .gallery-wall__col { gap: 6px; }
  .gallery-item__tag { font-size: 9px; padding: 2px 6px; top: 5px; left: 5px; }
}
