/* articles.css */

/* Base styles are inherited from style.css */

.article-content {
    text-align: left;
    max-width: 700px; /* Wider content for articles */
    margin: 0 auto;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.article-content h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.article-content h2 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-top: 30px;
    margin-bottom: 10px;
}

.article-content h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 5px;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.article-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.article-content ul li {
    margin-bottom: 5px;
    line-height: 1.6;
}

.article-content .subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    text-align: center;
}

/* Article List styles */
.article-list-content {
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.article-list {
    margin-top: 30px;
}

.article-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: left;
    transition: transform 0.2s ease-in-out;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.article-item h3 {
    margin-bottom: 10px;
}

.article-item h3 a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-family: var(--font-title);
}

.article-item h3 a:hover {
    text-decoration: underline;
}

.article-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.article-footer {
    text-align: center;
    margin-top: 40px;
}

.article-footer .btn {
    margin-top: 15px;
    max-width: 250px;
}
