@font-face {
    font-family: 'KTFForma';
    src: url('../fonts/KTFForma-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'KTFForma';
    src: url('../fonts/KTFForma-Regular.otf') format('opentype');

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lora';
    src: url('../fonts/LoraBold.ttf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Lora';
    src: url('../fonts/LoraRegular.ttf') format('opentype');

    font-weight: normal;
    font-style: normal;
}


.new_hero_home {
    padding: 56px 30px 0 30px;
    gap: 30px;
    display: flex;
    justify-content: center;
    margin: 0;
}

.hero_left_list {
    width: 285px;
}

.list_item {
    display: flex;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.14);
    gap: 10px;
}

.list_item_img {
    height: 15px;
    width: 15px;
}

.hero_right {
    width: auto;
    display: block;
    position: relative;
}

.hero_right_img img {
    object-fit: cover;
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

.hero_right_img {
    position: relative;
    object-fit: cover;
    max-width: 1673px;
    max-height: 1004px;
    min-width: 647px;
    min-height: 390px;
    width: 100%;
    height: 100%;
}

.hero_right_img::before, .news_item_top .dark_side::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 2px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    border-radius: 10px;
}

.hero_right_img::before {
    bottom: 0;
}

.main-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
}

.hero_right_text p {
    font-family: KTFForma;
    font-size: 36px;
    font-weight: 400;
    line-height: 44px;
    text-align: left;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.hero_right_text .special_progect {
    width: fit-content;
}

.hero_right_text .news_item_specials {
    padding: 0;
    min-height: 22px;
}

.hero_right_text {
    max-width: 820px;
    position: absolute;
    bottom: 20px;
    margin-left: 30px;
    z-index: 2;
}

.hero_right_text .special_progect, .hero_right_text .special_teg {
    font-family: KTFForma;
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: 0.01em;
    text-align: center;
    padding: 5px 10px;;
}

.hero_left_list img {
    margin: auto 0;
}

.hero_left_list p {
    font-family: KTFForma;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    text-align: left;
    color: #1A1A1A;
    margin-bottom: 0;
    padding: 15px 0 !important;
}

.hero_left_list {
    margin-top: 8px;
    background-color: #F5F4F1;
    border-radius: 10px;
    padding: 0 15px;
}

.hero_left_list .list_item:last-child {
    border-bottom: none;
}

.hero_left_button.special_progect img {
    position: relative;
    bottom: -1px;
    width: 11px;
    height: 11px;
}

.hero_left_button.special_progect {
    margin-top: 33px;
}

.news-line div {
    max-width: 265px;
}

.news-line span {
    margin-bottom: 8px;
}

.news-line p {
    font-family: 'Lora', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
}

.news-line span {
    opacity: 0.5;
    font-family: KTFForma;
    font-size: 11px;
    font-weight: 400;
    line-height: 15px;
    text-align: left;

}

.news-line {
    gap: 30px;
    display: flex;
}

.container_new {
    max-width: 1140px;
    margin: 0 auto;
    padding-top: 50px;
}

.line_read-more {
    font-family: KTFForma;
    font-size: 14px;
    font-weight: 700;
    line-height: 16.73px;
    text-align: left;
    margin-top: 15px;
}
.news-line_first{
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.2);
    padding-top: 60px;
}


.news-line_second {
    border-bottom: none;
    border-top: 1px solid rgba(26, 26, 26, 0.2);
    margin-bottom: 0;
    margin-top: 50px;
    padding-bottom: 0px;
    padding-top: 20px;
}

.post_group {
    flex-wrap: wrap;
    display: flex;
    gap: 30px;
}

.news_item_card {
    max-width: 360px;
}

.news_item_image img {
    object-fit: cover;
    width: 360px;
    height: 240px;
    border-radius: 10px;

}

.news_item_specials {
    position: absolute;
    bottom: 10px;
    display: flex;
    gap: 5px;
    padding: 0 8px;
    z-index: 3;
}

.hero_right_text .news_item_specials {
    position: relative;
}

.special_progect, .special_teg, .shop_link, .showmore, .promo {
    width: fit-content;
    font-family: KTFForma;
    font-size: 8px;
    font-weight: 400;
    line-height: 9.56px;
    letter-spacing: 0.01em;
    text-align: center;
    padding: 4px 8px;
    background-color: #FFE819;
    border-radius: 50px;
    text-transform: uppercase;
}

.special_teg {
    background-color: #EEEDEA;;
}

.news_item_top {
    margin-bottom: 10px;
    position: relative;
}


.news_item_bottom p {
    font-family: KTFForma;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    text-align: left;
    margin-bottom: 10px;
}

.two_inline p.news_title {
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
}

.article_meta_point {
    /*padding: 0 3px;*/
    color: #FFE819;
    font-size: 22px;
    /*padding-top: 1px;*/
}

.news_item_data {
    display: flex;
    font-family: KTFForma;
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0.01em;
    text-align: left;

}

.news_item_data p {
    opacity: 0.5;
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0.01em;

}

.hero_left_button.special_progect {
    font-family: KTFForma;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.34px;
    letter-spacing: 0.02em;
    text-align: center;
    width: 100%;
    display: block;
    padding: 15px 0;

}

.shop_banner_box.magazin img{
    width: 50%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.shop_banner_box.magazin {
    background-color: #F3F3F1;

}

.cresume.shop_banner_box {
    background-color: #EFEFED;
}

.agency.shop_banner_box {
    background-color: #FFE607;
    height: 400px;

}

.agency.shop_banner_box img, .shop_banner_box.cresume img {
    max-width: 140px;
    margin-top: 30px;
    margin-bottom: 20px;
    mix-blend-mode: darken;

}

.agency.shop_banner_box, .shop_banner_box.cresume {
    text-align: center;
    flex-direction: column;
    align-items: center;

}

.shop_banner_box {
    border-radius: 10px;
    display: flex;


}

.shop_text p{
    font-family: Lora;
    margin: 0;
}
.shop_text {
    margin: auto 50px;
    flex-direction: column;
    display: flex;
    max-width: 600px;
    font-family: KTFForma;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    letter-spacing: 0.01em;
    Color: #1A1A1A;
}

p.shop_title{
    font-family: KTFForma;
    font-size: 24px;
    font-weight: 700;
    line-height: 26px;
    Color: #1A1A1A;
    margin-bottom: 15px;
}

.agency p.shop_text  {
    font-size:20px ;
    line-height: 28px;

}
.agency .shop_link {
    color: #FFE607;
    background-color: black;
    margin: 25px auto 40px auto
}

.cresume .shop_link{
    color: #EFEFED;
    background-color: black;
    margin: 25px auto 40px auto
}

.shop_link {
    padding: 15px 25px;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: 0.02em;
    margin-top: 25px;
    color:  #1A1A1A;


}

.two_inline .news_item_image img {
    width: 555px;
    height: 368px;
}

.three_inline .news_item {
    max-width: 360px;
}

.two_inline .news_item {
    max-width: 555px;
}

.showmore {
    cursor: pointer;
    text-decoration: none;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.34px;
    letter-spacing: 0.02em;
    text-align: center;
    margin: 40px auto;
    padding: 15px 38px;


}

.hero_left_logo.mobyle {
    display: none;
}

.hero_right_item_data{
    display: none;
}

.spe_project_title,.singl_avtor_title{
    font-family: 'KTFForma', sans-serif;
    margin-top: 40px;
    font-size: 32px;



}
body.page-template-all-specproject-php, body.single-author{
    background: white!important;
}

@media all and (max-width: 1023px) {
    .spe_project_title,.singl_avtor_title {
        font-size: 24px;
        line-height: 29px;
        margin-top: 80px;
    }

    .hero_right_img{
        min-width: auto;
        min-height: auto;
    }
    .special_progect, .special_teg, .shop_link, .showmore, .promo{
        padding: 4px 8px 3px 8px;
    }
    .news_item_bottom .news_item_data p{
        font-weight: 400;
        font-size: 11px;

    }
    .hero_right_text .news_item_specials{
        min-height: 16px;
        bottom: 8px;
    }
    .hero_right_text .special_progect, .hero_right_text .special_teg{
        font-size: 8px;
        font-weight: 400;
        line-height: 9.56px;
        letter-spacing: 0.01em;
        padding: 4px 8px 1px 8px;
    }
    .hero_right_item_data {
        display: flex;
        position: relative;
        top:-10px;

    }
    .hero_right_item_data p{
        font-family: KTFForma;
        font-size: 11px;
        line-height: 14px;
        letter-spacing: 0.01em;
        text-align: left;
        font-weight: 400;
        margin-bottom: 8px;
    }
    .agency p  {
        font-size:13px ;
        line-height: 16px;

    }
    .agency p.shop_title {
        font-size: 18px;
        line-height: 22px;
    }
    .agency.shop_banner_box img, .shop_banner_box.cresume img {
        max-width: 240px;
    }
    .shop_banner_box.cresume p.shop_title{
        font-size: 18px;
    }
    .agency.shop_banner_box{
        height: auto;
    }
    p.shop_title {
        font-size: 18px;
    }
    .shop_text p {
        font-family: KTFForma;
        font-size: 13px;
        line-height:18px ;

    }
    .shop_banner_box.magazin img{
        border-top-right-radius: 6px;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 0;
        width: 100%;
    }
    .two_inline p.news_title{
        font-family: KTFForma;
        font-size: 16px;
        font-weight: bold;
        line-height: 21px;
        text-align: left;
        margin-bottom: 10px;
    }
    .magazin .shop_link {
        color: #EFEFED;
        background-color: black;
        padding: 18px 35px;
    }
    .agency .shop_link{
        margin-bottom: 30px;
    }
    .news-line p {
        margin-bottom: 0;
    }

    .news-line_item .promo {
        margin-top: 10px;
    }

    .shop_text .shop_title{
        font-size: 18px;
        font-weight: 700;
        line-height: 21.51px;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .shop_text {
        text-align: center;
        width: 310px;
        margin: 0 auto 0 auto;
    }

    .news-line_first, .news-line_second {
        border-top: 1px solid rgba(26, 26, 26, 0.2);
        border-bottom: none;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .news-line_item {
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(26, 26, 26, 0.2);
    }

    .hero_right_img::before, .news_item_top .dark_side::before {
        bottom: 3px;
        border-radius: 6px;
    }

    .showmore {
        width: 100%;
        padding: 19px;
        padding-bottom: 19px !important;
    }

    .hero_right_img img {
        object-fit: cover;
        width: 360px;
        height: 240px;
    }
    .news_item_image img, .hero_right_img img {
        border-radius: 6px;
    }
    .hero_left_logo.mobyle {
        width: 100%;
    }



    .news {
        margin-top: 0;
    }

    .news_item_image.news_item_top .dark_side::before {
        width: 360px;
        height: 240px;
    }

    .news_item_bottom p {
        font-weight: 700;
        margin-bottom: 8px;
    }

    .hero_left_logo.mobyle img{
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
    .hero_left_logo.mobyle {
        margin-top: 40px;
        display: flex;
        justify-content: center;
    }

    .hero_left_logo.descktop {
        display: none;
    }

    .two_inline .news_item_image img {
        border-radius: 6px;
        width: 360px;
        height: 240px;
    }

    .news_item {
        margin: 0 auto;
    }

    .new_hero_home {
        padding: 60px 0 0 0;
        max-width: 360px;
        margin-right: auto;
        margin-left: auto;
        flex-direction: column-reverse;
        gap: 0;
    }

    .hero_left_list {
        margin: 33px auto 30px auto;
        max-width: 360px;
        margin-top: 20px;
        min-width: 360px;
    }

    .hero_right_text {
        max-width: 100%;
        position: relative;
        margin-left: 0;
        bottom: 0;
        display: flex;
        flex-direction: column-reverse;
        margin: 0 auto;
        top:-20px;
    }

    .hero_right_text p {
        padding-top: 10px;
        font-size: 16px;
        font-weight: 700;
        line-height: 21px;
        color: #1A1A1A;
        margin-bottom: 0;
    }

    .news_item_specials {
        margin-left: 6px;
        padding: 0;
        bottom: 12px;
    }

    .hero_right_text_title {
        max-width: 360px;
        margin: 0 auto;
    }

    .hero_left_button.special_progect {
        margin-top: 0;
        padding: 19px 0;
    }

    .three_inline.container_new, .two_inline.container_new {
        width: 100%;
        max-width: unset;
    }

    .container_new {
        max-width: 360px;
        padding-top: 0;
    }

    .two_inline .news_item {
        max-width: 360px;
    }

    .post_group {
        gap: 0;
        flex-direction: column;
        width: 100%;
    }

    .news-line {
        flex-direction: column;
        gap: 15px;
    }

    .news-line div {
        max-width: 350px;
    }

    .shop_banner_box {
        flex-direction: column;
    }

    .shop_link {
        display: block;
        width: 100%;
        margin-bottom: 30px;
        font-size: 12px;
        font-weight: 400;
        line-height: 12px;
        letter-spacing: 0.01em;
        padding: 18px 10px;
        margin-top: 25px;

    }
    .item_background {
        padding: 15px 0;
        width: 100%;

    }

    /*.background_spe {*/
    /*    background-color: #E9E9E7;*/
    /*}*/

    .hero_left_button.special_progect {
        padding: 20px;
        max-width: 360px;
        margin: 0 auto;

    }

    .mobile_order1.news-line_first.container_new {
        padding-top: 15px;
    }

    /*order start*/
    .main-content section {
        order: 20;
    }

    .main-content {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    section.new_hero_home {
        order: 1;
    }

    section.mobile_order1 {
        order: 3;
    }

    section.mobile_order2 {
        order: 2;
    }

    section.mobile_order3 {
        order: 4;
        padding: 15px 0;

    }

    section.mobile_order4 {
        order: 5;
    }

    section.mobile_order6 {
        order: 6;
        padding-top: 15px;
    }

    section.mobile_order5 {
        order: 7;
    }

    section.mobile_order7 {
        order: 8;
        padding: 15px 0;
    }

    section.mobile_order8 {
        margin-top: 0;
        order: 9;
    }

    section.mobile_order9 {
        order: 10;
        padding: 15px 0;

    }

    section.mobile_order10 {
        order: 11;
    }

    section.mobile_order11 {
        order: 12;
    }

    div.mobile_order12 {
        order: 51;
        max-width: 360px;
        width: 100%;
        margin: 15px auto 0 auto;
    }

    #post-container {
        order:50
    }
    /*order end*/

}

@media (min-width: 1024px) and (max-width: 1199px) {
    .spe_project_title,.singl_avtor_title {
        font-size: 28px;
        line-height: 33px;
    }

    .hero_left_button.special_progect {
        margin-top: 20px;
    }

    .hero_left_logo.descktop img {
        max-width: 99px;
    }

    .post_group {
        /*flex-direction: column;*/
        margin: 0 auto;
    }

    .two_inline .news_item {
        max-width: 465px;
    }

    .two_inline .news_item img {
        width: 468px;
        height: 308px;
    }

    .three_inline .news_item img {
        width: 300px;
        height: 200px;
    }

    .three_inline .news_item {
        max-width: 300px;
    }

    .hero_right_text p {
        font-size: 26px;
        font-weight: 400;
        line-height: 34px;
    }

    .hero_right_text {
        max-width: 660px;
    }

    .container_new {
        max-width: 960px;
    }

    .news_item_top .hero_right_img img {
        border-radius: 6px;
    }

}

@media (min-width: 1200px) and (max-width: 1340px) {
    .hero_left_logo.descktop img {
        width: 200px;
    }

    .hero_left_button.special_progect {
        margin-top: 30px;
    }

}
@media (min-width: 1792px) {
    .hero_right_img {
        min-height: 100%;
        min-width: 100%;
    }

}

