/* Ink grid (addon/gallery/190, fork of addon/gallery/180), INV-20 One Line · Luxe (A2715; plan W1): MOMENTS in wide light capitals on a strip of paper, then the
   couple's photos edge to edge in black and white with 4 px paper gaps: on a phone one wide, two half, one wide; four across on a laptop. With six or more
   photos the two the story and the closing use step out; with eight or more the two behind the countdown and the date step out too, so little repeats.
   W1.2 (A2735, D-415: the bias cut): on a phone the grid's top edge is one slant of 8° (rising to the right) under MOMENTS, with the plain ink line on it. */
.ga190 { position: relative; color: var(--k-ol-ink); }
.ga190 .ga190__ttl { padding: var(--k-section-pad) var(--k-gutter) clamp(30px, 5vh, 48px); }
.ga190__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.ga190-photo { aspect-ratio: 1 / 1; min-width: 0; }
.ga190__grid:has(> li:nth-child(6)) > :is(li:nth-child(2), li:nth-child(3)) { display: none; }
.ga190__grid:has(> li:nth-child(8)) > :is(li:nth-child(1), li:nth-child(4)) { display: none; }
@media (max-width: 999px), (orientation: portrait) { /* the phone and tablet rhythm: one wide, two half, one wide */
  .ga190-photo:nth-child(3n + 1), .ga190-photo:last-child:nth-child(3n + 2) { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .ga190__grid:has(> li:nth-child(6)) > li:nth-child(4) { grid-column: auto; aspect-ratio: 1 / 1; }
  .ga190__grid:has(> li:nth-child(6)) > :is(li:nth-child(1), li:nth-child(6)) { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
}
.ga190-print { height: 100%; }
.ga190-print img { object-position: 50% 35%; }
@media (min-width: 1000px) and (orientation: landscape) {
  .ga190__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ga190-photo { aspect-ratio: 4 / 5; }
}

/* the bias cut (W1.2): the grid's top edge, on a phone */
.ga190__cut { display: none; }
@media (max-width: 999px), (orientation: portrait) {
  .ga190 { overflow: hidden; overflow: clip; }
  .ga190 .ga190__ttl { position: relative; z-index: 2; }
  .ga190__cut { display: block; position: relative; z-index: 1; height: 0; }
  .ga190 > .k-ol-dv { z-index: 3; } /* W1.4 (A2751): the cut's paper band reaches up into the divider; the number stays on top */
  .ga190__cut > .k-ol-cut { top: var(--k-ol-half); rotate: -8deg; }
}
