/* Gallery · Editorial: compact masonry of photos only; captions are shown in the lightbox */
.hm-gal__head {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: clamp(32px, 6vw, 96px);
    align-items: end;
    justify-items: start;
    max-width: none;
    margin-inline: 0;
    padding-bottom: clamp(28px, 3vw, 44px);
    border-bottom: 1px solid var(--hm-c-line);
    text-align: left;
}
.hm-gal__eyebrow { display: block; grid-column: 1; }
.hm-gal__title { grid-column: 1; }
.hm-gal__title em { font-style: italic; }
.hm-gal__lead { display: block; grid-column: 2; grid-row: 2; max-width: 420px; justify-self: end; font-size: var(--hm-fs-body); font-weight: 300; }

.hm-gal__grid {
    display: block;
    columns: 4;
    column-gap: clamp(10px, 1.4vw, 20px);
}
.hm-gal__item {
    display: inline-block;
    width: 100%;
    margin: 0 0 clamp(10px, 1.4vw, 20px);
    overflow: visible;
    border-radius: 0;
    background: none;
    vertical-align: top;
    break-inside: avoid;
}
.hm-gal__item::before,
.hm-gal__item::after { display: none; }
.hm-gal__frame { position: relative; inset: auto; aspect-ratio: 4 / 5; background: var(--hm-c-alt); }
.hm-gal__item--wide .hm-gal__frame { aspect-ratio: 3 / 2; }
.hm-gal__item--tall .hm-gal__frame { aspect-ratio: 2 / 3; }
.hm-gal__item--big .hm-gal__frame { aspect-ratio: 1; }
.hm-gal__img { transition: transform 1.2s var(--hm-ease), filter .6s var(--hm-ease); filter: saturate(.92); }
.hm-gal__item:hover .hm-gal__img { transform: scale(1.06); filter: none; }

.hm-gal__caption { display: none; }
.hm-gal__item:focus-visible { outline-offset: 6px; }

@media (max-width: 1023px) {
    .hm-gal__grid { columns: 3; }
}
@media (max-width: 767px) {
    .hm-gal__head { grid-template-columns: minmax(0, 1fr); }
    .hm-gal__lead { grid-column: 1; grid-row: auto; justify-self: start; }
    .hm-gal__grid { columns: 2; column-gap: 8px; }
    .hm-gal__item { margin-bottom: 8px; }
}
