/* Editorial text on category / pillar pages.
   Rendered only when intro_text / body_html are set (pillar pages). */

.category-intro {
    color: var(--text-color);
    opacity: 0.9;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 70ch; /* comfortable reading measure */
    margin: 0.25rem auto 1.25rem;
    padding: 0 1rem;
    text-align: center; /* short tagline under the centered H1 */
}

.category-body {
    color: var(--text-color);
    max-width: 80ch;
    margin: 1.5rem auto 2rem;
    padding: 0 1rem;
    line-height: 1.7;
    text-align: center; /* headings/paragraphs center like the H1/intro above them */
}

/* Lists and the FAQ read poorly centered (ragged bullets, off-center Q&A), so they opt back
   out of the section-level centering while headings/paragraphs stay centered. */
.category-body ul,
.category-body ol,
.category-faq {
    text-align: left;
}

.category-body h2 {
    color: var(--highlight-color);
    font-size: 1.5rem;
    margin: 2rem 0 0.75rem;
}

.category-body h3 {
    color: var(--text-color);
    font-size: 1.15rem;
    margin: 1.25rem 0 0.5rem;
}

.category-body p {
    margin: 0 0 1rem;
    opacity: 0.92;
}

.category-body a {
    color: var(--highlight-color);
    text-decoration: underline;
}

.category-body ul,
.category-body ol {
    margin: 0 0 1rem 1.25rem;
    opacity: 0.92;
}

.category-body li {
    margin: 0 0 0.4rem;
}

/* FAQ: rendered as a definition-style block inside body_html */
.category-faq details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.75rem 0;
}

.category-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
}

.category-faq details[open] summary {
    color: var(--highlight-color);
}

