#mw-newsletter-popup {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: calc(100% - 32px);
    max-width: 520px;
    max-height: calc(100% - 32px);
    margin: auto;
    padding: 40px 28px 24px;
    overflow-y: auto;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-family: Quicksand, sans-serif;
    text-align: center;
    box-shadow: 0 12px 60px rgba(0, 0, 0, .25);
}

#mw-newsletter-popup:not([open]) {
    display: none;
}

#mw-newsletter-popup::backdrop {
    background: rgba(0, 0, 0, .55);
}

#mw-newsletter-popup-title {
    margin: 0 12px 18px;
    color: #f80000;
    font-family: Quicksand, sans-serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: normal;
}

#mw-newsletter-popup-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

#mw-newsletter-popup .mw-newsletter-popup-close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #555;
    font: 30px/1 sans-serif;
    cursor: pointer;
}

#mw-newsletter-popup .mw-newsletter-popup-later {
    border: 0;
    padding: 10px 16px;
    background: transparent;
    color: #555;
    font: inherit;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

#mw-newsletter-popup button:focus-visible,
#mw-newsletter-popup a:focus-visible {
    outline: 2px solid #f80000;
    outline-offset: 2px;
}

html.mw-newsletter-popup-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    #mw-newsletter-popup {
        padding: 44px 16px 20px;
    }

    #mw-newsletter-popup-title {
        font-size: 24px;
    }
}
