@import url('../vars.css');

.ru-in-world-banner{
    display: flex;
    justify-content: flex-end;
    border-radius: 16px;
    height: 448px;
    background-image: url('/wp-content/themes/neve/assets/img/ru-in-world/banner-image.png');
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 40px;
    overflow: hidden;
    background-color: var(--primary-brand-2);
}
.ru-in-world-banner-wrap{
    width: 80%;
    background-image: linear-gradient(90deg, rgba(0, 162, 255, 0) 0%, rgba(51, 102, 204, 1) 15%, rgba(51, 102, 204, 1) 100%);
    padding: 80px 72px 80px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}
.ru-in-world-banner-cont{
    border-radius: 16px;
    box-shadow: var(--drop-shadow-200);
    height: 290px;
    width: 960px;
    background: #509ee7;
    padding: 24px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ru-in-world-banner-title{
    font-family: var(--desktop-h3-font);
    font-size:  var(--desktop-h3-size);
    font-weight: var(--desktop-h3-weight);
    line-height: var(--desktop-h3-line);
    color: #fff;
    margin-bottom: 48px;
}
.ru-in-world-banner-form{
    display: flex;
    align-items: center;
}
input:read-write.ru-in-world-banner-input{
    width: 430px;
    padding: 9px 12px !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: var(--text) !important;
    border: 1px solid var(--secondary-2) !important;
}
.ru-in-world-banner-input::placeholder{
    color: #D0D5DD;
}
input[type="submit"].ru-in-world-banner-btn{
    box-shadow: var(--drop-shadow-100);
    border-radius: 8px;
    padding: 10px;
    width: 180px;
    display: flex;
    justify-content: center;
    background: var(--primary-brand-2);
    border: 1px solid var(--primary-brand-2);
    color: #fff;
    font-family: var(--desktop-button-font);
    font-size:  var(--desktop-button-size);
    font-weight: var(--desktop-button-weight);
    line-height: 100%;
}
.ru-in-world-banner-btn:active,
.ru-in-world-banner-btn:visited,
.ru-in-world-banner-btn:hover{
    color: #fff;
}
.ru-in-world-banner-check-cont{
    margin-top: 24px;
    padding: 0 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 14px;
    column-gap: 12px;
}
.ru-in-world-banner-check-item{
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ru-in-world-banner-check-block{
    flex: 0 0 46px;
    width: 46px;
    height: 23px;
    display: flex;
    align-items: center;
    border-radius: 100px;
    background: var(--gray-100);
}
.ru-in-world-banner-check-dot{
    margin-top: .5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-left: 2px;
    background: #80AAFF;
    transition: .2s;
}
.ru-in-world-banner-check{
    display: none;
}
.ru-in-world-banner-check-label{
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #fff;
}
.ru-in-world-banner-check-item:has(.ru-in-world-banner-check:checked) .ru-in-world-banner-check-dot{
    margin-left: 25px;
    background: var(--primary-brand-2);
}

.ru-in-world-desc-cont{
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 850px;
}
.ru-in-world-desc{
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #000;
}

.ru-in-world-cards{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 200px;
}
.ru-in-world-card{
    height: 277px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
.ru-in-world-card-img{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.ru-in-world-card-header{
    width: 100%;
    padding: 24px 20px;
    position: absolute;
    display: flex;
    justify-content: space-between;
}
.ru-in-world-card-title{
    font-family: var(--desktop-h5-font);
    font-size:  var(--desktop-h5-size);
    font-weight: var(--desktop-h5-weight);
    color: #fff;
}
.ru-in-world-card-link-icon{}

@media screen and (max-width: 1600px) {
    .ru-in-world-banner{
        background-position: -20% center;
    }
}
@media screen and (max-width: 1500px) {
    .ru-in-world-cards{
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 1280px) {
    .ru-in-world-banner{
        height: 800px;
        background-position: center top;
        flex-direction: column;
        /* background-image: url('/wp-content/themes/neve/assets/img/ru-in-world/mobile-banner.png'); */
    }
    .ru-in-world-banner-wrap{
        width: 100%;
        background-image: linear-gradient(180deg, rgba(0, 162, 255, 0) 20%, rgba(51, 102, 204, 1) 55%, rgba(51, 102, 204, 1) 100%);
        flex-direction: column;
        align-items: center;
        padding: 0 80px 72px 80px;
    }
    .ru-in-world-banner-cont{
        width: 100%;
        height: auto;
    }
}
@media screen and (max-width: 1024px) {
    .ru-in-world-desc-cont{
        width: 100%;
    }
    .ru-in-world-banner-form{
        width: 100%;
    }
    .ru-in-world-banner-input{
        width: 70%;
    }
    .ru-in-world-banner-btn{
        width: 30%;
    }
}
@media screen and (max-width: 768px) {
    .ru-in-world-banner{
        height: 720px;
    }
    .ru-in-world-banner-wrap{
        background-image: linear-gradient(180deg, rgba(0, 162, 255, 0) 15%, rgba(51, 102, 204, 1) 50%, rgba(51, 102, 204, 1) 100%);
        padding: 0 20px 20px 20px;
    }
    .ru-in-world-banner-cont{
        gap: 24px;
        padding: 15px;
    }
    .ru-in-world-banner-check-cont{
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        margin-top: 0;
    }
    .ru-in-world-banner-title{
        margin-bottom: 0;
        text-align: center;
    }
    .ru-in-world-banner-form{
        flex-direction: column;
        gap: 8px;
    }
    .ru-in-world-banner-input{
        width: 100%;
    }
    .ru-in-world-banner-btn{
        width: 100%;
    }
    .ru-in-world-banner-check-block{
        flex: 0 0 32px;
        width: 32px;
        height: 16px;
    }
    .ru-in-world-banner-check-dot{
        width: 12px;
        height: 12px;
    }
    .ru-in-world-banner-check-item:has(.ru-in-world-banner-check:checked) .ru-in-world-banner-check-dot{
        margin-left: 18px;
    }
    .ru-in-world-cards{
        display: flex;
        flex-direction: column;
        margin-bottom: 96px;
    }
    .ru-in-world-card{
        height: 215px;
    }
    .ru-in-world-card-link-icon{
        height: 30px;
        width: 30px;
    }
}

@media screen and (max-width: 480px) {
    .ru-in-world-banner{
        height: 600px;
    }
    .ru-in-world-banner-wrap{
        background-image: linear-gradient(180deg, rgba(0, 162, 255, 0) 10%, rgba(51, 102, 204, 1) 30%, rgba(51, 102, 204, 1) 100%);
    }
}