.popup-webinar {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: rgba(0, 0, 0, .5);
    height: 100%;
    width: 100%;
    overflow-y: auto;
    padding: 15px;
    pointer-events: none;
    -webkit-transition: opacity .3s ease, visibility .3s ease;
    -o-transition: opacity .3s ease, visibility .3s ease;
    transition: opacity .3s ease, visibility .3s ease;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
}

.popup-webinar.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.popup-webinar__content {
    position: relative;
    flex-shrink: 0;
    border-radius: 12px;
    margin: auto;
    background: -o-radial-gradient(18.31% 20.59%, 221.37% 307.18%, #6511cc 0, #ff1bce 55.86%, #c70b3d 100%);
    background: radial-gradient(221.37% 307.18%at 18.31% 20.59%, #6511cc 0, #ff1bce 55.86%, #c70b3d 100%);
    max-width: 1030px;
    width: 100%;
    padding: 40px;
    color: #fff;
    -ms-flex-negative: 0;
    -webkit-box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

.popup-webinar__btn::after,
.popup-webinar__close {
    display: block;
    background-position: center;
    background-repeat: no-repeat;
}

.popup-webinar__close {
    position: absolute;
    top: 40px;
    right: 40px;
    border: 0;
    border-radius: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' fill='none' viewBox='0 0 11 11'%3E%3Cpath fill='%23fff' d='M9.14.206a.702.702 0 0 1 .993.992L6.163 5.17l3.97 3.971a.702.702 0 0 1-.993.993l-3.97-3.97-3.972 3.97-.013.013a.702.702 0 0 1-.98-1.006l3.972-3.97L.206 1.197a.702.702 0 1 1 .992-.992l3.971 3.97z'/%3E%3C/svg%3E");
    background-color: rgba(255, 255, 255, .2);
    background-size: 11px 11px;
    height: 40px;
    width: 40px;
    padding: 0;
    cursor: pointer;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.popup-webinar__close:hover {
    opacity: .8;
}

.popup-webinar__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 16px;
    gap: 15px;
}

.popup-webinar__logo img,
.popup-webinar__photo img {
    display: block;
    height: 37px;
    width: 136px;
    -o-object-fit: contain;
    object-fit: contain;
}

.popup-webinar__header,
.popup-webinar__tag,
.popup-webinar__tags {
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
}

.popup-webinar__tags {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 15px;
}

.popup-webinar__tag {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    border-radius: 6px;
    background: rgba(255, 255, 255, .2);
    height: 36px;
    padding: 9px 14px;
    font-family: "IstokRegular";
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
    color: #fff;
}

.popup-webinar__inner {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 65px;
}

.popup-webinar__body {
    min-height: 186px;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.popup-webinar__footer {
    flex-shrink: 0;
    margin-left: auto;
    width: 223px;
    -ms-flex-negative: 0;
}

.popup-webinar__title {
    margin-bottom: 22px;
    letter-spacing: -.02em;
    font-family: "IstokRegular";
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    text-wrap: balance;
}

.popup-webinar__descr {
    border-radius: 6px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, .2);
    max-width: 430px;
    padding: 6px 12px;
    font-family: "IstokRegular";
    font-size: 21px;
    line-height: 1.2;
    font-weight: 400;
    text-wrap: balance;
}

.popup-webinar__photo {
    position: absolute;
    top: 4px;
    right: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, .2);
    height: 186px;
    width: 223px;
    overflow: hidden;
}

.popup-webinar__photo img {
    height: 100%;
    width: 100%;
}

.popup-webinar__text {
    letter-spacing: -.02em;
    font-family: "IstokRegular";
    font-size: 21px;
    line-height: 1.3;
    font-weight: 400;
    text-wrap: balance;
}

.popup-webinar__text ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.popup-webinar__text ul li {
    position: relative;
    padding-left: 20px;
}

.popup-webinar__text ul li::before {
    position: absolute;
    top: 50%;
    left: 0;
    content: "";
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 50%;
    background: currentColor;
    height: .238em;
    width: .238em;
}

.popup-webinar__btn,
.popup-webinar__footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.popup-webinar__footer {
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 206px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
}

.popup-webinar__btn {
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #49aeeb;
    height: 57px;
    width: 100%;
    padding: 10px 20px 8px;
    font-family: "IstokRegular";
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    gap: 5px;
}

.popup-webinar__btn:hover {
    opacity: .8;
    color: #fff;
}

.popup-webinar__btn::after {
    content: "";
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' fill='none' viewBox='0 0 21 21'%3E%3Cpath fill='%23fff' d='m7.59 14.714 4.378-4.378L7.59 5.96a1.22 1.22 0 0 1 1.727-1.727l5.24 5.241a1.22 1.22 0 0 1 0 1.726l-5.24 5.241a1.22 1.22 0 0 1-1.727-1.726'/%3E%3C/svg%3E");
    background-size: 21px 21px;
    height: 21px;
    width: 21px;
    -ms-flex-negative: 0;
}

@media (max-width:991px) {
    .popup-webinar__content {
        border-radius: 10px;
        max-width: 320px;
        padding: 25px 20px;
    }

    .popup-webinar__close {
        top: 25px;
        right: 20px;
        background-size: 8px 8px;
        height: 28px;
        width: 28px;
    }

    .popup-webinar__header {
        -ms-flex-direction: column;
        flex-direction: column;
        align-items: flex-start;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-box-align: start;
        -ms-flex-align: start;
        gap: 20px;
    }

    .popup-webinar__logo img {
        height: 28px;
        width: 104px;
    }

    .popup-webinar__tags {
        gap: 7px;
    }

    .popup-webinar__tag {
        border-radius: 4px;
        height: 24px;
        padding: 4px 10px;
        font-size: 12px;
        line-height: 1.333;
    }

    .popup-webinar__inner {
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        gap: 11px;
    }

    .popup-webinar__body {
        min-height: auto;
    }

    .popup-webinar__title {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .popup-webinar__title br {
        display: none;
    }

    .popup-webinar__descr br {
        display: none;
    }

    .popup-webinar__photo {
        position: static;
        border-radius: 14px;
        margin-bottom: 11px;
        height: 139px;
        width: 167px;
    }

    .popup-webinar__descr {
        border-radius: 5px;
        max-width: 249px;
        padding: 6px 4px;
        font-size: 14px;
    }

    .popup-webinar__text {
        font-size: 14px;
    }

    .popup-webinar__text ul li {
        padding-left: 16px;
    }

    .popup-webinar__text ul li::before {
        height: .214em;
        width: .214em;
    }

    .popup-webinar__footer {
        margin-top: 0;
        width: 100%;
    }

    .popup-webinar__btn {
        border-radius: 10px;
        height: 52px;
        font-size: 16px;
        gap: 3px;
    }

    .popup-webinar__btn::after {
        height: 16px;
        width: 16px;
    }
}

.banner-row__link--webinar {
    height: auto !important;
    padding: 0!important;
    border-radius: 8px !important;
    overflow: hidden;
}

.banner-row__img-desktop {
    display: block;
    width: 100%;
    height: auto;
}

.banner-row__img-mobile {
    display: none;
    width: 100%;
    height: auto;
}

.banner-card__link--webinar {
    padding: 0;
}

.banner-card__img-desktop {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-card__img-mobile {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .banner-row__img-desktop {
        display: none;
    }    

    .banner-row__img-mobile {
        display: block;
    }

    .banner-card__img-desktop {
        display: none;
    }    

    .banner-card__img-mobile {
        display: block;
    }
}
