.content-gallery {
    background-color: #111;
    overflow: hidden;
    padding: 5rem 0 .5rem;
    position: relative;
    width: 100%;
}

.content-gallery__inner {
    margin: 0 auto;
    max-width: 1920px;
    padding: 0;
    position: relative;
}

.content-gallery__heading {
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 600;
    margin: 0 0 2rem;
    text-align: center;
}

.content-gallery__list {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(5, 1fr);
    list-style: none;
}

.content-gallery__item {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.content-gallery__item img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

@media (max-width: 1199.98px) {
    .content-gallery__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991.98px) {
    .content-gallery__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .content-gallery {
        padding: 3.5rem 0 .35rem;
    }

    .content-gallery__list {
        gap: .35rem;
        grid-template-columns: repeat(2, 1fr);
    }
}
