/*
 * Your global styles here
 */
html,
body {
    height: 100%;
}

html {
    background: white;
}

body {
    margin: 0;
}

/*
 * News detail articles (newsDetail view) - added 2026-11-12, updated 2026-11-13 and 2026-11-16
 * Scoped to .otip-news-body, which only exists in the newsDetail template.
 * Bullet markers line up with the left edge of headings/paragraphs; list text is indented 1.25em
 * and wrapped lines align under the text (overrides the cms-bullet-css indent from the otipTheme
 * static resource).
 * Bullet/number style is set here too: on phones the otipTheme stylesheet is not loaded, so the
 * SLDS reset (list-style: none) would otherwise hide the bullets.
 */
.cms-bullet-css .cb-outputRichText-container .otip-news-body ul,
.cms-bullet-css .cb-outputRichText-container .otip-news-body ol {
    margin-left: 0 !important;
    padding-left: 1.25em !important;
    list-style-position: outside !important;
}

.cms-bullet-css .cb-outputRichText-container .otip-news-body ul {
    list-style-type: disc !important;
}

.cms-bullet-css .cb-outputRichText-container .otip-news-body ol {
    list-style-type: decimal !important;
}

/*
 * News article title (newsDetail view) - added 2026-11-16
 * The title uses the otip-h2 / otip-blue-text theme classes, but the otipTheme stylesheet is not
 * loaded on phones, so the title showed as small grey text. Same values as the theme:
 * Raleway 500, line-height 1.2, OTIP blue, 2.375rem up to 1024px and 3rem above.
 * Scoped to the h1 next to .otip-news-body (newsDetail template only).
 */
div:has(> .otip-news-body) > h1.otip-h2 {
    font-family: var(--font-family-raleway, 'Raleway'), sans-serif;
    font-weight: 500;
    line-height: 1.2;
    color: #1A4587;
    font-size: 2.375rem;
}

@media screen and (min-width: 1025px) {
    div:has(> .otip-news-body) > h1.otip-h2 {
        font-size: 3rem;
    }
}
