:root{--color-primary: #455465;--color-secondary: #007ab8;--color-tertiary: #1ea4a9;--color-state: #0074be;--color-state-hover: #006ab4;--color-state-focus: #006ab4;--color-state-active: #0059a3;--color-state-highlight: #f6f9d7;--color-state-highlight-neutral: var(--color-neutral-3);--color-state-disabled: var(--color-neutral-5);--color-neutral-1: #fff;--color-neutral-2: #fafafa;--color-neutral-3: #f7f7f7;--color-neutral-4: #e6e4e4;--color-neutral-5: #c7c7c7;--color-neutral-6: #767676;--color-neutral-7: #262626;--color-background: var(--color-neutral-1);--color-border: var(--color-neutral-5);--color-text: var(--color-neutral-7);--color-text-disabled: var(--color-neutral-5);--color-text-hint: var(--color-neutral-6);--link-color: var(--color-state);--link-color-hover: var(--color-state-hover);--nav-bg-color: #fafafa;--nav-text-color: var(--color-text);--nav-selected-color: var(--color-state);--nav-border-colour: rgba(128, 128, 128, 0.2);--nav-width: 15rem;--nav-collapsed-width: 5rem;--nav-button-size: 1.25rem;--nav-logo-width: 7.5rem;--nav-logo-height: 7.5rem;--nav-logomark-width: 2.5rem;--nav-logomark-height: 2.5rem;--footer-bg-color: #fff;--footer-text-color: var(--color-text);--footer-text-color-hover: var(--footer-text-color);--btn-accent-color: var(--color-state);--btn-accent-color-active: var(--color-state-active);--btn-accent-color-hover: var(--color-state-hover);--btn-accent-color-disabled: var(--color-state-disabled);--page-content-padding-desktop: calc(var(--gap-base) * 8)}.tui-theme_inspire-navItem{--tui-theme_inspire-navItem-height: 2.75rem;--tui-theme_inspire-navItem-indicator-height: 2rem;--tui-theme_inspire-navItem-top-level-nav-item-padding: 10px;--tui-theme_inspire-navItem-nav-item-padding: 6px;display:flex;flex-grow:1;flex-wrap:wrap;height:var(--tui-theme_inspire-navItem-height);padding-top:calc(var(--gap-base) * 1);color:var(--nav-tab-text-color)}.tui-theme_inspire-navItem--navExpanded{height:100%}.tui-theme_inspire-navItem__icon{width:1.2em;height:1.2em;margin:auto}.tui-theme_inspire-navItem__icon--navExpanded{margin:calc(var(--gap-base) * 3) auto auto calc(var(--gap-base) * 3)}.tui-theme_inspire-navItem .tui-theme_inspire-navItem{padding-top:0}.tui-theme_inspire-navItem--selected{color:var(--nav-selected-color)}.tui-theme_inspire-navItem--selected:before{height:var(--tui-theme_inspire-navItem-indicator-height);margin-top:calc(var(--gap-base) * 1);border-right:calc(var(--gap-base) * 1) solid var(--nav-selected-color);border-top-right-radius:calc(var(--gap-base) * 1);border-bottom-right-radius:calc(var(--gap-base) * 1);content:""}.tui-theme_inspire-navItem .tui-theme_inspire-navItem--selected:before{margin-top:0}.tui-theme_inspire-navItem--link{flex-wrap:nowrap}.tui-theme_inspire-navItem__heading{display:flex;flex-grow:1;align-items:flex-start;padding:0;background-color:inherit;border:none;border-radius:var(--btn-radius)}.tui-theme_inspire-navItem__heading--childSelected{color:var(--nav-selected-color)}.tui-theme_inspire-navItem__heading--depth-0{margin-left:calc(var(--gap-base) * 5);font-weight:600}.tui-theme_inspire-navItem__heading--depth-0.tui-theme_inspire-navItem__heading--navExpanded{margin-left:calc(var(--gap-base) * 3)}.tui-theme_inspire-navItem__heading--depth-0.tui-theme_inspire-navItem__heading--selected{margin-left:calc(var(--gap-base) * 4)}.tui-theme_inspire-navItem__heading--depth-0.tui-theme_inspire-navItem__heading--selected.tui-theme_inspire-navItem__heading--navExpanded{margin-left:calc(var(--gap-base) * 2)}.tui-theme_inspire-navItem__heading--depth-0 .tui-theme_inspire-navItem__headingAction{margin:calc(var(--gap-base) * 2)}.tui-theme_inspire-navItem__heading--depth-1{margin-left:calc(var(--gap-base) * 10);font-weight:400}.tui-theme_inspire-navItem__heading--depth-1.tui-theme_inspire-navItem__heading--selected{margin-left:calc(var(--gap-base) * 9)}.tui-theme_inspire-navItem__heading--depth-2{margin-left:calc(var(--gap-base) * 13)}.tui-theme_inspire-navItem__heading--depth-2.tui-theme_inspire-navItem__heading--selected{margin-left:calc(var(--gap-base) * 12)}.tui-theme_inspire-navItem__heading--link{color:var(--nav-tab-text-color)}.tui-theme_inspire-navItem__heading--link:hover,.tui-theme_inspire-navItem__heading--link:focus{color:var(--nav-tab-text-color);text-decoration:none}.tui-theme_inspire-navItem__heading--link.tui-theme_inspire-navItem__heading--selected{color:var(--nav-selected-color)}@media (hover:hover){.tui-theme_inspire-navItem__heading:hover{background-color:color-mix(in srgb, var(--nav-tab-text-color) 10%, transparent)}}.tui-theme_inspire-navItem__heading:focus-visible{outline:2px solid var(--nav-tab-text-color)}.tui-theme_inspire-navItem__headingText{flex-grow:1;margin:auto;padding:var(--tui-theme_inspire-navItem-nav-item-padding) calc(var(--gap-base) * 1) var(--tui-theme_inspire-navItem-nav-item-padding) calc(var(--gap-base) * 3);text-align:left;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}.tui-theme_inspire-navItem__headingText--depth-0{padding:var(--tui-theme_inspire-navItem-top-level-nav-item-padding) calc(var(--gap-base) * 1) var(--tui-theme_inspire-navItem-top-level-nav-item-padding) calc(var(--gap-base) * 3)}.tui-theme_inspire-navItem__headingAction{flex-basis:1.5rem;flex-shrink:0;height:1.5rem;margin:calc(var(--gap-base) * 1) calc(var(--gap-base) * 2);padding:var(--tui-theme_inspire-navItem-nav-item-padding);color:var(--nav-tab-text-color)}.tui-theme_inspire-navItem__children{flex-basis:100%;margin-bottom:calc(var(--gap-base) * 2);margin-left:0;list-style:none}.tui-theme_inspire-navigation__toggle{position:absolute;z-index:1;width:var(--nav-button-size);height:var(--nav-button-size);margin:calc(var(--gap-base) * 4);color:var(--color-text)}.tui-theme_inspire-navigation__toggle--overlay{display:block}.tui-theme_inspire-navigation__toggle--expand{display:none}@media (min-width:992px){.tui-theme_inspire-navigation__toggle{left:var(--nav-collapsed-width)}.tui-theme_inspire-navigation__toggle--overlay{display:none}.tui-theme_inspire-navigation__toggle--expand{position:fixed;display:block;margin:calc(var(--gap-base) * 1);background-color:var(--color-neutral-3);opacity:0;transition:opacity var(--transition-button-duration) var(--transition-button-function) 1s}.tui-theme_inspire-navigation__toggle--expand:hover,.tui-theme_inspire-navigation__toggle--expand:focus,.tui-theme_inspire-navigation__toggle--expand:has(~ .tui-theme_inspire-navigation>.tui-theme_inspire-navigation__nav:hover),.tui-theme_inspire-navigation__toggle--expand:has(~ .tui-theme_inspire-navigation>.tui-theme_inspire-navigation__nav:focus-within){opacity:1;transition-delay:0s}.tui-theme_inspire-navigation__toggle--navExpanded{left:var(--nav-width)}.tui-theme_inspire-navigation__toggle-icon{--rotate-r: rotateY(0deg);--rotate-l: rotateY(180deg);transform:var(--rotate-r);transition-duration:0.5s}.dir-rtl .tui-theme_inspire-navigation__toggle-icon{transform:var(--rotate-l)}.tui-theme_inspire-navigation__toggle-icon--expanded{transform:var(--rotate-l)}.dir-rtl .tui-theme_inspire-navigation__toggle-icon--expanded{transform:var(--rotate-r)}}.tui-theme_inspire-navigation__toggle--navHidden{left:0}.tui-theme_inspire-navigation{position:relative;z-index:var(--zindex-navbar);display:none;flex-direction:column;overflow:visible}@media (min-width:992px){.tui-theme_inspire-navigation{display:flex;width:var(--nav-collapsed-width)}}.tui-theme_inspire-navigation .tui-theme_inspire-navigation__nav{position:fixed;display:flex;flex-direction:column;width:var(--nav-collapsed-width);height:100%;background-color:var(--nav-bg-color);border-right:1px inset var(--nav-border-colour)}.tui-theme_inspire-navigation .tui-theme_inspire-navigation__heading{margin:auto;border-bottom:1px inset var(--nav-border-colour)}.tui-theme_inspire-navigation .tui-theme_inspire-navigation__headingLogo{max-width:var(--nav-logomark-width);max-height:var(--nav-logomark-height);margin:calc(var(--gap-base) * 8) 0}.tui-theme_inspire-navigation .tui-theme_inspire-navigation__collapse{float:right;width:var(--nav-button-size);height:var(--nav-button-size);margin-top:calc(var(--gap-base) * 4);margin-right:calc(var(--gap-base) * -3);color:var(--nav-tab-text-color)}.tui-theme_inspire-navigation .tui-theme_inspire-navigation__collapse:focus-visible{outline:2px solid var(--nav-tab-text-color)}.tui-theme_inspire-navigation .tui-theme_inspire-navigation__items{display:flex;flex-direction:column;gap:calc(var(--gap-base) * 1);height:100%;margin:0;padding:calc(var(--gap-base) * 5) calc(var(--gap-base) * 5) calc(var(--gap-base) * 5) 0;overflow-y:auto;list-style:none}.tui-theme_inspire-navigation--overlaid{position:fixed;z-index:var(--zindex-nav-overlay);display:flex;width:var(--nav-width)}@media (min-width:992px){.tui-theme_inspire-navigation--overlaid{position:relative;width:var(--nav-collapsed-width)}}.tui-theme_inspire-navigation--overlaid .tui-theme_inspire-navigation__nav{width:var(--nav-width)}.tui-theme_inspire-navigation--overlaid .tui-theme_inspire-navigation__heading{margin:0 calc(var(--gap-base) * 6)}.tui-theme_inspire-navigation--overlaid .tui-theme_inspire-navigation__headingLogo{max-width:var(--nav-logo-width);max-height:var(--nav-logo-height)}.tui-theme_inspire-navigation--overlaid .tui-theme_inspire-navigation__items{padding:calc(var(--gap-base) * 5) calc(var(--gap-base) * 3) calc(var(--gap-base) * 5) 0}.tui-theme_inspire-navigation--desktopExpanded{display:none}@media (min-width:992px){.tui-theme_inspire-navigation--desktopExpanded{display:flex;width:var(--nav-width)}.tui-theme_inspire-navigation--desktopExpanded .tui-theme_inspire-navigation__nav{width:var(--nav-width)}.tui-theme_inspire-navigation--desktopExpanded .tui-theme_inspire-navigation__heading{margin:0 calc(var(--gap-base) * 6)}.tui-theme_inspire-navigation--desktopExpanded .tui-theme_inspire-navigation__headingLogo{max-width:var(--nav-logo-width);max-height:var(--nav-logo-height)}.tui-theme_inspire-navigation--desktopExpanded .tui-theme_inspire-navigation__items{padding:calc(var(--gap-base) * 5) calc(var(--gap-base) * 3) calc(var(--gap-base) * 5) 0}}.tui-theme_inspire-navigation--hidden{display:none}.tui-settingsFormBrand__testEmailInfoButton{align-self:center}.tui-themeSettings__content{margin-top:var(--gap-8)}.tui-themeSettings__forms>*+*{margin-top:var(--gap-8)}:root{--nav-bg-color: #F4F4F4;--nav-text-color: #1B2233;--nav-selected-color: #B3A868;--color-primary: #E0D283;--color-state: #1B2233;--color-text: #1B2233;--footer-bg-color: #1B2233;--footer-text-color: #FFFFFF;--color-state-hover: #111829;--color-state-focus: #111829;--color-state-active: #000718;--footer-text-color-hover: #f5f5f5;}
/* ==========================================================================
   Croner-i — Inspire Custom CSS (Totara 20)
   Site administration > Appearance > Themes > Inspire > tab "Custom" > Custom CSS
   Sections:
     A. Webanywhere base styles (from Venus, adapted)
     B. Croner brand layer (from Saturn, adapted)
     C. Croner plugins: block_my_courses cards/carousel, format_croneri2022,
        category pages, footer
   Colours: navy #1B2233 · gold #E0D283 · gold dark #B3A868 · grey #F4F4F4
   ========================================================================== */

/* ===================== A. WEBANYWHERE BASE (Venus) ===================== */

:root {
    --croner-navy: #1B2233;
    --croner-gold: #E0D283;
    --croner-gold-dark: #B3A868;
    --croner-grey: #F4F4F4;
    --brand-color-light: color-mix(in oklab, var(--croner-gold), white 75%);
}

body {
    overflow-y: scroll; /* prevents layout jump when the scrollbar appears */
}

/* Hidden elements */
.tui-format_pathway-activityView__activityContent .modified,
.page-footer-poweredby,
.tui-core_auth-footer__poweredBy,
.mobile-app-banner,
#page-admin-plugins #region-main .alert {
    display: none;
}

/* Navigation & header */
.tui-theme_inspire-navigation .tui-theme_inspire-navigation__heading {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--croner-gold);
}
.tui-theme_inspire-navigation--desktopExpanded .tui-theme_inspire-navigation__headingLogo {
    max-width: 11rem;
    margin: 20px auto;
}
.tui-theme_inspire-navItem__heading {
    transition: background-color 0.3s;
}
.userToolbar {
    border-bottom: 1px solid var(--color-neutral-4);
    background: #FAFAFA;
}
.userToolbar_prim--side .usermenu .userpicture {
    border-radius: 50%;
    border: 2px solid var(--croner-gold);
}
.nav-link, .userbutton {
    transition: color 0.3s;
}
.nav-link:hover, .userbutton:hover {
    color: var(--croner-gold-dark);
}

/* Blocks */
.block {
    border: none;
}
.block .block-title::after {
    box-shadow: none;
}
.block .panel-footer {
    border-top: none;
}
.path-totara-dashboard .block.chromeless .content {
    padding: 0;
}
.block_current_learning-tile,
.tui-theme_inspire-menuOption__heading {
    transition: background 0.3s;
}
.block_current_learning-tile:hover,
.block_current_learning-tile:focus-within {
    box-shadow: none;
    background: var(--brand-color-light);
}
.block .content .list .tree_item a {
    line-height: 1.25rem;
}

/* Misc page fixes */
#page-mod-quiz-view .generalbox#feedback { margin-left: 0; }
#page-mod-quiz-view .quizinfo,
#page-mod-quiz-view #page .quizgradefeedback,
#page-mod-quiz-view #page .quizattempt { text-align: left; }
.progress .bar,
.dndupload-progress-outer .bar { background-color: var(--croner-navy); }
#page-mod-certificate-view p,
#page-mod-certificate-view .mod_certificate__getCertificate { text-align: left !important; }
.path-backup .mform .fgroup .proceedbutton { float: right; }
.tui-format_pathway-progressTrackerItem--selected { border-radius: 5px; }
#page-mod-scorm-player #scormpage #scorm_object { border-radius: 10px; }
#page-user-edit #id_email { background: #ddd; color: #999; } /* email locked (SSO) */

/* Theme editor textarea: monospace for readability */
#page-admin-theme-inspire-index .tui-formTextarea,
#page-totara-tui-theme_settings .tui-formTextarea {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    line-height: 1rem;
}

/* ===================== B. CRONER BRAND LAYER (Saturn) ===================== */

/* Fonts: Lato body, Lora headings (loaded in Additional HTML > Within HEAD) */
body, p, li, td, th, input, select, textarea, button, .btn {
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 {
    font-family: "Lora", Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: var(--croner-navy);
}

/* Left navigation: uppercase, spaced, like the prod top menu */
.tui-theme_inspire-navItem__headingText {
    text-transform: uppercase;
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 1.2px;
    font-size: 0.8rem;
}

/* Links */
#region-main a:not(.btn):not(.tui-btn) {
    color: var(--croner-navy);
}
#region-main a:not(.btn):not(.tui-btn):hover {
    color: var(--croner-gold-dark);
}

/* Legacy buttons (non-TUI): gold with navy text, Lora uppercase */
.btn-primary,
.btn.btn-primary,
input[type="submit"].btn-primary {
    background-color: var(--croner-gold);
    border-color: var(--croner-gold);
    color: var(--croner-navy);
    font-family: "Lora", Georgia, serif;
    text-transform: uppercase;
    border-radius: 0;
}
.btn-primary:hover, .btn-primary:focus,
.btn.btn-primary:hover, .btn.btn-primary:focus {
    background-color: var(--croner-gold-dark);
    border-color: var(--croner-gold-dark);
    color: var(--croner-navy);
}

/* Standard block headings: Lora with gold underline */
.block .block-header h2 {
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--croner-gold);
}

#page {
    padding-bottom: 30px;
}

/* ===================== C1. block_my_courses (cards + carousel) ===================== */

.block_my_courses .block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.block_my_courses .block-header h2 {
    display: inline-block;
    font-family: "Lora", Georgia, serif;
    font-size: 2.25rem;
    line-height: 1.3;
    font-weight: 400;
    text-transform: none;
    border-bottom: 2px solid var(--croner-gold);
    padding: 0 0 2px;
    margin: 0;
}
.block_my_courses .block-header .viewall {
    margin-left: auto;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
}

/* Carousel -> horizontal scroll strip (Bootstrap carousel JS is not loaded in Inspire) */
.block_my_courses .carousel {
    position: relative;
    padding: 0;
}
/* All slides are flattened so every card sits in one scrollable strip */
.block_my_courses .carousel-inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    width: 100%;
}
.block_my_courses .carousel-inner::-webkit-scrollbar {
    display: none;
}
.block_my_courses .carousel-inner > .item,
.block_my_courses .carousel-inner > .item > .sliderwrapper.row {
    display: contents !important;
}

/* Card: 4 visible on desktop, 3 / 2 / 1 on smaller screens */
.block_my_courses .block-my-courses-row-item {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 4.5rem) / 4);
    max-width: calc((100% - 4.5rem) / 4);
    width: auto;
    float: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border: 1px solid #E6E6E6;
}
.block_my_courses .block-my-courses-row-item > img {
    display: block;
    width: 100%;
    height: 9rem;
    object-fit: cover;
}
.block_my_courses .block-my-courses-course-content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0.5rem 1rem 1rem;
    background: #fff;
    color: var(--croner-navy);
}
.block_my_courses .block-my-courses-course-content-wrapper h2.main-category {
    font-family: "Lato", Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;
    border: 0;
    padding: 0;
    margin: 0 0 0.25rem;
}
.block_my_courses .block-my-courses-course-content-wrapper h3.course-title {
    font-family: "Lato", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    margin: 0 0 0.25rem;
}
.block_my_courses .block-my-courses-course-content-wrapper h3.course-by {
    font-family: "Lato", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;
    margin: 0 0 0.5rem;
}
.block_my_courses .block-my-courses-course-content-wrapper p {
    margin: 0 0 0.25rem;
}
.block_my_courses .block-my-courses-course-content-wrapper p:empty {
    display: none;
}
.block_my_courses .block-my-courses-course-content-wrapper ul {
    padding-left: 1.5rem;
    margin: 0.25rem 0 0.5rem;
}
/* Some course summaries carry inline font sizes: keep card text consistent */
.block_my_courses .block-my-courses-course-content-wrapper ul,
.block_my_courses .block-my-courses-course-content-wrapper ul *,
.block_my_courses .block-my-courses-course-content-wrapper p * {
    font-size: 1rem !important;
    line-height: 1.3 !important;
}
.block_my_courses .block-my-courses-course-content-blockbottom {
    margin-top: auto;
    padding-top: 0.75rem;
}
.block_my_courses .cpdhours,
.format-croneri2022 .course-content .cpdhours {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}
.block_my_courses .cpdhours::before,
.format-croneri2022 .course-content .cpdhours::before {
    content: "";
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2233' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
}
.block_my_courses .course-access-link {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.2;
}
.block_my_courses .course-access-link .croner-i-button-wrapper,
.block_my_courses .course-access-link .croner-i-button,
.block_my_courses .course-access-link .content {
    display: block;
    color: inherit;
    padding: 0;
    margin: 0;
    height: auto;
    min-height: 0;
}
.croner-i-button-skew,
.course-content .croner-i-button .croner-i-button-skew,
.block_my_courses .croner-i-button .croner-i-button-skew {
    display: none !important;
}

/* Carousel arrows (the Glyphicons font is not available in Inspire) */
.block_my_courses .carousel-control {
    position: absolute;
    top: 50%;
    bottom: auto;
    width: 2.75rem;
    height: 2.75rem;
    margin-top: -1.375rem;
    border-radius: 50%;
    background: var(--croner-navy) !important;
    background-image: none !important;
    opacity: 1;
    text-shadow: none;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.block_my_courses .carousel-control.left { left: -1.375rem; right: auto; }
.block_my_courses .carousel-control.right { right: -1.375rem; left: auto; }
.block_my_courses .carousel-control:hover { background: var(--croner-gold-dark) !important; }
.block_my_courses .carousel-control .glyphicon { display: none; }
.block_my_courses .carousel-control::before {
    content: "";
    width: 0.7rem;
    height: 0.7rem;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}
.block_my_courses .carousel-control.left::before { transform: translateX(2px) rotate(-135deg); }
.block_my_courses .carousel-control.right::before { transform: translateX(-2px) rotate(45deg); }

@media (max-width: 1400px) {
    .block_my_courses .block-my-courses-row-item {
        flex-basis: calc((100% - 3rem) / 3);
        max-width: calc((100% - 3rem) / 3);
    }
}
@media (max-width: 1000px) {
    .block_my_courses .block-my-courses-row-item {
        flex-basis: calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
    }
}
@media (max-width: 600px) {
    .block_my_courses .carousel { padding: 0; }
    .block_my_courses .carousel-control { display: none; }
    .block_my_courses .block-my-courses-row-item {
        flex-basis: 85%;
        max-width: 85%;
    }
    .block_my_courses .block-header h2 { font-size: 1.75rem; }
}

/* ===================== C2. format_croneri2022 (course page) ===================== */

.format-croneri2022 .course-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background: #fff;
    padding: 2.5rem 3rem;
    margin-bottom: 2.5rem;
}
.format-croneri2022 .course-content > .completionprogress,
.format-croneri2022 .course-content > h3.category,
.format-croneri2022 .course-content > h2.course-title,
.format-croneri2022 .course-content > .author {
    flex: 0 0 100%;
}
.format-croneri2022 .course-content > .completionprogress {
    display: none;
}
.format-croneri2022 .course-content > h3.category {
    font-family: "Lora", Georgia, serif;
    font-style: italic;
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}
.format-croneri2022 .course-content > h2.course-title {
    font-family: "Lora", Georgia, serif;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--croner-gold);
}
.format-croneri2022 .course-content > .author {
    font-family: "Lora", Georgia, serif;
    font-style: italic;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.format-croneri2022 .course-content .customfields {
    display: flex;
    flex-direction: column;
    flex: 0 0 38%;
    max-width: 33rem;
    margin-top: 1.25rem;
    padding-right: 2rem;
}
.format-croneri2022 .course-content .courseimage img {
    display: block;
    width: 100%;
    height: auto;
}
.format-croneri2022 .course-content h3.details {
    display: inline-block;
    align-self: flex-start;
    font-family: "Lora", Georgia, serif;
    font-style: italic;
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--croner-gold);
}
.format-croneri2022 .course-content .releasedate {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.format-croneri2022 .course-content .releasedate::before {
    content: "";
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2233' stroke-width='2.2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
}
.format-croneri2022 .course-content .coursetype {
    display: none;
}
.format-croneri2022 .course-content ul.croneri2022 {
    flex: 1 1 0;
    min-width: 18rem;
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0 0 0 1.25rem;
}
.format-croneri2022 .course-content ul.croneri2022 li.section {
    border: 0;
    margin: 0;
    padding: 0;
}
.format-croneri2022 .course-content ul.croneri2022 li.section .left.side,
.format-croneri2022 .course-content ul.croneri2022 li.section .right.side,
.format-croneri2022 .course-content ul.croneri2022 li.section h3.sectionname {
    display: none;
}
.format-croneri2022 .course-content ul.croneri2022 li.section .content {
    margin: 0;
}
.format-croneri2022 .course-content ul.section {
    list-style: none;
    margin: 0;
    padding: 0;
}
.format-croneri2022 .course-content li.activity {
    padding: 0.2rem;
    margin: 0;
}
.format-croneri2022 .course-content li.activity .mod-indent-outer {
    display: block;
    padding: 0;
}
.format-croneri2022 .course-content li.activity .mod-indent {
    display: none;
}
/* Activity buttons (Launch course / Course notes / Further reading / Feedback / Certificate) */
/* Labels (description, disclaimer) share the .section-recap wrapper: keep them plain */
.format-croneri2022 .course-content li.activity.label .section-recap {
    display: block;
    width: auto;
    background: none;
}
.format-croneri2022 .course-content li.activity:not(.label) .section-recap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 21rem;
    max-width: 100%;
    background: var(--croner-gold);
    transition: background-color 0.2s;
}
.format-croneri2022 .course-content li.activity:not(.label) .section-recap:hover {
    background: var(--croner-gold-dark);
}
.format-croneri2022 .course-content .section-recap .activityinstance {
    flex: 1 1 auto;
    padding: 0;
    margin: 0;
}
.format-croneri2022 .course-content .section-recap .activityinstance a {
    display: block;
    padding: 0.65rem 1.25rem;
    color: var(--croner-navy);
    font-family: "Lora", Georgia, serif;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
}
.format-croneri2022 .course-content .section-recap .activityinstance a.dimmed {
    color: var(--croner-navy);
    opacity: 0.7;
}
.format-croneri2022 .course-content .section-recap .croner-i-button-wrapper,
.format-croneri2022 .course-content .section-recap .croner-i-button,
.format-croneri2022 .course-content .section-recap .croner-i-button .content {
    display: block;
    height: auto;
    min-height: 0;
}
.format-croneri2022 .course-content .section-recap .actions {
    position: static;
    flex: 0 0 auto;
    padding-right: 0.75rem;
    color: var(--croner-navy);
}
.format-croneri2022 .course-content .availabilityinfo {
    font-size: 0.8rem;
    margin: 0.4rem 0 0 1.9rem;
}
.format-croneri2022 .course-content li.activity.label .contentwithoutlink,
.format-croneri2022 .course-content li.activity.label .no-overflow {
    padding: 0;
}
@media (max-width: 991px) {
    .format-croneri2022 .course-content { padding: 1.5rem; }
    .format-croneri2022 .course-content .customfields { flex-basis: 100%; max-width: none; padding-right: 0; }
    .format-croneri2022 .course-content ul.croneri2022 { flex-basis: 100%; padding-left: 0; }
    .format-croneri2022 .course-content > h2.course-title { font-size: 1.9rem; }
}

/* ===================== C3. Category pages ===================== */

/* Prod hides the category picker and the inline search box */
#page-course-index-category .categorypicker,
#page-course-index-category #coursesearch,
#page-course-index-category .course-search {
    display: none;
}
/* Category description box: no dashed frame (invisible when the description is empty) */
#page-course-index-category .box.generalbox.info {
    border: 0;
    padding: 0;
    margin: 0 0 1rem;
    min-height: 0;
}
#page-course-index-category #region-main > h2,
#page-course-index-category .page-header-headings h1 {
    font-family: "Lora", Georgia, serif;
}
/* Latest courses block placed in the Top region on category pages */
#page-course-index-category #block-region-top {
    padding: 1.5rem 2rem 0;
}
/* Sub-category accordion */
.course_category_tree .category > .info > .categoryname,
.course_category_tree .category .categoryname {
    font-family: "Lora", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.5rem;
}
.course_category_tree .category > .info > .categoryname a {
    color: var(--croner-navy);
    text-decoration: none;
}
.course_category_tree .category {
    background: #FAFAFA;
    border: 0;
    margin-bottom: 0.75rem;
}
.course_category_tree .collapsible-actions .collapseexpand {
    display: inline-block;
    background: var(--croner-gold);
    color: var(--croner-navy);
    padding: 0.5rem 0.75rem;
    font-family: "Lora", Georgia, serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    text-decoration: none;
}

/* ===================== C3b. Search results (local_search "View all" pages) ===================== */

.search-results > h2 {
    font-family: "Lora", Georgia, serif;
    font-size: 2.25rem;
    display: inline-block;
    border-bottom: 2px solid var(--croner-gold);
    margin-bottom: 0.5rem;
}
#search-results > h3 {
    font-family: "Lato", Arial, sans-serif;
    font-size: 1.1rem;
    margin: 0 0 1.25rem;
}
.search-results-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 1.5rem;
}
.local-search-row-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E6E6E6;
}
.local-search-row-item > img {
    display: block;
    width: 100%;
    height: 9rem;
    object-fit: cover;
}
.local-search-row-item-content-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0.5rem 1rem 1rem;
    color: var(--croner-navy);
}
.local-search-row-item-content-wrapper h2.main-category {
    font-family: "Lato", Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    margin: 0 0 0.25rem;
}
.local-search-row-item-content-wrapper h3.course-title {
    font-family: "Lato", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.25rem;
}
.local-search-row-item-content-wrapper h3.course-by {
    font-family: "Lato", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 0.5rem;
}
.local-search-row-item-content-wrapper .search-content p:empty {
    display: none;
}
.local-search-row-item-content-wrapper .search-content ul {
    padding-left: 1.5rem;
    margin: 0.25rem 0 0.5rem;
}
.local-search-row-item-content-wrapper .search-content,
.local-search-row-item-content-wrapper .search-content * {
    font-size: 1rem !important;
    line-height: 1.3 !important;
    font-family: "Lato", Arial, sans-serif !important;
}
.local-search-row-item .block-my-courses-course-content-blockbottom {
    margin-top: auto;
    padding-top: 0.75rem;
}
.local-search-row-item .cpdhours {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}
.local-search-row-item .cpdhours::before {
    content: "";
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2233' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
}
.local-search-row-item .course-access-link {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.2;
}
.local-search-row-item .course-access-link .croner-i-button-wrapper,
.local-search-row-item .course-access-link .croner-i-button,
.local-search-row-item .course-access-link .content {
    display: block;
    padding: 0;
    margin: 0;
    height: auto;
    color: inherit;
}
.local-search-row-item .croner-i-button .croner-i-button {
    display: none;
}

/* Search filters block (block_search_filters): checkbox before its label */
.block_search_filters .checkbox {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0;
    margin: 0.25rem 0;
}
.block_search_filters .checkbox.hidden {
    display: none;
}
.block_search_filters .checkbox input[type="checkbox"],
.block_search_filters .checkbox label input[type="checkbox"] {
    position: static;
    margin: 0;
    left: auto;
}
.block_search_filters .checkbox label {
    padding-left: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===================== C4. Footer (Inspire Custom footer HTML) ===================== */

.croner-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2rem 1rem 1rem;
    color: #fff;
    font-family: "Lato", Arial, sans-serif;
    font-size: 0.9rem;
    text-align: left;
}
.croner-footer a {
    color: #fff !important;
    text-decoration: none !important;
}
.croner-footer a:hover {
    text-decoration: underline !important;
}
.croner-footer h5 {
    color: #fff;
    font-family: "Lato", Arial, sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 0 0.6rem;
}
.croner-footer p,
.croner-footer ul {
    margin: 0 0 0.4rem;
    padding: 0;
    list-style: none;
    color: #fff;
}
.croner-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.croner-footer__brand img {
    width: 3rem;
    height: 3rem;
}
.croner-footer__wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.croner-footer__wordmark span:first-child {
    font-size: 1.9rem;
}
.croner-footer__wordmark span:last-child {
    font-size: 1.05rem;
    margin-top: 0.15rem;
}
.croner-footer__socials ul {
    display: flex;
    gap: 0.6rem;
}
.croner-footer__socials a {
    display: inline-flex;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: #fff;
    align-items: center;
    justify-content: center;
}
.croner-footer__socials a {
    background: #fff no-repeat center / 1.1rem 1.1rem;
}
/* Icons as CSS backgrounds: the footer HTML filter strips inline SVG */
.croner-footer__socials a[href*="facebook"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B2233'%3E%3Cpath d='M13.5 22v-8h2.7l.4-3.2h-3.1V8.8c0-.9.3-1.5 1.6-1.5h1.7V4.4c-.3 0-1.3-.1-2.4-.1-2.4 0-4 1.5-4 4.1v2.4H7.7V14h2.7v8z'/%3E%3C/svg%3E");
}
.croner-footer__socials a[href*="twitter"],
.croner-footer__socials a[href*="x.com"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B2233'%3E%3Cpath d='M17.8 3h3.1l-6.8 7.7L22 21h-6.2l-4.9-6.4L5.3 21H2.2l7.2-8.3L1.8 3h6.4l4.4 5.8zm-1.1 16.2h1.7L7.4 4.7H5.6z'/%3E%3C/svg%3E");
}
.croner-footer__socials a[href*="linkedin"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B2233'%3E%3Cpath d='M4.98 3.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM3 9.75h4v11.25H3zM9.5 9.75h3.8v1.6h.1c.5-1 1.8-2 3.8-2 4 0 4.8 2.6 4.8 6.1V21h-4v-4.9c0-1.2 0-2.7-1.6-2.7s-1.9 1.3-1.9 2.6v5h-4z'/%3E%3C/svg%3E");
}
.croner-footer__socials a[href*="youtube"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231B2233'%3E%3Cpath d='M23 7.2a3 3 0 0 0-2.1-2.1C19 4.6 12 4.6 12 4.6s-7 0-8.9.5A3 3 0 0 0 1 7.2 31 31 0 0 0 .5 12a31 31 0 0 0 .5 4.8 3 3 0 0 0 2.1 2.1c1.9.5 8.9.5 8.9.5s7 0 8.9-.5a3 3 0 0 0 2.1-2.1 31 31 0 0 0 .5-4.8 31 31 0 0 0-.5-4.8zM9.7 15.1V8.9l5.8 3.1z'/%3E%3C/svg%3E");
}
.croner-footer__copy {
    flex: 0 0 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    font-size: 0.85rem;
}

