/* Article Styles - The Zen of Finance */

/* Article Header */
.article-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, rgba(245, 243, 240, 0.8) 0%, transparent 100%);
}

.article-header-content {
    max-width: 800px;
}

.article-header .article-topic {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage);
    margin-bottom: 1rem;
}

.article-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.article-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.375rem;
    font-style: italic;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--warm-gray);
}

.meta-separator {
    color: var(--sand);
}

/* Article Content */
.article-content {
    padding: 4rem 0;
}

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-content p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 1.75rem;
}

.article-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.375rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--charcoal);
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--sand);
    margin-bottom: 3rem;
}

.article-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--charcoal);
    margin: 3rem 0 1.5rem;
}

.article-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--charcoal);
    margin: 2.5rem 0 1rem;
}

.article-content strong {
    font-weight: 600;
    color: var(--charcoal);
}

.article-content em {
    font-style: italic;
}

/* Lists */
.article-content ul,
.article-content ol {
    margin: 1.5rem 0 2rem;
    padding-left: 1.5rem;
}

.article-content li {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.article-content ol {
    counter-reset: article-counter;
    list-style: none;
    padding-left: 0;
}

.article-content ol li {
    counter-increment: article-counter;
    padding-left: 2.5rem;
    position: relative;
}

.article-content ol li::before {
    content: counter(article-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: var(--sage);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(168, 178, 159, 0.1) 0%, rgba(212, 198, 180, 0.1) 100%);
    border-left: 3px solid var(--sage);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    margin-bottom: 1rem;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Blockquote */
.article-content blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--charcoal);
    border-left: 3px solid var(--sage);
    padding-left: 2rem;
    margin: 2.5rem 0;
}

/* Article CTA */
.article-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(168, 178, 159, 0.15) 0%, rgba(212, 198, 180, 0.1) 100%);
    border-radius: 12px;
    margin-top: 3rem;
}

.article-cta p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--charcoal);
    margin: 0;
}

/* Related Articles */
.related-articles {
    padding: 5rem 0;
    background: var(--cream);
}

.related-articles h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.related-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.related-card .article-topic {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage);
    margin-bottom: 0.75rem;
}

.related-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.related-card h3 a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card h3 a:hover {
    color: var(--sage);
}

.related-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-card .read-time {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8125rem;
    color: var(--warm-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .article-header {
        padding: 6rem 0 3rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-subtitle {
        font-size: 1.125rem;
    }
    
    .article-content {
        padding: 2.5rem 0;
    }
    
    .container-narrow {
        padding: 0 1.5rem;
    }
    
    .article-content p,
    .article-content li {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.625rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .highlight-box {
        padding: 1.5rem;
    }
    
    .related-articles {
        padding: 3rem 0;
    }
}
