

:root {
    --scc-heading: 35, 36, 41;
    --scc-secondary-heading: 35, 36, 41;
    --scc-text: 14, 14, 14;
    --scc-link: 51, 68, 221;
    --scc-link-hover: 187, 17, 34;
    --scc-highlight: 35, 36, 41;
    --scc-borders: 228, 230, 235;
    --scc-btn-bg: 228, 230, 235;
    --scc-btn-text: 35, 36, 41;
    --scc-btn-borders: 228, 230, 235;
    --scc-btn-bg-hover: 255, 255, 255;
    --scc-btn-text-hover: 35, 36, 41;
    --scc-btn-borders-hover: 35, 36, 41;
    --scc-header-bg: 255, 255, 255;
    --scc-header-text: 14, 14, 14;
    --scc-header-borders: 228, 230, 235;
    --scc-header-highlight: 100, 104, 117;
    --scc-logo-link: 35, 36, 41;
    --scc-logo-link-hover: 78, 78, 78;
    --scc-nav-link: 35, 36, 41;
    --scc-nav-link-hover: 0, 0, 0;
    --scc-nav-dropdown-bg: 35, 36, 41;
    --scc-nav-dropdown-link: 255, 255, 255;
    --scc-nav-dropdown-link-hover: 223, 224, 229;
    --scc-banner-bg: 255, 255, 255;
    --scc-banner-heading: 255, 255, 255;
    --scc-banner-text: 255, 255, 255;
    --scc-footer-bg: 255, 255, 255;
    --scc-footer-heading: 35, 36, 41;
    --scc-footer-text: 14, 14, 14;
    --scc-footer-link: 0, 0, 0;
    --scc-footer-link-hover: 187, 17, 34;
    --scc-font: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --scc-radius: 0px;
    --scc-border-width: 2px;
    --scc-spacing: 30px;
    --scc-pc-spacing: 30px;
    --scc-header-height: 60px;
    --scc-nav-height: var(--scc-header-height);
    --scc-max-width: 1350px;
    --scc-heading-font: var(--scc-font);
    --scc-btn-radius: var(--scc-radius);
    --scc-heading-font: var(--scc-font);
    --scc-btn-radius: var(--scc-radius);
    --scc-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    --scc-header-box-shadow: 0 2px 0 rgba(0, 0, 0, .1);
    --bs-primary: #3344dd;
    --bs-primary-rgb: var(--scc-link);
    --bs-body-font-family: var(--scc-font);
    --bs-body-font-size: 16px;
    --bs-body-color: #0e0e0e;
    --bs-link-color: #3344dd;
    --bs-link-hover-color: #bb1122;
}

/* From 992px the header is two rows: the logo above, the main navigation below (each half the header's height) */
@media (min-width: 768px) { :root { --scc-pc-spacing: 40px; } }
@media (min-width: 992px) { :root { --scc-pc-spacing: 50px; --scc-header-height: 140px; --scc-nav-height: calc(var(--scc-header-height) / 2); } }
@media (min-width: 1200px) { :root { --scc-pc-spacing: 60px; } }



body {
    font-family: var(--scc-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0;
    color: rgb(var(--scc-text));
    background-color: #fff;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--scc-font);
    font-weight: 800;
    line-height: 120%;
    letter-spacing: 0;
    color: rgb(var(--scc-heading));
    margin: 0 0 15px;
}

h1, .h1 { font-size: 35px; letter-spacing: -0.06px; }
h2, .h2 { font-size: 30px; }
h3, .h3 { font-size: 26px; }
h4, .h4 { font-size: 24px; }
h5, .h5 { font-size: 22px; }
h6, .h6 { font-size: 20px; }

@media (min-width: 576px) {
    h1, .h1 { font-size: 40px; }
    h2, .h2 { font-size: 32px; }
    h3, .h3 { font-size: 28px; }
    h4, .h4 { font-size: 26px; }
    h5, .h5 { font-size: 24px; }
    h6, .h6 { font-size: 22px; }
}
@media (min-width: 768px) {
    h1, .h1 { font-size: 45px; }
    h2, .h2 { font-size: 36px; }
    h3, .h3 { font-size: 30px; }
    h4, .h4 { font-size: 28px; }
    h5, .h5 { font-size: 26px; }
    h6, .h6 { font-size: 22px; }
}
@media (min-width: 992px) {
    h1, .h1 { font-size: 50px; }
    h2, .h2 { font-size: 38px; }
    h3, .h3 { font-size: 32px; }
    h4, .h4 { font-size: 30px; }
    h5, .h5 { font-size: 28px; }
    h6, .h6 { font-size: 24px; }
}
@media (min-width: 1200px) {
    h1, .h1 { font-size: 60px; }
    h2, .h2 { font-size: 40px; }
    h3, .h3 { font-size: 36px; }
    h4, .h4 { font-size: 34px; }
    h5, .h5 { font-size: 28px; }
    h6, .h6 { font-size: 24px; }
}

p { margin: 10px 0 15px; }


.richtext .intro,
.intro {
    display: block;
    font-size: 22px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0;
}
.richtext .intro.sm,
.intro.sm { font-size: 20px; }
.richtext .intro.lg,
.intro.lg { font-size: 26px; line-height: 130%; letter-spacing: -0.15px; }

/* Secondary headings (small text above a heading): 14px, 18px for the large style */
.secondary-heading {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 1.5px;
    color: rgb(var(--scc-secondary-heading));
}
.secondary-heading.lg { font-size: 18px; }

/* Quotes */
.quote {
    font-size: 22px;
    font-weight: 800;
    font-style: italic;
    line-height: 140%;
    letter-spacing: -0.25px;
}
.quote.sm { font-size: 18px; }
.quote.lg { font-size: 26px; }

a {
    color: rgb(var(--scc-link));
}
a:hover,
a:focus {
    color: rgb(var(--scc-link-hover));
}
/* Links in text are underlined; buttons (such as the rich text row's button) are not */
.richtext a:not(.btn),
.page-content p a:not(.btn) {
    text-decoration: underline;
}

:focus-visible {
    outline: 2px solid rgb(var(--scc-highlight));
    outline-offset: 2px;
}

/* Containers: half a 1.5rem gutter each side, centred; Bootstrap's widths at each breakpoint (540, 720, 960 and 1140px),
   then the site's maximum width from 1350px. The header's container is always up to the site's maximum width. */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1350px) {
    .container {
        max-width: var(--scc-max-width);
    }
}

#site-header .container {
    max-width: var(--scc-max-width);
}


.btn {
    text-decoration: none;
    font-family: var(--scc-font);
    font-weight: 800;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0;
    text-transform: none;
    border-radius: var(--scc-radius);
    padding: 8px 12px;
}

.btn-primary,
.btn-primary:disabled {
    color: rgb(var(--scc-btn-text));
    background-color: rgb(var(--scc-btn-bg));
    border: var(--scc-border-width) solid rgb(var(--scc-btn-borders));
    box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    color: rgb(var(--scc-btn-text-hover));
    background-color: rgb(var(--scc-btn-bg-hover));
    border-color: rgb(var(--scc-btn-borders-hover));
}


.skip-to-content {
    position: absolute;
    left: 15px;
    top: -100px;
    z-index: 1100;
    padding: 10px 14px;
    color: rgb(var(--scc-btn-text));
    background: rgb(var(--scc-btn-bg));
    border-radius: var(--scc-radius);
}
.skip-to-content:focus {
    top: 15px;
    color: rgb(var(--scc-btn-text));
}


/* Header: two rows. The top row has the secondary navigation, the logo and the call to action button; the bottom row
   has the main navigation and search. On large screens the header sticks with only its bottom row showing, so the top
   row scrolls out of view. On small screens the top row has the menu button and the logo, and the bottom row is the
   menu panel. */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgb(var(--scc-header-bg));
    color: rgb(var(--scc-header-text));
    box-shadow: var(--scc-header-box-shadow);
}

.site-header-top {
    position: relative;
    display: flex;
    align-items: center;
    min-height: var(--scc-header-height);
}

#site-logo {
    padding: 10px 15px 10px 0;
    margin-right: auto;
}
#site-logo a {
    display: block;
    font-size: 20px;
    font-weight: 600;
    line-height: 100%;
    text-transform: capitalize;
    text-decoration: none;
    color: rgb(var(--scc-logo-link));
}
#site-logo a:hover,
#site-logo a:focus {
    color: rgb(var(--scc-logo-link-hover));
}
#site-logo img {
    display: block;
    height: calc(var(--scc-header-height) - 20px);
    width: auto;
    max-width: 60vw;
}

@media (min-width: 768px) {
    #site-logo a { font-size: 30px; }
}

/* Secondary navigation (e.g. Sitemap): small underlined links */
.secondary-navigation ul {
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.secondary-navigation a {
    color: rgb(var(--scc-nav-link));
    text-decoration: underline;
}

.secondary-navigation a:hover,
.secondary-navigation a:focus {
    color: rgb(var(--scc-nav-link-hover));
}

.site-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-navigation a {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0;
    text-decoration: none;
    color: rgb(var(--scc-nav-link));
}

.site-navigation a:hover,
.site-navigation a:focus,
.site-navigation li.active > a {
    color: rgb(var(--scc-nav-link-hover));
}

.site-navigation .expand-subpages {
    position: relative;
    width: 20px;
    padding: 0;
    background: none;
    border: 0;
    color: rgb(var(--scc-nav-link));
}

.site-navigation .expand-subpages::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -2px 0 0 -5px;
    border-style: solid;
    border-width: 5px 5px 0;
    border-color: currentColor transparent transparent;
    transition: transform .2s ease-in-out;
}

.site-navigation li.open-child > .expand-subpages::before {
    transform: rotate(180deg);
}

.expand-search {
    padding: 0;
    font-size: 20px;
    color: rgb(var(--scc-nav-link));
    background: none;
    border: 0;
}

.expand-search .close-icon,
.expand-search[aria-expanded="true"] .search-icon {
    display: none;
}

.expand-search[aria-expanded="true"] .close-icon {
    display: inline-block;
}

.site-search-form {
    display: flex;
}

/* Search fields: a 2px grey border (118, 118, 118: 4.5:1 on white, so the field's edge can be seen) */
.site-search-form .form-control,
.footer-search .form-control {
    border: var(--scc-border-width) solid rgb(118, 118, 118);
    border-radius: var(--scc-radius);
}

.site-search-form .btn-search,
.footer-search .btn-search {
    flex: 0 0 auto;
}

/* Large screens: the logo is centred in the top row with the secondary navigation on its left and the call to action
   on its right; the main navigation is centred in the bottom row with search on its right; a line between the rows */
@media (min-width: 992px) {
    #site-header {
        top: calc(var(--scc-nav-height) * -1);
    }

    .site-nav-toggle,
    .site-menu-extra {
        display: none;
    }

    .site-header-inner {
        position: relative;
    }

    .site-header-inner::after {
        content: "";
        position: absolute;
        top: calc(var(--scc-nav-height) - var(--scc-border-width) / 2);
        right: 0;
        left: 0;
        height: var(--scc-border-width);
        background: rgb(var(--scc-header-borders));
        pointer-events: none;
    }

    .site-header-top {
        min-height: 0;
        height: var(--scc-nav-height);
    }

    #site-logo {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        height: var(--scc-nav-height);
        margin: 0;
        padding: 10px 20px;
        white-space: nowrap;
    }

    #site-logo img {
        height: calc(var(--scc-nav-height) - 20px);
        max-width: none;
    }

    .site-header-top .secondary-navigation {
        margin-right: auto;
    }

    .site-header-top .cta-links {
        position: relative;
        z-index: 1;
        margin-left: auto;
    }

    .site-header-bottom {
        position: relative;
        display: flex;
        justify-content: center;
        height: var(--scc-nav-height);
    }

    /* Search: at the right of the main navigation (above it, so it stays clickable) */
    .site-search {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        height: 100%;
    }

    .site-search-form {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1040;
        width: min(360px, 90vw);
        padding: 15px;
        background: rgb(var(--scc-header-bg));
        box-shadow: var(--scc-box-shadow);
    }

    .site-search-form.is-open {
        display: flex;
    }

    .site-navigation > ul {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-navigation > ul > li {
        position: relative;
        display: flex;
        align-items: center;
    }

    .site-navigation > ul > li > a {
        position: relative;
        padding: 0 15px;
        line-height: var(--scc-nav-height);
    }

    .site-navigation > ul > li.has-child > a {
        padding-right: 0;
    }

    .site-navigation > ul > li.has-child > .expand-subpages {
        height: var(--scc-nav-height);
        margin-right: 15px;
    }

    .site-navigation > ul > li > a::after {
        content: "";
        position: absolute;
        left: 15px;
        right: 15px;
        top: calc(var(--scc-nav-height) - var(--scc-border-width) * 1.75);
        height: calc(var(--scc-border-width) * 1.75);
        background: rgb(var(--scc-header-highlight));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .2s ease-in-out;
    }

    .site-navigation > ul > li.has-child > a::after {
        right: 0;
    }

    .site-navigation > ul > li.active > a::after,
    .site-navigation > ul > li > a:hover::after,
    .site-navigation > ul > li > a:focus::after {
        transform: scaleX(1);
    }

    .site-navigation li > ul {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: calc(var(--scc-nav-height) - 7px);
        left: 0;
        z-index: 1040;
        width: 240px;
        background: rgb(var(--scc-nav-dropdown-bg));
        transition: opacity .2s ease-in-out, top .2s ease-in-out, visibility .2s;
    }

    .site-navigation li:hover > ul,
    .site-navigation li:focus-within > ul,
    .site-navigation li.open-child > ul {
        visibility: visible;
        opacity: 1;
        top: var(--scc-nav-height);
    }

    .site-navigation li > ul a {
        padding: 10px 15px;
        font-size: 15px;
        font-weight: 600;
        color: rgb(var(--scc-nav-dropdown-link));
    }

    .site-navigation li > ul a:hover,
    .site-navigation li > ul a:focus,
    .site-navigation li > ul li.active > a {
        color: rgb(var(--scc-nav-dropdown-link-hover));
        text-decoration: underline;
    }
}

/* Small screens: the menu button is on the left, before the logo; its "Menu" label is hidden but still names it. The
   bottom row is the menu panel below the header bar: the main navigation, then search, the call to action button and
   the secondary navigation */
@media (max-width: 991.98px) {
    .site-header-top .secondary-navigation,
    .site-header-top .cta-links {
        display: none;
    }

    .site-nav-toggle {
        order: -1;
        margin-right: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 26px;
        min-height: 44px;
        padding: 10px 0;
        font-family: var(--scc-font);
        font-size: 16px;
        font-weight: 700;
        color: rgb(var(--scc-nav-link));
        background: none;
        border: 0;
    }

    .site-nav-toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .site-nav-toggle-bars {
        position: relative;
        display: block;
        width: 26px;
        height: 18px;
    }
    .site-nav-toggle-bars span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: currentColor;
        transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    }
    .site-nav-toggle-bars span:nth-child(1) { top: 0; }
    .site-nav-toggle-bars span:nth-child(2) { top: 8px; }
    .site-nav-toggle-bars span:nth-child(3) { top: 16px; }

    .site-nav-open .site-nav-toggle-bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .site-nav-open .site-nav-toggle-bars span:nth-child(2) { opacity: 0; }
    .site-nav-open .site-nav-toggle-bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .site-menu {
        display: none;
        position: fixed;
        top: var(--scc-header-height);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        overflow-y: auto;
        padding-bottom: var(--scc-spacing);
        background: rgb(var(--scc-nav-dropdown-bg));
    }

    .site-nav-open .site-menu {
        display: block;
    }

    body.site-nav-open {
        overflow: hidden;
    }

    .site-navigation li {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .site-navigation li > a {
        flex: 1;
        padding: 15px;
        color: rgb(var(--scc-nav-dropdown-link));
    }

    .site-navigation a:hover,
    .site-navigation a:focus,
    .site-navigation li.active > a {
        color: rgb(var(--scc-nav-dropdown-link-hover));
        text-decoration: underline;
    }

    .site-navigation .expand-subpages {
        width: 50px;
        color: rgb(var(--scc-nav-dropdown-link));
    }

    .site-navigation li > ul {
        display: none;
        flex: 0 0 100%;
        background: rgba(0, 0, 0, .15);
    }

    .site-navigation li.open-child > ul {
        display: block;
    }

    .site-navigation li > ul li:last-child {
        border-bottom: 0;
    }

    .site-navigation li > ul a {
        padding-left: 30px;
    }

    /* Below the navigation: search (always open), the call to action button and the secondary navigation */
    .site-menu .site-search,
    .site-menu-extra > * {
        padding: 15px 15px 0;
    }

    .site-menu .expand-search {
        display: none;
    }

    .site-menu-extra .secondary-navigation a,
    .site-menu-extra .secondary-navigation a:hover,
    .site-menu-extra .secondary-navigation a:focus {
        color: rgb(var(--scc-nav-dropdown-link));
    }
}


.page-title {
    padding-top: var(--scc-pc-spacing);
}

.page-title h1 {
    margin-bottom: 0.5em;
}

.secondary-heading,
.page-title .secondary-heading {
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0.5px;
    color: rgb(var(--scc-secondary-heading));
}
@media (min-width: 768px) { .secondary-heading, .page-title .secondary-heading { font-size: 16px; } }

.page-title .meta {
    color: rgb(var(--scc-text));
}

.page-title .badge {
    color: #fff;
    background: rgb(var(--scc-highlight));
}

.page-content {
    padding-bottom: var(--scc-pc-spacing);
}

.page-content .right-col {
    margin-top: var(--scc-spacing);
}

@media (min-width: 992px) {
    .page-content .right-col { margin-top: 0; }
}

.umb-block-list > * + * {
    margin-top: var(--scc-spacing);
}

/* Content rows (as investsalford.com): full width sections, one after another with no gap, each padded above and
   below (30px, 40px from 768px, 50px from 992px, 60px from 1200px). Banners fill the width with no padding. A row's
   colour set colours the whole section. Rows in the "Content with sidebar" column (.content-row-column) are styled
   further down */
.content-row {
    padding: var(--scc-pc-spacing) 0;
}

.content-row.content-row-banner {
    padding: 0;
}

/* The row's colour is on the section, so the block inside does not repeat it as a padded band */
.content-row.scc-colour > .container > .scc-colour {
    padding: 0;
    background: none;
}

.content-row .richtext > :last-child,
.content-row .pod-text > :last-child {
    margin-bottom: 0;
}


.banner-row {
    margin-bottom: 0;
}

.banner-row .banner {
    align-items: center;
    justify-content: flex-start;
    background-color: rgb(var(--scc-banner-bg));
}

.banner-row .banner-medium {
    min-height: calc(65vh - var(--scc-header-height));
}

.content-rows > .home-banner {
    max-width: var(--scc-max-width);
    margin-left: auto;
    margin-right: auto;
}

.banner-row .banner-small {
    min-height: max(50vh, 340px);
}

.banner-row .banner-large {
    min-height: 100vh;
}

.banner-row .banner.banner-has-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(var(--scc-banner-bg));
    opacity: 0;
}

.banner-row .banner-caption {
    position: relative;
    max-width: var(--scc-max-width);
    margin: 0 auto;
    padding: var(--scc-pc-spacing) 15px;
    background: none;
    color: rgb(var(--scc-banner-text));
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.banner-row .banner-caption > * {
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .banner-row .banner-caption > * { max-width: 90%; }
}
@media (min-width: 992px) {
    .banner-row .banner-caption > * { max-width: 83.333%; }
}
@media (min-width: 1200px) {
    .banner-row .banner-caption > * { max-width: 75%; }
}

.banner-row .banner-caption h2 {
    color: rgb(var(--scc-banner-heading));
    font-weight: 600;
    font-size: 35px;
    margin: 0;
}
@media (min-width: 576px) { .banner-row .banner-caption h2 { font-size: 45px; } }
@media (min-width: 768px) { .banner-row .banner-caption h2 { font-size: 50px; } }
@media (min-width: 992px) { .banner-row .banner-caption h2 { font-size: 60px; } }

.banner-row .banner-caption .richtext,
.banner-row .banner-caption p {
    color: rgb(var(--scc-banner-text));
}

.banner-row .banner-caption p {
    margin: 0;
}

.banner-row .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background-color: #fff;
}
.banner-row .carousel-indicators .active {
    background-color: rgb(var(--scc-link));
}

.content-col .banner-row .banner-medium {
    min-height: 340px;
}
@media (min-width: 992px) {
    .content-col .banner-row .banner-medium { min-height: 420px; }
}

.sub-navigation {
    padding-top: 15px;
    margin-bottom: var(--scc-spacing);
    border-top: 1px solid rgb(var(--scc-borders));
}

.sub-navigation-heading {
    margin: 0;
    padding: 0 0 10px;
    font-family: var(--scc-heading-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
}

/* The section link is in the heading colour, so it is underlined to show it is a link; the underline goes on hover and
   keyboard focus, so the change shows the pointer or focus is on it */
.sub-navigation-heading a {
    color: rgb(var(--scc-heading));
    text-decoration: underline;
}

.sub-navigation-heading a:hover,
.sub-navigation-heading a:focus-visible {
    text-decoration: none;
}

.sub-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sub-navigation li {
    padding: 3px 0;
}

.sub-navigation li a {
    display: block;
    font-family: var(--scc-heading-font);
    font-size: 16px;
    font-weight: 400;
    color: rgb(var(--scc-link));
    text-decoration: none;
    transition: all .2s ease-in-out;
}

.sub-navigation li:not(.active) > a:hover,
.sub-navigation li:not(.active) > a:focus {
    padding-left: 3px;
    color: rgb(var(--scc-link-hover));
}

.sub-navigation li.active > a {
    color: rgb(var(--scc-heading));
}

.sub-navigation ul ul {
    padding-top: 5px;
}

.sub-navigation ul ul li a {
    position: relative;
    padding-left: 12px;
}

.sub-navigation ul ul li a::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 5px;
    height: 1px;
    background-color: rgb(var(--scc-borders));
}

.sub-navigation ul ul li:not(.active) > a:hover {
    padding-left: 15px;
}

/* Each level below the second is indented a further 12px, so the lists show the structure of the section */
.sub-navigation ul ul ul {
    padding-left: 12px;
}

/* A page with pages below it: room on the right for its button, which shows or hides them (scc-theme.js) */
.sub-navigation li.has-child {
    position: relative;
}

.sub-navigation li.has-child > a {
    margin-right: 30px;
}

.sub-navigation li.has-child:not(.open-child) > .sub-navigation-pages {
    display: none;
}

.sub-navigation .expand-subpages {
    position: absolute;
    top: 3px;
    right: 0;
    width: 24px;
    height: 24px;
    padding: 0;
    color: rgb(var(--scc-link));
    background: transparent;
    border: 2px solid rgb(var(--scc-borders));
}

.sub-navigation .expand-subpages:hover {
    color: rgb(var(--scc-link-hover));
}

.sub-navigation .expand-subpages:focus-visible {
    outline: 2px solid rgb(var(--scc-highlight));
    outline-offset: 2px;
}

/* A triangle: down when closed, up when open */
.sub-navigation .expand-subpages::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -2px 0 0 -5px;
    border-style: solid;
    border-width: 5px 5px 0;
    border-color: currentColor transparent transparent;
    transition: transform .2s ease-in-out;
}

.sub-navigation li.open-child > .expand-subpages::before {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .sub-navigation .expand-subpages::before {
        transition: none;
    }
}


.pods-intro {
    margin-bottom: var(--scc-pc-spacing);
}

.pods-intro > :last-child,
.pods-intro .richtext > :last-child {
    margin-bottom: 0;
}

.pods-intro.text-center h2 {
    margin-bottom: 0;
}

.pod {
    height: 100%;
}

/* A heading of the Heading Tag's level (h3 by default), or a paragraph heading: the same margins either way */
.pod-heading {
    margin: 0 0 0.75em;
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
}
@media (min-width: 992px) { .pod-heading { font-size: 24px; } }

.pod-heading.pod-heading-sm { font-size: 16px; }

.pod-heading.pod-heading-lg { font-size: 22px; }
@media (min-width: 576px) { .pod-heading.pod-heading-lg { font-size: 24px; } }
@media (min-width: 768px) { .pod-heading.pod-heading-lg { font-size: 26px; } }
@media (min-width: 992px) { .pod-heading.pod-heading-lg { font-size: 30px; } }
@media (min-width: 1200px) { .pod-heading.pod-heading-lg { font-size: 35px; } }

.pod-text-image {
    display: flex;
    flex-direction: column;
}

.pod-text-image-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.pod-text-image-link:hover,
.pod-text-image-link:focus {
    color: inherit;
}

.pod-text-image-link:hover .pod-heading,
.pod-text-image-link:focus .pod-heading {
    text-decoration: underline;
}

.page-pods {
    margin-top: var(--scc-spacing);
}

.subpage-listing-item,
.pod-text-image .pod-image {
    margin-bottom: 20px;
    overflow: hidden;
}

.subpage-listing-item img.card-img-top,
.pod-text-image .pod-image img {
    width: 100%;
    transition: transform .4s ease-in-out;
}

.subpage-listing-item:hover img.card-img-top,
.pod-text-image:hover .pod-image img {
    transform: scale(1.05);
}

.pod-text-image .pod-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pod-text-image .pod-link {
    margin-top: auto;
    margin-bottom: 0;
}

.pod-quote blockquote {
    margin: 0 0 10px;
}

.pod-quote .quote {
    font-family: var(--scc-font);
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.15px;
    color: rgb(var(--scc-heading));
}
@media (min-width: 992px) { .pod-quote .quote { font-size: 24px; } }

.pod-quote .person {
    margin: 0;
    font-size: 14px;
}

.right-col .pod + .pod {
    margin-top: var(--scc-spacing);
}

.accordion-row .accordion-item {
    border: 0;
    background: none;
}

.accordion-row .accordion-item + .accordion-item {
    margin-top: 10px;
}

.accordion-row .accordion-button {
    font-family: var(--scc-heading-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    color: rgb(var(--scc-btn-text));
    background-color: rgb(var(--scc-btn-bg));
    border: 2px solid rgb(var(--scc-btn-borders));
    border-radius: var(--scc-radius) !important;
    box-shadow: none;
}
@media (min-width: 992px) { .accordion-row .accordion-button { font-size: 18px; } }

.accordion-row .accordion-button:not(.collapsed),
.accordion-row .accordion-button:hover {
    color: rgb(var(--scc-btn-text-hover));
    background-color: rgb(var(--scc-btn-bg-hover));
}

.accordion-row .accordion-button::after {
    filter: brightness(0) invert(1);
}
.accordion-row .accordion-button:not(.collapsed)::after,
.accordion-row .accordion-button:hover::after {
    filter: none;
}

.accordion-row .accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(var(--scc-highlight), .35);
}

.accordion-row .accordion-body {
    padding: 15px 0;
}

.accordion-row .nav-tabs {
    border-bottom: 1px solid rgb(var(--scc-borders));
}

.accordion-row .nav-tabs .nav-link {
    font-family: var(--scc-heading-font);
    font-weight: 600;
    color: rgb(var(--scc-text));
    border: 0;
    border-bottom: 3px solid transparent;
}

.accordion-row .nav-tabs .nav-link:hover,
.accordion-row .nav-tabs .nav-link.active {
    color: rgb(var(--scc-link));
    background: none;
    border-bottom-color: rgb(var(--scc-highlight));
}

.subpage-listing-item {
    border: 0;
    border-radius: 0;
    background: none;
}

.subpage-listing-item .card-img-top {
    border-radius: var(--scc-radius);
}

.subpage-listing-item .card-body {
    padding: 15px 0 0;
}

.subpage-listing-item .card-title {
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    color: rgb(var(--scc-heading));
}
@media (min-width: 992px) { .subpage-listing-item .card-title { font-size: 24px; } }

.subpage-listing-item:hover,
.subpage-listing-item:focus {
    box-shadow: none;
}

.subpage-listing-item:hover .card-title {
    text-decoration: underline;
}

.link-list a i {
    color: rgb(var(--scc-link));
}

.sitemap-row ul {
    padding-left: 1.25em;
}

.sitemap-row > ul {
    padding-left: 0;
    list-style: none;
}

.sitemap-row li {
    margin: 5px 0;
}

#site-footer {
    position: relative;
    overflow: hidden;
    padding: var(--scc-pc-spacing) 0 var(--scc-spacing);
    color: rgb(var(--scc-footer-text));
    background-color: rgb(var(--scc-footer-bg));
    border: 0;
}

#site-footer .footer-background-image {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center top;
}

#site-footer > :not(.footer-background-image) {
    position: relative;
}

#site-footer a {
    color: rgb(var(--scc-footer-link));
    text-decoration: underline;
}

#site-footer a:hover,
#site-footer a:focus {
    color: rgb(var(--scc-footer-link-hover));
    text-decoration: underline;
}

#site-footer .breadcrumb-trail {
    padding-bottom: var(--scc-spacing);
}

/* Breadcrumb: every item in the footer text colour (links underlined, without the underline when hovered or focused),
   each with a small triangle pointing left before it */
#site-footer .breadcrumb {
    --bs-breadcrumb-item-padding-x: 7.5px;
    margin: 0;
    font-size: 14px;
    color: rgb(var(--scc-footer-text));
}

#site-footer .breadcrumb-item,
#site-footer .breadcrumb-item.active,
#site-footer .breadcrumb-item a,
#site-footer .breadcrumb-item a:hover,
#site-footer .breadcrumb-item a:focus {
    color: rgb(var(--scc-footer-text));
}

#site-footer .breadcrumb-item a {
    text-decoration: underline;
}

#site-footer .breadcrumb-item a:hover,
#site-footer .breadcrumb-item a:focus {
    text-decoration: none;
}

#site-footer .breadcrumb-item::before,
#site-footer .breadcrumb-item + .breadcrumb-item::before {
    content: "";
    float: none;
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 7.5px;
    padding: 0;
    vertical-align: middle;
    color: rgb(var(--scc-footer-text));
    border-style: solid;
    border-width: .25em .25em .25em 0;
    border-color: transparent currentColor transparent transparent;
}

.footer-columns {
    row-gap: var(--scc-spacing);
}

.footer-heading {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
    line-height: 120%;
    color: rgb(var(--scc-footer-heading));
}

.footer-text p {
    margin-top: 0;
}

.footer-text p:last-child {
    margin-bottom: 0;
}

.footer-search {
    display: flex;
    margin-bottom: 15px;
}

#site-footer .quick-links ul,
#site-footer .social ul,
#site-footer .footer-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Quick links: two columns, filled row by row, from 576px (one column on narrow screens, so nothing overflows) */
@media (min-width: 576px) {
    #site-footer .quick-links ul {
        display: grid;
        grid-template-columns: repeat(2, max-content);
        gap: 0 25px;
    }
}

#site-footer .quick-links li {
    padding: 3px 0;
}

#site-footer .social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

#site-footer .social img {
    display: block;
    width: 40px;
    height: 40px;
}

/* Footer navigation: one link per line on small screens, in a line from 768px; the site credit (council logo) goes
   below them, and to the right from 992px */
#site-footer .footer-navigation {
    padding-top: var(--scc-spacing);
}

#site-footer .footer-navigation ul {
    font-size: 13px;
}

#site-footer .footer-navigation ul::after {
    content: "";
    display: table;
    clear: both;
}

#site-footer .footer-navigation li {
    display: block;
    padding: 10px 0;
}

#site-footer .footer-navigation .site-credit img {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    #site-footer .footer-navigation li {
        display: inline-block;
        margin: 0 8px 0 0;
        padding: 0;
    }

    #site-footer .footer-navigation li.site-credit {
        display: block;
        clear: both;
        margin: 0;
        padding: 40px 0 0;
    }
}

@media (min-width: 992px) {
    #site-footer .social img {
        width: 50px;
        height: 50px;
    }

    #site-footer .footer-navigation {
        padding-top: calc(var(--scc-spacing) * 2);
    }

    #site-footer .footer-navigation li.site-credit {
        float: right;
        clear: none;
        padding: 0;
    }
}


.btn-back-to-top {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1020;
    width: 45px;
    height: 45px;
    color: rgb(var(--scc-btn-text));
    background-color: rgb(var(--scc-btn-bg));
    border: var(--scc-border-width) solid rgb(var(--scc-btn-borders));
    border-radius: var(--scc-radius);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}
@media (min-width: 992px) {
    .btn-back-to-top { width: 60px; height: 60px; }
}

.btn-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.btn-back-to-top:hover,
.btn-back-to-top:focus {
    color: rgb(var(--scc-btn-text-hover));
    background-color: rgb(var(--scc-btn-bg-hover));
    border-color: rgb(var(--scc-btn-borders-hover));
}

.cookie-notice {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1040;
    max-width: min(400px, 100vw);
    padding: 20px;
    background: #fff;
    border-radius: var(--scc-radius);
    box-shadow: 0 0 100px rgba(0, 0, 0, .1), var(--scc-box-shadow);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice-heading {
    font-size: 20px;
    font-weight: 700;
    line-height: 110%;
    color: rgb(var(--scc-heading));
    margin-bottom: 10px;
}

.cookie-notice-text p:last-child,
.cookie-notice-link {
    margin-bottom: 0;
}

.cookie-notice-text a {
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    #site-header,
    .subpage-listing-item img.card-img-top,
    .pod-text-image .pod-image img,
    .btn-back-to-top {
        transition: none;
    }
}

/* Colour sets (the old site's c1 to c9): 1 orange, 2 blue, 3 yellow, 4 charcoal, 5 light grey, 6 red, 7 pink, 8 green,
   9 warm grey. Changed for contrast: set 3's heading, text and links are charcoal (white on yellow is 1.5:1); hover
   link colours below 4.5:1 on their background are the link colour (sets 1, 2, 5, 6, 7, 8 and 9). White text on sets 1,
   6 and 7 is 3.6 to 3.9:1: enough for large text (24px, or 19px bold) and buttons, not for smaller text. */
.scc-colour-set1 { --scc-set-bg: 242, 78, 32; --scc-set-heading: 255, 255, 255; --scc-set-text: 238, 238, 238; --scc-set-link: 255, 255, 255; --scc-set-link-hover: 255, 255, 255; --scc-set-borders: 255, 255, 255; }
.scc-colour-set2 { --scc-set-bg: 37, 116, 211; --scc-set-heading: 255, 255, 255; --scc-set-text: 255, 255, 255; --scc-set-link: 255, 255, 255; --scc-set-link-hover: 255, 255, 255; --scc-set-borders: 255, 255, 255; }
.scc-colour-set3 { --scc-set-bg: 255, 202, 35; --scc-set-heading: 35, 36, 41; --scc-set-text: 35, 36, 41; --scc-set-link: 35, 36, 41; --scc-set-link-hover: 0, 0, 0; --scc-set-borders: 255, 255, 255; }
.scc-colour-set4 { --scc-set-bg: 35, 36, 41; --scc-set-heading: 255, 255, 255; --scc-set-text: 223, 224, 229; --scc-set-link: 255, 255, 255; --scc-set-link-hover: 223, 224, 229; --scc-set-borders: 0, 0, 0; }
.scc-colour-set5 { --scc-set-bg: 228, 230, 235; --scc-set-heading: 35, 36, 41; --scc-set-text: 14, 14, 14; --scc-set-link: 0, 0, 0; --scc-set-link-hover: 0, 0, 0; --scc-set-borders: 211, 212, 216; }
.scc-colour-set6 { --scc-set-bg: 255, 51, 51; --scc-set-heading: 255, 255, 255; --scc-set-text: 255, 255, 255; --scc-set-link: 255, 255, 255; --scc-set-link-hover: 255, 255, 255; --scc-set-borders: 0, 0, 0; }
.scc-colour-set7 { --scc-set-bg: 239, 44, 141; --scc-set-heading: 255, 255, 255; --scc-set-text: 255, 255, 255; --scc-set-link: 255, 255, 255; --scc-set-link-hover: 255, 255, 255; --scc-set-borders: 0, 0, 0; }
.scc-colour-set8 { --scc-set-bg: 172, 203, 83; --scc-set-heading: 0, 0, 0; --scc-set-text: 0, 0, 0; --scc-set-link: 0, 0, 0; --scc-set-link-hover: 0, 0, 0; --scc-set-borders: 0, 0, 0; }
.scc-colour-set9 { --scc-set-bg: 180, 173, 171; --scc-set-heading: 0, 0, 0; --scc-set-text: 0, 0, 0; --scc-set-link: 0, 0, 0; --scc-set-link-hover: 0, 0, 0; --scc-set-borders: 0, 0, 0; }

.scc-colour {
    color: rgb(var(--scc-set-text));
    background-color: rgb(var(--scc-set-bg));
}

.scc-colour h1, .scc-colour h2, .scc-colour h3, .scc-colour h4, .scc-colour h5, .scc-colour h6,
.scc-colour .window-heading {
    color: rgb(var(--scc-set-heading));
}

.scc-colour a:not(.btn) {
    color: rgb(var(--scc-set-link));
}

.scc-colour a:not(.btn):hover,
.scc-colour a:not(.btn):focus,
.scc-colour a:not(.btn):active {
    color: rgb(var(--scc-set-link-hover));
}

/* Tables in a colour set (e.g. in a rich text row with a Colour Set): header cells and borders in the set's colours */
.scc-colour table,
.scc-colour table th,
.scc-colour table td {
    border-color: rgb(var(--scc-set-text));
}

.scc-colour table th {
    color: rgb(var(--scc-set-heading));
}

/* Rows with a Colour Set: the parts of blocks that have colours of their own take the set's instead. Accordion tabs
   (unless the row has a Button Colour Set) in the text colour, the open and hovered tab in the link colour; latest
   articles' dates and dividers, and gallery captions, in the text colour */
.scc-colour .accordion-row:not(.accordion-btn-set) .nav-tabs {
    border-bottom-color: rgb(var(--scc-set-text));
}

.scc-colour .accordion-row:not(.accordion-btn-set) .nav-tabs .nav-link {
    color: rgb(var(--scc-set-text));
}

.scc-colour .accordion-row:not(.accordion-btn-set) .nav-tabs .nav-link:hover,
.scc-colour .accordion-row:not(.accordion-btn-set) .nav-tabs .nav-link.active {
    color: rgb(var(--scc-set-link));
    border-bottom-color: rgb(var(--scc-set-link));
}

.scc-colour .post-preview > .post-meta,
.scc-colour .figure-caption {
    color: rgb(var(--scc-set-text));
}

.scc-colour hr {
    background-color: rgb(var(--scc-set-text));
    opacity: .25;
}

/* Dialogs (e.g. the gallery's lightbox) keep the page's own colours on their white background */
.scc-colour .modal-content {
    color: rgb(var(--scc-text));
}

.scc-colour .modal-content :is(h1, h2, h3, h4, h5, h6, .modal-title) {
    color: rgb(var(--scc-heading));
}

.scc-colour .modal-content a:not(.btn) {
    color: rgb(var(--scc-link));
}

main table {
    width: 100%;
    margin: 5px 0 var(--scc-spacing);
    background: transparent;
    border-color: rgb(var(--scc-borders));
    border-style: solid;
    border-width: 2px 0 0 2px;
}

main table th, main table td {
    padding: 10px;
    border-color: rgb(var(--scc-borders));
    border-style: solid;
    border-width: 0 2px 2px 0;
    overflow-wrap: break-word;
}

/* Subpage listing items with an Item Colour Set: a rounded box in the set's colours, the image rounded at the top
   only, and the title and summary padded inside the colour */
.subpage-listing-item.scc-colour {
    border-radius: var(--scc-radius);
}

.subpage-listing-item.scc-colour:hover,
.subpage-listing-item.scc-colour:focus {
    color: rgb(var(--scc-set-text));
}

.subpage-listing-item.scc-colour .card-img-top {
    border-radius: var(--scc-radius) var(--scc-radius) 0 0;
}

.subpage-listing-item.scc-colour .card-body {
    padding: var(--scc-spacing);
}

.subpage-listing-item.scc-colour .card-title {
    color: rgb(var(--scc-set-heading));
}

.richtext.scc-colour,
.richtext.has-background-image {
    padding: var(--scc-pc-spacing) 15px;
}

.richtext.has-background-image {
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.richtext-outro {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: var(--scc-spacing) 0 0;
}

/* The rich text row's optional button, below the text (not underlined like the links in the text) */
.richtext .richtext-button {
    margin: var(--scc-spacing) 0 0;
}

.richtext .richtext-button .btn {
    text-decoration: none;
}

/* A grid column's optional button, below its content */
.grid-layout-row .grid-column-button {
    margin: var(--scc-spacing) 0 0;
}

.grid-layout-row .grid-column-button .btn {
    text-decoration: none;
}

.windows-row .window {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 375px;
    background-size: cover;
    background-position: center;
}

.windows-row .window:not(.scc-colour) {
    background-color: rgb(var(--scc-header-bg));
}

/* "Add Colour Overlay" on a window: the image is covered with the window's background colour (its colour set's, or
   the window background) at 0.4 opacity, deepening to 0.8 while a linked window is hovered or focused */
.windows-row .window.window-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(var(--scc-set-bg, var(--scc-header-bg)));
    border-radius: inherit;
    opacity: .4;
    transition: opacity .3s ease-in-out;
    pointer-events: none;
}

.windows-row .window.window-overlay:has(.window-link:hover, .window-link:focus-visible)::before {
    opacity: .8;
}

.windows-row .window.window-overlay > * {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .windows-row .window.window-overlay::before {
        transition: none;
    }
}

.windows-row .window-link {
    display: flex;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.windows-row .window-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 15px;
    padding: var(--scc-spacing);
}

.windows-row .window-text-top .window-info { justify-content: flex-start; }
.windows-row .window-text-center .window-info { justify-content: center; }
.windows-row .window-text-bottom .window-info { justify-content: flex-end; }
.windows-row .text-center .window-info { align-items: center; }
.windows-row .text-end .window-info { align-items: flex-end; }

/* The window's text (between the heading and the button): spaced by the window's gap, so no margin after its last
   paragraph or list; in the window's text colour (its colour set's, if it has one) */
.windows-row .window-text {
    color: inherit;
}

.windows-row .window-text > :last-child {
    margin-bottom: 0;
}

/* The window heading is a span, or a heading of the Heading Tag's level (spaced by the window's gap, not margins) */
.windows-row .window-heading {
    margin: 0;
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
}
@media (min-width: 992px) { .windows-row .window-heading { font-size: 24px; } }

.windows-row .window-heading.window-heading-sm { font-size: 16px; }

.windows-row .window-heading.window-heading-lg { font-size: 22px; }
@media (min-width: 576px) { .windows-row .window-heading.window-heading-lg { font-size: 24px; } }
@media (min-width: 768px) { .windows-row .window-heading.window-heading-lg { font-size: 26px; } }
@media (min-width: 992px) { .windows-row .window-heading.window-heading-lg { font-size: 30px; } }
@media (min-width: 1200px) { .windows-row .window-heading.window-heading-lg { font-size: 35px; } }

.windows-row .window-link:hover .window-heading,
.windows-row .window-link:focus .window-heading {
    text-decoration: underline;
}

/* Windows layouts (sccWindowsRow): groups one below the other. Below 992px the windows of mosaic and brick groups
   are one per row; from 992px a mosaic group is two columns of tall (475px, or the height of two windows in a group
   of 3) and short (375px) windows, and a brick group is a row of two windows three fifths and two fifths wide */
.windows-row .windows-groups,
.windows-row .windows-mosaic,
.windows-row .windows-mosaic-col,
.windows-row .windows-brick {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.windows-row .windows-cell {
    display: flex;
    flex-direction: column;
}

.windows-row .windows-cell > .window {
    flex: 1;
}

@media (min-width: 992px) {
    .windows-row .windows-mosaic {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .windows-row .windows-mosaic-col > .windows-cell {
        flex: 1 1 auto;
    }

    .windows-row .windows-mosaic-4 .window-big > .window {
        min-height: 475px;
    }

    .windows-row .windows-brick {
        display: grid;
        grid-template-columns: 3fr 2fr;
    }

    .windows-row .windows-brick.windows-small-first {
        grid-template-columns: 2fr 3fr;
    }
}

.grid-layout-row > .row + .row {
    margin-top: var(--scc-spacing);
}

/* Paragraph headings (.heading), secondary headings (.secondary-heading), intro text (.intro) and quotes (.quote), each
   in three sizes: .sm, medium (no size class) and .lg. Fonts, sizes, weights, line heights, letter spacing and quote
   spacing as on investsalford.com at each breakpoint. One difference: the small secondary heading stays 14px from
   768px (on investsalford.com it drops back to 12px between 992px and 1199px because of a typo in its stylesheet) */

/* Paragraph headings: 20px, 24px from 992px; small 18px, 20px from 992px; large 26px, 28px from 768px, 30px from
   992px, 35px from 1200px. A heading element (h1-h6) with the class keeps its own size */
:is(p, span).heading {
    display: block;
    margin-bottom: 0.75em;
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: 0;
    color: rgb(var(--scc-heading));
}
@media (min-width: 992px) { :is(p, span).heading { font-size: 24px; } }

:is(p, span).heading.sm { font-size: 18px; }
@media (min-width: 992px) { :is(p, span).heading.sm { font-size: 20px; } }

:is(p, span).heading.lg { font-size: 26px; }
@media (min-width: 768px) { :is(p, span).heading.lg { font-size: 28px; } }
@media (min-width: 992px) { :is(p, span).heading.lg { font-size: 30px; } }
@media (min-width: 1200px) { :is(p, span).heading.lg { font-size: 35px; } }

/* Secondary headings: 14px, 16px from 768px; small 12px, 14px from 768px; large 16px, 18px from 576px, 20px from
   992px, 22px from 1200px */
.secondary-heading {
    display: block;
    font-family: var(--scc-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0.5px;
    color: rgb(var(--scc-secondary-heading));
}
@media (min-width: 768px) { .secondary-heading { font-size: 16px; } }

.secondary-heading.sm {
    font-size: 12px;
    letter-spacing: 0;
}
@media (min-width: 768px) { .secondary-heading.sm { font-size: 14px; } }

.secondary-heading.lg { font-size: 16px; }
@media (min-width: 576px) { .secondary-heading.lg { font-size: 18px; } }
@media (min-width: 992px) { .secondary-heading.lg { font-size: 20px; } }
@media (min-width: 1200px) { .secondary-heading.lg { font-size: 22px; } }

/* Intro text: 18px, 20px from 768px, 22px from 992px, 24px from 1200px; small 16px, 18px from 768px, 20px from 992px;
   large 20px, 22px from 768px, 24px from 992px, 26px from 1200px */
.intro,
.richtext .intro {
    display: block;
    font-family: var(--scc-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.15px;
}
.intro.sm, .richtext .intro.sm { font-size: 16px; }
.intro.lg, .richtext .intro.lg { font-size: 20px; }
@media (min-width: 768px) {
    .intro, .richtext .intro { font-size: 20px; }
    .intro.sm, .richtext .intro.sm { font-size: 18px; }
    .intro.lg, .richtext .intro.lg { font-size: 22px; }
}
@media (min-width: 992px) {
    .intro, .richtext .intro { font-size: 22px; }
    .intro.sm, .richtext .intro.sm { font-size: 20px; }
    .intro.lg, .richtext .intro.lg { font-size: 24px; }
}
@media (min-width: 1200px) {
    .intro, .richtext .intro { font-size: 24px; }
    .intro.lg, .richtext .intro.lg { font-size: 26px; }
}

/* Quotes: bold italic in the heading colour, with an opening quote mark (Ionicons) in the highlight colour above it.
   20px, 24px from 992px; small 18px, 20px from 992px; large 24px, 26px from 768px, 28px from 992px. Inside a
   blockquote (e.g. a quote pod) the quote has no spacing or mark of its own */
.quote {
    position: relative;
    display: block;
    margin: 15px 0;
    padding: 30px 0 15px;
    border: 0;
    font-family: var(--scc-font);
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.15px;
    color: rgb(var(--scc-heading));
}
@media (min-width: 992px) { .quote { font-size: 24px; } }

/* The mark is decorative, so it has empty alternative text where the browser supports it */
.quote::before {
    content: "\f35f";
    content: "\f35f" / "";
    position: absolute;
    top: -8px;
    left: 0;
    font-family: "Ionicons";
    font-size: 140%;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    color: rgb(var(--scc-highlight));
    transform: scaleX(-1) scaleY(-1);
    -webkit-font-smoothing: antialiased;
}
.text-center .quote::before {
    left: 50%;
    transform: translateX(-50%) scaleX(-1) scaleY(-1);
}
.text-end .quote::before,
.text-right .quote::before {
    right: 0;
    left: auto;
}

.quote.sm {
    padding-top: 20px;
    font-size: 18px;
    line-height: 130%;
}
@media (min-width: 992px) { .quote.sm { font-size: 20px; } }

.quote.lg {
    padding-top: 37.5px;
    font-size: 24px;
}
@media (min-width: 768px) { .quote.lg { font-size: 26px; } }
@media (min-width: 992px) { .quote.lg { font-size: 28px; } }

blockquote .quote {
    margin: 0;
    padding: 30px 0 0; /* room for the mark */
}

/* In a colour set: the set's heading colour, and the mark in the set's link colour */
.scc-colour .quote { color: rgb(var(--scc-set-heading)); }
.scc-colour .quote::before { color: rgb(var(--scc-set-link)); }

/* In rich text the headings have no margins of their own: 10px between a heading and the secondary heading below it,
   5px between a secondary heading and the heading below it, and the paragraph spacing before other text */
.richtext :is(p, span).heading,
.richtext .secondary-heading {
    margin: 0;
}

.richtext :is(p, span).heading + .secondary-heading {
    margin-top: 10px;
}

.richtext .secondary-heading + :is(p, span).heading {
    margin-top: 5px;
}

.gallery-video {
    position: relative;
    overflow: hidden;
    background: rgb(var(--scc-text));
}

.gallery-video-play {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.gallery-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-video iframe {
    border: 0;
}

.gallery-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: -35px 0 0 -35px;
    font-size: 26px;
    color: #fff;
    background: rgba(0, 0, 0, .6);
    border-radius: 50%;
    transition: background-color .2s ease-in-out;
}

.gallery-video:hover .gallery-video-icon,
.gallery-video:focus .gallery-video-icon {
    background: rgb(var(--scc-link));
}

.split-row .gallery-row {
    margin-bottom: 0;
}

/* Button colour sets (the old site's c1 to c7 buttons): 1 orange, 2 blue, 3 yellow, 4 charcoal, 5 red, 6 pink, 7 green.
   Changed for contrast: the text of sets 1, 3, 5 and 6 is black (white on them is 1.5 to 3.9:1), and the hover text of
   sets 1, 2 and 3 is darkened to 4.5:1 on white (from 242, 32, 41, 22, 138, 239 and 253, 184, 19). */
.scc-btn-set1 { --scc-b-bg: 242, 78, 32; --scc-b-text: 0, 0, 0; --scc-b-border: 255, 255, 255; --scc-b-bg-hover: 255, 255, 255; --scc-b-text-hover: 232, 31, 39; --scc-b-border-hover: 242, 78, 32; }
.scc-btn-set2 { --scc-b-bg: 37, 116, 211; --scc-b-text: 255, 255, 255; --scc-b-border: 255, 255, 255; --scc-b-bg-hover: 255, 255, 255; --scc-b-text-hover: 19, 120, 208; --scc-b-border-hover: 22, 138, 239; }
.scc-btn-set3 { --scc-b-bg: 255, 202, 35; --scc-b-text: 0, 0, 0; --scc-b-border: 255, 255, 255; --scc-b-bg-hover: 255, 255, 255; --scc-b-text-hover: 152, 110, 11; --scc-b-border-hover: 255, 202, 35; }
.scc-btn-set4 { --scc-b-bg: 35, 36, 41; --scc-b-text: 255, 255, 255; --scc-b-border: 255, 255, 255; --scc-b-bg-hover: 255, 255, 255; --scc-b-text-hover: 0, 0, 0; --scc-b-border-hover: 35, 36, 41; }
.scc-btn-set5 { --scc-b-bg: 255, 51, 51; --scc-b-text: 0, 0, 0; --scc-b-border: 0, 0, 0; --scc-b-bg-hover: 0, 0, 0; --scc-b-text-hover: 255, 255, 255; --scc-b-border-hover: 51, 51, 51; }
.scc-btn-set6 { --scc-b-bg: 239, 44, 141; --scc-b-text: 0, 0, 0; --scc-b-border: 0, 0, 0; --scc-b-bg-hover: 0, 0, 0; --scc-b-text-hover: 255, 255, 255; --scc-b-border-hover: 51, 51, 51; }
.scc-btn-set7 { --scc-b-bg: 172, 203, 83; --scc-b-text: 0, 0, 0; --scc-b-border: 0, 0, 0; --scc-b-bg-hover: 0, 0, 0; --scc-b-text-hover: 255, 255, 255; --scc-b-border-hover: 51, 51, 51; }

.scc-btn {
    color: rgb(var(--scc-b-text));
    background-color: rgb(var(--scc-b-bg));
    border: 2px solid rgb(var(--scc-b-border));
    box-shadow: var(--scc-box-shadow);
}

.scc-btn:hover,
.scc-btn:focus,
a:hover .scc-btn,
a:focus .scc-btn {
    color: rgb(var(--scc-b-text-hover));
    background-color: rgb(var(--scc-b-bg-hover));
    border-color: rgb(var(--scc-b-border-hover));
}

.btn.btn-lg {
    font-size: 18px;
    font-weight: 600;
    line-height: 130%;
    padding: 10px 20px;
}

.btn.btn-sm {
    font-size: 14px;
    padding: 5px 12px;
}

.btn .btn-icon {
    margin-right: 8px;
}

/* Ionicons icons (button icons): the glyph is in the element's data-icon attribute (SccButtonIcon). The empty
   alternative text keeps screen readers from announcing it */
.scc-icon {
    display: inline-block;
    font-style: normal;
    line-height: 1;
}

.scc-icon::before {
    content: attr(data-icon);
    content: attr(data-icon) / "";
    font-family: "Ionicons";
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* A pod with only a button (no image, heading or text): the button is not pushed to the bottom */
.pod-text-image.scc-colour .pod-info:has(> .pod-link:only-child) {
    justify-content: center;
}

/* Banner heading tag, colour set, text alignment and position */
.banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) {
    color: rgb(var(--scc-banner-heading));
    font-weight: 600;
    font-size: 35px;
    line-height: 130%;
    margin: 0;
}
@media (min-width: 576px) { .banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) { font-size: 45px; } }
@media (min-width: 768px) { .banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) { font-size: 50px; } }
@media (min-width: 992px) { .banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) { font-size: 60px; } }

.banner-row .banner.scc-colour .banner-caption .banner-heading,
.banner-row .banner.scc-colour .banner-caption .richtext,
.banner-row .banner.scc-colour .banner-caption p {
    color: rgb(var(--scc-set-heading));
}

/* "Add Colour Overlay" on a banner: the image (or video) is covered with the banner's background colour (its colour
   set's, or the banner background) at 0.55 opacity, so the text stands out */
.banner-row .banner.banner-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(var(--scc-set-bg, var(--scc-banner-bg)));
    opacity: .55;
    pointer-events: none;
}

/* A banner with no image, no video and no "Add Colour Overlay": filled with the background colour of its Colour Set
   (or the banner background) at full opacity */
.banner-row .banner.banner-solid {
    background-color: rgb(var(--scc-set-bg, var(--scc-banner-bg)));
}

.banner-row .banner.banner-align-center .banner-caption { justify-content: center; text-align: center; }
.banner-row .banner.banner-align-right .banner-caption { justify-content: flex-end; text-align: right; }

.banner-row .banner.banner-position-top { align-items: flex-start; }
.banner-row .banner.banner-position-center { align-items: center; }
.banner-row .banner.banner-position-bottom { align-items: flex-end; }

/* Default pods with a colour set: full width band at the bottom of the page */
.default-pods-band {
    padding: var(--scc-pc-spacing) 0;
}

.default-pods-band .pod-text-image .pod-image {
    margin-bottom: 0;
}

.default-pods-band .pod-text-image:hover .pod-image img {
    transform: none;
}

/* Windows row with a colour set */
.windows-row.scc-colour {
    padding: var(--scc-pc-spacing) 15px;
}

/* Anchor navigation */
.anchor-navigation-row {
    padding: 15px;
    font-family: var(--scc-heading-font);
    font-size: 16px;
    font-weight: 600;
}

@media (min-width: 992px) { .anchor-navigation-row { font-size: 18px; } }

.anchor-navigation-row.anchor-navigation-sticky {
    position: sticky;
    top: 0;
    z-index: 900;
}

.anchor-navigation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.anchor-links-basic .anchor-navigation-links a,
.anchor-links-underline .anchor-navigation-links a {
    text-decoration: none;
}

.anchor-links-underline .anchor-navigation-links a {
    padding-bottom: 2px;
    border-bottom: 2px solid currentColor;
}

.anchor-links-basic .anchor-navigation-links a:hover,
.anchor-links-basic .anchor-navigation-links a:focus {
    text-decoration: underline;
}

.anchor-links-buttons .anchor-navigation-links {
    gap: 10px;
}

.colour-sets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--scc-spacing);
    margin-top: var(--scc-spacing);
}

.colour-set-item {
    margin: 0;
}

.colour-set-item .inner {
    padding: 25px 20px;
    border: 1px solid rgb(var(--scc-set-heading));
    outline: 1px solid rgba(0, 0, 0, .15);
    border-radius: var(--scc-radius);
}

.colour-set-item .secondary-heading {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgb(var(--scc-set-heading));
}

.colour-set-item .heading {
    font-size: 26px;
    font-weight: 800;
    line-height: 120%;
    color: rgb(var(--scc-set-heading));
}

.colour-set-item .text {
    color: rgb(var(--scc-set-text));
}

.colour-set-item figcaption {
    margin-top: 10px;
    font-size: 14px;
}

.colour-set-item .colour-set-name {
    display: block;
    font-weight: 700;
    font-size: 16px;
}

.colour-set-values {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 10px;
    margin: 8px 0 0;
}

.colour-set-values dt {
    font-weight: 600;
}

.colour-set-values dd {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.colour-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 2px;
}

.colour-set-values input[type="color"] {
    flex: 0 0 auto;
    width: 32px;
    height: 24px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 2px;
    background: none;
    cursor: pointer;
}

.colour-set-values .colour-set-value {
    font-size: 13px;
}

.colour-sets-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 15px;
    margin-top: var(--scc-spacing);
}

.colour-sets-status {
    margin: 0;
}

/* "Add a colour set" / "Add a button colour set", with what it does beside it */
.colour-sets-add {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 15px;
    margin-top: var(--scc-spacing);
}

.colour-sets-add p {
    flex: 1 1 280px;
    margin: 0;
    font-size: 14px;
}

/* A set the page moves focus to (after adding it), scrolled clear of the sticky header */
.colour-set-item {
    scroll-margin-top: calc(var(--scc-header-height) + 20px);
}

.colour-set-item:focus-visible,
.colour-set-item:focus {
    outline: 3px solid rgb(var(--scc-highlight));
    outline-offset: 4px;
}

.colour-sets-subheading {
    margin-top: calc(var(--scc-spacing) * 2);
}

.button-set-item .inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-color: rgba(0, 0, 0, .15);
}

/* Shows a button colour set's hover colours without hovering */
.scc-btn.scc-btn-hover-preview {
    color: rgb(var(--scc-b-text-hover));
    background-color: rgb(var(--scc-b-bg-hover));
    border-color: rgb(var(--scc-b-border-hover));
}

/* Banner carousels: narrow previous / next controls at the edges (40px, 60px on large screens, as on
   derivesalford.co.uk) instead of Bootstrap's 15% wide ones, and the heading, text and buttons padded clear of them and
   of the slide indicators at the bottom */
.banner-row .carousel {
    --banner-control-width: 40px;
}
@media (min-width: 1200px) {
    .banner-row .carousel { --banner-control-width: 60px; }
}

.banner-row .carousel .carousel-control-prev,
.banner-row .carousel .carousel-control-next {
    width: var(--banner-control-width);
}

.banner-row .carousel .banner-caption {
    padding-left: calc(var(--banner-control-width) + 15px);
    padding-right: calc(var(--banner-control-width) + 15px);
    padding-bottom: max(var(--scc-pc-spacing), 60px);
}

/* Blocks with an "Anchor Name" (the id of the block container): when linked to, stop below the sticky header */
.block-item[id] {
    scroll-margin-top: var(--scc-header-height);
}

/* Accordion / tabs row with a "Button Colour Set": headings (and tabs) use the .scc-btn-setN colours, open and hovered
   ones the set's hover colours. The chevron takes the text colour (a mask instead of the white filter used above) */
.accordion-row.accordion-btn-set .accordion-button {
    color: rgb(var(--scc-b-text));
    background-color: rgb(var(--scc-b-bg));
    border-color: rgb(var(--scc-b-border));
}

.accordion-row.accordion-btn-set .accordion-button:not(.collapsed),
.accordion-row.accordion-btn-set .accordion-button:hover {
    color: rgb(var(--scc-b-text-hover));
    background-color: rgb(var(--scc-b-bg-hover));
    border-color: rgb(var(--scc-b-border-hover));
}

.accordion-row.accordion-btn-set .accordion-button::after,
.accordion-row.accordion-btn-set .accordion-button:not(.collapsed)::after,
.accordion-row.accordion-btn-set .accordion-button:hover::after {
    background-image: none;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") center / contain no-repeat;
    filter: none;
}

.accordion-row.accordion-btn-set .nav-tabs {
    gap: 5px;
    border-bottom-color: rgb(var(--scc-b-border));
}

.accordion-row.accordion-btn-set .nav-tabs .nav-link {
    color: rgb(var(--scc-b-text));
    background-color: rgb(var(--scc-b-bg));
    border: 1px solid rgb(var(--scc-b-border));
    border-radius: var(--scc-radius) var(--scc-radius) 0 0;
}

.accordion-row.accordion-btn-set .nav-tabs .nav-link:hover,
.accordion-row.accordion-btn-set .nav-tabs .nav-link.active {
    color: rgb(var(--scc-b-text-hover));
    background-color: rgb(var(--scc-b-bg-hover));
    border-color: rgb(var(--scc-b-border-hover));
}

/* Alert box row (the uSkinned Alert Box component): a Bootstrap alert; with a colour set, the set's colours replace
   the alert style's, and the close button takes the text colour */
.alert-box {
    margin: 0;
    border-radius: var(--scc-radius);
}

.alert-box .richtext > :first-child { margin-top: 0; }
.alert-box .richtext > :last-child { margin-bottom: 0; }

.alert-box.scc-colour {
    color: rgb(var(--scc-set-text));
    background-color: rgb(var(--scc-set-bg));
    border-color: rgba(var(--scc-set-text), .25);
}

.alert-box.scc-colour .btn-close {
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
    opacity: .75;
}

.alert-box.scc-colour .btn-close:hover,
.alert-box.scc-colour .btn-close:focus {
    opacity: 1;
}

/* Call to action row (the uSkinned Call to Action / CTA strip component): stacked on small screens; on large screens
   the text takes 70% (75% from 1200px) beside full width buttons (Left / Right alignment), or everything is stacked and
   centred (Center) */
.cta-row-inner {
    display: flex;
    flex-direction: column;
    gap: var(--scc-spacing);
}

.cta-row .cta-info > :last-child,
.cta-row .cta-info .richtext > :last-child {
    margin-bottom: 0;
}

.cta-row .secondary-heading {
    margin-bottom: .5em;
    font-weight: 500;
}

.cta-row .cta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.cta-row .cta-align-center {
    align-items: center;
    text-align: center;
}

.cta-row .cta-align-center .cta-info {
    max-width: 83.333%;
}

.cta-row .cta-align-center .cta-links {
    justify-content: center;
}

@media (min-width: 992px) {
    .cta-row .cta-align-left,
    .cta-row .cta-align-right {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cta-row .cta-align-left .cta-info,
    .cta-row .cta-align-right .cta-info {
        flex: 0 0 70%;
        max-width: 70%;
    }

    .cta-row .cta-align-left .cta-links,
    .cta-row .cta-align-right .cta-links {
        flex: 0 0 calc(30% - var(--scc-spacing));
        flex-direction: column;
    }

    .cta-row .cta-align-left .cta-links .btn,
    .cta-row .cta-align-right .cta-links .btn {
        display: block;
        width: 100%;
    }

    .cta-row .cta-align-right {
        flex-direction: row-reverse;
        text-align: right;
    }
}

@media (min-width: 1200px) {
    .cta-row .cta-align-left .cta-info,
    .cta-row .cta-align-right .cta-info {
        flex-basis: 75%;
        max-width: 75%;
    }

    .cta-row .cta-align-left .cta-links,
    .cta-row .cta-align-right .cta-links {
        flex-basis: calc(25% - var(--scc-spacing));
    }
}

/* Call to action row with a colour set: padded band */
.cta-row.scc-colour {
    padding: var(--scc-pc-spacing) var(--scc-spacing);
}

.cta-row.scc-colour .secondary-heading {
    color: rgb(var(--scc-set-heading));
}

/* Data list row (the uSkinned Data List component): label on the left, value on the right in bold, optional text
   below; with 1 item per row the items are separated by lines; "Add Container Style" boxes the list */
.data-list-title {
    margin-bottom: calc(var(--scc-spacing) / 2);
}

.data-list-title .secondary-heading {
    margin-bottom: .5em;
    font-weight: 500;
}

.data-list-title .data-list-heading {
    margin: 0;
}

.data-list-item {
    position: relative;
    margin: 8px 0;
}

.data-list-items-1 .data-list-item:not(:last-child)::before {
    content: "";
    position: absolute;
    right: calc(var(--bs-gutter-x, 1.5rem) / 2);
    bottom: -8px;
    left: calc(var(--bs-gutter-x, 1.5rem) / 2);
    height: 1px;
    background-color: rgb(var(--scc-borders));
}

.data-list-item-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0 15px;
    margin: 0;
}

.data-list-text-right {
    margin-left: auto;
    font-weight: 700;
}

.data-list-item-text {
    margin-top: 4px;
}

.data-list-item-text > :last-child {
    margin-bottom: 0;
}

.data-list-boxed {
    padding: calc(var(--scc-spacing) / 2);
    border: 1px solid rgb(var(--scc-borders));
}

/* Data list row with a colour set: padded band, lines and box border in the set's text colour */
.data-list-row.scc-colour {
    padding: var(--scc-pc-spacing) var(--scc-spacing);
}

.data-list-row.scc-colour .data-list-items-1 .data-list-item:not(:last-child)::before {
    background-color: rgba(var(--scc-set-text), .35);
}

.data-list-row.scc-colour .data-list-boxed {
    border-color: rgba(var(--scc-set-text), .35);
}

.data-list-row.scc-colour .secondary-heading {
    color: rgb(var(--scc-set-heading));
}

/* Banner Style (uSkinned banner style): heights as investsalford.com, less the header. A takeover video banner
   shows the whole 16:9 video instead of filling the screen */
.banner-row .banner.banner-style-takeover {
    min-height: calc(100vh - var(--scc-header-height));
}

.banner-row .banner.banner-style-medium {
    min-height: calc(65vh - var(--scc-header-height));
}

.banner-row .banner.banner-style-short {
    min-height: calc(50vh - var(--scc-header-height));
}

.banner-row .banner.banner-has-video.banner-style-takeover {
    min-height: 0;
    aspect-ratio: 16 / 9;
}

/* Embed code row (the uSkinned Embed Code component): run code (embeds) fit the column; displayed code scrolls */
.embed-code-intro {
    margin-bottom: calc(var(--scc-spacing) / 2);
}

.embed-code-intro .secondary-heading {
    margin-bottom: .5em;
    font-weight: 500;
}

.embed-code-intro > :last-child,
.embed-code-intro .richtext > :last-child,
.embed-code-outro .richtext > :last-child {
    margin-bottom: 0;
}

.embed-code-run iframe,
.embed-code-run video,
.embed-code-run img {
    max-width: 100%;
}

.embed-code-display {
    margin: 0;
    padding: 15px;
    overflow-x: auto;
    font-size: 14px;
    white-space: pre;
    background: rgba(0, 0, 0, .05);
    border: 1px solid rgba(0, 0, 0, .15);
}

.embed-code-outro {
    margin-top: calc(var(--scc-spacing) / 2);
}

/* Embed code row with a colour set: padded band */
.embed-code-row.scc-colour {
    padding: var(--scc-pc-spacing) var(--scc-spacing);
}

.embed-code-row.scc-colour .secondary-heading {
    color: rgb(var(--scc-set-heading));
}

.embed-code-row.scc-colour .embed-code-display {
    color: inherit;
    background: rgba(var(--scc-set-text), .08);
    border-color: rgba(var(--scc-set-text), .3);
}

/* Grid layout row with a colour set: padded band */
.grid-layout-row.scc-colour {
    padding: var(--scc-pc-spacing) var(--scc-spacing);
}

.grid-layout-row .grid-layout-heading {
    margin-bottom: calc(var(--scc-spacing) / 2);
}

/* Links row with a colour set: padded band */
.links-row.scc-colour {
    padding: var(--scc-pc-spacing) var(--scc-spacing);
}

/* "magentaline" custom class: a magenta line along the bottom of the row (investsalford.com). Full width content
   rows are already padded; elsewhere (a row in the sidebar column, or a block in a block list) a row has space above the line,
   unless its colour set goes down to the line */
.block-item.magentaline {
    border-bottom: 10px solid #d8117e;
}
.block-item.magentaline:is(.content-row-column, :not(.content-row)) {
    padding-bottom: var(--scc-pc-spacing);
}
.block-item.magentaline:is(.content-row-column, :not(.content-row)):has(> .scc-colour) {
    padding-bottom: 0;
}

/* Headings in a colour set (including paragraph headings, e.g. ".heading" in pod text) take the set's heading colour */
.scc-colour :is(p, span).heading,
.scc-colour .secondary-heading {
    color: rgb(var(--scc-set-heading));
}

/* Text and image pods with a colour set: the text is padded inside the colour */
.pod-text-image.scc-colour .pod-info {
    padding: var(--scc-spacing);
}

/* Call to action row with its buttons below the text */
.cta-row .cta-buttons-below {
    flex-direction: column;
    align-items: stretch;
}
@media (min-width: 992px) {
    .cta-row .cta-buttons-below .cta-info {
        flex: 0 0 auto;
        max-width: none;
    }
    .cta-row .cta-buttons-below .cta-links {
        flex: 0 0 auto;
        flex-direction: row;
    }
    .cta-row .cta-buttons-below .cta-links .btn {
        display: inline-block;
        width: auto;
    }
}

/* Subpage listing row: the space below the title or intro text, as below the other rows' intros */
.subpage-listing-row > :is(h2, .richtext):nth-last-child(2) {
    margin-bottom: var(--scc-pc-spacing);
}
.subpage-listing-row > .richtext > :last-child {
    margin-bottom: 0;
}

/* Ionicons 4.5.4 (MIT, Ionic - assets/fonts/ionicons/LICENSE), self-hosted: the breadcrumb triangles */
@font-face {
    font-family: "Ionicons";
    src: url("../fonts/ionicons/ionicons.woff2") format("woff2"),
         url("../fonts/ionicons/ionicons.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Gallery images fill their block, with rounded corners (as investsalford.com) */
.gallery-row figure {
    margin: 0;
}

.gallery-row figure img,
.gallery-row .gallery-item {
    border-radius: var(--scc-radius);
}

/* "Content with sidebar" page layout (as investsalford.com): the page title, then the rows in a column beside a
   sidebar with the section's sub navigation and pods */
.page-title-row {
    padding-top: var(--scc-pc-spacing);
}

.page-title-row .page-title-heading {
    margin-bottom: 0.25em;
}

.page-title-row .secondary-heading.lg {
    margin-bottom: 0;
    font-size: 16px;
}
@media (min-width: 992px) { .page-title-row .secondary-heading.lg { font-size: 18px; } }

.page-with-sidebar {
    padding-bottom: var(--scc-pc-spacing);
}

/* Rows in the content column: padded above (banners too); a row with a colour set is also padded below and at the
   sides */
.content-row.content-row-column {
    padding: var(--scc-pc-spacing) 0 0;
}

.content-row.content-row-column.scc-colour {
    margin-top: var(--scc-pc-spacing);
    padding: var(--scc-spacing);
}

.content-row.content-row-column.scc-colour > .scc-colour {
    padding: 0;
    background: none;
}

/* A row's "Remove Top Padding" and "Remove Bottom Padding" settings: no padding above or below the row's section, in
   the full width rows and in the content column */
.content-row.content-row-no-top-padding,
.content-row.content-row-column.scc-colour.content-row-no-top-padding {
    padding-top: 0;
}

.content-row.content-row-no-bottom-padding,
.content-row.content-row-column.scc-colour.content-row-no-bottom-padding {
    padding-bottom: 0;
}

.right-col {
    padding-top: var(--scc-pc-spacing);
}

.right-col .sidebar-pod + .sidebar-pod,
.right-col .sub-navigation + .sidebar-pod {
    margin-top: var(--scc-spacing);
}

/* Each pod in the sidebar has a line above it, like the one above the sub navigation */
.right-col .sidebar-pod {
    padding-top: var(--scc-spacing);
    border-top: 2px solid rgb(var(--scc-borders));
}

/* "In this section" on small screens: a bordered box whose summary is a full width button (bold text, with a plus on
   the right that turns into a cross when open) and whose sub navigation opens below a line inside the box */
.in-this-section {
    margin-bottom: var(--scc-spacing);
    border: 2px solid rgb(var(--scc-borders));
}

.in-this-section > summary {
    position: relative;
    display: block;
    padding: 15px 45px 15px 15px;
    list-style: none;
    font-family: var(--scc-heading-font);
    font-size: 16px;
    font-weight: 800;
    line-height: 24px;
    color: rgb(var(--scc-heading));
    cursor: pointer;
}

.in-this-section > summary::-webkit-details-marker {
    display: none;
}

/* Ionicons "md-add", hidden from screen readers (the details element announces whether it is open) */
.in-this-section > summary::after {
    content: "\f273";
    content: "\f273" / "";
    position: absolute;
    top: 50%;
    right: 15px;
    font-family: "Ionicons";
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform .2s ease-in-out;
}

.in-this-section[open] > summary {
    border-bottom: 2px solid rgb(var(--scc-borders));
}

.in-this-section[open] > summary::after {
    transform: translateY(-50%) rotate(45deg);
}

/* The focus outline is drawn inside the box, so the box's border doesn't hide it */
.in-this-section > summary:focus-visible {
    outline: 2px solid rgb(var(--scc-highlight));
    outline-offset: -6px;
}

.in-this-section .sub-navigation {
    margin: 0;
    padding: 15px;
    border-top: 0;
}

@media (prefers-reduced-motion: reduce) {
    .in-this-section > summary::after {
        transition: none;
    }
}

/* Search results page (as investsalford.com): the title in a colour set 7 (pink) strip, the result count, the search form,
   the results as a list of links (heading, description and address) and numbered page links */
.search-title-row .cta-heading {
    margin-bottom: 0;
}

.search-page .content-col {
    padding-top: var(--scc-pc-spacing);
}

/* The search term, picked out in the link colour (white on the highlight colour is below 4.5:1) */
.search-feedback .search-term {
    display: inline-block;
    padding: 0 3px;
    font-weight: 700;
    color: #fff;
    background-color: rgb(var(--scc-link));
    border-radius: calc(var(--scc-radius) / 2);
}

/* The search box, rounded on the right, with the search button inside its right-hand end */
.search-page-form {
    position: relative;
    margin: calc(var(--scc-spacing) / 2) 0;
}

.search-page-form .form-control {
    width: 100%;
    height: 50px;
    min-height: 50px;
    padding-right: 60px;
    border: 2px solid rgb(var(--scc-borders));
    border-radius: var(--scc-radius) var(--scc-btn-radius) var(--scc-btn-radius) var(--scc-radius);
}

.search-page-form .btn-search {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    font-size: 20px;
    border-radius: var(--scc-btn-radius);
}

.search-results {
    margin: calc(var(--scc-spacing) / 2) 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 992px) { .search-results { margin: var(--scc-spacing) 0; } }

.search-result + .search-result {
    margin-top: var(--scc-spacing);
}

.search-result > a {
    display: block;
    color: rgb(var(--scc-text));
    text-decoration: none;
}

.search-result-heading {
    margin-bottom: 10px;
    font-family: var(--scc-heading-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: 0;
    color: rgb(var(--scc-heading));
}
@media (min-width: 992px) { .search-result-heading { font-size: 24px; } }

.search-result-text {
    margin-top: 10px;
    margin-bottom: 10px;
}

.search-result-url {
    margin-top: 10px;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.search-result-url span {
    color: rgb(var(--scc-link));
}

.search-result > a:hover .search-result-heading,
.search-result > a:focus .search-result-heading,
.search-result > a:hover .search-result-url span,
.search-result > a:focus .search-result-url span {
    color: rgb(var(--scc-link-hover));
    text-decoration: underline;
}

/* Page links: bordered boxes with the current page filled in; Previous and Next at the two ends */
.search-pagination {
    padding: var(--scc-spacing) 0;
}

.search-pagination .pagination {
    position: relative;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
}

.search-pagination .page-item.prev,
.search-pagination .page-item.next {
    font-size: 18px;
}

/* On small screens Previous and Next stay beside the page numbers (wrapping if needed), so nothing overlaps */
@media (min-width: 576px) {
    .search-pagination .page-item.prev,
    .search-pagination .page-item.next {
        position: absolute;
        top: 0;
    }

    .search-pagination .page-item.prev { left: 0; }
    .search-pagination .page-item.next { right: 0; }
}

.search-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    color: rgb(var(--scc-link));
    background-color: #fff;
    border: 2px solid rgb(var(--scc-borders));
    border-radius: var(--scc-radius) !important;
}
@media (min-width: 576px) {
    .search-pagination .page-link {
        min-width: 50px;
        height: 50px;
        padding: 0 16px;
    }
}

.search-pagination .page-item:not(.active) .page-link:hover,
.search-pagination .page-item:not(.active) .page-link:focus {
    color: rgb(var(--scc-link-hover));
    background-color: #f3f2f5;
    box-shadow: var(--scc-box-shadow);
}

/* The current page, in the link colour (white on the highlight colour is below 4.5:1) */
.search-pagination .page-item.active .page-link {
    color: #fff;
    background-color: rgb(var(--scc-link));
    border-color: rgb(var(--scc-link));
}

.search-pagination .page-link:focus-visible {
    outline: 2px solid rgb(var(--scc-highlight));
    outline-offset: 2px;
}

/* Previous and Next: Ionicons triangles */
.search-pagination .page-item.prev .icon::before,
.search-pagination .page-item.next .icon::before {
    font-family: "Ionicons";
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.search-pagination .page-item.prev .icon::before { content: "\f282"; }
.search-pagination .page-item.next .icon::before { content: "\f284"; }

/* Rounded corners on images, pods, windows and video thumbnails in the page content. Banners fill the width of the
   page and stay square, as do the header and footer logos (outside <main>). :where() keeps the image rule at the
   lowest specificity, so circular crops and other image rules still apply. The pods and windows are rounded without
   overflow: hidden, so the focus outline of the link inside them is not cut off. */
:where(main) img {
    border-radius: var(--scc-radius);
}

.banner-row img {
    border-radius: 0;
}

.pod-text-image .pod-image,
.gallery-video,
.windows-row .window {
    border-radius: var(--scc-radius);
}

/* A text and image pod with a colour set: the coloured box is rounded, and its image only at the top */
.pod-text-image.scc-colour {
    border-radius: var(--scc-radius);
}

.pod-text-image.scc-colour .pod-image,
.pod-text-image.scc-colour .pod-image img {
    border-radius: var(--scc-radius) var(--scc-radius) 0 0;
}

/* Blog: the landing, category and post pages - a title, then the listing or post beside the category navigation */
.blog-rows {
    padding-top: var(--scc-pc-spacing);
}

.blog-page {
    padding-top: var(--scc-pc-spacing);
    padding-bottom: var(--scc-pc-spacing);
}

.blog-page > h1 {
    margin-bottom: var(--scc-spacing);
}

.blog-listing {
    padding: 0;
    list-style: none;
}

/* A post's link holds its image and heading: the heading is underlined like other content links and hovering or
   focusing the link removes the underline and zooms the image */
.blog-listing-item > a {
    display: block;
    color: rgb(var(--scc-heading));
    text-decoration: none;
}

.blog-listing-item > a:hover,
.blog-listing-item > a:focus {
    color: rgb(var(--scc-heading));
}

.blog-listing-image {
    overflow: hidden;
}

.blog-listing-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .4s ease-in-out;
}

.blog-listing-item > a:hover .blog-listing-image img,
.blog-listing-item > a:focus-visible .blog-listing-image img {
    transform: scale(1.05);
}

.blog-listing-heading {
    margin: 15px 0 10px;
    font-size: 22px;
    line-height: 120%;
    text-decoration: underline;
}

.blog-listing-item > a:hover .blog-listing-heading,
.blog-listing-item > a:focus .blog-listing-heading {
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .blog-listing-image img {
        transition: none;
    }
}

.blog-post-details {
    font-size: 14px;
}

/* "magentaline" custom class: a magenta line along the bottom of the row (investsalford.com). Full width content
   rows are already padded; elsewhere (a row in the sidebar column, or a block in a block list) a row has space above the line,
   unless its colour set goes down to the line */
.block-item.magentaline {
    border-bottom: 10px solid #d8117e;
}
.block-item.magentaline:is(.content-row-column, :not(.content-row)) {
    padding-bottom: var(--scc-pc-spacing);
}
.block-item.magentaline:is(.content-row-column, :not(.content-row)):has(> .scc-colour) {
    padding-bottom: 0;
}

.blog-post-date {
    margin: 0 0 5px;
}

.blog-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-post-categories li:not(:last-child)::after {
    content: ",";
}

/* Blog pages: the page numbers centred, with Previous at the left and Next at the right, as square buttons; the
   current page is filled */
.blog-pagination ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: calc(var(--scc-spacing) * 1.5) 0 0;
    padding: 0 55px;
    list-style: none;
}

.blog-pagination .blog-pagination-previous,
.blog-pagination .blog-pagination-next {
    position: absolute;
    top: 0;
}

.blog-pagination .blog-pagination-previous { left: 0; }
.blog-pagination .blog-pagination-next { right: 0; }

.blog-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    padding: 0 10px;
    color: rgb(var(--scc-link));
    border: var(--scc-border-width, 1px) solid rgb(var(--scc-borders));
}

.blog-pagination a[aria-current="page"] {
    color: #fff;
    background-color: rgb(var(--scc-borders));
    text-decoration: none;
}

.blog-sidebar {
    margin-top: var(--scc-spacing);
}

@media (min-width: 992px) {
    .blog-sidebar { margin-top: 0; }
}

.blog-categories {
    padding-top: 15px;
    border-top: var(--scc-border-width, 1px) solid rgb(var(--scc-borders));
}

.blog-categories ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-categories li {
    padding: 3px 0;
}

.blog-categories a {
    text-decoration: underline;
}

.blog-categories .blog-categories-all a {
    font-weight: 700;
    color: rgb(var(--scc-heading));
}

.blog-categories a[aria-current="page"] {
    font-weight: 700;
}

.blog-post-footer {
    margin-top: var(--scc-spacing);
    padding-top: 15px;
    border-top: var(--scc-border-width, 1px) solid rgb(var(--scc-borders));
}

.blog-post-footer .blog-post-details {
    font-size: 16px;
}

.blog-post-author {
    display: flex;
    gap: 15px;
    margin-top: var(--scc-spacing);
}

.blog-post-author .secondary-heading {
    margin: 0;
}

.blog-post-author-name {
    margin: 5px 0;
    font-weight: 700;
}

/* ---- Citywide layer: Citywide Services' look on top of the rules above ---------------------------------------- */

/* Footer background image: the old site's footer image, covering the footer behind its content */
#site-footer .footer-background-image {
    background-image: url('/assets/images/citywide/footer-background-image.jpg');
    background-size: cover;
    background-position: center center;
}

/* Contact form as a pod (sccPod): the heading, intro and fields in one box in the Form Colour Set, the height of the
   other pods in the row */
.contact-form-pod .contact-form {
    height: 100%;
    margin-bottom: 0;
}

.contact-form-pod .contact-form-inner {
    height: 100%;
}

.contact-form-pod .contact-form-intro {
    margin-bottom: 15px;
}

.contact-form-pod .contact-form-intro > :last-child {
    margin-bottom: 0;
}

/* Footer award logo: the width of its column */
#site-footer .footer-award img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Paragraph headings: 22px (800); small 16px (700); large 35px, 40px from 576px, 45px from 768px, 50px from 992px,
   60px from 1200px */
:is(p, span).heading { font-size: 22px; font-weight: 800; line-height: 120%; }
@media (min-width: 992px) { :is(p, span).heading { font-size: 22px; } }
:is(p, span).heading.sm { font-size: 16px; font-weight: 700; }
@media (min-width: 992px) { :is(p, span).heading.sm { font-size: 16px; } }
:is(p, span).heading.lg { font-size: 35px; }
@media (min-width: 576px) { :is(p, span).heading.lg { font-size: 40px; } }
@media (min-width: 768px) { :is(p, span).heading.lg { font-size: 45px; } }
@media (min-width: 992px) { :is(p, span).heading.lg { font-size: 50px; } }
@media (min-width: 1200px) { :is(p, span).heading.lg { font-size: 60px; } }

/* Secondary headings: 14px; small 12px; large 18px; regular, with 1.5px letter spacing */
.secondary-heading { font-size: 14px; font-weight: 400; line-height: 120%; letter-spacing: 1.5px; }
.secondary-heading.sm { font-size: 12px; letter-spacing: 1.5px; }
.secondary-heading.lg { font-size: 18px; }
@media (min-width: 576px) {
    .secondary-heading.lg { font-size: 18px; }
}
@media (min-width: 768px) {
    .secondary-heading { font-size: 14px; }
    .secondary-heading.sm { font-size: 12px; }
}
@media (min-width: 992px) {
    .secondary-heading.lg { font-size: 18px; }
}
@media (min-width: 1200px) {
    .secondary-heading.lg { font-size: 18px; }
}

/* Intro text: 22px; small 20px; large 26px (130%, -0.15px) at every width */
.intro, .richtext .intro { font-size: 22px; letter-spacing: 0; }
.intro.sm, .richtext .intro.sm { font-size: 20px; }
.intro.lg, .richtext .intro.lg { font-size: 26px; line-height: 130%; letter-spacing: -0.15px; }
@media (min-width: 768px) {
    .intro, .richtext .intro { font-size: 22px; }
    .intro.sm, .richtext .intro.sm { font-size: 20px; }
    .intro.lg, .richtext .intro.lg { font-size: 26px; }
}
@media (min-width: 992px) {
    .intro, .richtext .intro { font-size: 22px; }
    .intro.sm, .richtext .intro.sm { font-size: 20px; }
    .intro.lg, .richtext .intro.lg { font-size: 26px; }
}
@media (min-width: 1200px) {
    .intro, .richtext .intro { font-size: 22px; }
    .intro.lg, .richtext .intro.lg { font-size: 26px; }
}

/* Quotes: 22px extra bold italic; small 18px; large 26px */
.quote { font-size: 22px; font-weight: 800; letter-spacing: -0.25px; }
@media (min-width: 992px) { .quote { font-size: 22px; } }
.quote.sm { font-size: 18px; }
@media (min-width: 992px) { .quote.sm { font-size: 18px; } }
.quote.lg { font-size: 26px; }
@media (min-width: 768px) { .quote.lg { font-size: 26px; } }
@media (min-width: 992px) { .quote.lg { font-size: 26px; } }

/* Banner headings: extra bold, 35px, 40px from 576px, 45px from 768px, 50px from 992px, 60px from 1200px */
.banner-row .banner-caption h2,
.banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) { font-size: 35px; font-weight: 800; line-height: 120%; }
@media (min-width: 576px) { .banner-row .banner-caption h2, .banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) { font-size: 40px; } }
@media (min-width: 768px) { .banner-row .banner-caption h2, .banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) { font-size: 45px; } }
@media (min-width: 992px) { .banner-row .banner-caption h2, .banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) { font-size: 50px; } }
@media (min-width: 1200px) { .banner-row .banner-caption h2, .banner-row .banner-caption .banner-heading:is(h1, h2, h3, h4, h5, h6) { font-size: 60px; } }

/* Accordion headings and anchor navigation links: 16px at every width */
@media (min-width: 992px) {
    .accordion-row .accordion-button { font-size: 16px; }
    .anchor-navigation-row { font-size: 16px; }
}

/* Pod, window and subpage listing headings, as the old site's paragraph headings: 22px extra bold; small 16px (700);
   large 35px, 40px from 576px, 45px from 768px, 50px from 992px, 60px from 1200px. Pod quotes 22px */
.pod-heading,
.windows-row .window-heading,
.subpage-listing-item .card-title { font-size: 22px; font-weight: 800; line-height: 120%; }
@media (min-width: 992px) {
    .pod-heading,
    .windows-row .window-heading,
    .subpage-listing-item .card-title { font-size: 22px; }
    .pod-quote .quote { font-size: 22px; }
}
.pod-heading.pod-heading-sm,
.windows-row .window-heading.window-heading-sm { font-size: 16px; font-weight: 700; }
.pod-heading.pod-heading-lg,
.windows-row .window-heading.window-heading-lg { font-size: 35px; }
@media (min-width: 576px) { .pod-heading.pod-heading-lg, .windows-row .window-heading.window-heading-lg { font-size: 40px; } }
@media (min-width: 768px) { .pod-heading.pod-heading-lg, .windows-row .window-heading.window-heading-lg { font-size: 45px; } }
@media (min-width: 992px) { .pod-heading.pod-heading-lg, .windows-row .window-heading.window-heading-lg { font-size: 50px; } }
@media (min-width: 1200px) { .pod-heading.pod-heading-lg, .windows-row .window-heading.window-heading-lg { font-size: 60px; } }
.pod-quote .quote { font-size: 22px; }
