/* education/articles/article.css */

.article-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.article-content {
    max-width: 750px; /* Optimal width for readability */
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 2rem;
}

.article-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.article-meta a {
    text-decoration: none;
    color: var(--accent-color, #609966);
    font-weight: 500;
}
.article-meta a:hover {
    text-decoration: underline;
}

.article-header h1 {
    font-weight: 400;
    font-size: 2.75rem;
    color: var(--accent-color-darker, #4a7c4a);
    margin-bottom: 1rem;
}

.article-feature-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 2.5rem;
}

.article-content h2 {
    font-weight: 500;
    color: var(--accent-color, #609966);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.article-content p, 
.article-content li {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #343a40;
}

.article-content ul,
.article-content ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-container {
        padding: 1.5rem;
    }
    .article-header h1 {
        font-size: 2rem;
    }
    .article-content p, 
    .article-content li {
        font-size: 1rem;
    }
}