/* =====================================================
GENERAL
===================================================== */

.row {
    margin-bottom: 20px;
}


/* =====================================================
FEATURED NEWS
===================================================== */

.featured-news {
    text-align: left;
}

.featured-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 0 !important;

    transition: filter 0.3s ease, transform 0.3s ease;
}

.featured-news:hover .featured-img {
    filter: brightness(70%);
    transform: scale(1.03);
}

.featured-title {
    font-size: 22px;
    line-height: 1.3;
}

.featured-desc {
    font-size: 14px;
    color: #666;
}


/* =====================================================
LEFT SMALL NEWS
===================================================== */

.small-news {
    transition: all 0.3s ease;
}

.small-news:hover {
    transform: translateY(-5px);
}

.small-news img,
.news-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 0 !important;
    transition: transform 0.4s ease;
}

.small-news:hover img {
    transform: scale(1.05);
}

.small-news h6 {
    font-size: 14px;
    line-height: 1.4;
}

.small-news .news-title {
    transition: color 0.3s ease;
}

.small-news:hover .news-title {
    color: #0d6efd;
}


/* =====================================================
LATEST NEWS
===================================================== */

.latest-section {
    border-left: 1.5px solid #c7c6c6;
    padding-left: 15px;
}

.left-section {
    border-right: 1.5px solid #c7c6c6;
    padding-right: 15px;
}

.latest-news {
    align-items: flex-start;
    transition: all 0.3s ease;
}

.latest-news:hover {
    transform: translateY(-4px);
}

.latest-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 0 !important;
    transition: transform 0.3s ease;
}

.latest-news:hover .latest-thumb {
    transform: scale(1.05);
}

.latest-title {
    font-size: 14px;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    transition: color 0.3s ease;
}

.latest-news:hover .latest-title {
    color: #0d6efd;
}

.latest-date {
    font-size: 12px;
}


/* =====================================================
GRID NEWS
===================================================== */

.news-card {
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-6px);
}

.news-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0 !important;
    transition: transform 0.4s ease;
}

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

.news-card .card-title {
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .card-title {
    color: #0d6efd;
}

.news-card p {
    font-size: 13px;
}


/* =====================================================
NEWS META
===================================================== */

.news-meta {
    font-size: 10px;
    color: #777;
    margin-bottom: 4px;
}


/* =====================================================
NEWS PAGINATION CAPSULE
===================================================== */

.pagination-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.news-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;

    background-color: #e8e8e8;
    border-radius: 50px;
    padding: 5px;

    width: fit-content;
    margin: 10px auto;
}


/* pagination button */

.page-number {
    border: none;
    padding: 8px 18px;
    border-radius: 50px;

    background: #f3f3f300;

    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;

    text-decoration: none;
    color: #000;

    cursor: pointer;
    transition: 0.2s;
}


/* active */

.page-number.active {
    background: #0d6efd;
    color: #fff;
}


/* hover */

.page-number:hover {
    background: #ff8a00;
    color: #fff;
}


/* =====================================================
RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .featured-img {
        height: 260px;
    }

    .news-card-img {
        height: 160px;
    }

}

@media (max-width: 768px) {

    .featured-img {
        height: 220px;
    }

    .small-news img {
        height: 120px;
    }

}
