#vr-bezoekerspopup:not([open]) { display: none; }
#vr-bezoekerspopup {
    --vr-popup-red: #993b2b;
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(920px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: clamp(20px, 3vw, 32px) clamp(16px, 4vw, 48px);
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 50px rgb(0 0 0 / 19%);
    background: white;
    color: #393735;
    font: 15px/1.5 Georgia, 'Times New Roman', serif;
    text-align: center;
    overflow-wrap: anywhere;
}
#vr-bezoekerspopup::backdrop { background: rgb(43 36 31 / 26%); }
#vr-bezoekerspopup #vr-popup-title {
    margin: 0 36px clamp(16px, 2vw, 24px);
    color: inherit;
    font: 800 clamp(21px, 2.1vw, 28px)/1.08 'Oswald', 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
    text-transform: uppercase;
    text-wrap: balance;
}
#vr-bezoekerspopup .vr-popup-close {
    position: absolute;
    top: 0;
    right: 12px;
    width: 44px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0 0 3px 3px;
    background: var(--vr-popup-red);
    color: white;
    font: bold 23px/1 sans-serif;
    cursor: pointer;
}
#vr-bezoekerspopup .vr-popup-block + .vr-popup-block { margin-top: 18px; }
#vr-bezoekerspopup .vr-popup-block h3 {
    margin: 0 0 3px;
    color: inherit;
    font: bold 16px/1.25 Georgia, 'Times New Roman', serif;
    text-transform: none;
    text-decoration: underline;
    text-underline-offset: .12em;
}
#vr-bezoekerspopup .vr-popup-block p { margin: 0; font: inherit; }
#vr-bezoekerspopup .vr-popup-block p + p { margin-top: .35em; }
#vr-bezoekerspopup .vr-popup-link {
    box-sizing: border-box;
    display: inline-block;
    max-width: 100%;
    margin-top: 10px;
    padding: 9px 24px;
    border-radius: 4px;
    color: white;
    background: var(--vr-popup-red);
    font: bold 15px/1.4 Georgia, 'Times New Roman', serif;
    text-decoration: none;
}
#vr-bezoekerspopup :is(.vr-popup-close, .vr-popup-link):hover { background: #792f22; }
#vr-bezoekerspopup :focus-visible { outline: 2px solid #513028; outline-offset: 2px; }

/* Keep wheel and touch scrolling inside the open dialog. */
html:has(#vr-bezoekerspopup[open]),
body:has(#vr-bezoekerspopup[open]) {
    overflow: hidden;
    overscroll-behavior: none;
}
