/*
 * Campaign popup built by campaign.js. The popup styles are the ones Advanced Ads served with
 * the "Popup translated" layers on the live blog (October 2026); the background and the layer
 * box reproduce the inline styles Advanced Ads set.
 */

.flu-campaign-background {
    position: fixed;
    bottom: 0;
    right: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9998;
    opacity: .5;
}

.flu-campaign-layer {
    z-index: 9999;
    position: fixed;
    max-width: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Isolation wrapper to force centring and block theme CSS */
#flu-isolated-popup {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    clear: both !important;
}

#flu-isolated-popup * {
    box-sizing: border-box !important;
}

#flu-isolated-popup .main-div {
    width: min(800px, 90vw) !important;
    min-height: 537px !important;
    height: auto !important;
    margin: 0 auto !important;
    background-image: url("https://www.fluentu.com/blog/wp-content/uploads/2023/01/background-lan.png") !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #ffffff !important;
    position: relative !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: hidden !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
}

#flu-isolated-popup .left-section {
    flex: 0 0 45% !important;
    padding: 30px 20px 30px 30px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#flu-isolated-popup .right-section {
    flex: 0 0 55% !important;
    padding: 30px 35px 30px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

#flu-isolated-popup .left-section .hero-img {
    width: 100% !important;
    max-width: 340px !important;
    height: auto !important;
    transform: translateX(-10px) !important;
    display: block !important;
}

#flu-isolated-popup .right-section .fluentu-logo {
    width: 143px !important;
    height: auto !important;
    padding: 5px 0 35px !important;
}

#flu-isolated-popup .right-section .headline-text {
    font-family: inherit !important;
    font-size: 32px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    padding: 10px 0 20px !important;
}

#flu-isolated-popup .right-section .subline-text {
    font-family: inherit !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    padding: 0 0 20px !important;
}

#flu-isolated-popup .right-section .cta-button {
    color: #fff !important;
    background: rgb(255, 67, 0) !important;
    width: 100% !important;
    border-radius: 5px !important;
    font-family: inherit !important;
    font-size: 18px !important;
    padding: 14px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-bottom: 20px !important;
    transition: box-shadow .2s ease !important;
}

#flu-isolated-popup .right-section .cta-button:hover {
    box-shadow: inset 0 -2px 0 rgb(0 0 0 / 20%) !important;
}

#flu-isolated-popup .right-section .footer-text {
    font-family: inherit !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: left !important;
}

#flu-isolated-popup .cta-link,
#flu-isolated-popup .cta-link:hover {
    text-decoration: none !important;
}

#flu-isolated-popup .main-div .fluen-close-button {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    bottom: auto !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
    background: transparent !important;
    color: #8ec3f8 !important;
    font-size: 30px !important;
    text-align: center !important;
    text-decoration: none !important;
    z-index: 10001 !important;
    cursor: pointer !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Russian texts are longer; the Russian layer used smaller type. */
#flu-isolated-popup[lang="ru"] .right-section .headline-text {
    font-size: 25px !important;
}

#flu-isolated-popup[lang="ru"] .right-section .subline-text {
    font-size: 18px !important;
}

#flu-isolated-popup[lang="ru"] .right-section .cta-button {
    font-size: 15px !important;
    margin-bottom: 18px !important;
}

@media only screen and (max-width: 600px) {
    #flu-isolated-popup .main-div {
        width: 90vw !important;
        min-height: auto !important;
        flex-direction: column !important;
    }

    #flu-isolated-popup .left-section,
    #flu-isolated-popup .right-section {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    #flu-isolated-popup .left-section {
        padding: 20px 20px 0 !important;
    }

    #flu-isolated-popup .left-section .hero-img {
        max-width: 212px !important;
        transform: none !important;
    }

    #flu-isolated-popup .right-section {
        padding: 20px !important;
    }

    #flu-isolated-popup .right-section .fluentu-logo {
        width: 120px !important;
        padding: 5px 0 10px !important;
    }

    #flu-isolated-popup .right-section .headline-text,
    #flu-isolated-popup[lang="ru"] .right-section .headline-text {
        font-size: 24px !important;
        padding: 10px 0 !important;
    }

    #flu-isolated-popup .right-section .subline-text,
    #flu-isolated-popup[lang="ru"] .right-section .subline-text {
        font-size: 17px !important;
        padding-bottom: 20px !important;
    }

    #flu-isolated-popup .right-section .cta-button,
    #flu-isolated-popup[lang="ru"] .right-section .cta-button {
        font-size: 16px !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
    }

    #flu-isolated-popup .right-section .footer-text {
        font-size: 12px !important;
    }
}
