/* Editorial refresh for the news archive. */

body.category .news-archive-header {
    padding-top: 1.1rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--hr-ui-line, #dfe4e8);
}

body.category .news-archive-kicker {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--main-color, #e83e8c);
    font-size: 0.68rem;
    font-weight: 780;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

body.category .news-archive-header h1 {
    margin: 0 0 0.7rem;
    color: #172331;
    font-size: clamp(2.1rem, 4vw, 3.15rem);
    font-weight: 790;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

body.category .news-archive-description {
    max-width: 58ch;
    color: #687481;
    font-size: 0.96rem;
    line-height: 1.65;
}

body.category .news-archive-description p {
    margin: 0;
}

body.category .news-toolbar {
    margin: 1.6rem 0 2.25rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #dfe4e8;
    gap: 0.65rem;
}

body.category .news-toolbar .news-filter-form {
    gap: 0.65rem;
}

body.category .news-toolbar input[type="search"],
body.category .news-toolbar select {
    height: 42px;
    border: 1px solid #dfe4e8;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: none;
    color: #34414d;
    font-size: 0.84rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.category .news-toolbar input[type="search"]:hover,
body.category .news-toolbar select:hover {
    border-color: #b8c0c7;
}

body.category .news-toolbar input[type="search"]:focus,
body.category .news-toolbar select:focus {
    outline: none;
    border-color: var(--main-color, #e83e8c);
    box-shadow: 0 0 0 2px rgba(232, 62, 140, 0.1);
}

body.category .news-toolbar .search-submit {
    color: #7c8791;
}

body.category .news-toolbar .search-submit:hover {
    color: var(--main-color, #e83e8c);
}

body.category .news-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 1.6rem;
}

body.category .news-archive-card {
    display: flex;
    flex-direction: column;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.category .news-archive-card:first-child {
    grid-column: span 2;
}

body.category .news-archive-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    background: #eef0f1;
}

body.category .news-archive-card:first-child .news-archive-image {
    aspect-ratio: 16 / 8.35;
}

body.category .news-archive-image img,
body.category .news-archive-image .no-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.3s ease;
}

body.category .news-archive-image img {
    filter: saturate(0.94);
}

body.category .news-archive-card:hover .news-archive-image img {
    filter: saturate(1);
    transform: scale(1.022);
}

body.category .news-archive-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0.9rem 0 0;
}

body.category .news-meta {
    order: -1;
    gap: 0.65rem;
    margin-bottom: 0.6rem;
    color: #7b858f;
    font-size: 0.66rem;
    font-weight: 720;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

body.category .news-meta i {
    color: var(--main-color, #e83e8c);
    font-size: 0.68rem;
}

body.category .news-category-link {
    color: #687481;
    font-weight: 720;
}

body.category .news-category-link:hover {
    color: var(--main-color, #e83e8c);
    text-decoration: none;
}

body.category .news-title {
    margin: 0 0 0.65rem;
    color: #172331;
    font-size: 1.12rem;
    font-weight: 750;
    line-height: 1.23;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

body.category .news-archive-card:first-child .news-title {
    max-width: 24ch;
    font-size: clamp(1.45rem, 2.3vw, 1.85rem);
    line-height: 1.12;
}

body.category .news-title a {
    color: inherit;
}

body.category .news-title a:hover {
    color: var(--main-color, #e83e8c);
}

body.category .news-excerpt {
    margin-bottom: 0.85rem;
    color: #687481;
    font-size: 0.86rem;
    line-height: 1.58;
}

body.category .news-archive-card:first-child .news-excerpt {
    max-width: 64ch;
    font-size: 0.94rem;
}

body.category .read-more {
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #172331;
    color: #172331;
    font-size: 0.68rem;
    font-weight: 760;
    letter-spacing: 0.065em;
    text-decoration: none;
    text-transform: uppercase;
}

body.category .read-more:hover {
    border-color: var(--main-color, #e83e8c);
    color: var(--main-color, #e83e8c);
}

body.category .pagination-modern {
    margin: 2.75rem 0 0.5rem;
}

body.category .pagination-modern .nav-links {
    gap: 0.35rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.category .pagination-modern .page-numbers {
    min-width: 38px;
    height: 38px;
    padding: 0 0.7rem;
    border: 1px solid #dfe4e8;
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
    color: #56616c;
    font-size: 0.78rem;
}

body.category .pagination-modern .page-numbers.current {
    border-color: #172331;
    background: #172331;
    color: #fff;
    box-shadow: none;
}

body.category .pagination-modern .page-numbers:hover {
    border-color: var(--main-color, #e83e8c);
    color: var(--main-color, #e83e8c);
}

@media (max-width: 1100px) {
    body.category .news-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.category .news-archive-card:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    body.category .news-archive-header {
        padding-top: 0.75rem;
        padding-bottom: 1.5rem;
    }

    body.category .news-archive-header h1 {
        font-size: 2rem;
    }

    body.category .news-toolbar {
        margin-top: 1.2rem;
        margin-bottom: 1.6rem;
    }

    body.category .news-toolbar .news-filter-form {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    body.category .news-toolbar select {
        width: 100%;
        flex-basis: auto;
    }

    body.category .news-archive-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    body.category .news-archive-card:first-child {
        grid-column: auto;
    }

    body.category .news-archive-card:first-child .news-archive-image {
        aspect-ratio: 16 / 10;
    }

    body.category .news-archive-card:first-child .news-title,
    body.category .news-title {
        max-width: none;
        font-size: 1.2rem;
    }

}
