#campaign-popup.campaign-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

#campaign-popup.campaign-popup.is-visible {
    opacity: 1;
    visibility: visible;
}

.campaign-popup__inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(.96);
    transition: transform .35s ease;
}

#campaign-popup.campaign-popup.is-visible .campaign-popup__inner {
    transform: scale(1);
}

.campaign-popup__inner img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    height: auto;
}

.campaign-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0 0 3px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    appearance: none;
}

.campaign-popup__close:hover,
.campaign-popup__close:focus {
    background: rgba(0, 0, 0, 0.85);
}

.campaign-popup__cta {
    position: absolute;
    right: 2%;
    bottom: 3%;
    width: 23%;
    height: 14%;
}

@media (max-width: 768px) {
    .campaign-popup__inner {
        max-width: 92vw;
        max-height: 90vh;
    }

    .campaign-popup__inner img {
        width: auto;
        max-height: 90vh;
    }

    .campaign-popup__close {
        top: 8px;
        right: 8px;
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .campaign-popup__cta {
        right: 30%;
        bottom: 3%;
        width: 40%;
        height: 13%;
    }
}
