/* Latest Articles Section */
.latest-articles {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.latest-articles h2 {
    font-size: 40px; /* Font size in px */
    margin-bottom: 20px;
    color: #00b33c;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    justify-content: center;
}

.article-item {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-item img {
    width: 100%;
    height: auto;
    display: block;
}

.article-info {
    padding: 20px;
    text-align: left;
}

.article-info h3 {
    font-size: 20px; /* Font size in px */
    margin: 0;
}

.article-info p {
    font-size: 16px; /* Font size in px */
    margin: 10px 0;
    color: #666;
}

.read-more {
    color: #00b33c;
    text-decoration: none;
    font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 1000px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr); /* 1 column on medium screens */
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 column on medium screens */
    }

    .latest-articles h2 {
        font-size: 32px; /* Responsive font size */
    }
    
    .article-info h3 {
        font-size: 18px; /* Responsive font size */
    }
    
    .article-info p {
        font-size: 14px; /* Responsive font size */
    }
}

@media (max-width: 480px) {

    .latest-articles h2 {
        font-size: 24px; /* Responsive font size */
    }
    
    .article-info h3 {
        font-size: 16px; /* Responsive font size */
    }
    
    .article-info p {
        font-size: 12px; /* Responsive font size */
    }
}
