.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-banner {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}

.news-title {
    font-size: 42px;
    margin: 0;
}

.news-filters {
    padding: 40px 0;
    background: #f7f7f7;
}

.filter-post {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.taxonomy-type {
    position: relative;
    border: 1px solid #c2c2c2;
    padding: 0 15px 0 15px;
    height: 46px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #fff;
    min-width: 180px;
}

.taxonomy-type::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #1e2634;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.taxonomy-type:hover::after,
.taxonomy-type.is-open::after {
    transform: rotate(180deg);
}

.taxonomy-type span {
    flex: 1;
}

.taxonomy-type ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #c2c2c2;
    border-top: none;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 999;
}

.taxonomy-type:hover ul,
.taxonomy-type.is-open ul {
    display: block;
}

.taxonomy-type li {
    padding: 10px 15px;
}

.taxonomy-type li a {
    text-decoration: none;
    color: #1e2634;
    display: block;
}

.taxonomy-type li:hover {
    background: #f5f5f5;
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 80px 20px;
}

.news-card {
    border: 1px solid #eee;
    background: #fff;
    transition: 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.news-thumb-wrap {
    position: relative;
}

.news-card-taxonomy-banner {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    background: #97c8e2;
    color: #fff;
    padding: 5px 8px;
    font-size: 10px !important;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

.news-card-taxonomy-banner a.news-card-taxonomy {
    color: #fff;
    text-decoration: none;
}

.news-card-taxonomy-banner a.news-card-taxonomy:hover {
    text-decoration: underline;
}

.news-thumb {
    display: block;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 14px;
    color: #777;
}

.news-link {
    display: inline-block;
    font-weight: bold;
    text-decoration: underline;
    line-height: 1.2;
    color: #0066a4;
}

.news-pagination {
    background: #e7decd;;
    padding: 15px 0;
    text-align: center;
}

.news-pagination .page-numbers {
    display: inline-block;
    margin: 0 6px;
    padding: 7px 14px;
    text-decoration: none;
    font-weight: 600;
    color: #0066a4;
    background: transparent;
    transition: 0.2s ease;
}

.news-pagination .page-numbers:hover {
    color: #005c9e;
}

.news-pagination .current {
    background: #005c9e;
    color: #fff !important;
}

.news-pagination .next {
    margin-left: 20px;
    font-weight: 700;
}

.clean-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0066a4;
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    padding: 10px;
    border-radius: 2px;
    text-decoration: none;
    transition: 0.2s ease;
    margin-left: 5px;
}

.clean-filters:hover {
    background-color: #005c9e;
    color: #fff;
}

.news-content h3 {
    line-height: 1rem !important;
}

.single-news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.single-news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.single-news-term {
    display: inline-block;
    background: #e7decd;
    padding: 10px 18px;
    font-weight: 700;
    margin-bottom: 30px;
}

.single-news-term a {
    text-decoration: none;
    color: #1e2634 !important;
    font-weight: 700 !important;
}

.single-news-title {
    font-family: 'Crimson Text', serif;
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 20px;
}

.single-news-divider {
    width: 80px;
    height: 4px;
    background: #1e6a93;
    margin: 25px 0;
}

.single-news-date {
    font-size: 20px;
    color: #1e6a93;
    margin-bottom: 40px;
}

.single-news-content {
    line-height: 1.7;
}

.single-news-sidebar {
    padding-left: 40px;
}

.sidebar-title {
    font-weight: 700;
    margin-bottom: 30px;
}

.sidebar-item {
    margin-bottom: 25px;
}

.sidebar-item a {
    text-decoration: none;
    font-weight: 600;
    color: #1e2634;
}

.sidebar-date {
    display: block;
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.sidebar-image {
    width: 100%;
    max-width: 320px;
    height: auto;
}

/* ========== RESPONSIVE: Archive & Taxonomy ========== */

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        padding: 50px 20px;
    }

    .news-banner {
        padding: 60px 0;
    }

    .news-title {
        font-size: 34px;
    }

    .news-filters {
        padding: 28px 0;
    }

    .news-thumb {
        height: 200px;
    }

    .single-news-grid {
        grid-template-columns: 1fr;
    }

    .single-news-sidebar {
        padding-left: 0;
        margin-top: 60px;
    }

    .single-news-title {
        font-size: 42px;
    }

    .single-news-container {
        padding: 50px 20px;
    }
}

@media (max-width: 768px) {
    .news-container {
        padding: 0 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 20px;
    }

    .news-banner {
        padding: 48px 0;
    }

    .news-title {
        font-size: 28px;
    }

    .filter-post {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .filter-post .label-title {
        display: block;
        width: 100%;
        margin-bottom: 4px;
    }

    .taxonomy-type {
        min-width: 0;
        width: 100%;
    }

    .clean-filters {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
        justify-content: center;
    }

    .news-thumb {
        height: 220px;
    }

    .news-card-taxonomy-banner {
        font-size: 9px !important;
        padding: 4px 6px;
    }

    .news-content {
        padding: 16px;
    }

    .news-content h3 {
        font-size: 1.1rem;
    }

    .news-pagination {
        padding: 12px 0;
    }

    .news-pagination .page-numbers {
        padding: 6px 10px;
        margin: 0 3px;
        font-size: 14px;
    }

    .news-pagination .prev,
    .news-pagination .next {
        margin: 0 4px;
    }

    .single-news-title {
        font-size: 32px;
    }

    .single-news-date {
        font-size: 16px;
    }

    .single-news-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin: 24px 0;
    }

    .single-news-share {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .news-container {
        padding: 0 12px;
    }

    .news-banner {
        padding: 36px 0;
    }

    .news-title {
        font-size: 24px;
    }

    .news-filters {
        padding: 20px 0;
    }

    .news-grid {
        gap: 20px;
        padding: 32px 20px;
    }

    .news-thumb {
        height: 180px;
    }

    .news-card-taxonomy-banner {
        font-size: 8px !important;
        padding: 3px 5px;
        max-width: 70%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .news-content {
        padding: 14px;
    }

    .news-date {
        font-size: 12px;
    }

    .news-content h3 {
        font-size: 1rem;
    }

    .news-link {
        font-size: 14px;
    }

    .news-pagination .page-numbers {
        padding: 5px 8px;
        font-size: 13px;
    }

    .clean-filters {
        font-size: 16px;
        padding: 12px;
    }

    .single-news-container {
        padding: 24px 12px;
    }

    .single-news-title {
        font-size: 26px;
    }

    .single-news-divider {
        margin: 16px 0;
    }

    .single-news-date {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .single-news-share a {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
}

.single-news-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    font-weight: 700;
}

.single-news-back a {
    text-decoration: none;
    color: #1e6a93;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

.single-news-back a:hover {
    text-decoration: underline;
    transition: 0.2s ease;
}

.single-news-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.single-news-share span {
    font-size: 16px;
    color: #1e2634;
}

.single-news-share a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1e6a93;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.single-news-share a:hover {
    background: #0f4f6d;
}

