@import url('../vars.css');

.ru-projects-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}
.ru-projects-info-cont{
    width: 846px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.ru-projects-info-desc{
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: var(--text);
}
.ru-projects-info-img{
    height: 100%;
    width: 40%;
}
.ru-projects-info-img video{
    width: 100%;
    border-radius: 16px;
}

.ru-projects-proj{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: var(--mb);
}
.ru-projects-proj-title{
    font-family: var(--desktop-body2-font);
    font-size:  var(--desktop-body2-size);
    font-weight: var(--desktop-body2-weight);
    color: var(--text);
}
.ru-projects-proj-cont{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.ru-projects-proj-col{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ru-projects-proj-item{
    display: flex;
    gap: 8px;
    align-items: center;
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: var(--text);
}
.ru-projects-proj-dot{
    flex: 0 0 10px;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: var(--primary-brand-2);
}

.ru-projects-banner{
    padding: 50px 72px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background-image: url('/wp-content/themes/neve/assets/img/ru-projects/bg.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 16px;
    margin-bottom: var(--mb);
}
.ru-projects-banner-title{
    font-family: var(--desktop-h4-font);
    font-size:  var(--desktop-h4-size);
    font-weight: var(--desktop-h4-weight);
    color: #fff;
}
.ru-projects-banner-link{
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 12px 12px 20px;
    border-radius: 100px;
    background: var(--primary-brand-2);
    font-family: var(--desktop-body2-font);
    font-size:  var(--desktop-body2-size);
    font-weight: var(--desktop-body2-weight);
    color: #fff;
}
.ru-projects-banner-link:hover,
.ru-projects-banner-link:visited,
.ru-projects-banner-link:active{
     color: #fff;
}

.ru-projects-jubil{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 32px;
}
.ru-projects-jubil-aside{
    /* width: 750px; */
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ru-projects-jubil-desc{
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: var(--text);
}
.ru-projects-jubil-img{
    border-radius: 16px;
}

.ru-projects-images{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    gap: 32px;
}
.ru-projects-images img{
    border-radius: 16px;
}

.ru-projects-sub{
    margin-top: 20px;
    width: 850px;
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: var(--gray-400);
    margin-bottom: var(--mb);
}

.proj-banner{
    margin-bottom: 100px;
    display: flex;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 269px;
    background: var(--primary-brand-2);
}
.proj-banner-img{
    position: absolute;
    left: 0;
}
.proj-banner-cont{
    position: absolute;
    right: 0;
    width: 70%;
    display: flex;
    align-items: center;
    background-image: linear-gradient(90deg, rgba(51, 102, 204, 0) 0%, rgba(51, 102, 204, 1) 20%, rgba(51, 102, 204, 1) 100%);
    padding-left: 300px;
}
.proj-banner-info{
    display: flex;
    height: 270px;
    width: 600px;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}
.proj-banner-info-title{
    font-family: var(--desktop-h4-font);
    font-size:  var(--desktop-h4-size);
    font-weight: var(--desktop-h4-weight);
    color: #fff;
    margin-bottom: 0;
}
.proj-banner-info-desc{
    font-family: var(--desktop-body-font);
    font-size:  var(--desktop-body-size);
    font-weight: var(--desktop-body-weight);
    color: #fff;
}
.proj-banner-link{
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #fff;
    padding: 8px 14px;
}
.proj-banner-logo{
    position: absolute;
    right: 0;
    top: 0;
}




@media screen and (max-width: 1620px) {
    .proj-banner-cont{
        padding-left: 200px;
    }
}
@media screen and (max-width: 1400px) {
    .ru-projects-info-cont{
        width: 50%;
    }
    .proj-banner-img{
        left: -100px;
    }
    .proj-banner-cont{
        width: 80%;
    }
}
@media screen and (max-width: 1280px) {
    .ru-projects-banner{
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .ru-projects-banner-link{
        width: fit-content;
    }
    .proj-banner-info{
        width: 450px;
    }
}
@media screen and (max-width: 1024px) {
    .ru-projects-sub{
        width: 100%;
    }
    .ru-projects-jubil{
        display: flex;
        flex-direction: column-reverse;
    }
    .ru-projects-info{
        flex-direction: column-reverse;
    }
    .ru-projects-info-cont{
        width: 100%;
    }
    .ru-projects-info-img{
        width: 100%;
    }
    .ru-projects-proj-cont{
        grid-template-columns: 1fr 1fr;
    }
    .proj-banner-img{
        width: 102%;
        left: auto;
    }
    .proj-banner-img img{
        width: 100%;
    }
    .proj-banner-cont{
        background-image: linear-gradient(180deg, rgba(51, 102, 204, 0) 0%, rgba(51, 102, 204, 1) 25%, rgba(51, 102, 204, 1) 100%);
        right: auto;
        bottom: 0;
        width: 100%;
        padding: 32px;
    }
    .proj-banner-info{
        width: 100%;
        height: auto;
    }
    .proj-banner{
        height: 500px;
    }
}
@media screen and (max-width: 768px) {
    .ru-projects-banner{
        padding: 24px 12px;
    }
    .proj-banner-logo{
        width: 104px;
    }
    .proj-banner{
        height: 720px;
        margin-bottom: 32px;
    }
    .proj-banner-cont{
        height: 40%;
        align-items: flex-end;
    }
    .proj-banner-link{
        width: 100%;
        display: flex;
        justify-content: center;
    }
}
@media screen and (max-width: 480px) {
    .ru-projects-images{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .ru-projects-proj-cont{
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .proj-banner{
        height: 580px;
    }
    .proj-banner-cont{
        height: 70%;
        padding: 32px 12px;
    }
}
