/* Articles Section - Matching Home Page Resources */
.articles-section {
    text-align: center;
    padding: 3rem 5%;
    background-color: #fdf5f5;
}

.articles-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #e0d5d5;
    padding-bottom: 30px;
}

.articles-header h2 {
    font-size: 4rem;
    font-weight: 400;
    color: #8B1A1A;
    margin: 0 0 15px 0;
    font-family: 'Times New Roman', Times, serif !important;
}

.articles-header h2::after {
    display: none;
}

.articles-description {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.articles-container {
    max-width: 1400px;
    margin: 0 auto;
}

.articles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 30px 0;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    width: calc(25% - 19px);
    min-width: 280px;
    max-width: 320px;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.article-image-container {
    width: 100%;
    padding: 25px 25px 15px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image {
    transform: scale(1.02);
}

.article-title {
    font-size: 1.25rem;
    font-weight: normal !important;
    color: #666;
    padding: 10px 25px 10px;
    margin: 0;
    line-height: 1.4;
    text-align: left;
    text-decoration: none !important;
    border-bottom: none !important;
}

.article-date {
    font-size: 0.85rem;
    color: #333;
    padding: 0 25px 15px;
    text-align: left;
    font-weight: 400;
    text-decoration: none !important;
    border-bottom: none !important;
}

.article-link {
    text-decoration: none !important;
    display: block;
}

.article-link:hover .article-title {
    color: #8B1A1A;
    text-decoration: none !important;
}

.article-link:hover .article-date {
    text-decoration: none !important;
}

.article-title::after,
.article-title::before,
.article-date::after,
.article-date::before {
    content: none !important;
    display: none !important;
}

.article-button {
    display: block;
    margin: 0 25px 20px;
    padding: 10px 20px;
    background-color: #a51c30;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    text-align: center;
}

.article-button:hover {
    background-color: #8f1828;
}

/* Load More button styles */
#load-more {
    padding: 12px 35px;
    background-color: #a51c30;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 20px auto;
}

#load-more:hover {
    background-color: #8f1828;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .article-card {
        width: calc(50% - 13px);
        min-width: 260px;
    }
    
    .article-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .articles-section {
        padding: 3rem 4%;
    }
    
    .articles-header h2 {
        font-size: 2rem;
    }
    
    .article-card {
        width: 100%;
        max-width: 400px;
    }
    
    .article-image {
        height: 220px;
    }
    
    .article-title {
        font-size: 0.95rem;
    }
}