
/* Only the RDneo announcement modal; no sitewide selectors. */

.rdneo-popup[hidden],
.rdneo-popup__content[hidden] {
    display: none !important;
}

.rdneo-popup {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rdneo-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 23, 51, .68);
}

.rdneo-popup__dialog {
    position: relative;
    width: min(100%, 520px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    background: #ffffff;
    color: #003570;
    padding: 48px 36px 36px;
    border-radius: 8px;
    box-shadow: 0 20px 65px rgba(0, 0, 0, .28);
}

.rdneo-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #003570;
    font: inherit;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.rdneo-popup__close:hover,
.rdneo-popup__close:focus-visible {
    background: rgba(0, 53, 112, .10);
}

.rdneo-popup__title {
    margin: 0 0 18px;
    color: #003570;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.2;
    font-weight: 700;
}

.rdneo-popup__lead {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #003570;
}

.rdneo-popup__description {
    margin: 0 0 28px;
    line-height: 1.6;
    color: #003570;
}

.rdneo-popup__description-break {
    display: block;
    margin-top: 1em;
}

.rdneo-popup__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    min-height: 46px;
    background: #003570;
    color: #ffffff !important;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none !important;
}

.rdneo-popup__cta:hover,
.rdneo-popup__cta:focus-visible {
    background: #002650;
    color: #ffffff !important;
}

.rdneo-popup__dialog :focus-visible {
    outline: 3px solid #3994e8;
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .rdneo-popup__dialog {
        padding: 48px 22px 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rdneo-popup * {
        scroll-behavior: auto;
    }
}
