.n11-beeldbank-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
}

.n11-beeldbank-container img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

@media screen and (min-width: 768px) {
    .n11-beeldbank-container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .n11-beeldbank-container.columns-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .n11-beeldbank-container.columns-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.fotos-link,
.videos-link {
    display: block;
    position: relative;
}

.fotos-link:after,
.videos-link:after {
    content: ' ';
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    transition: opacity .2s ease-in-out;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-size: cover;
}

.fotos-link:hover:after,
.videos-link:hover:after {
    opacity: 1;
}

.fotos-link:after {
    background-color: rgba(0, 0, 0, .5);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-zoom-in' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z'/%3E%3Cpath d='M10.344 11.742c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1 6.538 6.538 0 0 1-1.398 1.4z'/%3E%3Cpath fill-rule='evenodd' d='M6.5 3a.5.5 0 0 1 .5.5V6h2.5a.5.5 0 0 1 0 1H7v2.5a.5.5 0 0 1-1 0V7H3.5a.5.5 0 0 1 0-1H6V3.5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E");
    background-size: 25px 25px;
    border-radius: 5px;
    opacity: 0;
}

.videos-link:after {
    opacity: .8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' fill='%23fff' class='bi bi-play-circle-fill' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM6.79 5.093A.5.5 0 0 0 6 5.5v5a.5.5 0 0 0 .79.407l3.5-2.5a.5.5 0 0 0 0-.814l-3.5-2.5z'/%3E%3C/svg%3E");
}

.fotos-last:before {
    content: ' ';
    position: absolute;
    background: rgba(0, 0, 0);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .5;
    transition: opacity .2s ease-in-out;
}

.fotos-last:hover:before {
    opacity: .7;
}

.fotos-last:after {
    content: attr(data-more);
    opacity: 1;
    color: #fff;
    width: 100%;
    background-image: none;
    left: 0;
    margin-left: 0;
    height: 1rem;
    margin-top: -.5rem;
    text-align: center;
    background-color: transparent;
}

.n11-beeldbank-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.beeldbank-archive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media screen and (min-width: 768px) {
    .beeldbank-archive {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (min-width: 992px) {
    .beeldbank-archive {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.beeldbank-archive img {
    width: 100%;
    height: auto;
}

.beeldbank-archive-item {
    width: 100%;
    overflow: hidden;
}

.beeldbank-archive-thumbnail {
    display: grid;
}

.beeldbank-archive-thumbnail > * {
    grid-column: 1/2;
    grid-row: 1/2;
}

.beeldbank-archive-counter {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.beeldbank-archive-counter .n11-beeldbank-counter {
    padding: .5rem;
    background: rgba(255, 255, 255, .4);
}