/* Article Hero Image */
.article-hero {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-top: 60px;
}

.article-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: 500px;
}

/* Article Header */
.article-header {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 3rem;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-meta .tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
}

.article-meta .date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.article-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.article-divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 2.5rem auto 0;
}

/* Article Body */
.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.article-body section {
    margin-bottom: 3rem;
    padding: 0;
    max-width: none;
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.article-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Figures */
.article-figure {
    margin: 2rem 0;
}

.article-figure.full-width {
    margin-left: -2rem;
    margin-right: -2rem;
}

.figure-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.figure-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 212, 170, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
}

.figure-placeholder span {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
}

figcaption {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    line-height: 1.5;
    font-style: italic;
}

/* Side by side figures */
.side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.side-by-side .figure-placeholder {
    height: 280px;
}

/* Callout box */
.callout {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem;
    margin: 2rem 0;
}

.callout-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.callout-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.callout-stat {
    text-align: center;
}

.callout-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

.callout-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

/* Blockquote */
.article-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: var(--accent-dim);
    border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
    font-size: 1.1rem;
    color: #ffffff;
    font-style: italic;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Disclaimer */
.disclaimer {
    border-top: 1px solid var(--border);
    margin-top: 3rem;
    padding-top: 1.5rem;
}

.disclaimer p {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    line-height: 1.6 !important;
    font-style: italic;
}

/* Article Footer / Related */
.article-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem;
}

.article-footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.article-footer h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
    text-decoration: none;
    transition: border-color 0.2s;
}

.related-card:hover {
    border-color: var(--accent-border);
}

.related-card .tag {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: var(--accent-dim);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.related-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
    .article-figure.full-width {
        margin-left: 0;
        margin-right: 0;
    }
    .callout-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-articles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .article-header h1 {
        font-size: 2rem;
    }
    .side-by-side {
        grid-template-columns: 1fr;
    }
    .callout-grid {
        grid-template-columns: 1fr;
    }
}
