.mnp-banner {
    position: relative;
    width: 100%;
    min-height: 200px;
    margin: 0 auto 24px;
    border-radius: 20px;
    overflow: hidden;
    background-image: url("../../images/img-banners/mnp_desktop_back.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.mnp-banner__content {
    position: absolute;
    top: 50%;
    left: 81px;
    transform: translateY(-50%);
    width: 542px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.53);
}

.mnp-banner__title {
    margin: 0 0 16px;
    color: #1d2023;
    font-size: 30px;
    font-weight: 500;
    line-height: 38px;
}

.mnp-banner__button {
    width: 168px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border: none;
    color: #fff;
    background-color: #ff0032;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    cursor: pointer;
}

.mnp-banner__button:hover {
    background-color: #d6002b;
}

.mnp-popup {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(29, 32, 35, 0.46);
}

.mnp-popup.is-open {
    display: flex;
}

.mnp-popup__dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    background-color: #ffffff;
    padding: 40px;
}

.mnp-popup__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #626c77;
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.mnp-popup__title {
    margin: 0 0 16px;
    color: #1d2023;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
}

.mnp-popup__text {
    margin: 0;
    color: #1d2023;
    font-size: 20px;
    font-weight: 300;
    line-height: 22px;
}

body.mnp-popup-opened {
    overflow: hidden;
}

@media screen and (max-width: 980px) {
    .mnp-banner__content {
        left: 24px;
        width: min(542px, calc(100% - 48px));
    }
}

@media screen and (max-width: 700px) {
    .mnp-banner {
        min-height: 160px;
        border-radius: 20px;
        background-image: url("../../images/img-banners/mnp_mobile_back.webp");
        background-position: center;
    }

    .mnp-banner__content {
        left: 16px;
        width: 230px;
        padding: 12px;
    }

    .mnp-banner__title {
        margin-bottom: 16px;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
    }

    .mnp-banner__button {
        width: 112px;
        height: 32px;
        border-radius: 8px;
        font-size: 10px;
        line-height: 12px;
    }

    .mnp-popup {
        padding: 16px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .mnp-popup__dialog {
        margin-top: 52px;
        max-width: 100%;
        border-radius: 20px;
        padding: 40px 18px 34px;
    }

    .mnp-popup__close {
        top: 10px;
        right: 10px;
        font-size: 36px;
    }

    .mnp-popup__title {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 30px;
    }

    .mnp-popup__text {
        font-size: 17px;
        line-height: 25px;
    }
}

@media screen and (max-width: 420px) {
    .mnp-banner {
        margin-bottom: 20px;
    }
}
