: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: #fafafa;--nav-text-color: #002B26;--nav-selected-color: #4AC900;--color-primary: #4AC900;--color-state: #002B26;--color-text: #262626;--footer-bg-color: #002B26;--footer-text-color: #FFFFFF;--color-state-hover: #00211c;--color-state-focus: #00211c;--color-state-active: #00100b;--footer-text-color-hover: #f5f5f5;}
body,
p {
  font-family: "area-normal", sans-serif !important;
  font-weight: 400;
  font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "area-normal", sans-serif !important;
  font-weight: 700 !important;
  color: #002b26 !important;
  letter-spacing: -0.01em;
}

a {
  color: #002b26;
  font-weight: 600 !important;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s ease;
}

a:hover {
  text-decoration-color: #4ac900;
}

/* My Learning dashboard --------------------------------- */
#page-totara-dashboard-1 {
  .userToolbar::after {
    content: "";
    display: block;
    width: 100%;
    min-height: 300px;
    background-image: url("https://learn.skillbuilder.co.nz/assets/lms-banner.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

  .no-overflow {
    display: flex;
    justify-content: space-around;
    padding-bottom: 0;
    margin-bottom: 0;

    p {
      margin-bottom: 0;
    }
  }
  /* remove "Bookings" from the My Learning Nav block */
  .block_totara_my_learning_nav .list li:first-child {
    display: none;
  }
}

/* Aaron experimenting ⊂(◉‿◉)つ ---- */

/* Make the nav logo bigger */
.tui-theme_inspire-navigation__headingLogo {
  max-width: 190px !important;
}

/* My Learning dashboard – Purchase more courses CTA */

#page-totara-dashboard-1 #inst61 {
  margin-top: 0px;
}

/* Remove Totara padding so CTA can go edge-to-edge */

#page-totara-dashboard-1 #inst61 .content.block-content {
  padding-left: 0;
  padding-right: 0;
}

/* Card wrapper */

#page-totara-dashboard-1 #inst61 .generated-content--user .no-overflow {
  border: 2px solid #4ac900;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.08);
  padding: 14px;
}

/* Remove default paragraph margin */

#page-totara-dashboard-1 #inst61 p {
  margin: 0;
}

/* CTA button */

#page-totara-dashboard-1 #inst61 a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: #4ac900;
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

/* Keep text white */

#page-totara-dashboard-1 #inst61 a:visited {
  color: #ffffff;
}

/* Hover + focus */

#page-totara-dashboard-1 #inst61 a:hover {
  background: #002b26;
  color: #ffffff;
  text-decoration: none;
}

#page-totara-dashboard-1 #inst61 a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 201, 0, 0.35);
}

/* Icon sizing */

#page-totara-dashboard-1 #inst61 a img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin: 0;
}

/* Dashboard CTA internal layout */

#page-totara-dashboard-1 #inst61 .sb-dashboard-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Image */

#page-totara-dashboard-1 #inst61 .sb-dashboard-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 4px;
}

/* Eyebrow */

#page-totara-dashboard-1 #inst61 .sb-dashboard-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin: 0;
}

/* Title */

#page-totara-dashboard-1 #inst61 .sb-dashboard-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

/* Body */

#page-totara-dashboard-1 #inst61 .sb-dashboard-body {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.85;
  margin: 0;
}

/* Button */

#page-totara-dashboard-1 #inst61 a {
  display: block;
  width: 100%;
  text-align: center;
  background: #4ac900;
  color: #ffffff;
  padding: 12px 14px;
  margin-top: 10px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

#page-totara-dashboard-1 #inst61 a:hover {
  background: #002b26;
  color: #ffffff;
  text-decoration: none;
}

/* Helper text */

#page-totara-dashboard-1 #inst61 .sb-dashboard-helper {
  margin-top: 6px;
  font-size: 0.7rem;
  opacity: 0.75;
  text-align: centre;
}

.return-homepage,
.go-to-personalised-feedback {
  width: 275px;

  .no-overflow {
    display: flex;
    justify-content: center;

    p {
      margin: 0;
    }
  }
}

/* Aaron's Personalised feedback sidebar CTA  ⊂(◉‿◉)つ*/

.block_html.go-to-personalised-feedback {
  border: 2px solid #4ac900;
  border-radius: 10px;
  padding: 8px;
  background: #fafafa;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.08);
}

/* Remove default paragraph spacing if it is awkward */
.block_html.go-to-personalised-feedback p {
  margin: 0;
}

/* Turn links into button */
.block_html.go-to-personalised-feedback a {
  display: block;
  width: 100%;
  text-align: center;
  background: #4ac900;
  color: #ffffff;
  padding: 12px 14px;
  margin-top: 10px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

/* Hover and focus */
.block_html.go-to-personalised-feedback a:hover {
  background: #002b26;
  text-decoration: none;
}

.block_html.go-to-personalised-feedback a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 201, 0, 0.35);
}

/* Internal layout */

.block_html.go-to-personalised-feedback .sb-feedback-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Image */

.block_html.go-to-personalised-feedback .sb-feedback-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 4px;
}

/* Eyebrow */

.block_html.go-to-personalised-feedback .sb-feedback-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

/* Title */

.block_html.go-to-personalised-feedback .sb-feedback-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

/* Body */

.block_html.go-to-personalised-feedback .sb-feedback-body {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.85;
}

.block_html.go-to-personalised-feedback .sb-feedback-helper {
  margin-top: 4px;
  font-size: 0.6rem;
  opacity: 0.75;
  text-align: centre;
}

/* Full width CTA in the sidebar */

#block-region-side-post .block_html.go-to-personalised-feedback,
#block-region-side-pre .block_html.go-to-personalised-feedback,
#region-post .block_html.go-to-personalised-feedback,
#region-pre .block_html.go-to-personalised-feedback {
  width: calc(100%);
  margin-left: 0px;
  border-radius: 10px;
}

/* Footer ------------------------------------------------ */
#page-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 50px;
  background-image: url("https://learn.skillbuilder.co.nz/assets/footer-fern.png");
  background-size: 100%;
  background-repeat: no-repeat;
}

.page-footer .page-footer-main-content {
  padding-top: 0;
}

.custom-footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  ul {
    margin: 0;
    display: flex;
  }

  li {
    list-style: none;
    color: #fff;
    padding: 0 16px;
    font-size: 12px;
  }

  li:not(:last-child) {
    border-right: 1px solid #4ac900;
  }

  li:first-child {
    padding-left: 0;
  }
}

/* Aaron's amazing new Skillbuilder image header block ⊂(◉‿◉)つ */

.sb-image-header {
  position: relative;
  width: 100%;
  margin: 24px 0;
  overflow: hidden;
}

.sb-image-header--no-radius {
  border-radius: 0;
}

.sb-image-header__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0px 0px;
}

.sb-image-header__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center; /* vertical centre */
  padding: 24px;
  text-align: left;
  max-width: 80%;
}

.sb-image-header__title {
  margin: 0;
  font-family: "area-normal", sans-serif;
  font-size: clamp(1rem, calc(0.9vw + 0.8rem), 1.8rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.course-content .section:has(.sb-image-header) .sectionname {
  display: none !important;
}

.instancename {
  font-size: 15px;
  font-weight: 600;
}

.course-content .section:has(.sb-image-header) {
  padding-top: 0;
}

.activity .flex-icon {
  color: #4ac900;
  font-size: 1.2rem;
  position: relative;
  top: -3px;
}

/* Course page hero ⊂(◉‿◉)つ */

.sb-page-hero {
  position: relative;
  width: 100%;
  margin: 0 0 32px 0;
}

.sb-page-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

.sb-page-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center; /* vertical centre */
  padding: 48px;
  max-width: 70%;
}

.sb-page-hero__title {
  margin: 0;
  font-family: "area-normal", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, calc(2vw + 1rem), 4rem) !important;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* When a hero exists, hide the native course title */
body:has(.sb-page-hero) .page-heading {
  display: none !important;
}

/* Only affect the block that contains the hero */
.block:has(.sb-page-hero) .title,
.block:has(.sb-page-hero) .block-title {
  display: none !important;
}

/* Remove padding around the hero */
.block:has(.sb-page-hero) .content,
.block:has(.sb-page-hero) .block-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Remove any block chrome */
.block:has(.sb-page-hero) {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Custom progress bar styling ⊂(◉‿◉)つ*/

.progress .bar {
  background-color: #4ac900 !important;
}

/* Skillbuilder SCORM launch form styling ⊂(◉‿◉)つ*/

.scorm-center form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* Hide native checkbox */

.scorm-center input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border: 1px solid #999;
  border-radius: 4px;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  margin-right: 8px;
  background: #ffffff;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

/* White checkmark */

.scorm-center input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 0.12s ease;
}

/* Checked state */

.scorm-center input[type="checkbox"]:checked {
  background-color: #4ac900;
  border-color: #4ac900;
}

/* Show tick */

.scorm-center input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}

/* Kill browser hover colour */

.scorm-center input[type="checkbox"]:hover {
  background-color: inherit;
}

/* Focus */

.scorm-center input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 201, 0, 0.35);
}

/* Hover only affects unchecked */

.scorm-center input[type="checkbox"]:not(:checked):hover {
  border-color: #4ac900;
}

/* Keep checked green on hover */

.scorm-center input[type="checkbox"]:checked:hover {
  background-color: #4ac900;
  border-color: #4ac900;
}

.scorm-center label {
  font-size: 13px;
  cursor: pointer;
}

/* Button styling */

.scorm-center input[type="submit"].btn-primary {
  background-color: #4ac900;
  border-color: #4ac900;
  color: #ffffff;
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 50px;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
}

/* Hover */

.scorm-center input[type="submit"].btn-primary:hover {
  background-color: #002b26;
  border-color: #002b26;
  transform: translateY(-1px);
}

/* Focus accessibility */

.scorm-center input[type="submit"].btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 201, 0, 0.35);
}

/* Dashboard reset: stop unexpected columns or flex layouts in other blocks */

#page-totara-dashboard-1 .block .no-overflow {
  display: block;
  column-count: 1;
  column-width: auto;
}

#page-totara-dashboard-1 .block .no-overflow > * {
  width: auto;
  flex: none;
}

/* =====================================================
   Explore catalogue card styling ⊂(◉‿◉)つ
   Edit highlighted course IDs only.
   ===================================================== */

/* Featured course IDs */
:root {
  /* Replace / extend these IDs */
  --featured-course-1: 14;
  /* --featured-course-2: xx; */
  /* --featured-course-3: xx; */
}

/* =====================================================
   Base styling (ALL cards) ⊂(◉‿◉)つ
===================================================== */

.tui-totara_catalog-itemCard {
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  padding: 10px;
  margin: 0px 5px;
  outline: 1px solid #fafafa;
}

.tui-totara_catalog-itemCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* =====================================================
   Featured cards ⊂(◉‿◉)つ
===================================================== */

.tui-totara_catalog-itemCard:has(a[href*="course/view.php?id=14"]) {
  outline: 1px solid #dfdfdf;
  background: #fafafa;
}

/* =====================================================
Applied Learning styling ⊂(◉‿◉)つ
===================================================== */

.sb-applied-learning {
  padding: 0rem 1.25rem;
}

.sb-applied-learning .sb-applied-emphasis {
  display: block;
  background-color: #f3f3f3;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
}

.sb-applied-learning .sb-applied-emphasis strong {
  font-weight: 600;
  font-size: 15px;
  border-left: 4px solid #d3af38;
  padding-left: 1rem;
  text-align: left;
}

/* ==========================================
   Applied Learning activities (Assignments + Chats) ⊂(◉‿◉)つ
========================================== */

li.activity.modtype_assign,
li.activity.modtype_chat {
  background: #ecfce8;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 2rem;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

/* Hover lift */

li.activity.modtype_assign:hover,
li.activity.modtype_chat:hover {
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Internal layout */

li.activity.modtype_assign .activityinstance,
li.activity.modtype_chat .activityinstance {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Title weight */

li.activity.modtype_assign .instancename,
li.activity.modtype_chat .instancename {
  font-weight: 600;
}

/* Green accent for assignments only (Applied tasks) */

li.activity.modtype_assign {
  border-left: 20px solid #4ac900;
  padding-left: 0.75rem;
}

/* Vertically centre completion icon*/

li.activity.modtype_assign .actions,
li.activity.modtype_chat .actions {
  display: flex;
  align-items: center;
  margin-left: auto;
}

li.activity.modtype_assign .flex-icon,
li.activity.modtype_chat .flex-icon {
  position: relative;
  top: 2px;
}

/* ==========================================
   Task → Module reference styling
========================================== */

.sb-task-module-ref {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #dbeded;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-size: 0.85rem;
  color: #002b26;
  margin-top: 0.75rem;
}

/* Icon via pseudo element */
.sb-task-module-ref::before {
  content: "📘";
  font-size: 1.2rem;
  line-height: 1;
}

/* ==========================================
   Nudge assignment + chat icons up slightly
========================================== */

li.activity.modtype_assign .activityicon,
li.activity.modtype_chat .activityicon {
  position: relative;
  padding-right: 5px;
  top: -2px;
  font-size: 1.1rem;
}

/* ==========================================
   Module feedback block ⊂(◉‿◉)つ
========================================== */

.sb-feedback {
  background: #dbeded;
  border: 2px solid #c2dee0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}

.sb-feedback__title {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
}

.sb-feedback__intro {
  margin: 0 0 1rem 0;
}

/* Micro feedback chips */

.sb-feedback__micro {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sb-feedback__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: #f2fafa;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.sb-feedback__chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.sb-feedback__chip:focus {
  outline: 2px solid #4ac900;
  outline-offset: 2px;
}

.sb-feedback__icon {
  display: inline-flex;
  line-height: 1;
}

.sb-feedback__label {
  font-weight: 500;
}

/* Action buttons */

.sb-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.sb-feedback__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.sb-feedback__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.sb-feedback__btn:focus {
  outline: 2px solid #4ac900;
  outline-offset: 2px;
}

.sb-feedback__btn--primary {
  background: #4ac900;
  color: #ffffff;
}

.sb-feedback__btn--secondary {
  background: #ffffff;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Note */

.sb-feedback__note {
  margin: 1rem 0 0 0;
  font-size: 0.6rem;
}

/* ==========================================
   Remove global link underline in feedback block ⊂(◉‿◉)つ
========================================== */

.sb-feedback a {
  text-decoration: none;
}

.sb-feedback a:hover,
.sb-feedback a:focus {
  text-decoration: none;
}

/* ==========================================
   Feedback chip polish ⊂(◉‿◉)つ
========================================== */

.sb-feedback__micro {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.sb-feedback__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.sb-feedback__chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.sb-feedback__chip:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

/* Optional subtle colour cues */

.sb-feedback__chip[href*="rating=up"]:hover {
  background: #e9f8e6;
}

.sb-feedback__chip[href*="rating=meh"]:hover {
  background: #f5f5f5;
}

.sb-feedback__chip[href*="rating=down"]:hover {
  background: #fdeaea;
}

/* Small helper text */

.sb-feedback__hint {
  margin: 0 0 1rem 0;
  font-size: 0.7rem;
  opacity: 0.75;
}

/* Section spacing */

.sb-feedback__rating {
  margin-bottom: 1.75rem;
}

.sb-feedback__deeper {
  border-top: 1px solid rgba(256, 256, 256);
  padding-top: 1.25rem;
}

.sb-feedback__deeper-intro {
  margin: 0 0 1rem 0;
  font-weight: 500;
}

/* ==========================================
   Feedback flourish icon ⊂(◉‿◉)つ
========================================== */

.sb-feedback {
  position: relative;
}

.sb-feedback::after {
  content: "";
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 50px;
  height: 50px;
  opacity: 0.99;
  pointer-events: none;

  /* Clean speech bubble outline (white) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' d='M20 12c0 3.866-3.582 7-8 7a9.4 9.4 0 0 1-2.9-.45L4 20l1.15-3.05A6.5 6.5 0 0 1 4 12c0-3.866 3.582-7 8-7s8 3.134 8 7Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ==========================================
   Explore page: clean catalogue cards
   Hide subtitle row + placeholder text ⊂(◉‿◉)つ
========================================== */

#page-totara-catalog-explore .tui-totara_catalog-itemCard__subtitleRow,
#page-totara-catalog-explore
  .tui-totara_catalog-textPlaceholders[data-testid="text-placeholders"] {
  display: none;
}

/* ==========================================
   Explore page: Coming soon badges (manual ID list) ⊂(◉‿◉)つ
========================================== */

/* Badge anchor point (IDs) */

#page-totara-catalog-explore
  a.tui-learningCard__link[href*="course/view.php?id=19"]
  + .tui-learningCard__mediaContainer {
  position: relative;
}

/* ==========================================
   Explore page: Coming soon (ID 19)
   Centred pill badge ⊂(◉‿◉)つ
========================================== */

/* Anchor media container */
#page-totara-catalog-explore
  a.tui-learningCard__link[href*="course/view.php?id=19"]
  + .tui-learningCard__mediaContainer,
#page-totara-catalog-explore
  a.tui-learningCard__link[href*="course/view.php?id=18"]
  + .tui-learningCard__mediaContainer {
  position: relative;
}

/* Muted image */
#page-totara-catalog-explore
  a.tui-learningCard__link[href*="course/view.php?id=19"]
  + .tui-learningCard__mediaContainer
  .tui-learningCard__image,
#page-totara-catalog-explore
  a.tui-learningCard__link[href*="course/view.php?id=18"]
  + .tui-learningCard__mediaContainer
  .tui-learningCard__image {
  filter: grayscale(90%);
  opacity: 0.65;
}

/* Centred pill badge */
#page-totara-catalog-explore
  a.tui-learningCard__link[href*="course/view.php?id=19"]
  + .tui-learningCard__mediaContainer::before,
#page-totara-catalog-explore
  a.tui-learningCard__link[href*="course/view.php?id=18"]
  + .tui-learningCard__mediaContainer::before {
  content: "Coming soon";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  background: #4ac900;
  color: #ffffff;

  font-size: 0.75rem;
  font-weight: 600;

  padding: 0.6rem 1rem;
  border-radius: 999px;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);

  z-index: 5;
  pointer-events: none !important;
}
#page-totara-catalog-explore
  a.tui-learningCard__link[href*="course/view.php?id=19"]
  + .tui-learningCard__mediaContainer
  .tui-learningCard__image,
#page-totara-catalog-explore
  a.tui-learningCard__link[href*="course/view.php?id=18"]
  + .tui-learningCard__mediaContainer
  .tui-learningCard__image {
  filter: grayscale(90%);
  opacity: 0.6;
}

/* ==========================================
   Explore: Featured Pathways ⊂(◉‿◉)つ
========================================== */

/* Block wrapper */
#page-totara-catalog-explore .sb-pathways-featured {
  max-width: none;
  margin: 0 0 2rem 0;
}

/* Release any Totara content constraints */
#page-totara-catalog-explore .sb-pathways-featured .content {
  max-width: none;
  width: 100%;
}

/* Custom grid layout */
#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-layout {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

/* Remove Totara sizing limits */
#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-tile {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;

  position: relative;
  border-radius: 10px;
  overflow: hidden;

  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  min-height: 120px;

  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* Hide filler tiles */
#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-flex-filler {
  display: none !important;
}

/* Make tile fully clickable */
#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}

/* Content pinned bottom */
#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-content-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}

/* ===== Title + Badge wrapper ===== */

#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-content-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

/* ===== Pathway badge ===== */

#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-content-top::before {
  content: "Pathway";
  display: inline-block;

  background: #4ac900;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;

  padding: 0.25rem 0.6rem;
  border-radius: 999px;

  position: relative;
  z-index: 2;
  width: fit-content;
}

/* ===== Title card ===== */

#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-content-top
  h3 {
  margin: 0;
  font-size: clamp(0.85rem, 0.8rem + 0.75vw, 1.25rem) !important;
  font-family: "area-normal", sans-serif;
  font-weight: 500;
  line-height: 1.15;
  color: #002b26;

  background: #ffffff;
  border-radius: 10px;
  padding: 0.75rem 0.9rem;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  width: fit-content;
  max-width: 88%;

  position: relative;
  z-index: 1;
}

/* Responsive */
/* Tablet-ish */
@media (max-width: 1200px) {
  #page-totara-catalog-explore
    .sb-pathways-featured
    .block-totara-featured-links-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 768px) {
  #page-totara-catalog-explore
    .sb-pathways-featured
    .block-totara-featured-links-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  #page-totara-catalog-explore
    .sb-pathways-featured
    .block-totara-featured-links-content-top
    h3 {
    font-size: clamp(1rem, 0.9rem + 1.2vw, 1.15rem);
  }
}

/* Card hovers */
#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-tile {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-content-top
  h3 {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#page-totara-catalog-explore
  .sb-pathways-featured
  .block-totara-featured-links-tile:hover
  .block-totara-featured-links-content-top
  h3 {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

/* ==========================================
   Explore: Pathways heading styling
========================================== */

/* Make Pathways match Explore heading */
#page-totara-catalog-explore .sb-pathways-featured h2 {
  font-family: "area-normal", sans-serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  border: none;
  padding: 0;
}

/* Remove divider line under Pathways title */
#page-totara-catalog-explore
  .sb-pathways-featured
  div.title.block-title::after {
  display: none !important;
  content: none !important;
}

#page-totara-catalog-explore .sb-pathways-featured div.title.block-title {
  padding-bottom: 0;
  margin-bottom: 1rem;
}

/* 
   Explore page: Rename page heading (no double render) */

#page-totara-catalog-explore .tui-pageHeading__title {
  position: relative;
  visibility: hidden; /* hides original text properly */
}

/* Replacement text */
#page-totara-catalog-explore .tui-pageHeading__title::after {
  content: "Explore all modules";
  visibility: visible;

  position: absolute;
  left: 0;
  top: 0;
}

/*  Explore page: Remove subtitle */

#page-totara-catalog-explore .tui-totara_catalog-explore__subtitle {
  display: none !important;
}

