/* ========================================================================== */
/* Ordinary WPBakery pages — editorial rhythm                                 */
/*                                                                            */
/* Applied only when content-page.php marks a page as --editorial. Bespoke    */
/* Malabar pages/shortcodes never receive this class, so their Figma CSS is   */
/* not affected. No font-size declarations live in this file.                 */
/* ========================================================================== */

.malabar-page-content--editorial {
    color: var(--malabar-blue);
}

.malabar-page-content--editorial .wpb_text_column {
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

.malabar-page-content--editorial .wpb_text_column > .wpb_wrapper > .container {
    width: 100%;
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

.malabar-page-content--editorial .wpb_text_column p,
.malabar-page-content--editorial .wpb_text_column li,
.malabar-page-content--editorial .wpb_text_column blockquote {
    color: var(--malabar-blue);
    font-family: var(--font-primary);
    font-weight: 400;
}

.malabar-page-content--editorial .wpb_text_column p {
    margin: 0 0 14px;
}

.malabar-page-content--editorial .wpb_text_column h1,
.malabar-page-content--editorial .wpb_text_column h2,
.malabar-page-content--editorial .wpb_text_column h3,
.malabar-page-content--editorial .wpb_text_column h4,
.malabar-page-content--editorial .wpb_text_column h5,
.malabar-page-content--editorial .wpb_text_column h6 {
    color: var(--malabar-blue);
    font-family: var(--font-primary);
    font-weight: 600;
}

.malabar-page-content--editorial .wpb_text_column h1 {
    margin: 0 0 28px;
}

.malabar-page-content--editorial .wpb_text_column h2 {
    margin: 44px 0 16px;
}

.malabar-page-content--editorial .wpb_text_column h3 {
    margin: 36px 0 14px;
}

.malabar-page-content--editorial .wpb_text_column h4 {
    margin: 28px 0 10px;
}

.malabar-page-content--editorial .wpb_text_column h5,
.malabar-page-content--editorial .wpb_text_column h6 {
    margin: 24px 0 9px;
}

.malabar-page-content--editorial .wpb_text_column ul,
.malabar-page-content--editorial .wpb_text_column ol {
    margin: 0 0 18px;
    padding-left: 1.35em;
}

.malabar-page-content--editorial .wpb_text_column ul {
    list-style: disc;
}

.malabar-page-content--editorial .wpb_text_column ol {
    list-style: decimal;
}

.malabar-page-content--editorial .wpb_text_column li {
    margin: 0 0 6px;
    padding-left: .12em;
}

.malabar-page-content--editorial .wpb_text_column strong,
.malabar-page-content--editorial .wpb_text_column b {
    font-weight: 600;
}

.malabar-page-content--editorial .wpb_text_column a:not(.vc_btn3) {
    color: var(--malabar-blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

.malabar-page-content--editorial .wpb_text_column a:not(.vc_btn3):hover,
.malabar-page-content--editorial .wpb_text_column a:not(.vc_btn3):focus-visible {
    opacity: .65;
}

.malabar-page-content--editorial .wpb_text_column blockquote {
    margin: 28px 0;
    padding-left: 20px;
    border-left: 1px solid currentColor;
}

.malabar-page-content--editorial .wpb_text_column hr {
    margin: 34px 0;
    border: 0;
    border-top: 1px solid rgba(19, 82, 137, .28);
}

/* Text-only legal/editorial pages get breathing room before the footer, but
 * component pages are deliberately excluded by the --editorial scope. */
.malabar-page-content--editorial {
    padding-bottom: clamp(44px, 5vw, 80px);
}

@media (max-width: 767px) {
    .malabar-page-content--editorial .wpb_text_column h1 {
        margin-bottom: 22px;
    }

    .malabar-page-content--editorial .wpb_text_column h2 {
        margin-top: 36px;
    }

    .malabar-page-content--editorial .wpb_text_column h3,
    .malabar-page-content--editorial .wpb_text_column h4 {
        margin-top: 28px;
    }
}
