/* A row of pictures. u2-grid does the wrapping; the item keeps the frame. */
[qcms-mod="cont.luca.gallery"] {
  margin-block: clamp(3rem, 7vw, 6rem);

  .u2-grid {
    --u2-Gap: .6rem;
    --u2-Items-width: 11rem;
    /* a row of clips: phone videos stand upright — four fill the width, two side by side on a phone */
    &:has(> [qcms-mod="cont.video"]) { --u2-Items-width: min(14rem, 40%) }
  }

  [qcms-mod="cont.video"] video {
    aspect-ratio: 9/16;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 .15rem .6rem rgb(0 0 0 / .25);
  }
}
