/* Match the square photo gallery used by the existing annual event pages. */
.club-event-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 50px 50px 100px;
}

.club-event-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    transition: transform .3s ease, border-radius .3s ease;
    border-radius: 15px;
}

.club-event-gallery img:hover {
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .club-event-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

@media (max-width: 600px) {
    .club-event-gallery {
        grid-template-columns: minmax(0, 1fr);
    }
}
