/* AmpRoom Live — the Events section.
   Loaded after event-page.css, on the index, the show, its galleries and
   its video page. Mobile first. Nothing here is wider than its container:
   every grid track is allowed to shrink, and long names wrap. */

.gallery-title,
.photog-by,
.photog-handle,
.fullset,
.lv-events h1{overflow-wrap:anywhere}

.gallery-title{font-size:clamp(1.7rem,6vw,3.2rem)}
.gallery-title a{color:var(--gold-ink)}

.photog-grid,
.photo-grid{
  list-style:none;padding:0;margin:0;
  display:grid;gap:14px;align-items:start;
  grid-template-columns:minmax(0,1fr);
}
.photog-card{
  min-width:0;background:#fff;border:1px solid var(--line);
  border-radius:14px;padding:12px;
}
.photog-gallery{display:block;text-decoration:none;color:inherit}
.photog-gallery img,
.photo-grid img{
  width:100%;height:auto;background:var(--soft);border-radius:10px;
}
.photog-by{display:block;margin:10px 0 0;font-weight:600}
.photog-handle{
  display:inline-flex;align-items:center;min-height:44px;
  color:var(--gold-ink);text-decoration:none;
}
.photog-card--soon .photog-handle{color:var(--muted)}
a.photog-handle{color:var(--gold-ink)}
.photog-soon{margin:0 0 8px;color:var(--muted);font-size:.92rem}
.photog-placeholder{
  aspect-ratio:3/4;border:1px dashed var(--line);border-radius:10px;
  background:var(--soft);
}

.photo-grid{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
.photo-grid a{display:block;background:var(--soft);border-radius:10px;min-height:44px}
.photo-grid a:focus-visible{outline:2px solid var(--gold-ink);outline-offset:3px}

.fullset{margin:14px 0 0}
.fullset a{color:var(--gold-ink)}

.video-list{display:grid;gap:18px}
.video-frame{
  position:relative;width:100%;aspect-ratio:16/9;
  background:#14161A;border-radius:14px;overflow:hidden;
}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

.lightbox{
  width:min(1080px,calc(100vw - 24px));
  max-height:calc(100vh - 24px);
  margin:auto;padding:12px;border:0;border-radius:12px;
  background:#14161A;color:#F4F2EF;
}
.lightbox::backdrop{background:rgba(11,12,14,.88)}
.lightbox-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}
.lightbox button{
  min-height:44px;min-width:44px;padding:0 14px;
  background:#272321;color:#F4F2EF;border:1px solid #E3BE63;
  border-radius:999px;font:600 .85rem/1 inherit;cursor:pointer;
}
.lightbox-close{margin-left:auto}
.lightbox img{
  display:block;width:auto;max-width:100%;height:auto;
  max-height:calc(100vh - 120px);margin:0 auto;object-fit:contain;
}

@media (min-width:560px){
  .photog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:700px){
  .photo-grid{gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:960px){
  .photog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (min-width:1100px){
  .photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
