/**
 * gallery.css
 */
.gh-gallery { background-color: var(--gh-color-bg); }
.gh-gallery__heading {
    text-align: center;
    color: var(--gh-color-primary-dark);
    margin-bottom: var(--gh-space-10);
}
.gh-gallery__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gh-space-3);
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (min-width: 48rem) {
    .gh-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 64rem) {
    .gh-gallery__grid { grid-template-columns: repeat(4, 1fr); }
}
.gh-gallery__item { overflow: hidden; border-radius: var(--gh-radius-sm); aspect-ratio: 4/3; }
.gh-gallery__link { display: block; height: 100%; }
.gh-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease, filter 300ms ease;
}
.gh-gallery__link:hover .gh-gallery__img,
.gh-gallery__link:focus .gh-gallery__img {
    transform: scale(1.06);
    filter: brightness(.9);
}
