.news-grid-section {
    background: linear-gradient(180deg, #f0f2f5 0%, #e8eaed 100%);
    padding: 40px 0 50px;
    position: relative;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #003f7d, #0078d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 63, 125, 0.12);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.news-card-image {
    height: 170px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e8eef5, #d6dfe8);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.news-card:hover .news-card-image img {
    transform: scale(1.06);
}

.news-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 31, 63, 0.08) 100%);
    pointer-events: none;
}

.news-card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image--placeholder i {
    font-size: 3.5rem;
    color: #b0bec5;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-image--placeholder i {
    color: #003f7d;
}

.news-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #003f7d;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.news-card-date i {
    font-size: 0.9rem;
}

.news-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    color: #003f7d;
}

.news-card-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.news-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #003f7d;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.news-card-readmore i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-readmore {
    gap: 12px;
}

.news-card:hover .news-card-readmore i {
    transform: translateX(3px);
}

.news-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.news-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e8f0fe, #d1e0f5);
    border-radius: 50%;
    margin-bottom: 24px;
}

.news-empty-icon i {
    font-size: 2.5rem;
    color: #003f7d;
}

.news-empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.news-empty-state p {
    color: #666;
    font-size: 1.05rem;
}

@keyframes newsCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: newsCardFadeIn 0.5s ease forwards;
    opacity: 0;
}

.col-lg-4:nth-child(1) .news-card {
    animation-delay: 0.05s;
}

.col-lg-4:nth-child(2) .news-card {
    animation-delay: 0.15s;
}

.col-lg-4:nth-child(3) .news-card {
    animation-delay: 0.25s;
}

.col-lg-4:nth-child(4) .news-card {
    animation-delay: 0.35s;
}

.col-lg-4:nth-child(5) .news-card {
    animation-delay: 0.45s;
}

.col-lg-4:nth-child(6) .news-card {
    animation-delay: 0.55s;
}

.col-lg-4:nth-child(7) .news-card {
    animation-delay: 0.60s;
}

.col-lg-4:nth-child(8) .news-card {
    animation-delay: 0.65s;
}

.col-lg-4:nth-child(9) .news-card {
    animation-delay: 0.70s;
}

@media (max-width: 991px) {
    .news-grid-section {
        padding: 40px 0 60px;
    }

    .news-card-image {
        height: 190px;
    }
}

@media (max-width: 767px) {
    .news-grid-section {
        padding: 30px 0 50px;
    }

    .news-card-body {
        padding: 22px;
    }

    .news-card-image {
        height: 180px;
    }

    .news-card-title {
        font-size: 1.1rem;
    }
}