/*
 * Typography for CMS-authored article bodies (rendered from Piranha HtmlBlocks).
 * Kept as plain CSS (not Tailwind) because article HTML lives in the database and is
 * not scanned by the Tailwind JIT build, so utility classes inside it would not compile.
 * These rules reproduce the typography of the original hand-coded Resources articles.
 */
.cms-prose {
    color: #292a35;
}

.dark .cms-prose {
    color: #ffffff;
}

.cms-prose > *:first-child {
    margin-top: 0;
}

.cms-prose p {
    font-family: 'Poppins', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    line-height: 2.0625rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.cms-prose h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    margin-top: 1.75rem;
}

.cms-prose h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.cms-prose ul,
.cms-prose ol {
    font-family: 'Poppins', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    line-height: 2.0625rem;
    opacity: 0.9;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.cms-prose ul {
    list-style: disc;
}

.cms-prose ol {
    list-style: decimal;
}

.cms-prose li {
    margin-top: 0.25rem;
}

.cms-prose a {
    color: #3485f0;
    font-weight: 600;
}

.cms-prose strong {
    font-weight: 600;
}

/*
 * Typography for the "approach" tab bodies on Service pages (CMS HtmlField content).
 * Matches the original service tab text (text-lg / font-poppins / leading-6) and supports
 * the occasional bulleted list.
 */
.svc-tab-body {
    color: #292a35;
}

.dark .svc-tab-body {
    color: #ffffff;
}

.svc-tab-body p {
    font-family: 'Poppins', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5rem;
}

.svc-tab-body p + p,
.svc-tab-body p + ul,
.svc-tab-body ul + p {
    margin-top: 1.5rem;
}

.svc-tab-body ul {
    list-style: disc;
    padding-left: 2rem;
}

.svc-tab-body li {
    font-family: 'Poppins', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5rem;
    margin-top: 0.75rem;
}

.svc-tab-body b,
.svc-tab-body strong {
    font-weight: 700;
}
