/* Los van de collectie-lightbox: de bestaande site behoudt haar eigen stijlen. */
html.opendeur-open { overflow: hidden; }

.opendeur {
    margin: auto;
    padding: 0;
    width: max-content;
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    border: 1px solid var(--koper);
    background: var(--nacht-diep);
    color: var(--wit);
    box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.4);
}

.opendeur::backdrop { background: rgba(4, 18, 32, 0.85); }

.opendeur-balk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
}

.opendeur-balk h2 {
    margin: 0;
    font: 600 0.875rem/1.3 var(--sans);
}

.opendeur-sluiten {
    flex: none;
    min-width: 44px;
    min-height: 44px;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--koper);
    background: transparent;
    color: var(--wit);
    font: 500 0.875rem/1.2 var(--sans);
    cursor: pointer;
}

.opendeur-sluiten:hover { background: var(--nacht); }
.opendeur-sluiten span { margin-left: 0.35rem; font-size: 1.25rem; }

.opendeur-affiche {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 9rem);
    max-height: calc(100dvh - 9rem);
    margin: 0 auto;
    object-fit: contain;
}

.opendeur-vergroten {
    display: block;
    padding: 0.65rem 0.75rem;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.4;
    text-underline-offset: 0.2em;
}

.opendeur-info {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
