/* news-page.css */
.news-page, .news-single {
    padding: 16px 0 36px;
    background: transparent;
}

.news-page__container, .news-single__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero */
.news-hero {
    margin-bottom: 18px;
}

.news-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    border: 1px solid #e6eaf0;
    border-radius: 24px;
    box-shadow: 0 18px 46px rgba(31, 31, 36, 0.06);
}
.news-hero__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef1fa;
    color: #2359c3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.news-hero__title {
    margin: 8px 0 12px;
    font-size: 44px;
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #141923;
}

.news-hero__desc {
    max-width: 820px;
    color: #59677e;
    font-size: 15px;
    line-height: 1.7;
}

.news-toolbar {
    margin-bottom: 18px;
}

.news-toolbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(31, 31, 36, 0.05);
}

.news-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 520px;
}

.news-search input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid #dfe4ec;
    background: #fff;
    font-size: 14px;
    color: #141923;
    box-shadow: inset 0 1px 2px rgba(31, 31, 36, 0.03);
}

/* Grid */
.news-grid-section {
    display: grid;
    gap: 18px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.news-card {
    min-width: 0;
}

.news-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px;
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(31, 31, 36, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-card__inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(31, 31, 36, 0.08);
    border-color: #bed0ee;
}

.news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    color: #8292b0;
    font-size: 12.5px;
    line-height: 1.4;
}

.news-card__title {
    margin: 12px 0 10px;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.news-card__title a {
    color: #141923;
    text-decoration: none;
}

.news-card__title a:hover {
    color: #2359c2;
}

.news-card__excerpt {
    margin-bottom: 18px;
    color: #59677e;
    font-size: 14px;
    line-height: 1.65;
}

.news-card__excerpt p {
    margin: 0;
}

.news-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

/* Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.news-pagination__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-pagination__item a,
.news-pagination__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid #e6eaf0;
    background: #fff;
    color: #141923;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.news-pagination__item .current {
    background: #2261b0;
    border-color: #2261b0;
    color: #fff;
}

/* Responsive */
@media (max-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .news-page, .news-single {
        padding: 12px 0 24px;
    }
    .news-page__container, .news-single__container {
        padding: 0 8px;
    }
    .news-hero__title {
        font-size: 28px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
}