.news-page {
    color: #111827;
}

.news-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-breadcrumb a {
    color: inherit;
}

.news-breadcrumb a:hover {
    color: #111827;
}

.news-section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.news-section-label::before {
    content: '';
    width: 4rem;
    height: 1px;
    background: #d1d5db;
}

.news-archive {
    padding: 5rem 5rem 6rem;
}

.news-archive__inner,
.news-single__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.news-archive__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-archive__header h1,
.news-single__header h1 {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
}

.news-archive__description {
    max-width: 720px;
    margin: -1rem 0 3rem;
    color: #4b5563;
    line-height: 1.9;
}

.news-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.news-card {
    display: block;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.1);
}

.news-card__image {
    position: relative;
    height: 12rem;
    overflow: hidden;
    background: #e5e7eb;
}

.news-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.08);
}

.news-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.news-card:hover .news-card__overlay {
    background: rgba(0, 0, 0, 0.1);
}

.news-card__body {
    padding: 1.5rem;
}

.news-card__meta,
.news-single__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #9ca3af;
    font-size: 0.75rem;
}

.news-card h2 {
    min-height: 3.2em;
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.news-card:hover h2 {
    color: #2563eb;
}

.news-card p {
    display: -webkit-box;
    overflow: hidden;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-pagination {
    margin-top: 3.5rem;
}

.news-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.news-pagination li {
    list-style: none;
}

.news-pagination a,
.news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.85rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 700;
}

.news-pagination .current,
.news-pagination a:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.news-single {
    padding: 5rem 5rem 6rem;
}

.news-single__inner {
    max-width: 880px;
}

.news-single__header {
    margin-bottom: 2.5rem;
}

.news-single__thumbnail {
    overflow: hidden;
    margin-bottom: 3rem;
    border-radius: 0.5rem;
    background: #e5e7eb;
}

.news-single__thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

.news-single__content {
    color: #374151;
    font-size: 1rem;
    line-height: 2;
}

.news-single__content > * + * {
    margin-top: 1.5rem;
}

.news-single__content h2,
.news-single__content h3 {
    margin-top: 3rem;
    color: #111827;
    font-weight: 800;
    line-height: 1.5;
}

.news-single__content h2 {
    font-size: 1.75rem;
}

.news-single__content h3 {
    font-size: 1.375rem;
}

.news-single__content a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.news-single__content ul,
.news-single__content ol {
    padding-left: 1.5rem;
}

.news-single__content img {
    max-width: 100%;
    height: auto;
}

.news-single__nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.news-single__nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 700;
}

.news-single__nav a:hover {
    color: #2563eb;
}

.news-single__nav > div:last-child {
    text-align: right;
}

.news-single__back {
    justify-content: center;
    min-width: 8rem;
    min-height: 2.75rem;
    padding: 0 1rem;
    background: #111827;
    color: #fff !important;
}

.news-empty {
    padding: 3rem;
    background: #fff;
    color: #6b7280;
    text-align: center;
}

@media (max-width: 1024px) {
    .news-archive,
    .news-single {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .news-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .news-page {
        padding-top: 6rem;
    }

    .news-archive,
    .news-single {
        padding: 3rem 1.25rem 4rem;
    }

    .news-archive__header {
        display: block;
        margin-bottom: 2rem;
    }

    .news-archive__header h1,
    .news-single__header h1 {
        font-size: 2.25rem;
    }

    .news-card-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .news-card__image {
        height: 13rem;
    }

    .news-single__nav {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .news-single__nav a {
        justify-content: center;
    }

    .news-single__nav > div:last-child {
        text-align: center;
    }
}
