.oktoberfest2026-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    overflow: auto;
    padding: 2vh 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.oktoberfest2026-modal.is-open {
    display: flex;
}

.oktoberfest2026-modal-content {
    position: relative;
    max-width: min(92vw, 900px);
    max-height: 96vh;
    margin: auto;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.oktoberfest2026-modal-content img {
    display: block;
    width: auto;
    max-width: 92vw;
    max-height: 96vh;
    object-fit: contain;
}

.oktoberfest2026-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.oktoberfest2026-close:hover,
.oktoberfest2026-close:focus-visible {
    background: #fff;
    color: #9c2572;
}

@media (max-width: 600px) {
    .oktoberfest2026-modal {
        padding: 1vh 0.5rem;
    }

    .oktoberfest2026-modal-content,
    .oktoberfest2026-modal-content img {
        max-width: 96vw;
        max-height: 98vh;
    }
}
