
/* Sunrise Fall Offering Lightbox */

.fall-offering-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    width: min(720px, 94vw);
    height: min(90vh, 900px);
    height: min(90dvh, 900px);
    max-width: 94vw;
    max-height: 90vh;
    max-height: 90dvh;
    background: #ffffff;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
    z-index: 999999;
}

.fall-offering-modal[open] {
    display: flex;
    flex-direction: column;
}

.fall-offering-modal::backdrop {
    background: rgba(0, 22, 43, 0.78);
}

.fall-offering-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: #284D88;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.fall-offering-modal__close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.fall-offering-modal__body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.fall-offering-modal__body iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile */
@media (max-width: 600px) {

    .fall-offering-modal {
        width: 96vw;
        max-width: 96vw;
        height: 94vh;
        height: 94dvh;
        max-height: 94vh;
        max-height: 94dvh;
        border-radius: 8px;
    }

    .fall-offering-modal__header {
        padding: 12px 16px;
        font-size: 14px;
    }

    .fall-offering-modal__close {
        font-size: 30px;
    }
}
