/* ==========================================================================
   Blog Shared Styles
   Used by article pages and the blog template
   ========================================================================== */

.article-container {
    max-width: 740px;
    margin: 60px auto 120px;
    padding: 0 24px;
}

.blog-nav {
    margin-bottom: 48px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
}

.back-link:hover {
    color: var(--text-primary);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.article-header {
    margin-bottom: 48px;
    text-align: center;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.article-tag {
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.article-hero-image {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-title {
    font-family: var(--font-serif);
    font-size: 48px;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.article-lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-family: var(--font-serif);
    font-style: italic;
}

.article-content {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    margin-top: 56px;
    margin-bottom: 24px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.article-content h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 16px;
    font-weight: 400;
}

.article-content ul,
.article-content ol {
    margin-bottom: 32px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content blockquote {
    border-left: 4px solid var(--accent-line);
    margin: 40px 0;
    padding-left: 24px;
    font-style: italic;
    font-size: 22px;
    color: var(--text-secondary);
}

.article-content img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-content a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.article-content a:hover {
    color: var(--text-secondary);
}

/* Share Section */
.share-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--accent-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.share-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.share-links {
    display: flex;
    gap: 16px;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-pill);
    transition: background 0.2s;
}

.share-link:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-family: var(--font-sans);
    font-size: 16px;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid var(--accent-line);
    padding: 16px;
    text-align: left;
}

.comparison-table th {
    background-color: var(--bg-card);
    font-weight: 600;
}

/* CTA Box */
.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    margin: 48px 0;
}

.cta-box .cta-button {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-body);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-sans);
    margin-top: 16px;
    transition: transform 0.2s;
}

.cta-box .cta-button:hover {
    transform: translateY(-2px);
    color: var(--bg-body);
}

/* Mobile */
@media (max-width: 600px) {
    .article-title {
        font-size: 32px;
    }

    .article-container {
        margin: 40px auto 80px;
    }
}
