/* Project gallery: square main image and square thumbnails */

.gallery-main {
    width: 95%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.thumb-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.375rem;
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    min-height: 260px;
    background: #f8f9fa;
    border: 1px dashed #e9ecef;
    border-radius: .375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}