/* =============================================================
   Boongroup RTE Content Styles
   Applied when content editors use the custom Style Select menu.
   Also loaded into the Tiptap editor via Data Type > Stylesheets
   ============================================================= */

/* ── Section Heading ─────────────────────────────────────────── */
/* Applied to h2 elements via "Section Heading" style menu item  */
h1.rte-main-section-heading {
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 76.8px;
    color: rgb(0, 25, 66);
    font-size: 4rem;
    letter-spacing: normal;
    text-decoration: none;
    font-family: Roboto, sans-serif;
    font-style: normal;
}

h2.rte-section-heading,
.blog-body--type-2 h2.rte-section-heading,
.blog-body--type-2 .entry-content h2.rte-section-heading {
    color: #5b6771;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    line-height: 110%;
    font-size: 2rem;
    letter-spacing: 0;
    text-decoration: none;
}

/* ── Section Heading (Bold) ──────────────────────────────────── */
h2.rte-section-heading-bold,
.blog-body--type-2 h2.rte-section-heading-bold,
.blog-body--type-2 .entry-content h2.rte-section-heading-bold {
    color: #262d36;
    background-color: #ffffff;
    margin: 10px 0px;
    line-height: 1.2;
    font-size: 2rem;
    letter-spacing: 0;
    text-decoration: none;
    font-family: Roboto, sans-serif;
    font-weight: 600;
}

.benefit-solution-home h2.rte-section-heading,
.benefit-solution-home .blog-body--type-2 h2.rte-section-heading,
.benefit-solution-home .blog-body--type-2 .entry-content h2.rte-section-heading {
    color: #5b6771;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    line-height: 110%;
    font-size: 2rem;
    letter-spacing: 0;
    text-decoration: none;
    margin-top: 30px;
}

h3.rte-sub-heading {
    color: #5b6771;
    font-family: Roboto, sans-serif;
    font-weight: Bold;
    line-height: AUTO;
    font-size: 1.5rem;
    letter-spacing: 0;
    text-decoration: none;
}

h3.rte-sub-heading-bold,
.blog-body--type-2 h3.rte-sub-heading-bold,
.blog-body--type-2 .entry-content h3.rte-sub-heading-bold {
    color: #262d36;
    background-color: #ffffff;
    margin: 10px 0px;
    line-height: 1.2;
    font-family: Roboto, sans-serif;
    font-weight: Bold;
    font-size: 1.5rem;
    letter-spacing: 0;
    text-decoration: none;
}

/* ── Benefit Section Heading ─────────────────────────────────── */
/* Applied to a span/strong wrapping an inline benefit title     */
span.rte-benefit-heading,
strong.rte-benefit-heading {
    display: block;
    color: #001942;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

/* ── Body Text Paragraph ─────────────────────────────────────── */
/* Standard dark body-copy paragraph                             */
p.rte-body-text,
.blog-body--type-2 p.rte-body-text,
.blog-body--type-2 .entry-content p.rte-body-text {
    font-family: Roboto, sans-serif;
    color: #5B6771;
    font-weight: 400;
    line-height: 160%;
    font-size: 1rem;
}

/* ── Body Text Paragraph (Bold) ──────────────────────────────── */
p.rte-body-text-bold,
.blog-body--type-2 p.rte-body-text-bold,
.blog-body--type-2 .entry-content p.rte-body-text-bold {
    color: #272727;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    line-height: 160%;
    font-size: 1rem;
    margin: 0 0 30px;
}


/* ── Intro Paragraph ─────────────────────────────────────────── */
/* Slightly larger/prominent introductory paragraph              */
p.rte-intro-text {
    color: #272727;
    font-family: Roboto, sans-serif;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-weight: 400;
}

/* ── Muted / Secondary Text ──────────────────────────────────── */
/* Lighter body-copy colour (#5b6771) used for secondary content */
p.rte-muted-text {
    color: #5b6771;
    background-color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ── Teal Accent Link ────────────────────────────────────────── */
/* Applied to anchor elements for the brand teal link colour     */
a.rte-teal-link {
    color: #3ACDA9;
    text-decoration: none;
}

a.rte-teal-link:hover,
a.rte-teal-link:focus {
    text-decoration: underline;
    color: #2faE8F;
}

/* ── Standard Unordered List ─────────────────────────────────── */
ul.rte-list {
    line-height: 165%;  
}

    ul.rte-list li {
        padding-left: 0.5rem;  
    }
        ul.rte-list li::marker {
            content: "◆";
            color: #3acda9;
        }

/* ── Muted Unordered List ────────────────────────────────────── */
ul.rte-muted-list {
    box-sizing: border-box;
    color: #5b6771;
    background-color: #ffffff;
    padding-left: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 165%;
    list-style-type: disc;
}

    ul.rte-muted-list li {
        box-sizing: border-box;
        padding-left: 0.5rem;
        margin-bottom: 0;
    }

/* ── Blockquote ──────────────────────────────────────────────── */
blockquote.rte-blockquote {
    border-left: 4px solid #3ACDA9;
    padding-left: 1.25rem;
    margin: 1rem 0 1.5rem;
    color: #5b6771;
    font-style: italic;
}

/* ── RTE wrapper applied by partial views ────────────────────── */
.rte-content {
    color: #5b6771;
    line-height: 1.6;
}

    .rte-content h2 {
        color: #262d36;
        margin: 10px 0;
        line-height: 1.2;
    }

    .rte-content a {
        color: #3ACDA9;
    }

        .rte-content a:hover {
            color: #2fae8f;
        }

    .rte-content ul,
    .rte-content ol {
        box-sizing: border-box;
        padding-left: 2rem;
        margin-top: 0;
        margin-bottom: 1rem;
        line-height: 165%;
    }

        .rte-content ul li,
        .rte-content ol li {
            box-sizing: border-box;
            padding-left: 0.5rem;
            margin-bottom: 0;
        }
            .rte-content ul li p,
            .rte-list li p {
                margin: 0 !important;
            }
                /* Remove paragraph spacing inside RTE lists */
                .rte-content ul li p.rte-body-text-bold,
                .rte-list li p.rte-body-text-bold {
                    margin: 0 !important;
                }

                .rte-content ul li p.rte-body-text,
                .rte-list li p.rte-body-text {
                    margin: 0 !important;
                }