/* Articles Page Specific Styles */

.page-title-section {
    padding: 3rem 0;
    background: var(--white);
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.page-title {
    font-size: 2.5rem;
    color: var(--green-primary);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--green-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.articles-section {
    padding: 4rem 0;
    background: var(--cream);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--gold);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.article-header {
    padding: 1.5rem;
    background: var(--green-primary);
    color: var(--white);
    border-bottom: 2px solid var(--gold);
}

.article-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
    line-height: 1.4;
}

.article-date {
    font-size: 0.9rem;
    color: var(--gold-light);
    font-style: italic;
}

.article-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.article-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
    color: var(--green-dark);
    font-size: 1rem;
}

.article-content p:last-child {
    margin-bottom: 0;
}

.article-footer {
    padding: 1rem 1.5rem;
    background: var(--cream);
    border-top: 1px solid var(--gold);
    display: flex;
    justify-content: flex-end;
}

.article-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--green-primary);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-header h2 {
        font-size: 1.3rem;
    }

    .article-content {
        padding: 1.2rem;
    }
}

