.hp-latest-gallery {
    width: min(90%, 1160px);
    margin-inline: auto;
    padding-block: clamp(2rem, 5vw, 4.75rem);
}

.hp-latest-gallery h2 {
    margin: 0 0 clamp(1rem, 3vw, 2rem);
    padding: 0;
    font-size: clamp(2.5rem, 6vw, 5.6rem);
    line-height: 1;
}

.hp-latest-gallery__photos {
    columns: 3;
    column-gap: clamp(8px, 1.2vw, 16px);
}

.hp-latest-gallery__photos figure {
    display: inline-block;
    width: 100%;
    margin: 0 0 clamp(8px, 1.2vw, 16px);
    vertical-align: top;
    break-inside: avoid;
}

.hp-latest-gallery__photos img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

@media (max-width: 620px) {
    .hp-latest-gallery__photos { columns: 2; }
}
