.affiche-knop {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
}

.affiche-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.affiche-modal[hidden] {
    display: none;
}

.affiche-modal-achtergrond {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 5, 0.85);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.affiche-modal-inhoud {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 600px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.affiche-modal-img {
    max-width: 100%;
    max-height: calc(90vh - 3rem);
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.affiche-modal-sluit {
    background: var(--kleur-goud, #c9a84c);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.affiche-modal-sluit:hover {
    opacity: 0.85;
}

body.modal-open {
    overflow: hidden;
}
