
.news-section {
    background: #fff;
    padding: 40px 0 52px;
}

@media (min-width: 769px) {
    .news-section {
        padding: 60px 0;
    }
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    color: #003366;
    font-weight: 700;
}

@media (min-width: 769px) {
    .section-title {
        font-size: 28px;
    }
}

.view-all {
    color: #FF8C00;
    text-decoration: none;
    font-weight: 600;
}


/*
 commented out to make single column on mobile
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
*/

/* only news grid is tyled here*/
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}


.main-article {
    display: grid;
    grid-template-columns: 1fr;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

@media (min-width: 1025px) {
    .main-article {
        margin-bottom: 0;
    }
}
.main-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}


.article-image {
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}


.main-article:hover .article-image img {
    transform: scale(1.05);
}
.article-content {
    padding: 30px;
}

.home-page .article-category {
    color: #FF8C00;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.article-title {
    font-size: 28px;
    color: #003366;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-title:hover {
    text-decoration: underline;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-meta {
    color: #999;
    font-size: 14px;
}

.side-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
    
}

.side-article {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    /*transition: background 0.3s;*/
    text-decoration: none;
    transition: all 0.3s;
}

.side-article:hover {
    background: #e9ecef;
    transform: translateY(-5px);
    box-shadow: 0 8px 5px #00000026;
}

.side-article-title {
    font-size: 18px;
    color: #003366;
    margin-bottom: 10px;
}



/* Tablet and up (≥641px - 768px) */
@media (min-width: 641px) {

    .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    }

}

/* Small desktop and up (≥769px - 1025px) */
@media (min-width: 769px) {

    .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    }



}

/* Large desktop (≥1025px - ∞) /*/
@media (min-width: 1025px) {

    .news-grid {
        grid-template-columns: 2fr 1fr;
    }  

    }

