/*
   Meeple Dates - Article Page
   Extends shared.css with article-specific styles
*/

body {
    line-height: 1.8;
}

/* Reading Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.25rem;
    z-index: 1000;
    background: transparent;
}

.progress-bar {
    height: 100%;
    background: var(--c-accent);
    width: 0%;
    transition: width 0.1s;
}

/* Article Layout */
main {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.article-container {
    max-width: var(--container-reading);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Article Typography */
h1 {
    font-size: var(--h1);
    margin-bottom: 1rem;
    text-align: center;
}

h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
}

h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Decorative Underline for H2 */
h2::after {
    content: '';
    display: block;
    width: 3.75rem;
    height: 0.25rem;
    background: var(--c-secondary);
    margin-top: 0.5rem;
    border-radius: 0.125rem;
}

/* Hero Section */
.article-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subtitle {
    font-size: 1.4rem;
    color: var(--c-text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

.meta {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    color: var(--c-accent);
    font-weight: bold;
}

.hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
    background: var(--c-bg-highlight);
}

/* Content Styling */
.highlight-box {
    background: var(--c-bg-highlight);
    padding: 2rem;
    border-radius: var(--radius);
    border-left: 0.25rem solid var(--c-secondary);
    margin: 2rem 0;
}

ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-card {
    background: linear-gradient(135deg, var(--c-primary), #2a2a40);
    color: white;
    padding: 3rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 4rem;
    box-shadow: var(--shadow);
}

.cta-card h3 {
    color: white;
    margin-top: 0;
}

.cta-card p {
    color: rgba(255,255,255,0.8);
}

.btn {
    margin-top: 1rem;
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.related-articles h3 {
    color: var(--c-primary);
    margin-bottom: 1rem;
}

.related-articles ul {
    list-style: none;
    padding-left: 0;
}

.related-articles li {
    margin-bottom: 0.75rem;
}

.related-articles a {
    color: var(--c-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.related-articles a:hover {
    color: var(--c-primary);
}

/* Responsive */
@media (max-width: 48em) {
    .article-container {
        padding: 0 1.5rem;
    }
    h1 {
        text-align: left;
    }
    .article-header {
        text-align: left;
    }
}
