/* ============================================
   Blog Article Styles
   Reusable styles for blog article pages
   ============================================ */

.article-page {
    padding: 120px 0 80px;
    background-color: var(--bg-light);
    margin-top: 70px;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-header {
    margin-bottom: 3rem;
}

.article-header-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content h2:first-of-type {
    margin-top: 0;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.article-content ul, .article-content ol {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    font-size: 1.0625rem;
}

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

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1.0625rem;
}

.article-content table th,
.article-content table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.article-content table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.article-content table td {
    color: var(--text-light);
}

.article-content hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 2.5rem 0;
}

.article-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    margin: 2rem auto;
    display: block;
    box-shadow: var(--shadow-md);
}

.article-image-container {
    margin: 2.5rem 0;
    text-align: center;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.article-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    .article-content {
        padding: 2rem 1.5rem;
    }
    .article-header-image {
        height: 250px;
    }
    .article-content h2 {
        font-size: 1.5rem;
    }
    .article-content h3 {
        font-size: 1.25rem;
    }
}

