.template_news {
    padding: 100px 30px 200px;
    position: relative;
    z-index: 1;
}
.template_news_object1 {
    width: 359px;
    bottom: 70px;
    right: 0px;
}
.template_news_object2 {
    width: 200px;
    bottom: 40px;
    left: 120px;
}

.template_news_container {
    max-width: 1040px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
}
.template_news_inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 50px;
}
.template_news_list {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.template_news_item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--light-gray);
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}
@media (any-hover: hover) {
    .template_news_item:hover,
    .template_news_item:focus-visible {
        opacity: 0.6;
    }
}
.template_news_item:first-of-type {
    padding-top: 0;
}
.template_news_item:last-of-type {
    padding-bottom: 0;
    border-bottom: none;
}
.template_news_item_date {
    font-size: 16px;
    font-weight: 500;
    flex-shrink: 0;
}
.template_news_item_category {
    font-size: 14px;
    font-weight: bold;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    border-radius: 100px;
    padding: 6px 19px;
    flex-shrink: 0;
}
.template_news_item_title {
    font-size: 18px;
    font-weight: bold;
    flex-grow: 1;
    line-height: 1.3;
}
.template_news .components_btn {
    margin: 0 0 0 auto;
}

@media screen and (max-width: 959px) {
    .template_news_object1 {
        width: 280px;
        bottom: 70px;
        right: 0px;
    }
}

@media screen and (max-width: 767px) {
    .template_news {
        padding: 100px 20px;
    }
    .template_news_object1 {
        width: 170px;
        bottom: 70px;
        right: 0px;
    }
    .template_news_object2 {
        width: 100px;
        bottom: 22px;
        left: 30px;
    }
    .template_news_container {
        padding: 30px;
    }
    .template_news_item {
        gap: 10px;
        row-gap: 5px;
        flex-wrap: wrap;
        padding: 15px 0;
    }
    .template_news_inner {
        gap: 30px;
    }
    .template_news_item_date {
        font-size: 14px;
    }
    .template_news_item_category {
        font-size: 12px;
        padding: 4px 14px;
    }
    .template_news_item_title {
        width: 100%;
        font-size: 15px;
    }

    .components_btn_icon.arrow_icon {
        width: 12px;
    }

}