/* Optional case-study evidence gallery. Images are shown only when the matching upload exists. */
.project-gallery-section {
    padding: clamp(48px, 7vw, 88px) 0;
    background: #f8fafc;
}
.case-evidence-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}
.case-evidence-gallery__item {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}
.case-evidence-gallery__item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eef2f7;
}
.case-evidence-gallery__item figcaption {
    padding: 12px 16px;
    color: #475569;
    font-size: .875rem;
    line-height: 1.5;
}
@media (max-width: 991px) {
    .case-evidence-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .case-evidence-gallery { grid-template-columns: 1fr; gap: 16px; }
}
