/* Night wall (addon/gallery/180, fork of addon/gallery/130), INV-19 After Dark · Luxe (A2695, D-400): the couple's moments, whole and in colour, set close with
   thin gaps of night: on a phone one wide, two half, one wide; four across on a laptop. The group's foot melts into the night. With six or more photos the two
   the story and the closing use step out; with eight or more the two dimmed behind the timeline and the countdown step out too, so nothing repeats. */
.ga180 { position: relative; text-align: center; color: var(--k-ink); }
.ga180 > .k-ad-gap { padding-inline: var(--k-gutter); }
.ga180 .ga180__ttl { margin-bottom: clamp(30px, 5vh, 46px); }
.ga180__wall { max-width: 1240px; margin: 0 auto; padding: 0 clamp(6px, 2vw, 24px); -webkit-mask: linear-gradient(#000 calc(100% - clamp(90px, 14svh, 160px)), transparent 99%); mask: linear-gradient(#000 calc(100% - clamp(90px, 14svh, 160px)), transparent 99%); }
.ga180__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; margin: 0; padding: 0; list-style: none; }
.ga180-photo { aspect-ratio: 4 / 5; min-width: 0; }
.ga180-photo:nth-child(3n + 1), .ga180-photo:last-child:nth-child(3n + 2) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.ga180__grid:has(> li:nth-child(6)) > :is(li:nth-child(2), li:nth-child(3)) { display: none; }
.ga180__grid:has(> li:nth-child(8)) > :is(li:nth-child(1), li:nth-child(4)) { display: none; }
.ga180-print { height: 100%; }
.ga180-print > img { object-position: 50% 35%; }
@media (min-width: 1000px) and (orientation: landscape) {
  .ga180__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .ga180-photo, .ga180-photo:nth-child(3n + 1), .ga180-photo:last-child:nth-child(3n + 2) { grid-column: auto; aspect-ratio: 4 / 5; }
}
