.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.photo-item { border-radius: 10px; overflow: hidden; border: none; background: transparent; cursor: zoom-in; transition: transform .2s; }
.photo-item:hover { transform: scale(1.02); }
.photo-item img { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: 10px; }
.photo-item-caption { padding: .5rem .75rem; font-size: .82rem; color: var(--text-muted); }
.photo-empty { text-align: center; padding: 3rem; color: var(--text-muted); font-size: .95rem; }

.lightbox-overlay { display: none; position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.9); align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.lightbox-overlay.show { display: flex; }
.lightbox-img-wrap { position: relative; max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-img-wrap img { max-width: 88vw; max-height: 80vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); display: block; user-select: none; }
.lightbox-caption { color: rgba(255,255,255,.75); font-size: .9rem; margin-top: .85rem; text-align: center; max-width: 600px; }
.lightbox-counter { color: rgba(255,255,255,.45); font-size: .8rem; margin-top: .35rem; text-align: center; }
.lightbox-close { position: fixed; top: 1.25rem; right: 1.25rem; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.25); color: white; font-size: 1.4rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; line-height: 1; font-family: 'Outfit', sans-serif; z-index: 901; }
.lightbox-close:hover { background: rgba(255,255,255,.28); }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.2); color: white; font-size: 1.8rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; font-family: 'Outfit', sans-serif; z-index: 901; user-select: none; }
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

@media (max-width: 900px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.4rem; }
  .lightbox-prev { left: .3rem; }
  .lightbox-next { right: .3rem; }
}