@import url("https://kit.fontawesome.com/182ef7992a.css");

/**
 * Framework base CSS
 * - Bootstrap (custom) loads BEFORE this
 * - site.css loads AFTER this
 * Prefer adjusting Bootstrap variables first (assets/scss/bootstrap-custom-variables.scss)
 * Use site.css for site-specific overrides
 */

/* ==========================================================================
   Base / Global
   ========================================================================== */

html {
    height: 100%;
}

section[id],
div[id] {
    scroll-margin-top: var(--cm-header-height);
}

/* Visibility helpers */
.visibility-managers-only,
.visibility-noone {
    display: none;
}

.visibility-managers-only {
    border: 5px solid rgba(255, 0, 0, 0.25);
    position: relative;
}

.visibility-managers-only::before {
    content: "Only visible for administrators";
    display: inline-block;
    padding: 5px;
    font-size: 13px;
    background-color: rgba(255, 0, 0, 0.25);
    position: absolute;
    top: 0;
    right: 0;
}

/* Media defaults */
img,
video,
picture,
iframe {
    max-width: 100%;
    height: auto;
}

video {
    display: block;
}

select {
    cursor: pointer;
}

/* RTE: Make sure last child has no bottom margin */
.rte-wrapper>*:last-child {
    margin-bottom: 0;
}

/* Hide Recaptcha badge */
.grecaptcha-badge {
    visibility: hidden;
}

/* Motion */
.animated,
img,
svg,
a,
i {
    transition: var(--cm-default-transition);
}

/* ==========================================================================
   Utilities / Helpers
   ========================================================================== */

/* Collapse readmore helper */
.cb-field-collapse-readmore .collapse-toggle.collapsed .open,
.cb-field-collapse-readmore .collapse-toggle:not(.collapsed) .collapsed {
    display: none;
}

/* Min-height helpers (viewport) */
.min-vh-100 {
    min-height: 100vh !important;
}

.min-vh-75 {
    min-height: 75vh !important;
}

.min-vh-50 {
    min-height: 50vh !important;
}

.min-vh-25 {
    min-height: 25vh !important;
}

.min-h-100 {
    min-height: 100% !important;
}

/* Header: use svh to avoid mobile URL-bar vh jumping */
.cb-layout-header .min-vh-100 {
    min-height: 100svh !important;
}

.cb-layout-header .min-vh-75 {
    min-height: 75svh !important;
}

.cb-layout-header .min-vh-50 {
    min-height: 50svh !important;
}

.cb-layout-header .min-vh-25 {
    min-height: 25svh !important;
}

.cb-layout-header .vh-100 {
    height: 100svh !important;
}

.cb-layout-header .vh-75 {
    height: 75svh !important;
}

.cb-layout-header .vh-50 {
    height: 50svh !important;
}

.cb-layout-header .vh-25 {
    height: 25svh !important;
}

/* Minimum/maximum height helpers */
.min-height-100 {
    min-height: 100vh;
}

.max-height-100 {
    max-height: 100vh;
}

/* Content width helpers */
.narrow,
.maxtextwidth .cb-field-richtext {
    max-width: var(--cm-narrow);
}

.maxtextwidth .cb-field-richtext {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wide {
    max-width: 100%;
}

/* Negative margin helpers */
[class*="neg-m"] {
    position: relative;
    z-index: 1;
}

.neg-mt-1 {
    margin-top: calc(-1 * var(--cm-spacer-1));
}

.neg-mt-2 {
    margin-top: calc(-1 * var(--cm-spacer-2));
}

.neg-mt-3 {
    margin-top: calc(-1 * var(--cm-spacer-3));
}

.neg-mt-4 {
    margin-top: calc(-1 * var(--cm-spacer-4));
}

.neg-mt-5 {
    margin-top: calc(-1 * var(--cm-spacer-5));
}

.neg-mt-6 {
    margin-top: calc(-1 * var(--cm-spacer-6));
}

.neg-mt-7 {
    margin-top: calc(-1 * var(--cm-spacer-7));
}

.neg-ms-1 {
    margin-left: calc(-1 * var(--cm-spacer-1));
}

.neg-ms-2 {
    margin-left: calc(-1 * var(--cm-spacer-2));
}

.neg-ms-3 {
    margin-left: calc(-1 * var(--cm-spacer-3));
}

.neg-ms-4 {
    margin-left: calc(-1 * var(--cm-spacer-4));
}

.neg-ms-5 {
    margin-left: calc(-1 * var(--cm-spacer-5));
}

.neg-ms-6 {
    margin-left: calc(-1 * var(--cm-spacer-6));
}

.neg-ms-7 {
    margin-left: calc(-1 * var(--cm-spacer-7));
}

/* “Full width hero shouldn’t be rounded” */
.layout-container.w-100 .cb-field-inner-layout.w-100 .cb-layout-1-column-12 .cb-field-image-picture,
.layout-container.w-100 .cb-field-inner-layout.w-100 .cb-layout-1-column-12 .cb-field-video-figure,
.layout-container.w-100 .cb-field-inner-layout.w-100 .cb-layout-1-column-12 .cb-field-gallery picture,
.layout-container.w-100 .cb-field-inner-layout.w-100 .cb-layout-1-column-12 .gallery-slides-item-figure picture {
    border-radius: 0;
}

/* Text background helpers */
[class*="text-bg"] {
    --cm-heading-color: var(--bs-secondary);
}

[class*="text-bg"] a:not(.btn) {
    color: rgba(var(--cm-content-color-rgb), 1);
}

[class*="text-bg"] a:not(.btn):hover {
    color: rgba(var(--cm-content-color-rgb), 0.8);
    text-decoration: none;
}

/* ==========================================================================
   Lists / Inline utilities
   ========================================================================== */

ul.inline-list {
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* ==========================================================================
   Media helpers: full-media, hover-zoom, fitVids
   ========================================================================== */

.full-media {
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    display: block;
}

.full-media img,
.full-media video,
.full-media .video-js {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hover-zoom {
    width: 100%;
    display: block;
    overflow: hidden;
}

.hover-zoom img {
    width: 100%;
    height: 100%;
}

a:hover .hover-zoom img {
    transform: scale(1.1);
}

/* FitVids wrapper */
.fitVids-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.fitVids-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   video.js
   ========================================================================== */

.video-js {
    background-color: transparent;
    overflow: hidden;
}

.bg-wrapper .video-js {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bg-wrapper .video-js.vjs-has-started {
    opacity: 1;
}

.bg-wrapper .vjs-loading-spinner {
    display: none;
}

.vjs-poster img {
    object-fit: cover;
}

.video-js .vjs-big-play-button {
    background-color: var(--cm-play-button-color);
    border: none;
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
    font-size: 4rem;
    line-height: 6rem;
    margin: 0;
    transform: translate(-50%, -50%);
}

/* ==========================================================================
   ContentBlocks media figures
   ========================================================================== */

.cb-field-image-figure,
.cb-field-video-figure {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 0.5rem;
    margin-bottom: 0;
}

/* media-grow: fill container, never shrink */
.media-grow,
.media-grow>figure a,
.media-grow>figure picture,
.media-grow>figure picture img {
    display: flex;
    flex: 1 1 auto;
}

.media-grow>figure a,
.media-grow>figure picture {
    min-height: 0;
    height: 100%;
}

.media-grow>figure picture img {
    object-fit: cover;
}

.media-grow>figure {
    container-type: inline-size;
}

.media-grow>figure .video-js,
.media-grow>figure .video-js .vjs-tech,
.media-grow>figure .video-js .vjs-poster,
.media-grow>figure .video-js .vjs-tech-wrapper,
.media-cover>figure .video-js,
.media-cover>figure .video-js .vjs-tech,
.media-cover>figure .video-js .vjs-poster,
.media-cover>figure .video-js .vjs-tech-wrapper {
    width: 100%;
    height: 100%;
}

.media-grow>figure .video-js.vjs-fluid {
    padding-top: 0;
    width: 100%;
    height: 100% !important;
    min-height: calc(100cqw * 9 / 16);
}

.media-grow>figure .video-js .vjs-tech,
.media-cover>figure .video-js .vjs-tech {
    object-fit: cover;
}

/* media-cover: poster-style cover */
.media-cover {
    display: flex;
    flex: 1 1 auto;
}

.media-cover>figure a,
.media-cover>figure picture,
.media-cover>figure picture img {
    width: 100%;
    height: 100%;
    display: block;
}

.media-cover>figure a,
.media-cover>figure picture {
    flex: 1 1 0;
    min-height: 0;
}

.media-cover>figure picture img {
    object-fit: cover;
}

/* ==========================================================================
   Tables (base + mobile friendly)
   ========================================================================== */

table {
    border-collapse: collapse;
    width: 100% !important;
    height: auto !important;
    border: none;
    margin-bottom: 1.5rem;
}

table tr {
    border-top: 1px solid var(--bs-border-color);
    width: auto !important;
    height: auto !important;
}

table tr:first-child {
    border-top: none;
}

table tr:hover td {
    filter: brightness(0.97);
}

table td {
    background-color: #fff;
    padding: 0.5rem;
    width: auto !important;
    height: auto !important;
    vertical-align: top;
}

table td>*:last-child {
    margin-bottom: 0;
}

table thead tr {
    border-bottom: 1px solid var(--bs-primary);
    font-weight: 700;
}

table thead tr td {
    vertical-align: bottom;
}

table tfoot tr td {
    font-weight: 600;
    border-top: 1px solid var(--bs-primary);
    border-bottom: 1px solid var(--bs-primary);
}

table td.cell-highlighted {
    background-color: var(--bs-light);
}

/* Mobile-friendly table wrapper (added by JS) */
.table-mobile-friendly-container {
    overflow-x: auto;
    font-size: 0.75rem;
}

.table-mobile-friendly-container>.table-mobile-friendly {
    min-width: 498px;
}

.table-mobile-friendly-container>.table-mobile-friendly tr>td:nth-of-type(1) {
    position: sticky;
    left: 0;
    max-width: 25vw;
    border-right: 1px solid var(--bs-border-color);
    z-index: 1;
}

/* ==========================================================================
   Typography / RTE
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--cm-heading-font-family);
    font-weight: var(--cm-heading-font-weight);
    color: var(--cm-heading-color);
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: var(--cm-display-font-family);
    font-weight: var(--cm-display-font-weight);
    color: var(--cm-display-color);
}

blockquote {
    border-left: 0.25rem solid var(--bs-primary);
    padding-left: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.caption {
    font-style: italic;
}

.unbreakable {
    white-space: nowrap;
}

li::marker {
    color: var(--bs-primary);
}

.lead {
    font-weight: var(--cm-lead-font-weight);
}

/* ==========================================================================
   Buttons / RTE buttons
   ========================================================================== */

.btn-inherit {
    --bs-btn-color: rgba(var(--cm-invert-color-rgb), 1);
    --bs-btn-bg: rgba(var(--cm-content-color-rgb), 1);
    --bs-btn-border-color: rgba(var(--cm-content-color-rgb), 1);
    --bs-btn-hover-color: rgba(var(--cm-invert-color-rgb), 1);
    --bs-btn-hover-bg: rgba(var(--cm-content-color-rgb), 0.8);
    --bs-btn-hover-border-color: rgba(var(--cm-content-color-rgb), 0.8);
}

.btn-outline-inherit {
    --bs-btn-color: rgba(var(--cm-content-color-rgb), 1);
    --bs-btn-border-color: rgba(var(--cm-content-color-rgb), 1);
    --bs-btn-hover-color: rgba(var(--cm-content-color-rgb), 1);
    --bs-btn-hover-bg: rgba(var(--cm-content-color-rgb), 0.2);
    --bs-btn-hover-border-color: rgba(var(--cm-content-color-rgb), 0.2);
    --bs-btn-active-bg: rgba(var(--cm-content-color-rgb), 1);
    --bs-btn-active-border-color: rgba(var(--cm-content-color-rgb), 1);
    --bs-btn-active-color: rgba(var(--cm-invert-color-rgb), 1);
}

.control-active {
    border-color: rgba(var(--bs-btn-active-bg), .3);
    background-color: var(--bs-btn-active-bg);
    color: var(--bs-btn-active-color);
}
.control-disabled {
    border: none;
}

button.link {
    all: unset;
    display: inline;
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: underline;
    cursor: pointer;
}

/* TinyMCE */
#tinymce .btn-light,
#tinymce .btn-outline-light,
#tinymce .btn-outline-white {
    filter: brightness(80%);
}

#tinymce .btn i,
.rte-wrapper .btn i {
    padding-left: 0.25em;
}

#tinymce .btn,
.rte-wrapper .btn {
    margin-bottom: 0.5rem;
}

#tinymce .btn:not(:last-of-type),
.rte-wrapper .btn:not(:last-of-type) {
    margin-right: 0.5rem;
}

.mce-preview-object.mce-object-iframe {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9;
}

.mce-preview-object.mce-object-iframe>iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* ==========================================================================
   Header helpers (logo + dropdown colors)
   ========================================================================== */

/* Show correct logo */
body:not(.scrolled) #header.light-header:not(.navbar-collapse-open) .navbar-brand-img,
body.scrolled #header:not(.navbar-collapse-open) .navbar-brand-img-light,
#header:not(.light-header):not(.navbar-collapse-open) .navbar-brand-img-light,
#header.navbar-collapse-open .navbar-brand-img-light {
    display: none;
}

body:not(.scrolled) #header.light-header:not(.navbar-collapse-open) .navbar {
    --bs-emphasis-color-rgb: 255, 255, 255;
    --bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 1);
}

body:not(.scrolled) #header.light-header:not(.navbar-collapse-open) .dropdown-menu {
    --bs-dropdown-bg: var(--bs-dark);
}

/* Header compensation for sticky header */
.cb-layout-header.container>.header-compensation {
    margin-top: var(--cm-header-height) !important;
}

.cb-layout-header.w-100>.header-compensation {
    padding-top: var(--cm-header-height) !important;
}

/* ==========================================================================
   Height helpers (ContentBlocks)
   ========================================================================== */

.cb-height-sm {
    height: var(--cm-height-1);
}

.cb-height-md {
    height: var(--cm-height-2);
}

.cb-height-lg {
    height: var(--cm-height-3);
}

.cb-minheight-sm {
    min-height: var(--cm-height-1);
}

.cb-minheight-md {
    min-height: var(--cm-height-2);
}

.cb-minheight-lg {
    min-height: var(--cm-height-3);
}

.minheight-25 {
    min-height: 25vh;
}

.minheight-30 {
    min-height: 30vh;
}

.minheight-40 {
    min-height: 40vh;
}

.minheight-50 {
    min-height: 50vh;
}

.minheight-60 {
    min-height: 60vh;
}

.minheight-70 {
    min-height: 70vh;
}

.minheight-75 {
    min-height: 75vh;
}

.minheight-80 {
    min-height: 80vh;
}

.minheight-90 {
    min-height: 90vh;
}

.minheight-100 {
    min-height: 100vh;
}

/* ==========================================================================
   Swiper
   ========================================================================== */

.swiper {
    height: auto;
    z-index: auto;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    height: auto;
}

/* Pagination/buttons */
.swiper-pagination {
    position: static;
    text-align: left;
    margin-top: 1rem;
}

.swiper-button-disabled {
    opacity: 0.25;
}

/* Card layout */
.swiper-layout-cards {
    position: relative;
}

.swiper-layout-cards .swiper-buttons .btn-prev,
.swiper-layout-cards .swiper-buttons .btn-next {
    position: absolute;
    top: 40%;
    z-index: 1;
    display: none;
}

.swiper-layout-cards .swiper-buttons .btn-prev {
    left: 0;
}

.swiper-layout-cards .swiper-buttons .btn-next {
    right: 0;
}

.swiper-layout-cards .swiper-pagination {
    text-align: center;
}

.swiper-layout-cards .swiper-slide {
    overflow: visible;
}

.swiper-layout-cards .swiper-slide-active {
    padding: 0 1rem;
}

/* Carousel */
.swiper-carousel .swiper-slide {
    width: 60%;
    height: 100%;
}

/* Image and text card */
.image-and-text-card {
    container-type: inline-size;
    container-name: carditem;
}

.image-and-text-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.image-and-text-card-wrapper,
.image-and-text-card-wrapper a {
    text-decoration: none;
}

.image-and-text-card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    flex: 1 1 auto;
}

@container carditem (min-width: 1000px) {
    .image-and-text-card-wrapper {
        flex-direction: row;
        gap: 1.5rem;
    }

    .image-and-text-card-figure {
        flex: 0 0 50%;
        margin-bottom: 0;
    }

    .image-and-text-card-content {
        flex: 1 1 auto;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        padding: 1rem;
    }

    .image-and-text-card-content .rte-wrapper {
        flex: 0;
    }
}

.tutorial-swiper picture {
    border: 1px solid var(--bs-light);
}


/* ==========================================================================
   Lazysizes
   ========================================================================== */

/* Avoid “double fade” with AOS */
img.lazyload,
img.lazyloading {
    opacity: 0;
}

img.lazyloaded {
    opacity: 1;
}

/* ==========================================================================
   Alerts
   ========================================================================== */

.layout-wrapper.alert-dismissible {
    padding-left: 0;
    padding-right: 0;
}

.layout-wrapper.alert-dismissible .cb-field-inner-layout-wrapper {
    padding-right: 3rem !important;
}

.layout-wrapper.alert-dismissible .btn-close {
    padding-right: 0;
}

.layout-wrapper.alert .btn-close {
    top: 50%;
    transform: translate(-50%, -50%);
}

.layout-wrapper.alert a:not(.btn) {
    font-weight: 700;
    color: var(--bs-alert-link-color);
}

/* ==========================================================================
   Collapse + Accordion
   ========================================================================== */

.cb-field-collapse {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cb-field-collapse .collapse-toggle.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    min-width: 3rem;
    border-radius: var(--bs-border-radius-pill);
}

.cb-field-collapse .collapse-toggle.btn:has(span) {
    padding: 0 1.5rem;
}

.cb-field-collapse .collapse-toggle.btn span {
    margin-right: 0.25em;
}

.cb-field-collapse .collapse-toggle.collapsed .open {
    display: none;
}

.cb-field-collapse .collapse-toggle:not(.collapsed) .collapsed {
    display: none;
}

.cb-field-collapse .collapse-toggle i {
    --fa: "\f107";
    font-weight: 400;
}

.cb-field-collapse .collapse-toggle:not(.collapsed) i {
    --fa: "\f106";
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    border-radius: var(--bs-accordion-border-radius);
    overflow: hidden;
    box-shadow: var(--bs-box-shadow-sm);
}

.accordion-button {
    font-size: 1.125rem;
}

.accordion-button::after {
    content: "\e59e";
    font-family: "Font Awesome 7 Pro";
    font-weight: 300;
    width: auto;
    height: auto;
    margin-left: auto;
}

.accordion-button:not(.collapsed)::after {
    content: "\f068";
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumb {
    margin-bottom: 0;
    display: block;
}

.breadcrumb-item {
    display: inline;
}

.breadcrumb-item+.breadcrumb-item::before {
    font-family: "Font Awesome 7 Pro";
    content: "\f054";
    float: none;
}

.breadcrumb-center .breadcrumb {
    text-align: center;
}

/* ==========================================================================
   Feature cards
   ========================================================================== */

.cb-field-feature-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    container-type: inline-size;
    container-name: feature-card;
}

.feature-card-poster .cb-field-feature-card-media {
    position: absolute;
    width: 100%;
    height: 100%;
}

.feature-card-poster .cb-field-feature-card-media picture,
.feature-card-poster .cb-field-feature-card-media img,
.feature-card-poster .cb-field-feature-card-media .video-js {
    width: 100%;
    height: 100% !important;
}

.feature-card-poster .cb-field-feature-card-media img,
.feature-card-poster .cb-field-feature-card-media video {
    object-fit: cover;
}

.cb-field-feature-card-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: start;
    padding: 2rem;
    position: relative;
}

.feature-card-poster .cb-field-feature-card-content {
    --bs-bg-opacity: 0.75;
    justify-content: center;
}

@container feature-card (min-width: 600px) {
    .cb-field-feature-card-content {
        padding: 3rem 4rem;
    }
}

/* ==========================================================================
   AI assistant widget
   ========================================================================== */

#aa_chatbot-messages {
    background-color: var(--bs-light);
    margin-bottom: 1rem;
}

#aa_chatbot-messages,
#aa_chatbot-text,
#aa_chatbot-btn {
    border-radius: var(--bs-border-radius-lg);
    padding: 0.75rem 1rem;
}

#aa_chatbot-text {
    width: 100%;
    box-sizing: border-box;
    resize: none;
    max-height: 220px;
    overflow: hidden;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

#aa_chatbot-text::-webkit-scrollbar {
    width: 8px;
}

#aa_chatbot-text::-webkit-scrollbar-track {
    background: transparent;
}

#aa_chatbot-text::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

#aa_chatbot-text::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.42);
}

/* ==========================================================================
   Resource list items
   ========================================================================== */

.gallery-slides-item-picture {
    display: block;
}

.resource-list-item {
    container-type: inline-size;
    container-name: listitem;
}

.list-item-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.list-item-wrapper,
.list-item-wrapper a {
    text-decoration: none;
}

.list-item-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    flex: 1 1 auto;
}

@container listitem (min-width: 600px) {
    .list-item-content {
        padding: 2rem;
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
    }

    .list-item-content .list-item-text {
        flex: 1;
    }
}

@container listitem (min-width: 1000px) {
    .list-item-wrapper {
        flex-direction: row;
    }

    .list-item-picture {
        flex: 0 0 50%;
    }

    .list-item-content {
        flex: 1 1 auto;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        padding: 2rem 6%;
    }

    .list-item-content .list-item-text {
        flex: 0;
    }
}

/* Story list items */
.resource-story-item .list-item-wrapper {
    position: relative;
}

.resource-story-item .list-item-wrapper .list-item-picture {
    height: 100%;
}

.resource-story-item .list-item-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    transform: var(--cm-default-transition);
}

.resource-story-item .list-item-cta {
    transform: var(--cm-default-transition);
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0;
    padding: 1rem;
}

/* Story list items */
.resource-poster-item .list-item-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
}

.resource-poster-item .list-item-wrapper .list-item-picture {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    opacity: .25;
}

.resource-poster-item .list-item-wrapper .list-item-picture img {
    object-fit: cover;
}

.resource-poster-item .list-item-content {
    transform: var(--cm-default-transition);
    padding: 0;
    flex: none;
    position: relative;
}

.resource-poster-item .list-item-cta {
    position: relative;
}

/* Event list items */
.event-details {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1rem;
    margin-top: 1rem;
}

.event-details>* {
    display: flex;
    gap: 0.25rem;
}

.event-details>*>i {
    line-height: revert;
}

/* Logo list items */
.logo-list-item .list-item-content {
    display: none;
}

.logo-list-item .list-item-picture {
    padding: 1.5rem;
}

.logo-list-item .list-item-picture img {
    width: 100%;
    object-fit: contain;
    aspect-ratio: 4 / 2;
    object-position: center;
    filter: grayscale(100%);
}

.logo-list-item a:hover .list-item-picture img {
    filter: grayscale(0%);
}

/* ==========================================================================
   Calendar block
   ========================================================================== */

.list-item-calendar,
.calendar-block-container {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--bs-white);
    color: var(--bs-body-color);
    padding: 0.5rem;
    border-radius: var(--bs-border-radius-xl);
    margin-bottom: 0.5rem;
    height: 5rem;
    aspect-ratio: 1 / 1;
    box-shadow: var(--bs-box-shadow);
    pointer-events: none;
}

.calendar-block {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    height: 100%;
}

.calendar-block>* {
    line-height: 1;
}

.calendar-block-month {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: var(--cm-heading-font-weight);
}

.calendar-block-day {
    font-size: 1.5rem;
    font-weight: var(--cm-heading-font-weight);
}

.calendar-block-weekday {
    text-transform: capitalize;
    font-size: 0.75rem;
}

/* ==========================================================================
   Highcharts
   ========================================================================== */

.highcharts-container {
    font-family: var(--bs-body-font-family);
}

.highcharts-background {
    fill: transparent;
}

.highcharts-title {
    font-size: 1rem;
    font-weight: normal;
    fill: var(--bs-body-color);
}

.highcharts-legend-item>text {
    font-weight: normal;
    font-size: 0.7rem;
    fill: var(--bs-body-color);
}

.highcharts-axis-title,
.highcharts-axis-labels {
    fill: var(--bs-body-color);
}

.highcharts-point {
    stroke-width: 0;
}

.highcharts-grid-line {
    stroke: rgba(0, 0, 0, 0.25);
}

.chart-text-in-donut {
    position: relative;
    z-index: -1;
}

.cb-field-chart-donut .chart-container.chart-portrait {
    aspect-ratio: 3 / 5;
}

.cb-field-chart-donut .chart-container.chart-landscape {
    aspect-ratio: 2 / 1;
}

.cb-field-chart-donut .chart-container .highcharts-legend-item>text {
    font-size: 1rem !important;
}

.cb-field-chart-donut .chart-container.chart-landscape .highcharts-legend-title,
.cb-field-chart-donut .chart-container.chart-landscape .highcharts-legend-item>* {
    transform: translateX(5rem);
}

.cb-field-chart-donut .donut-center-label {
    fill: var(--bs-primary);
    font-weight: bold;
}

.cb-field-chart-donut .donut-center-value {
    fill: var(--bs-primary);
    font-weight: bold;
    font-size: 2rem;
}

.cb-field-lyfti-category-chart .donut-center-value {
    font-size: 1.5rem;
}

.highcharts-legend-title text {
    font-size: 1.5rem !important;
    font-weight: bold;
    fill: var(--bs-primary) !important;
}

/* ==========================================================================
   Google Maps
   ========================================================================== */

.gm-style .gm-style-iw-c {
    padding: 0;
}

.gm-style-iw-d {
    padding: 0 1rem;
}

.gmaps-pin {
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 1)) drop-shadow(0.25rem 0.25rem 1rem rgba(0, 0, 0, 0.25));
}

.gmaps-pin-wrapper {
    font-size: 1rem;
    min-width: 3rem;
    min-height: 3rem;
    background: var(--bs-primary);
    color: #fff;
    padding: 1rem;
    position: relative;
    text-align: center;
    border-radius: 1.5rem;
}

.gmaps-pin-wrapper:empty::before {
    content: "";
    display: block;
    background-color: #fff;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
}

.gmaps-pin::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-top: 0.5rem solid var(--bs-primary);
    margin: -2px auto 0;
}

.gmaps-pin.active .gmaps-pin-wrapper {
    background: var(--bs-light);
    color: var(--bs-primary);
}

.gmaps-pin.active::after {
    border-top-color: var(--bs-light);
}

.gmaps-pin.active .gmaps-pin-wrapper:empty::before {
    background-color: var(--bs-primary);
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-wrapper {
    position: relative;
}

.gallery-button {
    background-color: var(--bs-dark);
    color: #fff;
    position: absolute;
    margin-top: calc(var(--bs-gutter-y) * 0.5);
    top: 1rem;
    right: 1rem;
    z-index: 1;
    opacity: 0.75;
}

.gallery-button:hover {
    background-color: var(--bs-dark);
    color: #fff;
    opacity: 1;
}

/* ==========================================================================
   Masonry layouts
   ========================================================================== */

.masonry-layout-1 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: calc(var(--bs-gutter-x) * -0.5);
}

.masonry-layout-1>.tile {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    padding: calc(var(--bs-gutter-x) * 0.5);
    cursor: pointer;
}

.masonry-layout-1>.tile:nth-child(8n + 1),
.masonry-layout-1>.tile:nth-child(8n + 6) {
    grid-column: span 2;
    grid-row: span 2;
}

.masonry-layout-1>.tile:nth-child(8n + 2),
.masonry-layout-1>.tile:nth-child(8n + 5) {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 2 / 1;
}

.masonry-layout-1.limit-4>.tile:nth-child(n + 5),
.masonry-layout-1.limit-8>.tile:nth-child(n + 9),
.masonry-layout-1.limit-12>.tile:nth-child(n + 13),
.masonry-layout-1.limit-16>.tile:nth-child(n + 17) {
    display: none;
}

.masonry-layout-1>.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.masonry-layout-1>.tile picture {
    position: relative;
}

.masonry-layout-1>.tile:hover picture::after {
    font-family: "Font Awesome 7 Pro";
    font-weight: 400;
    font-size: 3rem;
    color: var(--bs-light);
    content: "\f00e";
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    inset: 0;
}

.masonry-layout-2 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.masonry-layout-2>* {
    width: 100%;
}

@container list-container (min-width: 600px) {
    .masonry-layout-2 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .masonry-layout-2>* {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 16 / 9;
    }
}

@container list-container (min-width: 1000px) {
    .masonry-layout-2 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3rem;
    }

    .masonry-layout-2>*:nth-child(12n + 1),
    .masonry-layout-2>*:nth-child(12n + 8) {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: auto;
    }

    .is-mixed .masonry-layout-2>*:nth-child(12n + 1),
    .is-mixed .masonry-layout-2>*:nth-child(12n + 8) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 16 / 9;
    }
}

/* ==========================================================================
   Footer widgets
   ========================================================================== */

.footer-widgets {
    position: fixed;
    padding: 1rem;
    bottom: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 1rem;
    pointer-events: none;
}

.scroll-to-top-btn {
    margin-bottom: -1rem;
    transition: all 500ms ease 0s;
    opacity: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1rem);
    border-radius: var(--bs-border-radius-xl);
    box-shadow: var(--bs-box-shadow);
    padding: 1rem 0.5rem;
    text-decoration: none;
}

.scroll-to-top-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    padding-bottom: 2rem;
}

body.scrolled.scrolled-far:not(.scrolled-end) .scroll-to-top-btn {
    margin-bottom: 0;
    opacity: 1;
    pointer-events: all;
}

.ai-widget {
    display: block;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1rem);
    width: 5rem;
    height: 5rem;
    padding: 0.75rem 0.75rem 0;
    position: relative;
    border-radius: 50%;
    box-shadow: var(--bs-box-shadow-sm);
    pointer-events: all;
}

.ai-widget img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.ai-widget:hover {
    padding: 0.5rem 0.5rem 0;
}

.ai-widget-welcome {
    background: #fff;
    position: absolute;
    padding: 0.75rem;
    width: 90vw;
    max-width: 20rem;
    top: -3rem;
    right: 0;
    box-shadow: var(--bs-box-shadow);
    border-radius: var(--bs-border-radius);
    transform: rotate(-10deg);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
}

.ai-widget-welcome::before {
    content: "";
    display: block;
    background: #fff;
    position: absolute;
    width: 1rem;
    height: 1rem;
    right: 2rem;
    bottom: -0.5rem;
    transform: rotate(45deg);
    box-shadow: var(--bs-box-shadow);
}

.ai-widget:hover .ai-widget-welcome {
    top: -4rem;
    transform: rotate(0deg);
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Special effects / Scrollytelling
   ========================================================================== */

.bottom-border-overlay .layout-wrapper::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: #fff;
}

/* Scrollytelling */
.scrolly {
    position: relative;
}

.scrolly-article-container {
    position: relative;
    padding: 0;
    margin: 0 auto;
}

.scrolly-figure-item,
.scrolly-article-item {
    transition: all 500ms ease 0s;
}

.scrolly-figure-item:not(.is-active) {
    opacity: 0;
}

.scrolly-figure-container {
    position: sticky;
    left: 0;
    right: 0;
    top: calc((100vh - var(--scrolly-height)) / 2);
    margin: auto;
    z-index: -1;
}

.scrolly-figure-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: var(--scrolly-height);
}

.scrolly-figure-item {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    overflow: hidden;
}

.scrolly-content-text,
.scrolly-content-boxed {
    padding: 1.5rem;
}

.scrolly-content-boxed {
    max-width: var(--cm-narrow);
    border-radius: var(--bs-border-radius-xl);
}

/* ==========================================================================
   Custom Google Search
   ========================================================================== */

.cgs-search-results-list {
    --bs-list-group-active-color: var(--bs-body-color);
    --bs-list-group-active-bg: var(--bs-light);
    --bs-list-group-active-border-color: var(--bs-light);
    --bs-list-group-action-active-bg: var(--bs-light);
}

.cgs-search-results-item-introtext {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cgs-search-results-item img {
    width: 100% !important;
    height: auto !important;
}

.cgs-search-results-item-text {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.header-search .cgs-search-results-container {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    margin-top: 0.5rem;
}

/* ==========================================================================
   Timeline
   ========================================================================== */

.cb-field-timeline-item {
    width: 100%;
    position: relative;
    border: 1px solid var(--bs-light);
    padding: 0.6rem 0.6rem 0.6rem 1.8rem;
    border-radius: var(--bs-border-radius-pill);
}

.cb-field-timeline-item-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--bs-light);
    color: var(--bs-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cb-field-timeline-item-arrow {
    margin: 0.5rem;
    color: var(--bs-light);
}

.cb-field-timeline .cb-field-timeline-item-arrow:last-of-type {
    display: none;
}

/* ==========================================================================
   Layout structure (ContentBlocks wrappers)
   ========================================================================== */

/* Put extra horizontal spacing between outer and inner layout */
.cb-layout-header.w-100 .container:not(.wide),
.cb-layout-section.w-100 .container:not(.wide) {
    padding-right: var(--bs-gutter-x);
    padding-left: var(--bs-gutter-x);
}

.cb-field-container {
    overflow: hidden;
}

.cb-field-container,
.layout-container {
    position: relative;
    display: flex;
    flex-direction: column;
}

.cb-field-inner-layout,
.cb-field-inner-layout-wrapper,
.layout-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.layout-wrapper {
    justify-content: center;
    height: 100%;
    margin-bottom: 0;
}

.layout-wrapper > .bg-wrapper {
    position: absolute;
    top: 0;
}

.cb-field-inner-layout,
.cb-field-inner-layout-wrapper,
.cb-layout {
    position: relative;
}

.cb-layout-col {
    display: flex;
    flex-direction: column;
}

.cb-field-resource-list {
    container-type: inline-size;
    container-name: list-container;
}

.cb-field-resource-list-mixer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cb-field-alert {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Fullbleed rows */
.row.fullbleed {
    margin-left: 0;
    margin-right: 0;
}

.row.fullbleed> :first-child {
    padding-left: 0;
}

.row.fullbleed> :last-child {
    padding-right: 0;
}

/* ==========================================================================
   Media queries
   ========================================================================== */

/* Bootstrap: sm */
@media (min-width: 576px) {
    .wide {
        min-width: calc(540px + var(--bs-gutter-x) * 1);
        max-width: 640px;
    }

    /* Swiper overflow visible in columns */
    .row>[class*="col-sm"]:nth-child(1) .swiper.overflow-visible {
        clip-path: inset(0 0 0 -100vw);
    }

    .row>[class*="col-sm"]:nth-child(2) .swiper.overflow-visible {
        clip-path: inset(0 -100vw 0 0);
    }
}

/* Bootstrap: md */
@media (min-width: 768px) {
    .row>[class*="col-md"]:nth-child(1) .swiper.overflow-visible {
        clip-path: inset(0 0 0 -100vw);
    }

    .row>[class*="col-md"]:nth-child(2) .swiper.overflow-visible {
        clip-path: inset(0 -100vw 0 0);
    }

    .grow-md,
    .grow-md>.btn {
        --bs-btn-padding-y: 0.5rem;
        --bs-btn-padding-x: 1rem;
        --bs-btn-font-size: 1.25rem;
        --bs-btn-border-radius: var(--bs-border-radius-lg);
    }

    .form-control.grow-md,
    .form-select.grow-md {
        min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
        padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
        font-size: var(--bs-btn-font-size);
        border-radius: var(--bs-btn-border-radius);
    }

    .form-select.grow-md {
        padding-right: 2rem;
    }
}

/* Bootstrap: lg */
@media (min-width: 992px) {
    .row>[class*="col-lg"]:nth-child(1) .swiper.overflow-visible {
        clip-path: inset(0 0 0 -100vw);
    }

    .row>[class*="col-lg"]:nth-child(2) .swiper.overflow-visible {
        clip-path: inset(0 -100vw 0 0);
    }

    .swiper-layout-cards {
        padding: 0 5rem;
    }

    .swiper-layout-cards .swiper-pagination {
        display: none;
    }

    .swiper-layout-cards .swiper-buttons .btn-prev,
    .swiper-layout-cards .swiper-buttons .btn-next {
        display: block;
    }

    .table-mobile-friendly-container {
        font-size: 1rem;
    }

    .grow-lg,
    .grow-lg>.btn {
        --bs-btn-padding-y: 0.5rem;
        --bs-btn-padding-x: 1rem;
        --bs-btn-font-size: 1.25rem;
        --bs-btn-border-radius: var(--bs-border-radius-lg);
    }

    .form-control.grow-lg,
    .form-select.grow-lg {
        min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
        padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
        font-size: var(--bs-btn-font-size);
        border-radius: var(--bs-btn-border-radius);
    }

    .form-select.grow-lg {
        padding-right: 2rem;
    }
}

/* Bootstrap: xl */
@media (min-width: 1200px) {
    .row>[class*="col-xl"]:nth-child(1) .swiper.overflow-visible {
        clip-path: inset(0 0 0 -100vw);
    }

    .row>[class*="col-xl"]:nth-child(2) .swiper.overflow-visible {
        clip-path: inset(0 -100vw 0 0);
    }

    .grow-xl,
    .grow-xl>.btn {
        --bs-btn-padding-y: 0.5rem;
        --bs-btn-padding-x: 1rem;
        --bs-btn-font-size: 1.25rem;
        --bs-btn-border-radius: var(--bs-border-radius-lg);
    }

    .form-control.grow-xl,
    .form-select.grow-xl {
        min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
        padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
        font-size: var(--bs-btn-font-size);
        border-radius: var(--bs-btn-border-radius);
    }

    .form-select.grow-xl {
        padding-right: 2rem;
    }
}

/* Bootstrap: xxl */
@media (min-width: 1400px) {
    .row>[class*="col-xxl"]:nth-child(1) .swiper.overflow-visible {
        clip-path: inset(0 0 0 -100vw);
    }

    .row>[class*="col-xxl"]:nth-child(2) .swiper.overflow-visible {
        clip-path: inset(0 -100vw 0 0);
    }

    .grow-xxl,
    .grow-xxl>.btn {
        --bs-btn-padding-y: 0.5rem;
        --bs-btn-padding-x: 1rem;
        --bs-btn-font-size: 1.25rem;
        --bs-btn-border-radius: var(--bs-border-radius-lg);
    }

    .form-control.grow-xxl,
    .form-select.grow-xxl {
        min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2));
        padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
        font-size: var(--bs-btn-font-size);
        border-radius: var(--bs-btn-border-radius);
    }

    .form-select.grow-xxl {
        padding-right: 2rem;
    }
}

/* Orientation helpers */
@media (orientation: portrait) {
    .minheight-portrait-25 {
        min-height: 25vh;
    }

    .minheight-portrait-30 {
        min-height: 30vh;
    }

    .minheight-portrait-40 {
        min-height: 40vh;
    }

    .minheight-portrait-50 {
        min-height: 50vh;
    }

    .minheight-portrait-60 {
        min-height: 60vh;
    }

    .minheight-portrait-70 {
        min-height: 70vh;
    }

    .minheight-portrait-75 {
        min-height: 75vh;
    }

    .minheight-portrait-80 {
        min-height: 80vh;
    }

    .minheight-portrait-90 {
        min-height: 90vh;
    }

    .minheight-portrait-100 {
        min-height: 100vh;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-sal] {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}