.fomp-gallery-preview {
    width: min(100%, 1160px);
    margin: clamp(3rem, 8vw, 6rem) auto 0;
    padding: clamp(1.25rem, 4vw, 3.5rem);
    border-radius: 32px;
    background: rgba(244, 240, 231, .96);
    color: #153b3a;
    box-shadow: 0 18px 40px rgba(8, 31, 30, .18);
}

.fomp-gallery-preview-heading {
    max-width: 42rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.fomp-gallery-preview-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.8rem);
    line-height: .98;
    letter-spacing: -.05em;
}

.fomp-gallery-preview-heading p {
    margin: .8rem auto 0;
    line-height: 1.55;
}

.fomp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.fomp-gallery-item {
    overflow: hidden;
    border: 1px solid #c7ddd2;
    border-radius: 18px;
    background: #fff;
}

.fomp-gallery-item>img {
    display: block;
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

.fomp-gallery-item-copy {
    padding: 1rem;
}

.fomp-gallery-item-copy h3 {
    margin: 0 0 .35rem;
    font-size: 1rem;
}

.fomp-gallery-item-copy p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.5;
}

.fomp-gallery-empty {
    margin: 0;
    text-align: center;
}

@media (max-width: 900px) {
    .fomp-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .fomp-gallery-grid {
        grid-template-columns: 1fr;
    }
}
