/* Explain: Styles for the article layout, headings, links, TOC, FAQs, and callouts. */
.article-shell {
    max-width: 52rem;
    margin: 0 auto;
}

.article-body h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 600;
    color: var(--sage-dark);
}

.article-body h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 600;
    color: var(--text-color);
}

.article-body p {
    margin-bottom: 1.15rem;
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-muted);
}

.article-body ul {
    margin: 0 0 1.4rem 0;
    padding-left: 1.2rem;
    list-style: none;
}

.article-body ul li {
    position: relative;
    margin-bottom: 0.6rem;
    padding-left: 1.4rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.article-body ul li::before {
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--accent-color);
    content: "";
}

.article-body a {
    color: var(--sage-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 300ms ease;
}

.article-body a:hover {
    color: var(--accent-color);
}

.article-toc {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: var(--glass-bg);
    padding: 1.6rem 1.8rem;
    backdrop-filter: blur(18px);
}

.article-toc a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 300ms ease;
}

.article-toc a:hover {
    color: var(--sage-dark);
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: var(--glass-bg);
    padding: 1.4rem 1.6rem;
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.faq-item p {
    margin-bottom: 0;
}

.article-callout {
    border-radius: 1.8rem;
    padding: clamp(1.6rem, 4vw, 2.5rem);
    text-align: center;
}