@charset "utf-8";

/* Brand color: matches site primary green */
/* #008A2E */

/* Top page NEWS section */
.t__news_sec {
    padding: 90px 20px 70px;
}

.t__news_sec__inner {
    max-width: 1024px;
    margin: 0 auto;
}

.t__news_sec__head {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 36px;
    position: relative;
}

.t__news_sec__head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #008A2E;
}

.t__news_sec__title {
    position: relative;
    z-index: 1;
    background: #fff;
    padding-right: 24px;
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.08em;
    color: #008A2E;
}

.t__news_sec__more {
    margin-top: 28px;
    text-align: right;
    overflow: visible;
}

.t__news_sec__more a {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.08em;
    overflow: visible;
}

.t__news_sec__more a:hover {
    opacity: 0.7;
}

.t__news_sec__more a span {
    position: relative;
    display: inline-block;
    padding: 6px 51px 6px 0;
    overflow: visible;
    vertical-align: middle;
    line-height: 1;
}

.n__single_back a span {
    position: relative;
    display: inline-block;
    padding: 6px 0 6px 51px;
    overflow: visible;
    vertical-align: middle;
    line-height: 1;
}

.t__news_sec__more a span::before,
.t__news_sec__more a span::after {
    position: absolute;
    top: 50%;
    right: 0;
    height: 1px;
    content: '';
    background: #000;
}

.n__single_back a span::before,
.n__single_back a span::after {
    position: absolute;
    top: 50%;
    left: 0;
    height: 1px;
    content: '';
    background: #008A2E;
}

.t__news_sec__more a span::before {
    width: 43px;
}

.n__single_back a span::before {
    width: 43px;
}

.t__news_sec__more a span::after {
    width: 8px;
    transform: rotate(35deg);
    -webkit-transform: rotate(35deg);
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
}

.n__single_back a span::after {
    width: 8px;
    transform: rotate(-35deg);
    -webkit-transform: rotate(-35deg);
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
}

/* Shared news list */
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-list__item {
    display: grid;
    grid-template-columns: auto 120px minmax(0, 1fr);
    column-gap: 30px;
    row-gap: 8px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #d8d8d8;
}

.news-list__link {
    display: contents;
    color: inherit;
    text-decoration: none;
}

.news-list__link:hover .news-list__title {
    opacity: 0.7;
}

.news-list__date {
    grid-column: 1;
    grid-row: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 0.15em;
    color: #000;
}

.news-list__cat {
    grid-column: 2;
    grid-row: 1;
    width: 120px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: rgba(0, 138, 46, 0.12);
    font-family: "Roboto", "Roboto Condensed", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0;
    text-align: center;
    color: #2c2c2c;
}

.news-list__cat--empty {
    visibility: hidden;
}

.news-list__title {
    grid-column: 3;
    grid-row: 1;
    padding-left: 8px;
    font-size: 16px;
    font-weight: bold;
    line-height: 32px;
    color: #000;
}

.news-list__excerpt {
    grid-column: 3;
    grid-row: 2;
    padding-left: 8px;
    margin-top: 0;
    font-size: 13px;
    line-height: 1.8;
    color: #333;
}

/* Archive page */
.n__head_sec {
    padding: 80px 20px 40px;
    text-align: center;
}

.n__head_sec__title {
    font-size: 57px;
    font-weight: bold;
    color: #008A2E;
    letter-spacing: 0.08em;
}

.n__head_sec__subtitle {
    margin-top: 12px;
    font-size: 16px;
    color: #333;
}

.n__archive_sec {
    padding: 0 20px 100px;
}

.n__archive_sec__inner {
    max-width: 1024px;
    margin: 0 auto;
}

.n__archive_filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.n__archive_filter__item {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #008A2E;
    border-radius: 24px;
    font-size: 13px;
    font-weight: bold;
    color: #008A2E;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.n__archive_filter__item.is-active,
.n__archive_filter__item:hover {
    background: #008A2E;
    border-color: #008A2E;
    color: #fff;
}

.n__archive_empty {
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.n__pagination {
    margin-top: 48px;
    text-align: center;
}

.n__pagination .nav-links {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.n__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
    padding: 0 12px;
    border: none;
    border-radius: 0;
    background: rgba(0, 138, 46, 0.12);
    font-family: "Roboto", "Roboto Condensed", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0;
    color: #2c2c2c;
    text-decoration: none;
}

.n__pagination .page-numbers.current {
    background: #008A2E;
    color: #fff;
    font-weight: 700;
}

.n__pagination .page-numbers.current:hover {
    opacity: 1;
}

.n__pagination .page-numbers:hover {
    opacity: 0.7;
}

.n__pagination .page-numbers.dots {
    min-width: auto;
    padding: 0 4px;
    background: transparent;
}

.n__pagination .page-numbers.prev,
.n__pagination .page-numbers.next {
    display: none;
}

/* Single post */
.n__single_sec {
    padding: 40px 20px 100px;
}

.n__single_sec__inner {
    max-width: 900px;
    margin: 0 auto;
}

.n__single_meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
}

.n__single_meta__date {
    font-size: 14px;
    color: #000;
}

.n__single_meta__cat {
    width: 120px;
    height: 32px;
    margin-left: 30px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: rgba(0, 138, 46, 0.12);
    font-family: "Roboto", "Roboto Condensed", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0;
    text-align: center;
    color: #2c2c2c;
}

.n__single_title {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.5;
    color: #008A2E;
    margin-bottom: 32px;
}

.n__single_content {
    text-align: left;
}

.n__single_content a {
    color: #0066cc;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.n__single_content a:hover {
    opacity: 0.7;
}

.n__single_content h2 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    color: #008A2E;
}

.n__single_content h3 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 24px;
    color: #008A2E;
}

.n__single_content h4 {
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;
    color: #008A2E;
}

.n__single_content p {
    margin-top: 15px;
    line-height: 1.8;
    font-size: 14px;
}

.n__single_content ul,
.n__single_content ol {
    margin-top: 10px;
    line-height: 1.8;
    font-size: 14px;
}

.n__single_content ul {
    list-style: disc;
    list-style-position: inside;
}

.n__single_content ol {
    list-style: decimal;
    list-style-position: inside;
}

.n__single_back {
    margin-top: 48px;
    text-align: left;
    overflow: visible;
}

.n__single_back a {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: #008A2E;
    text-decoration: none;
    letter-spacing: 0.08em;
    overflow: visible;
}

.n__single_back a:hover {
    opacity: 0.7;
}

@media screen and (max-width: 900px) {
    .t__news_sec {
        padding: 60px 16px 50px;
    }

    .t__news_sec__title {
        font-size: 36px;
    }

    .news-list__item {
        display: block;
        row-gap: 0;
    }

    .news-list__link {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .news-list__date {
        font-size: 14px;
        line-height: 30px;
    }

    .news-list__cat {
        width: 112px;
        height: 30px;
        margin-left: 20px;
        font-size: 12px;
        line-height: 30px;
    }

    .news-list__cat--empty {
        display: none;
    }

    .news-list__title {
        flex: 1 1 100%;
        margin-top: 10px;
        padding-left: 0;
        line-height: 1.7;
    }

    .news-list__excerpt {
        margin-top: 8px;
        padding-left: 0;
    }

    .n__head_sec__title {
        font-size: 42px;
    }

    .n__single_title {
        font-size: 22px;
    }
}

@media screen and (max-width: 767px) {
    .n__single_meta__cat {
        width: 112px;
        height: 30px;
        margin-left: 20px;
        font-size: 12px;
        line-height: 30px;
    }

    .n__archive_filter__item {
        font-size: 12px;
        padding: 7px 14px;
    }
}
