.photo-mosaic {
    columns: 3;
    column-gap: 20px;
}

.mosaic-item {
    display: block;
    position: relative;
    break-inside: avoid;
    width: 100%;
    margin: 0 0 20px;
    padding: 0;
    overflow: hidden;
    background: var(--pale);
    text-align: left;
    cursor: zoom-in;
}

.mosaic-item > img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .65s ease;
}

.mosaic-item:hover > img { transform: scale(1.025); }

@media (max-width: 1100px) {
    .photo-mosaic { columns: 2; }
}

@media (max-width: 700px) {
    .photo-mosaic { column-gap: 12px; }
    .mosaic-item { margin-bottom: 12px; }
}

@media (max-width: 380px) {
    .photo-mosaic { columns: 1; }
}
