.news-page {
    padding: 4rem 0;
}

.news-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.news-topbar h2 {
    margin: 0.5rem 0 0;
    font-size: clamp(1.85rem, 2.5vw, 2.9rem);
    line-height: 1.05;
}

.news-subtitle {
    max-width: 720px;
    color: #5f5f5f;
    margin: 0.8rem 0 0;
    line-height: 1.8;
    font-size: 1rem;
}

.filter-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    width: 100%;
    margin-top: 1.5rem;
}

.filter-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.2rem;
    border-radius: 1.5rem;
    background: #ffffff;
    text-decoration: none;
    color: #111111;
    border: 1px solid rgba(17, 17, 17, 0.08);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    min-width: 260px;
    flex: 1 1 280px;
}

.filter-item.active {
    border-color: rgba(248, 157, 31, 0.2);
    box-shadow: 0 18px 40px rgba(248, 157, 31, 0.12);
    transform: translateY(-2px);
}

.filter-item:hover {
    background: #fefbf5;
}


.filter-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(248, 157, 31, 0.12);
    color: #f89d1f;
    font-size: 1rem;
}

.filter-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.filter-text p {
    margin: 0;
    color: #5f5f5f;
    line-height: 1.7;
    font-size: 0.95rem;
}

.filter-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.05);
    color: #111111;
}

.news-content {
    display: grid;
    gap: 2rem;
}

.news-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    border-radius: 2rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(17, 17, 17, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(17, 17, 17, 0.1);
}

.news-image {
    min-height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.news-card-body {
    padding: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.news-date {
    display: inline-block;
    color: #6f6f6f;
    font-size: 0.9rem;
}

.news-card-body h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.4;
    color: #111111;
}

.news-card-body p {
    margin: 0;
    color: #5f5f5f;
    line-height: 1.8;
    font-size: 0.97rem;
}

.news-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
}

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

@media (max-width: 720px) {
    .news-cards {
        grid-template-columns: 1fr;
    }

    .filter-item {
        grid-template-columns: auto 1fr;
    }

    .filter-arrow {
        display: none;
    }
}
