.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    min-height: 500px;
}

.masonry-grid__large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.masonry-grid__large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.masonry-grid__large:hover img {
    transform: scale(1.05);
}

.masonry-grid__small-group {
    display: contents;
}

.masonry-grid__small {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.masonry-grid__small img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.masonry-grid__small:hover img {
    transform: scale(1.05);
}

.masonry-grid-section__content {
    max-width: 930px;
    margin-bottom: 60px;
}

.masonry-grid-section__content span {
    color: rgba(255, 255, 255, 0.40);
}

.masonry-grid-section .masonry-disclaimer {
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.40);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: -0.48px;
}

/* Responsive layout */
@media (max-width: 1200px) {
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
    }

    .masonry-grid__large {
        grid-column: 1;
        grid-row: auto;
        min-height: 400px;
    }
}

