/*! CampusGroups extension to ContentTools v1.2.4 by Anthony Blackshaw <ant@getme.co.uk> (https://github.com/anthonyjb) */

.ts-stack div > ul,
.ts-stack div > ol {
    margin: 0 !important; 
    padding-left: 1em !important; /* First level starts with 1em */
    list-style-position: outside !important; /* Make sure bullets/numbers are outside the text */
}

.ts-stack div > ol {
    padding-inline-start: 1em !important;
}
  
.ts-stack div > ul ul,
.ts-stack div > ul ol,
.ts-stack div > ol ul,
.ts-stack div > ol ol {
    margin: 0 !important;
    padding-left: 1em !important;
}

/* Unordered lists bullet style (Repeat disc, circle, square twice) */

.ts-stack div > ul,
.ts-stack div > ul ul ul ul,
.ts-stack ul.accordion > ul,
.ts-stack ul.accordion > ul ul ul ul,
.ts-stack .accordion__content ul,
.ts-stack .accordion__content ul ul ul ul {
    list-style-type: disc !important;
}
  
.ts-stack div > ul ul,
.ts-stack div > ul ul ul ul ul,
.ts-stack ul.accordion > ul ul,
.ts-stack ul.accordion > ul ul ul ul ul,
.ts-stack .accordion__content ul ul,
.ts-stack .accordion__content ul ul ul ul ul {
    list-style-type: circle !important;
}
  
.ts-stack div > ul ul ul,
.ts-stack div > ul ul ul ul ul ul,
.ts-stack ul.accordion > ul ul ul,
.ts-stack ul.accordion > ul ul ul ul ul ul,
.ts-stack .accordion__content ul ul ul,
.ts-stack .accordion__content ul ul ul ul ul ul {
    list-style-type: square !important;
}

.ts-stack ul.accordion {
    list-style-type: none !important;
}

/* Margins for paragraphs before/after lists */

.ts-stack ul + p,
.ts-stack ol + p {
    margin-top: 1em !important;
}

.ts-stack p + ul,
.ts-stack p + ol {
    margin-bottom: 1em !important;
}

.ts-stack ul,
.ts-stack ol {
    margin-bottom: 1em !important;
}

.ts-stack li > ol {
    margin-top: 1em !important;
}

.ts-stack ol li:not(:last-child) {
    margin-bottom: 0em !important;
}

section div[data-editable] > ol {
    margin-inline-start: 40px !important;
}

/* Authored lists: force explicit markers (a widget's list-style:none on an ancestor, e.g. .process-3, otherwise inherits into nested lists). Inside so the widget box can't clip them; the last rule inlines the ContentTools editor's item-text wrapper so the marker sits beside the text (published <li> is plain text, so it's editor-only). */
section div[data-editable] > ul { list-style-type: disc !important; list-style-position: inside !important; }
section div[data-editable] > ol { list-style-type: decimal !important; list-style-position: inside !important; }
section div[data-editable] > ul > li > .ce-element--type-list-item-text,
section div[data-editable] > ol > li > .ce-element--type-list-item-text { display: inline !important; }

/* consistent font size (the ol previously had noticeably smaller font size) */
.cgLead > p,
.cgLead > ul,
.cgLead > ol {
    font-size: 1.35714286em;
}

/* Features Large 11: the feature-2 icon+body layout assumes a three-line body and misaligns when the text wraps to two — center the icon on the body and drop the heading/paragraph spacing that pushed it out of line. */
@media (min-width: 992px) {
    .ts-stack .boxed--border .feature.feature-2 {
        display: flex;
        align-items: center;
    }

    .ts-stack .boxed--border .feature.feature-2 > i {
        margin: 0;
        flex-shrink: 0;
    }

    .ts-stack .boxed--border .feature.feature-2 .feature__body h3 {
        margin-top: 0 !important;
    }

    .ts-stack .boxed--border .feature.feature-2 .feature__body p {
        margin-bottom: 0;
    }
}

/* Stacked feature columns (e.g. Resource Wall) keep their between-box separator when they collapse to one column on mobile, leaving a stray border/space above the second box. */
@media (max-width: 767px) {
    .ts-stack .feature-large__group .row > .box-cont + .box-cont {
        border-top: none !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
