/* Homepage photo collection: two opening images, followed by smaller triptychs. */
.home-moments .section-head{align-items:flex-end;gap:32px;margin-bottom:36px}
.home-moments .section-head>div{min-width:0}
.home-moments .section-head .text-link{flex-shrink:0}
.home-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 22px;align-items:start}
.home-gallery-photo{grid-column:span 2;min-width:0;margin:0}
.home-gallery-photo>.media-frame{width:100%;aspect-ratio:3/2;background:var(--cream);border-radius:14px;box-shadow:0 8px 24px rgba(24,45,33,.055)}
.home-gallery-photo:first-child>.media-frame{border-top-right-radius:36px}
.home-gallery-photo:nth-child(2)>.media-frame{border-top-left-radius:36px}
.home-gallery-photo:nth-child(3n)>.media-frame{border-bottom-right-radius:28px}
.home-gallery-photo figcaption{margin-top:9px;color:var(--muted);font:400 12px/1.5 var(--sans)}
.home-gallery-meta,.home-gallery-number,.home-gallery-caption:not(.has-credit){display:none}
.home-gallery[data-gallery-count="7"]>.home-gallery-photo:nth-child(-n+2),
.home-gallery[data-gallery-count="7"]>.home-gallery-photo:nth-child(n+6),
.home-gallery[data-gallery-count="8"]>.home-gallery-photo:nth-child(-n+2),
.home-gallery[data-gallery-count="1"]>.home-gallery-photo,
.home-gallery[data-gallery-count="2"]>.home-gallery-photo{grid-column:span 3}
@media(min-width:768px){
  .home-gallery[data-gallery-count="7"]>.home-gallery-photo:nth-child(4),
  .home-gallery[data-gallery-count="8"]>.home-gallery-photo:nth-child(4),
  .home-gallery[data-gallery-count="8"]>.home-gallery-photo:nth-child(7),
  .home-gallery[data-gallery-count="9"]>.home-gallery-photo:nth-child(3n+2){margin-top:14px}
}
@media(max-width:767px){
  .home-moments .section-head{display:block;margin-bottom:25px}
  .home-moments .section-head .text-link{margin-top:18px}
  .home-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .home-gallery>.home-gallery-photo{grid-column:span 1}
  .home-gallery[data-gallery-count="7"]>.home-gallery-photo,
  .home-gallery[data-gallery-count="8"]>.home-gallery-photo,
  .home-gallery[data-gallery-count="1"]>.home-gallery-photo,
  .home-gallery[data-gallery-count="2"]>.home-gallery-photo{grid-column:span 1}
  .home-gallery[data-gallery-count="7"]>.home-gallery-photo:last-child,
  .home-gallery[data-gallery-count="9"]>.home-gallery-photo:last-child,
  .home-gallery[data-gallery-count="1"]>.home-gallery-photo{grid-column:1/-1}
  .home-gallery-photo>.media-frame{aspect-ratio:4/3;border-radius:10px;box-shadow:0 4px 14px rgba(24,45,33,.04)}
  .home-gallery-photo:first-child>.media-frame{border-top-right-radius:24px}
  .home-gallery-photo:nth-child(2)>.media-frame{border-top-left-radius:24px}
  .home-gallery-photo:nth-child(3n)>.media-frame{border-bottom-right-radius:20px}
  .home-gallery-photo figcaption{font-size:11px;margin-top:7px}
}
