﻿/* ====================== NEWS SECTION ========================= */
.news-section {
    background: var(--np-grey-hot-bg);
    padding: 80px 0;
}
/* ====================== END SECTION ========================= */


/* ====================== HEADER ========================= */
.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-title {
    font-family: var(--font-logo);
    font-size: var(--fs-3xl);
    font-weight: 100;
}

.news-title-accent {
    color: var(--np-accent1);
}

.news-subtitle {
    font-size: var(--fs-md);
    opacity: 0.8;
    margin-top: 10px;
}
/* ====================== END HEADER ========================= */


/* ====================== FILTER ========================= */
.news-filter {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 36px;
}

.news-filter-label {
    font-weight: 700;
    margin-right: 12px;
}

.news-filter-select {
    border-radius: 12px;
    padding: 10px 14px;
    border: 2px solid #eee;
    font-size: var(--fs-sm);
    transition: border-color .25s ease, box-shadow .25s ease;
}

    .news-filter-select:focus {
        outline: none;
        border-color: var(--np-green);
        box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
    }
/* ====================== END FILTER ========================= */


/* ====================== GRID ========================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 36px;
    margin-bottom: 60px;
}
/* ====================== END GRID ========================= */


/* ====================== CARD ========================= */
.news-card {
    background: var(--np-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}

    .news-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 22px rgba(0,0,0,0.12);
    }

.news-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-title {
    font-size: 20px;
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.news-card-preview {
    font-size: var(--fs-sm);
    opacity: 0.85;
    flex-grow: 1;
}

.news-card-readmore {
    margin-top: 18px;
    font-weight: 700;
    color: var(--np-green);
}
/* ====================== END CARD ========================= */


/* ====================== PAGINATION ========================= */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.news-page-btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: 2px solid #eee;
    text-decoration: none;
    font-weight: 700;
    transition: all .25s ease;
    color: var(--np-dark);
}

    .news-page-btn:hover,
    .news-page-btn.active {
        background: var(--np-green);
        color: var(--np-white);
        border-color: var(--np-green);
    }
/* ====================== END PAGINATION ========================= */
