/*
 * ChoirSuite CSS module: choirsuite-typography.css
 * Profile-owned typography constraints and font role variables.
 *
 * Responsive/mobile rules live with the component they affect whenever possible.
 * This file was split from the historical monolithic choirsuite.css in 0.7.43.
 */

/* 0.6.97: profile-owned typography variables. Title font is reserved for major titles, not navigation. */
.cs-intranet-shell {
    font-family: var(--cs-font-body, var(--cs-body-font, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif));
}

.cs-page-title,
.cs-section-title,
.cs-profile-name,
.cs-suite-panel-title.is-major {
    font-family: var(--cs-font-title, inherit);
    font-weight: 400;
}

/* 0.7.60 — controlled native editor content classes.
 * User-entered headings avoid raw Joomla/template-owned h-tags and render through
 * ChoirSuite classes so profile themes can own their typography.
 */
.cs-editor-content,
.cs-rich-text {
    line-height: 1.5;
}

.cs-editor-heading {
    margin: 1.1em 0 .45em;
    font-family: var(--cs-font-title, inherit);
    font-weight: 400;
    line-height: 1.18;
    color: var(--cs-editor-heading-color, var(--cs-intranet-text, inherit));
}

.cs-editor-heading-1 {
    font-size: clamp(2.05rem, 5.4vw, 3.25rem);
}

.cs-editor-heading-2 {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.cs-editor-heading-3 {
    font-size: clamp(1.35rem, 3vw, 1.5rem);
}

.cs-editor-strong {
    font-weight: 600;
}

.cs-editor-emphasis {
    font-style: italic;
}


.cs-editor-text-large {
    font-family: var(--cs-editor-body-font, var(--cs-font-body, inherit));
    font-size: var(--cs-editor-text-large-size, 1.12rem);
    line-height: 1.45;
}

.cs-editor-text-small {
    font-family: var(--cs-editor-body-font, var(--cs-font-body, inherit));
    font-size: var(--cs-editor-text-small-size, .9rem);
    line-height: 1.5;
    color: var(--cs-editor-small-text-color, var(--cs-intranet-muted, inherit));
}

.cs-editor-underline {
    text-decoration-line: underline;
    text-decoration-thickness: var(--cs-editor-underline-thickness, .08em);
    text-decoration-color: var(--cs-editor-underline-color, currentColor);
    text-underline-offset: var(--cs-editor-underline-offset, .16em);
}

.cs-editor-list {
    margin: .6em 0 .9em;
    padding-inline-start: 1.35em;
}

.cs-editor-list > li + li {
    margin-top: .25em;
}

