.fotoproject {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.fotoproject-titel {
    margin: 0 0 15px 0;
    font-weight: 700;
}

.fotoproject-inhoud {
    margin-bottom: 20px;
}

.fotoproject-fotos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.fotoproject-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.2s ease;
}

.fotoproject-fotos a:hover .fotoproject-thumb {
    opacity: 0.85;
}

@media (max-width: 991px) {
    .fotoproject-fotos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .fotoproject-fotos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fotoproject-fotos {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* project overzicht */
.fotoproject-overzicht {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 40px 15px;
}

.fotoproject-overzicht-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.fotoproject-overzicht-item:hover .fotoproject-thumb {
    opacity: 0.85;
}

.fotoproject-overzicht-titel {
    display: block;
    padding: 8px 0 4px;
    font-weight: 600;
    font-size: 14px;
}

.fotoproject-terug {
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
    text-decoration: none;
}

.fotoproject-terug:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .fotoproject-overzicht {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .fotoproject-overzicht {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fotoproject-overzicht {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* filter + zoek */
.fotoproject-filterbalk {
    background: #002e6c;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.fotoproject-filters {
    padding: 14px 0;
    display: flex;
    flex-wrap: wrap;
}

.fotoproject-filters .col-xs-12 {
    padding-top: 4px;
    padding-bottom: 4px;
    display: flex;
    flex-direction: column;
}
.fotoproject-filters > .col{
    padding:0 15px;
}

.fotoproject-zoek-col {
    padding-right: 0 !important;
}

.fotoproject-zoek-wrap {
    display: flex;
    align-items: stretch;
}

.fotoproject-zoek {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 8px 14px;
    font-size: 14px;
    color: #fff;
    width: 100%;
    outline: none;
    transition: background 0.15s, border-color 0.15s;
    flex: 1;
    margin: 0;
}

.fotoproject-zoek::placeholder {
    color: rgba(255,255,255,0.6);
}

.fotoproject-zoek:focus {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.7);
}

.fotoproject-zoek-knop {
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 0 4px 4px 0;
    color: #fff;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s;
    white-space: nowrap;
}

.fotoproject-zoek-knop:hover {
    background: rgba(255,255,255,0.4);
}

.fotoproject-select-label {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 4px 0;
}

.fotoproject-checkboxes {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    width: max-content;
    flex-direction: row;
    max-width: 100%;
    flex: 1;
}

.fotoproject-checkbox-label {
    display: inline-flex;
    gap: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
    padding: 5px 10px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
    align-items: center;
    height: 50px;
}

.fotoproject-checkbox-label:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.5);
}

.fotoproject-checkbox-label:has(input:checked) {
    background: rgb(255 255 255 / 46%);
    border-color: rgba(255,255,255,0.8);
}

.fotoproject-checkbox {
    display: none;
}

.fotoproject-geen-resultaten {
    padding: 30px 15px;
    color: #888;
    font-style: italic;
}

/* fotoalbum grid */
.fotoalbum {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 40px 15px;
}

.fotoalbum::before{
    display:none;
}

.fotoalbum > div {
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
}

.fotoalbum .fotoalbumImageHolder {
    padding: 0;
}

.fotoalbum .fotoalbumImage {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.2s ease;
}

.fotoalbum a:hover .fotoalbumImage {
    opacity: 0.85;
}

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

@media (max-width: 767px) {
    .fotoalbum {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fotoalbum {
        grid-template-columns: repeat(1, 1fr);
    }
}
