/* Homepage field collection. No cinema, route-gallery or footer selectors. */
#guests.vt-field-gallery {
  --gallery-row:clamp(180px,17vw,244px);
  --gallery-column:clamp(190px,20vw,288px);
  --gallery-gap:12px;
  isolation:isolate; background:var(--black);
  padding-block:clamp(64px,7vw,112px); overflow:hidden;
}
#guests .vt-gallery-backdrop { position:absolute; inset:0; z-index:-1; pointer-events:none; }
#guests .vt-gallery-backdrop img { width:100%; height:100%; object-fit:cover; object-position:center; opacity:.26; filter:saturate(.65); }
#guests .vt-gallery-backdrop::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,var(--black),rgba(3,5,4,.35) 30%,rgba(3,5,4,.35) 65%,var(--black));
}
#guests .vt-gallery-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:32px; }
#guests .vt-gallery-heading .big { margin:0; max-width:14ch; }
#guests .vt-gallery-tools { display:grid; justify-items:end; gap:16px; max-width:34ch; }
#guests .vt-gallery-tools p { color:var(--cream); font:400 14px/1.6 var(--fu); margin:0; text-align:right; }
#guests .vt-gallery-controls { display:flex; gap:12px; }
#guests .vt-gallery-controls[hidden] { display:none; }
#guests .vt-gallery-controls button {
  display:grid; place-items:center; width:48px; height:48px; padding:0;
  border:1px solid var(--acid); border-radius:50%; color:var(--acid); background:var(--black); cursor:pointer;
}
#guests .vt-gallery-controls button:hover:not(:disabled) { color:var(--black); background:var(--acid); }
#guests .vt-gallery-controls button:disabled { color:var(--stone); border-color:var(--stone); cursor:default; }
#guests .vt-gallery-controls svg { width:22px; height:22px; }
#guests .vt-gallery-track {
  width:95%; margin-left:5%; overflow-x:auto; overflow-y:hidden;
  padding:6px 5vw 16px 0; scroll-padding-inline:6px 5vw;
  overscroll-behavior-x:contain; scrollbar-width:thin; scrollbar-color:var(--acid) var(--char3);
}
#guests .metro.vt-gallery-grid {
  display:grid; grid-auto-flow:column; grid-auto-columns:var(--gallery-column);
  grid-template-columns:none; grid-template-rows:repeat(2,var(--gallery-row));
  grid-template-areas:none; gap:var(--gallery-gap); align-items:stretch; width:max-content;
}
#guests .vt-gallery-tile { position:relative; grid-area:auto; min-width:0; margin:0; overflow:hidden; background:var(--char2); }
#guests .vt-gallery-wide { grid-column:span 2; }
#guests .metro .vt-gallery-tile img {
  position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto;
  object-fit:cover; object-position:var(--photo-position,center); filter:none; transform:none; transition:none;
}
#guests .metro .vt-gallery-tile figcaption { padding:0; max-width:none; font:400 14px/1.6 var(--fu); color:var(--cream); }
#guests .vt-gallery-info summary {
  position:absolute; z-index:3; top:6px; right:6px; width:44px; height:44px;
  display:grid; place-items:center; list-style:none; border:0; border-radius:50%;
  color:var(--acid); background:transparent; cursor:pointer;
}
#guests .vt-gallery-info summary::before {
  content:""; position:absolute; width:28px; height:28px; box-sizing:border-box;
  border:1px solid var(--cream); border-radius:50%; background:var(--black);
}
#guests .vt-gallery-info summary::-webkit-details-marker { display:none; }
#guests .vt-gallery-info summary svg { position:relative; width:12px; height:12px; }
#guests .vt-gallery-info summary:hover,
#guests .vt-gallery-info[open] summary { color:var(--black); }
#guests .vt-gallery-info summary:hover::before,
#guests .vt-gallery-info[open] summary::before { background:var(--acid); border-color:var(--black); }
#guests .vt-gallery-info p {
  position:absolute; z-index:2; inset:auto 12px 12px; margin:0; padding:12px;
  max-height:calc(100% - 80px); overflow:auto; background:var(--black); color:var(--cream);
  font:400 14px/1.6 var(--fu); text-wrap:pretty; scrollbar-color:var(--acid) var(--black);
}
#guests :is(button,summary,.vt-gallery-track):focus-visible { outline:3px solid var(--acid); outline-offset:3px; box-shadow:0 0 0 6px var(--black); }
#guests .vt-gallery-info summary:focus-visible { outline:none; box-shadow:none; }
#guests .vt-gallery-info summary:focus-visible::before { outline:3px solid var(--acid); outline-offset:3px; box-shadow:0 0 0 6px var(--black); }
#guests .vt-gallery-track:focus-visible { outline-offset:-3px; box-shadow:none; }
#guests ::selection { color:var(--black); background:var(--acid); }
@media(max-width:900px) {
  #guests.vt-field-gallery { --gallery-row:210px; --gallery-column:240px; }
  #guests .vt-gallery-heading { align-items:flex-start; }
}
@media(max-width:560px) {
  #guests.vt-field-gallery { --gallery-row:210px; --gallery-column:72vw; --gallery-gap:8px; }
  #guests .vt-gallery-heading { display:grid; gap:24px; }
  #guests .vt-gallery-tools { width:100%; max-width:none; display:flex; align-items:center; justify-content:space-between; gap:16px; }
  #guests .vt-gallery-tools p { text-align:left; max-width:23ch; font-size:13px; }
  #guests .vt-gallery-controls { flex:none; gap:8px; }
  #guests .vt-gallery-wide { grid-column:auto; }
}
@media(prefers-reduced-motion:reduce) { #guests .vt-gallery-track { scroll-behavior:auto; } }
@media print {
  #guests .vt-gallery-backdrop,#guests .vt-gallery-controls { display:none; }
  #guests .vt-gallery-track { width:90%; margin-inline:auto; overflow:visible; padding:0; }
  #guests .metro.vt-gallery-grid { width:100%; grid-auto-flow:row; grid-template-columns:repeat(2,1fr); grid-template-rows:none; grid-auto-rows:210px; }
  #guests .vt-gallery-wide { grid-column:auto; }
}
