/* -----------news-----------*/
.news_content {
    padding: 100px 30px;
    position: relative;
    z-index: 1;
}
.news_content_object1 {
    width: 290px;
    top: 0px;
    right: 0px;
}
.news_content_object2 {
    width: 530px;
    bottom: -100px;
    left: 0px;
}

.news_content_container {
    max-width: 800px;
    margin: 0 auto;
}
.news_content_item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px 0;
    border-bottom: 2px solid #fff;
}
.news_content_item:first-of-type {
    padding-top: 0;
}
.news_content_item:last-of-type {
    padding-bottom: 0;
    border-bottom: none;
}
.news_content_item_head {
    display: flex;
    align-items: center;
    gap: clamp(10px, calc((100vw / 1440) * 30), 30px);
}
.news_content_item_date {
    font-size: 16px;
    font-weight: 500;
    flex-shrink: 0;
}
.news_content_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;
}
.news_content_item_title {
    font-size: 18px;
    font-weight: bold;
    flex-grow: 1;
    line-height: 1.3;
}
.news_content_item_excerpt {
    font-size: 15px;
    line-height: 1.8;
}
.news_content_item_excerpt p {
    margin-bottom: 0.8em;
}
.news_content_item_excerpt p:last-child {
    margin-bottom: 0;
}
.news_content_item_excerpt a {
    display: inline;
    color: var(--accent-green);
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
    transition: opacity 0.2s;
}
@media (any-hover: hover) {
    .news_content_item_excerpt a:hover,
    .news_content_item_excerpt a:focus-visible {
        opacity: 0.7;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 70px;
}
.page-numbers {
    width: 50px;
    aspect-ratio: 1;
    flex-shrink: 0;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 500;
    font-family: "Afacad", serif;
}
.page-numbers.current {
    background: var(--base-gray);
    color: #fff;
}
.page-numbers.dots {
    width: 35px;
    font-size: 0;
    background: url(../img/pagination_dots.svg)no-repeat center center/ contain;
}
.page-numbers.next,
.page-numbers.prev {
    display: none;
}

@media screen and (max-width: 1024px) {
    .news_content_object1 {
        width: 200px;
    }
    .news_content_object2 {
        width: 380px;
    }
}

@media screen and (max-width: 767px) {
    .news_content {
        padding: 70px 30px;
    }
    .news_content_object1 {
        width: 130px;
    }
    .news_content_object2 {
        width: 200px;
        bottom: -50px;
    }

    .news_content_item {
        gap: 10px;
    }
    .news_content_item_head {
        flex-wrap: wrap;
        row-gap: 5px;
    }
    .news_content_item_date {
        font-size: 14px;
    }
    .news_content_item_category {
        font-size: 12px;
        padding: 4px 14px;
    }
    .news_content_item_title {
        width: 100%;
        font-size: 15px;
    }
    .news_content_item_excerpt {
        font-size: 14px;
    }

    .pagination {
        margin-top: 30px;
        gap: 10px;
    }
    .page-numbers {
        width: 40px;
        font-size: 18px;
    }
    .page-numbers.dots {
        width: 21px;
    }
}