/* Related News */
.related-news {
    background: #f8f9fa;
    padding: 50px 0;
    margin-top: 40px;
}

.related-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 28px;
    color: #003366;
    margin-bottom: 25px;
    font-weight: 700;
}

.news-page .related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.related-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}


/* added for related articles images*/
.news-related-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #eaeaea;
}

.news-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.related-content {
    padding: 20px;
}

.related-cat {
    font-size: 11px;
    color: #FF8C00;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.related-card-title {
    font-size: 17px;
    color: #003366;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.related-date {
    font-size: 12px;
    color: #999;
}



/* Tablet and up (≥641px - 768px) */
@media (min-width: 641px) {


    .news-page .related-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-related-image {
        height: 200px;
    }

}


/* Small desktop and up (≥769px - 1025px) */
@media (min-width: 769px) {

    .news-page .related-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

}

/* Large desktop (≥1025px - ∞) /*/
@media (min-width: 1025px) {



    .news-page .related-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .news-related-image {
        height: 220px;
    }

     .news-related-card img {
        transition: transform 0.4s ease;
    }

    .news-related-card:hover img {
        transform: scale(1.05);
    }



}