.news__data_link{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}
.social__box{
    display: flex;
    position: absolute;
    align-items: center;
    gap: 10px;
    right: 0;
    z-index: 1;
    min-width: 160px;
    width: max-content;
    top: 40px;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease; /* �������� 0.3s �� �������� ������������ �������� � �������� */
}
.partners__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.partners__container h2,.partners__container h3,.partners__container h4,.partners__container h5,.partners__container h6{
    font-family: Inter;
    font-size: 36px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0em;
    margin-bottom: 10px;
}
.partners__container p{
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0em;
}
.partners__box {
    margin-top: 30px;
    display: flex;
    justify-content: space-evenly;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.partners__item {
    width: calc((100% - 120px) / 3); /* Рассчитываем ширину каждого элемента с учетом промежутка */
    max-width: 100%; /* Максимальная ширина элемента */
    height: 100%    ;
}

.close__social{
    cursor: pointer;
}
.social__box--visible {
    height: 41px;
}
.social__box a {
    height: 41px;
}
.social__box a:hover path{
    fill: black!important;
}
.close__social:hover path{
    stroke: black!important;
}
button.news_single__share_event{
    min-width: 120px;
    font-family: Inter;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: #05A65D;
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 0px;
    border: 0px;
    background: transparent;
}
.news_single__share_event:hover{
    text-decoration: underline;
}
.news_single__share_event:after{
    content: url("/wp-content/uploads/2023/12/basil_share-outline.svg");
    height: 24px;
}
.head__container{
    width: 100%;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.news_post__box{
    position: relative;
}
.swiper-button-next-3{
    position: absolute;
    top: 50%;
    right: 48px;
    z-index: 2;
}
.swiper-button-prev-3{
    position: absolute;
    top: 50%;
    left: 48px;
    z-index: 2;
}
.head__block{
    position: relative;
    padding: 0 48px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.head__title_box{
    padding: 0 15px;
    max-width: 1420px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 22px;
}
.head__title{
    text-transform: uppercase;
    font-family: Inter;
    font-size: 86px;
    font-weight: 300;
    line-height: 104px;
    letter-spacing: 0em;
    text-align: left;
    color: #FFFFFF;
}
a.project_single__container_back{
    font-family: Inter;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: 0em;
    text-align: left;
    color: #FFFFFF;
    text-decoration: underline;
    position: absolute;
    top: 220px;
    left: 50px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}
a.project_single__container_back:before{
   content: url("/wp-content/uploads/2024/01/Vector-8.svg");
    width: 6px;
}

a.news_single__share{
    margin-top: 14px;
    min-width: 120px;
    padding-right: 25px;
    font-family: Inter;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: #05A65D;
    text-decoration: underline;
    display: flex;
    gap: 15px;
}
.news_single__share:after{
    content: url("/wp-content/uploads/2023/12/basil_share-outline.svg");
    height: 24px;
}
.news__container_data{
    padding-top: 70px
}
.news__date{
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: left;
    color: #05A65D;
    margin-bottom: 10px;
}

.news__data_title{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
}
.news__container_title{
    font-family: Inter;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: 0em;
    text-align: left;
    color: #575756;
}
.news__text p{
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 31px;
    letter-spacing: 0em;
    text-align: left;
    color: #000000;
    max-width:750px;
    margin: 0;
}
.news__text ul{
    list-style: disc;
    margin-left: 20px;
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 31px;
    letter-spacing: 0em;
    text-align: left;
    color: #000000;
}
.news__text ol{
    margin: 0px;
    padding-left: 20px;
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 31px;
    letter-spacing: 0em;
    text-align: left;
    color: #000000;
}
.news__text.width__full p{
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 31px;
    letter-spacing: 0em;
    text-align: left;
    color: #000000;
    max-width:100%;
    margin: 0;
}

.news__line{
    margin: 0;
    width: 100%;
    height: 1px;
    background: #D4D4D4;
}

.news__container_image_content{
    margin-top: 13px;
}

.news__container_post{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 44px;
    gap: 1px;
}

.news__container_mobile{
    display: none;
}
.news__title_container{
    font-family: Inter;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: 0em;
    text-align: center;
    color: #575756;
    margin-bottom: 66px;
}
.news__box{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:5px;
}
.news__sup_box{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 13px;
    height: 100%;
}
.news__data {
    display: flex;
    padding-left: 26px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.news__panel_title{
    font-family: Inter;
    font-size: 36px;
    font-weight: 700;
    line-height: 31px;
    letter-spacing: 0em;
    text-align: center;
    color: #575756;
    margin-top: 140px;
}

.news__panel{
    min-height: 290px;
}
.news__line_vertical {
    top: 0;
    margin: 0;
    position: absolute;
    left: 0;
    height: 100%;
    width: 12px;
    background: #93C256;
}
.news__title{
    font-family: Inter;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0em;
    color: #FFFFFF;
    margin-bottom: 16px;
}
a.news__read_more {
    font-family: Inter;
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 0em;
    text-align: left;
    color: #FFFFFF;
    background: transparent;
    border: none;
    padding: 0px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.news__read_more:after{
    content: url("/wp-content/uploads/2024/01/Vector-5.svg");
}
.news__read_more:hover {
    text-decoration: underline;
}
.news__contact_us{
    width: 100%;
    background: linear-gradient(270.19deg, #189DC3 0.17%, #32B276 52.85%, #32B276 99.86%);
    display: flex;
    align-items:center;
    align-content: center;
    grid-gap: 10px;
    padding: 40px 45px;
}
a.news__contact_us_title{
    font-family: Inter;
    font-size: 26px;
    font-weight: 500;
    line-height: 31px;
    letter-spacing: 0em;
    text-align: left;
    text-transform: uppercase;
    color: #FFFFFF;
}
.news__contact_us_title:after{
    content: url("/wp-content/uploads/2023/12/Group-3676.svg");
    padding-left: 10px;
}


/*--------------------------------------------------- john ----------------------------------------------------*/

.john__container{
    margin-bottom: 110px;
    display: flex;
    align-items: stretch;
    gap: 100px;
}
.john__box{
    width: 50%;
    padding-left: 47px;
    display: flex;
    justify-content: start;
    flex-direction: column;
}
.john__sub-image{
    max-width: 88px;
    margin-bottom: 40px;
}
.john__text{
    margin: 0px;
    font-family: Inter;
    font-size: 30px;
    font-weight: 400;
    line-height: 39px;
    letter-spacing: 0em;

    color: #404040;
    margin-bottom: 30px;
}
.john__title{
    font-family: Inter;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0em;
    color: #575756;
    margin-bottom: 10px;
}
.john__subtitle{
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0em;
    color: #575756;
}
.john__box2{
    width: 50%;
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
}
.john__image{
    max-height: 700px;
}
/*--------------------------------------------------------------------video__container--------------------------------------------------------------------------------------------*/
.video__container{
    width: max-content;
    height: max-content;
    position: relative;
    margin: 0 auto 160px;
}
.video__container_img{
    width: 100%;
    height: max-content;
    position: relative;
    margin-bottom: 160px;
    text-align: center;
}
.play__button{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    z-index: 1;
}
.full__screen{
    position: absolute;
    bottom: 5%;
    right: 3%;
    transform: translate(-50% , -50%);
    z-index: 1;
    max-width: 30px;
}
.video__sustainability{
    max-height:610px;
}

/**/
.box__text{
    margin-bottom: 70px;
}
.box__text h2 ,.box__text h3,.box__text h4,.box__text h5,.box__text h6{
    font-family: Inter;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: 0em;
    text-align: center;
    max-width: 850px;
    margin: 40px auto 0;
}
.box__text h2:first-child ,.box__text h3:first-child,.box__text h4:first-child,.box__text h5:first-child,.box__text h6:first-child {
    margin: 0 auto;
}

.box__text p{
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0em;
    text-align: center;
    max-width: 1050px;
    margin: 40px auto 0;
}
.share__container{
    max-width: 1200px;
    width: 100%;
    margin: 110px auto 0;
}
.share__container h2,.share__container h3,.share__container h4,.share__container h5,.share__container h6{
    font-family: Inter;
    font-size: 36px;
    font-weight: 700;
    line-height: 44px;
    letter-spacing: 0em;
    text-align: center;
    margin-bottom: 10px;
}
.share__container p {
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0em;
    text-align: center;
}
.share__box{
    margin-top:40px;
    display: flex;
    align-items: center;
    gap: 35px;
    justify-content: center;
}


.box__text ul {
    list-style: disc;
    max-width: 1050px;
    margin: 0 auto;
    padding-left: 30px;
}
.box__text ul li{
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0em;
    margin-top: 40px;
}
.box__text ol {
    max-width: 1050px;
    margin: 0 auto;
}
.box__text ol li{
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0em;
    margin-top: 40px;
}
.head__container.mobile__head{
    display: none;
}
/*-------------------------------------------------------------------------- @media ------------------------------------------------------------------------------------------*/


@media (max-width: 1200px){
    .primary-header{
        padding-bottom: 0px;
    }
    .partners__box{
        flex-direction: column;
    }
    .partners__item{
        width: 80%;
    }
    .john__container{
        flex-direction: column;
        gap:20px;
    }
    .john__box{
        width: 100%;
        padding: 0 40px;
    }
    .john__box2{
        width: 100%;
        padding: 0 40px;
    }
}
@media (max-width: 800px){

    .news__container_post {
        display: flex;
        flex-direction: column;
    }
    .news__panel {
        display: flex;
        align-items: flex-end;
    }
    .news__sup_box{
        padding-bottom: 32px;
    }
}

@media (max-width: 768px) {
    .head__container.mobile__head{
        display: block;
    }
}

@media (max-width: 600px){
    .video__container{
        width: 100%;
        height: auto;
    }
    .video__sustainability{
        object-fit: contain;
        height: auto;
        max-height: max-content;
    }
    .news__container_data {
        padding: 100px 20px 55px 20px;
    }
    .news__data_link{
        position: absolute;
        top: -80px;
        right: 0px;
    }
    .news__data_title {
        position: relative;
    }
    .news__container.mobile{
        display: block;
    }
    a.project_single__container_back {
        top: 215px;
        left: 20px;
    }
}