:root{--color-primary: #69bd45;--color-secondary: #007ab8;--color-tertiary: #1ea4a9;--color-state: #4b7e2b;--color-state-hover: #3c6721;--color-state-focus: #3c6721;--color-state-active: #30541a;--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: #fff;--nav-text-color: var(--color-text);--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)}:root{--nav-bg-color: #FAF8F0;--nav-text-color: #3e4156;--color-primary: #d37f66;--btn-accent-color: #3e4156;--link-color: #3e4156;--color-state: #3e4156;--color-text: #3e4156;--footer-bg-color: #222222;--footer-text-color: #ffffff;--btn-accent-color-hover: #34374c;--btn-accent-color-active: #23263b;--link-color-hover: #34374c;--color-state-hover: #34374c;--color-state-focus: #34374c;--color-state-active: #23263b;--footer-text-color-hover: #f5f5f5;}
* {box-sizing: border-box;margin: 0;padding: 0;}
body {
  background-color: #FAF8F0;
  margin: 0;
  padding: 0;
}
.no-overflow {margin: -1px; padding: 0;}
.tui-core_auth-loginNav__image {height: 100%;}
body.loggedin .guest-only {
  display: none !important;
}

body.notloggedin .member-only {
  display: none !important;
}

.member-only {
  padding-top: 1em;
}

.inline-enroll-btn {
  margin-top: 1rem;
  margin-bottom: 1rem; /* breathing room for any shadow/border */
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
  background: #D37F66;
  color: #fff;
  border-radius: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
  display: inline-block;
  line-height: 1.2;
}

/* Hide English menu item for Spanish pages */
html[lang="es"] #totaramenuitem38 {  /* Curriculum */
    display: none !important;
}

/* Hide Spanish menu item for English pages */
html[lang="en"] #totaramenuitem39 {  /* Plan de Estudios */
    display: none !important;
}

/* Hide Footer */
.page-footer-poweredby, .tui-core_auth-footer {
    display: none !important;
}

/* Login logo */
.tui-core_auth-loginNav__image {
  height: auto !important;
  width: 100% !important;
  max-width: 250px !important;
}

a[data-guest-link] {
    display: inline-block;       /* Makes it behave like a button */
    padding: 5px 25px;
    background-color: #D37F66;
    border: 1px solid #D37F66;
    color: #fff;
    text-decoration: none;
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.25rem;
    margin-top: 15px;
}

a[data-guest-link]:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
}

/* Hide restricted activity buttons */
a.btn-danger, .btn-danger {
    display: none !important;
}

body#page-login-index #custom-footer {
  display: none !important;
}
body.loggedin .lin {
  display: none !important;
}
body.notloggedin .nolin {
  display: none !important;
}

body.notloggedin #totaramenuitem16{
  display: none !important;
}

#collapse-container-24 #section-0 {
    display: none;
}

/* Blocks */
#block-region-side-post .block {
   background-color: #E6A48F !important;
}

/* Header */

.totaraNav .totaraNav_prim .masthead_logo--header_img {
  height: 3.5rem !important;
}

@media (max-width: 768px) {
  .totaraNav_prim .masthead_logo--header_img {
    height: 1.25rem;
  }

  /* ADDED: guest/login bar must wrap instead of clipping.
     Unwrapped, .totaraNav_prim--side renders 496px wide inside a
     375px viewport: "Enroll for Free" is cut at the edge, "Sign in"
     sits at x=400 and the language selector at x=492 — both
     off-screen. The html{overflow-x:hidden} rule further down hides
     the overflow, so there is no scrollbar to reach them either. */
  .totaraNav_prim--side {
    flex-wrap: wrap !important;
    max-width: 100% !important;
  }

  .totaraNav_prim--side .usermenu {
    max-width: 100% !important;
  }

  .totaraNav_prim--side .usermenu .login {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .totaraNav_prim--side .my-extra-btn {
    white-space: nowrap !important;
  }

  /* ADDED: keep "Enroll for Free" and "Sign in" on the same row.
     The guest notice is a bare text node (~194px). Where it fits
     beside the Enroll button the row breaks between the two buttons
     instead, orphaning "Sign in" on a third line — which happens
     from about 400px up, so it shows on a 412/430px handset but not
     at 375px.

     A text node can't be targeted by a selector, so the companion
     script in Additional HTML wraps it in .ls4l-guestnote first.
     This rule then gives it a full-width line of its own and the
     two buttons always share the next one.

     Without that script this rule simply never matches and the
     layout is unchanged — they are safe to install in either order. */
  .totaraNav_prim--side .usermenu .login .ls4l-guestnote {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  /* ADDED: pin the language globe to the top right.
     Left in the wrapping flow it takes a third row of its own,
     pushing the header to 92px. Pinned, the header is 62px and
     the globe sits level with the logo. nav.totaraNav_prim is
     already position:relative, so it is the anchor; asserted
     below in case that changes upstream. */
  .totaraNav_prim {
    position: relative;
  }

  .totaraNav_prim .language-selector {
    position: absolute !important;
    top: 10px;
    right: 16px;
    margin: 0 !important;
    z-index: 5;
  }
}

.totaraNav_prim--side .usermenu .login a {
   padding: 5px 15px;
   border: 1px solid #3E4156;
   border-radius: 15px;
}

.breadcrumb-nav,
.breadcrumb,
.breadcrumbs {
    display: none !important;
}

#page-header .breadcrumb-nav .breadcrumb > li:first-of-type::before {
    display: none;  /* hides the bullet */
}
#page-header .breadcrumb-nav .breadcrumb {
   background-color: rgba(230, 164, 143, 0.15);
   padding: 8px 15px 8px 15px;
}

/* Footer */

#page-footer .container-fluid {
  max-width: 100% !important;
}

#page-footer, #page-footer .container-fluid, #page-footer .page-footer-main-content {
  padding: 0 !important;
}

#custom-footer {
  background: #3c3d54;
  padding: 5rem;
  text-align: center;
  color: #fff;
}

.custom-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  display: block;
  margin: 0 auto 2rem;
}
.footer-nav {
  margin: 3rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem; /* spacing between links on desktop */
}
.footer-nav-contact {
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.footer-nav a, .footer-nav-contact a {
  color: #fff;
  text-decoration: underline;
}
/* Stack vertically on small screens */
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* smaller vertical spacing */
  }

  .footer-nav a {
    display: block;
  }
}
.social-links {
  margin-top: 1.5rem;
  display: none !important;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0.5rem;
  border-radius: 50%;
  background: #fff;
  color: #3c3d54 !important;
  font-size: 20px;
  transition: all 0.3s ease;
  text-decoration: none !important;
}
.social-links a:hover {
  background: #ddd;
  color: #3c3d54;
  text-decoration: none;
}

/* Hero blocks */

.ls4l-desktop-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #E6A48F;
  color: #2f3448;
  border-radius: 8px;
  padding: 14px 20px;
  line-height: 1.35;
  text-align: center;
}

.ls4l-desktop-notice__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: block;
}

/* Only show it to people who aren't already on a desktop */
@media (min-width: 769px) {
  .ls4l-desktop-notice { display: none; }
}

  .course-header-btn {
    font-size: 1.25rem !important;
   }

  .course-header-btn:hover {
     color: #fff !important;
   }

/* Homepage - Hero */

   #page-site-index .page-heading h1 {
     display: none !important;
    }

  .hero-section {
    display: flex;
    flex-wrap: wrap;
    background-color: #2f3448;
    color: #ffffff;
    height: 100%;
    width: 100%;
  }
  .hero-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    min-height: 100%;
    align-items: center;
  }
  .hero-text {
    flex: 1 1 50%;
    padding: 2rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-text h1 {
    font-size: 2.5rem !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
  }
  .hero-text p {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
    max-width: 90% !important;
  }
  .hero-image {
    flex: 1 1 50% !important;
    height: 100% !important;
  }
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  /* CHANGED: mobile hero.
     Previously this block kept the hero as a flex row and set
     .hero-image{min-height:500px}. Combined with the
     height:100%!important above, the image box resolved to
     345 x 1196px — a 1:3.5 portrait slot. The source photo is
     1424 x 1040 landscape, so object-fit:cover threw away ~80%
     of it and phone users saw a vertical sliver of a doorway.
     Switching to a plain block stack gives 345 x 259 and the
     whole photo renders. */
  @media (max-width: 768px) {
    .hero-section,
    .hero-container {
      display: block !important;
      height: auto !important;
      min-height: 0 !important;
    }
    .hero-text,
    .hero-image {
      flex: none !important;
      width: 100% !important;
      height: auto !important;
      min-height: 0 !important;
    }
    .hero-text {
      padding: 2rem 1.5rem;
    }
    .hero-text h1 {
      font-size: 2.25rem;
    }
    .hero-text p {
      font-size: 1.125rem;
    }
    .hero-image img {
      width: 100% !important;
      height: auto !important;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      display: block;
    }
  }

/* Homepage - section 2 */

.training-section {
    font-family: Helvetica, Arial, sans-serif;
    padding: 5rem 2rem;
    box-sizing: border-box;
  }
  .training-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  .training-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
  }
  .training-left,
  .training-right {
    flex: 1 1 300px;
  }
  .training-left h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333344;
    margin: 0 0 1rem 0;
  }
  .training-right ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
  }
  .training-right ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.2em;
    color: #333344;
  }
  .training-right ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333344;
    font-weight: bold;
  }
  .training-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .training-buttons a {
    padding: 5px 20px 1px;
    border-radius: 24px;
    font-size: 1.25rem;
    text-decoration: none;
    display: inline-block;
  }
  .btn-primary {
    background-color: #d87e67;
    color: white;
    border: none;
  }
  .btn-primary:hover {
    background-color: #d87e67;
    text-decoration: none;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
  }
  .btn-outline {
    border: 2px solid #333344;
    color: #333344;
    background-color: transparent;
  }
  .btn-outline:hover {
    text-decoration: none;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
  }
  @media (max-width: 768px) {
    .training-grid {
      flex-direction: column;
    }
    .training-buttons {
      flex-direction: column;
      align-items: stretch;
    }
  }

/* Homepage  - Course block */
.popular-courses-container {
     width: 100%;
     background: #8BB19C;
}

.popular-courses {
     max-width: 100%;
     margin: 0 auto;
     padding: 1.5em 0 0 3em;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
}

.popular-courses-link {
  padding: .5em 3em 1.75em;
}

.popular-courses h2 {
     font-size: 2.5rem;
     margin: 0;
     color: #3E4156;
     text-align: left;
     margin-bottom: 0.25em !important;
}

.see-all-courses {
     font-size: 1.5rem;
     color: #3E4156;
     text-align: left;
     text-decoration: underline;
}

.see-all-courses:hover {
     color: #d87e67;
}

.course-rotator {
    width: 100%;
    background: #8bb19c;
    padding: 2rem 0;
}

.course-rotator .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

.course-rotator .viewport {
    overflow: hidden;
}

.course-rotator .track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.course-rotator .slide {
    flex: 0 0 calc(33.333% - 13.333px);
    box-sizing: border-box;
    background: #3E4156;
    border-radius: 8px;
    text-align: center;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 6px 6px 0 0;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.slide:hover img {
    opacity: 0.7;
}

.slide .slide-txt {
    padding: 1rem !important;
    text-align: left !important;
}

.slide h3 {
    font-size: 1.5rem !important;
    margin: 0.5rem 0 !important;
    color: #f4f1E0;
}

.slide p {
    color: #f4f1E0;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #3e4156;
    color: #FAF7E4;
    border: 2px solid #3e4156;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    display: none; /* hidden by default, will show if slides>3 */
}

.nav-arrow:hover {
    background: #FAF7E4;
    color: #3e4156;
    border: 2px solid #3e4156;
}

.nav-arrow.left { left: -22px; }
.nav-arrow.right { right: -22px; }

/* Tablet - 2 slides + 25% peek */
@media (max-width: 900px) {
  .course-rotator .slide {
    flex: 0 0 45%; /* 2 slides + peek */
    margin-right: 10px;
  }
}

/* Mobile - 1 slide + 25% peek */
@media (max-width: 600px) {
  .course-rotator .slide {
    flex: 0 0 75%; /* 1 slide + peek */
    margin-right: 10px;
  }

  .nav-arrow.left,
  .nav-arrow.right {
    display: none !important;
  }
}

/* =========================================================
   Homepage - Why Join
   ========================================================= */

.why-join-section {
  width: 100%;
  font-family: Helvetica, Arial, sans-serif;
  border-top: 5px solid #e6a48f;
  border-bottom: 5px solid #e6a48f;
  padding: 4rem 1rem;
  text-align: center;
  overflow: visible;
}

.why-join-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.why-join-section h2 {
  font-size: 2.5rem;
  margin: 0 0 2rem;
  color: #3E4156;
  text-align: left;
}

/* Layout */
.why-join-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin: 0 auto;
  padding: 1rem 0;
  overflow: visible;
}

/* Circle Cards */
.why-join-item {
  width: 280px;
  height: 280px;
  flex: 0 0 280px;

  background-color: #e6a48f;
  border-radius: 50%;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 1.25rem;
  box-sizing: border-box;

  transition: transform 0.3s ease;
}

.why-join-item:hover {
  transform: scale(1.05);
}

.why-join-item img {
  width: 110px;
  height: auto;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.why-join-item:hover img {
  transform: scale(1.1);
}

.why-join-item h4 {
  font-size: 1.25rem;
  line-height: 1.2;
  color: #2f3448;
  margin: 0 0 0.5rem;
  max-width: 85%;
}

.why-join-item p {
  font-size: 1rem;
  line-height: 1.25;
  color: #2f3448;
  margin: 0;
  max-width: 85%;
}

/* Tablet */
@media (max-width: 1024px) {

  .why-join-item {
    width: 220px;
    height: 220px;
    flex-basis: 220px;
    padding: 1rem;
  }

  .why-join-item img {
    width: 85px;
  }

  .why-join-item h4 {
    font-size: 0.9rem;
  }

  .why-join-item p {
    font-size: 0.85rem;
  }
}

/* Mobile */
@media (max-width: 640px) {

  .why-join-section h2 {
    text-align: center;
    font-size: 2rem;
  }

  .why-join-grid {
    gap: 1rem;
  }

  .why-join-item {
    width: 160px;
    height: 160px;
    flex-basis: 160px;
    padding: 0.75rem;
  }

  .why-join-item img {
    width: 55px;
    margin-bottom: 0.35rem;
  }

  .why-join-item h4 {
    font-size: 0.8rem;
    line-height: 1.15;
    margin-bottom: 0.25rem;
  }

  .why-join-item p {
    font-size: 0.75rem;
    line-height: 1.2;
    max-width: 95%;
  }
}

/* Small Mobile - 1 bubble per row */
@media (max-width: 400px) {
  .why-join-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .why-join-item {
    width: 230px;
    height: 230px;
    flex: 0 0 230px;
    padding: 1rem;
  }

  .why-join-item img {
    width: 80px;
  }

  .why-join-item h4 {
    font-size: 1rem;
    line-height: 1.15;
  }

  .why-join-item p {
    font-size: 0.9rem;
    line-height: 1.2;
    max-width: 88%;
  }
}

/* homepage - infographs */

.infograph-wrapper {
  width: 100%;
  border-bottom: 5px solid #d37f66;
}

.infograph-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
  }

  .infograph-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
  }

  .infograph-row img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  @media (max-width: 900px) {
    .infograph-row {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 480px) {
    .infograph-row {
      grid-template-columns: 1fr;
    }
  }

/* Homepage - testimonials */
.testimonials-section {
  padding: 3rem 1rem;
  font-family: Helvetica, Arial, sans-serif;
}

.testimonials-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonials-section h2 {
  font-size: 2.5rem;
  margin: 0;
  color: #3E4156;
  text-align: left; /* Keep heading left-aligned */
}

/* Slick-compatible grid */
.testimonial-grid.slick-carousel {
  margin-top: 5rem;
  margin-bottom: 4rem;
}

/* Slide wrapper: no max-width, use padding for spacing */
.testimonial-grid.slick-carousel .testimonial-box-wrapper {
  flex: 0 0 calc(33.3333% - 20px); /* 3 slides per row minus spacing */
  margin: 0 10px; /* 20px gap total */
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  height: 100% !important; /* Ensure wrapper stretches */
}

/* Slick track: flex */
.testimonial-grid.slick-carousel .slick-track {
  display: flex !important;
  justify-content: center;
  align-items: stretch !important; /* Stretch slides to equal height */
}

/* Ensure slides don't shrink and stretch */
.testimonial-grid.slick-carousel .slick-slide {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column;
  height: 100% !important;
}

/* Testimonial box fills wrapper */
.testimonial-box {
  background-color: #f2D5C3;
  border-radius: 10px;
  padding: 4rem 1.5rem 1.5rem;
  font-size: 1.125rem;
  font-style: italic;
  color: #3E4156;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* quote top, author bottom */
  flex: 1 1 auto !important;
  height: 100% !important;
  position: relative;
  z-index: 0;
}

.testimonial-box p {
  font-size: 1rem;
  margin-top: 25px;
}

/* Flex layout for author + image */
.testimonial-author-wrapper {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

/* Circular image */
.testimonial-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

/* Author text stays the same */
.testimonial-author-text {
  font-size: 1.5rem;
  font-style: italic;
  color: #3E4156;
}

/* Quote icon adjustments */
.testimonial-box-wrapper .quote-icon {
  font-family: helvetica;
  position: relative; /* relative so it doesn't get cut off */
  font-size: 8em;
  color: #3E4156;
  line-height: 1;
  margin-bottom: -10rem;
  z-index: 1;
  text-align: left;
}

/* Position dots at the bottom */
.testimonial-grid .slick-dots {
  bottom: -40px; /* adjust as needed */
}

/* Reset default button */
.testimonial-grid .slick-dots li button:before {
  content: '';
}

/* Inactive dot */
.testimonial-grid .slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #F2D5C3;
  transition: all 0.3s ease;
  margin: 0 6px;
  padding: 0;
}

/* Active dot */
.testimonial-grid .slick-dots li.slick-active button {
  background: #3E4156;
  transform: scale(1.2); /* 20% larger */
}

/* Slick height fix */
.testimonial-grid.slick-carousel .slick-list {
  display: flex !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .testimonial-box-wrapper .quote-icon {
    font-size: 5rem;
    margin-bottom: -2rem;
  }

  .testimonial-grid.slick-carousel .testimonial-box-wrapper {
    flex: 1 1 100% !important;
    margin: 0 auto 2rem;
    height: auto !important;
  }

  .testimonial-box {
    height: auto !important;
    justify-content: flex-start;
  }
}

/* Homepage - Explore block */

.explore-section {
    color: #faf7e2;
    padding: 2rem;
    display: flex;
    justify-content: center;
  }

  .explore-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-color: #2f3448;
  }

  .explore-text {
    flex: 1 1 50%;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .explore-text h2 {
    font-size: 2.75rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 2rem;
  }

.explore-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem 0;
  }
  .explore-buttons a {
    padding: 5px 20px;
    border-radius: 24px;
    font-size: 1.25rem;
    text-decoration: none;
    display: inline-block;
  }
  .explore-buttons .btn-primary {
    background-color: #d37f66;
    color: #faf7e2;
    border: 2px solid #d37f66;
  }
  .explore-buttons .btn-primary:hover {
    background-color: #faf7e2;
    color: #d37f66;
  }
  .explore-buttons .btn-outline {
    border: 2px solid #faf7e2;
    color: #faf7e2;
    background-color: transparent;
  }
  .explore-buttons .btn-outline:hover {
    background-color: #faf7e2;
    color: #d37f66;
    border: 2px solid #d37f66;
  }
  @media (max-width: 768px) {
    .explore-buttons {
      flex-direction: column;
      align-items: stretch;
    }
  }

  .explore-image {
    flex: 1 1 50%;
    margin: 0;
    padding: 0;
    display: flex;
  }

  .explore-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  @media (max-width: 768px) {
    .explore-text,
    .explore-image {
      flex: 1 1 100%;
    }

    .explore-text {
      padding: 2rem 1.5rem;
    }

    .explore-text h2 {
      font-size: 2rem;
    }

    .explore-image img {
      border-radius: 0 0 20px 20px;
      min-height: 300px;
    }
  }

/* Partner section */

.partners-section {
  padding: 3rem 1rem;
  font-family: Helvetica, Arial, sans-serif;
}

.partners-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.partners-header {
  text-align: left;
  margin-bottom: 2rem;
  color: #3E4156;
}

.partners-header h2 {
  font-size: 2rem;
  margin: 0 !important;
  color: #3E4156;
  text-align: left;
}

.partners-header h3 {
  font-size: 1.5rem !important;
  font-weight: normal !important;
  margin: 0 !important;
}

.partners-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* Ensure vertical alignment */
  justify-content: space-between;
  gap: 3rem;
}

.partners-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partners-image img {
  max-width: 100% !important;
  width: 400px; /* Roughly half original size */
  height: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-on-scroll.visible img {
  opacity: 1;
  transform: translateY(0);
}

.partners-content {
  flex: 1 1 50%;
  color: #3E4156;
  display: flex;
  align-items: center;
}

.partners-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  font-size: 1.25rem;
  margin: 0;
}

.partners-content li {
  margin-bottom: 1rem;
}

/* Homepage -  About */

.about-section {
  padding: 3rem 1rem;
  font-family: Helvetica, Arial, sans-serif;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
}

.about-section h2 {
  font-size: 2rem;
  color: #3E4156;
  margin-bottom: 2rem;
}

.about-box {
  position: relative;
  background-image: var(--img-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2rem;
  aspect-ratio: 3 / 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.description-wrapper {
  max-width: 90%;
}

.one-third .description-wrapper {
  max-width: 100%;
}

@media (max-width: 768px) {
  .description-wrapper {
    max-width: 100%;
  }
}

/* Hover blur and dark overlay */
.about-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  transition: background-color 0.4s ease, filter 0.4s ease;
  z-index: 1;
}

.about-box:hover::before {
  background-color: rgba(0, 0, 0, 0.45);
  filter: blur(2px);
  cursor: pointer;
}

.about-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  z-index: 2;
  pointer-events: none;
}

.about-overlay h3 {
  margin: 0 !important;
  font-size: 2.5rem !important;
  font-weight: bold;
  color: #fff;
}

.about-overlay p {
  margin: 0.5rem 0 0;
  font-size: 1.25rem;
  color: #fff;
}

/* Layout widths */
.full-width {
  width: 100%;
}

.about-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.two-thirds {
  flex: 0 0 66.666%;
}

.one-third {
  flex: 0 0 31.333%;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .about-row {
    flex-direction: column;
  }

  .two-thirds,
  .one-third {
    flex: 1 1 100%;
  }
}

/* Homepage - FAQs */

.faq-section {
  padding: 3rem 1rem;
  font-family: Helvetica, Arial, sans-serif;
  color: #3E4156;
}
.faq-section a {
  text-decoration: underline;
}
.faq-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.faq-left {
  flex: 1 1 30%;
  min-width: 250px;
}

.faq-left h2 {
  color: #3E4156;
  line-height: 1.2;
  text-align: left;
}

.faq-right {
  flex: 1 1 65%;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h5 {
  font-size: 1.5rem !important;
  color: #3E4156;
  margin-bottom: 0.5rem !important;
  font-weight: bold !important;
}

.faq-item p,
.faq-item ul {
  font-size: 1.25rem  !important;
  color: #3E4156;
  margin: 0 0 0.5rem 0 !important;
}

.faq-item ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.faq-section hr {
  border: none !important;
  border-top: 1px solid #ccc !important;
  margin: 1.5rem 0 !important;
}

@media (max-width: 768px) {
  .faq-container {
    flex-direction: column;
  }

  .faq-left,
  .faq-right {
    flex: 1 1 100%;
  }

  .faq-left h2 {
    font-size: 1.5rem;
    text-align: left;
  }
}

/* =========================================================
   ADDED: Mobile section rhythm
   Two separate problems were padding the page out:

   1. Section padding written for desktop (training = 5rem top
      AND bottom) stacks with the 10px block margins, so adjacent
      sections sat ~133px apart on a phone. Halved below.

   2. flex-basis on children of containers that switch to
      flex-direction: column. In a column, basis sizes HEIGHT, so
      .training-left{flex:1 1 300px} rendered a 300px-tall box
      around a 70px heading — a dead gap between the heading and
      its own bullet list. Same class of bug as the hero.

   Net effect at 375px: page height 10,533px -> 9,839px.
   ========================================================= */
@media (max-width: 768px) {
  .block-region .block { margin: 4px auto !important; }

  .training-section { padding: 2.5rem 1.25rem !important; }
  .why-join-section { padding: 2.5rem 1rem !important; }
  .course-rotator { padding: 1.25rem 0 !important; }
  .testimonials-section,
  .partners-section,
  .about-section,
  .faq-section { padding: 2rem 1rem !important; }
  .explore-section { padding: 1.25rem 1rem !important; }
  .certificate-section { padding: 2rem 0 !important; }

  .testimonial-grid.slick-carousel {
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important;
  }

  /* Let column-stacked children size to their content */
  .training-left, .training-right,
  .faq-left, .faq-right,
  .about-row .two-thirds, .about-row .one-third {
    flex: 0 0 auto !important;
    width: 100% !important;
  }
}

/* Dashboard page */

/* Dashboard Hero */
#block-totara-featured-links-tile-4 {
  height: 430px !important;
}

.block-region .block {
  margin: 10px auto;
}

#block-totara-featured-links-tile-4 .block-totara-featured-links-content-bottom {
    background: rgba(255, 255, 255, 0.2) !important;
    background-image: none !important;
    padding: 2rem 3rem !important;
    position: relative;
    z-index: 1;
}

#block-totara-featured-links-tile-4 .block-totara-featured-links-content-bottom::before {
    background: rgba(255, 255, 255, 0.2) !important;
}

#block-totara-featured-links-tile-4 .block-totara-featured-links-content-bottom h3,
#block-totara-featured-links-tile-4 .block-totara-featured-links-content-bottom p {
    color: #333344 !important;
    margin-bottom: 0.25rem !important;
}

#block-totara-featured-links-tile-4 .block-totara-featured-links-content-bottom h3 {
    font-size: 1.75rem !important;
    line-height: 1 !important;
}

/* ADDED: dashboard hero on mobile.
   At 375px the tile is 323px wide. The theme adds 32px of tile
   padding, the rule above adds 3rem of content padding, and the
   fullwidth h3/p rule adds 20px more — leaving a 227px text
   column. The heading wrapped to 3 lines and the paragraph to 7,
   so the translucent panel grew to 340px of the fixed 430px tile:
   79% of the "hero" was text box, with a 90px strip of photo left.
   Trimming the padding and type gives a 149px panel (39%) and a
   231px image strip. */
@media (max-width: 768px) {
  /* Tile height also controls how much of the photo's WIDTH you see.
     With background-size:cover the visible fraction of the image
     width is (tile aspect / image aspect). At 323x380 the tile is
     0.85:1, so a 16:9 photo shows roughly half its width. Shorten
     the tile and more width comes into view:
       380px -> 0.85 -> ~48%
       340px -> 0.95 -> ~53%
       300px -> 1.08 -> ~61%
     The trade is a shorter strip of uncovered photo above the text
     panel (231px at 380, 171px at 320). Tune this one number. */
  #block-totara-featured-links-tile-4 {
    height: 380px !important;
    /* Anchor the crop to the right edge instead of the centre.
       Use 75% 50% if the hard right edge is too far over. */
    background-position: 100% 50% !important;
  }

  #block-totara-featured-links-tile-4 .block-totara-featured-links-content-bottom {
    padding: 1rem !important;
  }

  #block-totara-featured-links-tile-4 .block-totara-featured-links-content-bottom h3,
  #block-totara-featured-links-tile-4 .block-totara-featured-links-content-bottom p {
    padding: 0 !important;
  }

  #block-totara-featured-links-tile-4 .block-totara-featured-links-content-bottom h3 {
    font-size: 1.375rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.4rem !important;
  }

  #block-totara-featured-links-tile-4 .block-totara-featured-links-content-bottom p {
    font-size: 0.9375rem !important;
    line-height: 1.35 !important;
  }

  /* If the dark text is hard to read over the photo, raise the
     panel opacity here rather than changing the desktop value:
     #block-totara-featured-links-tile-4 .block-totara-featured-links-content-bottom {
       background: rgba(255, 255, 255, 0.75) !important;
     }
  */
}

.block_calendar_upcoming {
   background-color: #E6A48F !important;
}

.block_rss_client .content li {
  padding: 5px;
  border: 1px solid #000;
    border-top-width: 1px;
  border-radius: 4px;
  background: #FAF8F0;
}

/* Courses */

/* Hide breadcrumb only on course 24 */
body.course-24 .breadcrumb-nav {
    display: none !important;
}

#fte-course-header > div {
  min-height: 350px !important;
}

#fte-course-header > div > div {
  max-width: 50% !important;
}

@media (max-width: 768px) {
  #fte-course-header > div > div {
    max-width: 100% !important;
  }
}

.course-header-btn {
  padding: 5px 10px;
  background-color: #D37F66;
  border: 1px solid #D37F66;
  color: #fff;
  border-radius: 15px;
  font-size: 1.85rem;
}

.course-header-btn:hover {
  text-decoration: none;
  color: #fff;
  box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
}

.generaltable > tbody > tr:nth-of-type(2n+1) {
  background-color: rgba(230, 164, 143, 0.15);
}
.prog-course-launch input {
  background-color: #D37F66;
  border: 1px solid #D37F66;
  color: #FAF7E4;
}

/* === Curriculum Feature Block === */

.curriculum-section {
   width: 100%;
   max-width: 1000px;
   margin: 0 auto;
 }
.curriculum-feature-block {
  display: flex;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0px 2px 8px 1px rgba(0,0,0,0.3);
  -webkit-box-shadow: 0px 2px 8px 1px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 2px 8px 1px rgba(0,0,0,0.3);
  gap: 1rem;
  flex-wrap: wrap;
}

.curriculum-feature-item {
  flex: 1;
  min-width: 220px;
  padding: 0 1rem;
  position: relative;
  text-align: center;
}

/* Titles and text */
.curriculum-feature-title {
  font-size: 1.5rem !important;
  font-weight: 600;
  color: #2A2C3C;
  margin-bottom: 0.25rem;
}

.curriculum-feature-text {
  font-size: 1rem;
  color: #2A2C3C;
  margin: 0;
}

/* Separator for desktop */
.curriculum-feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #ddd;
}

/* Mobile stack */
@media (max-width: 768px) {
  .curriculum-feature-block {
    flex-direction: column;
    padding: 1.5rem;
  }
  .curriculum-feature-item {
    padding: 1rem 0;
  }
  .curriculum-feature-item:not(:last-child)::after {
    position: static;
    display: block;
    width: 100%;
    height: 1px;
    margin: 1rem 0;
    background: #ddd;
  }
}

/* === Skills Section === */
.skills-section {
  margin: 2rem 0;
}

.skills-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d2d3a;
  margin-bottom: 1rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.skills-list-wrapper {
  flex: 0.5;
}

.skill-pill {
  background: #9bb8ad;
  color: #2A2C3C;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 15px;
  display: inline-block;
  white-space: nowrap;
  margin: 8px 5px;
}

.certificate-section {
  padding: 4rem 0;
  position: relative;
  overflow: visible; /* allow image to break out */
}

.certificate-content {
  background-color: rgba(230, 164, 143, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  gap: 2rem;
  border-radius: 15px;
}

.certificate-text {
  padding: 20px;
  flex: 1;
}

.certificate-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.certificate-image img {
  max-width: 100%;
  height: auto;
  margin-top: -4rem;   /* pull upward */
  margin-bottom: -4rem; /* pull downward */
}

/* Mobile */
@media (max-width: 768px) {
  .certificate-content {
    flex-direction: column;
    text-align: center;
  }

  .certificate-image img {
    margin-top: -2rem;
    margin-bottom: -2rem;
  }
}

/* -------------------------------
   Curriculum Header Layout
   Header + Summary stay in one column
   Enroll button aligns right
--------------------------------*/
.curriculum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.curriculum-text {
  flex: 0.5; /* text takes up left side */
}

.curriculum-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d2d3a;
  margin: 0 0 0.5rem;
}

.curriculum-text p {
  margin: 0;
  color: #333;
}

/* Enroll button sits on the right */
.curriculum-header .enroll-btn {
  margin-left: 2rem;
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
  background: #D37F66;
  color: #fff;
  border-radius: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.curriculum-header .enroll-btn:hover {
  text-decoration: none;
  color: #fff;
  box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
}

/* Program Cards */

.tui-totara_program-navigationBar, .tui-totara_program-programProgress__title {
   display: none;
}

#program-header > .bg-cover {
   height: 375px;
}

#page-totara-program-view .tui-totara_program-programHeader__options, #page-totara-program-view .tui-totara_program-programHeader__image, #page-totara-program-view .nextsetoperator {
   display: none !important;
}

.tui-core_course-courseCard__image {
   height: 15rem !important;
}

/* =========================================================
   ADDED: program course-set grid on narrow screens
   The TUI grid sets its column count with an inline flex-basis
   written by JS. On this page it stays at four columns at every
   width, so at 375px each card renders 43px wide and 436px tall
   with a 240px image — eleven slivers in a row.

   A stylesheet `flex: ... !important` does NOT beat that inline
   value. min-width does: flex-basis is clamped by min-width
   regardless of which declaration set it. Hence min-width here
   rather than flex.

   Verified: 375px -> 1 per row (269px), 900px -> 2 per row
   (365px), 1280px -> unchanged at 4 per row (270px).
   ========================================================= */
@media (max-width: 1024px) {
  .tui-totara_program-courseSet .tui-grid-item {
    min-width: calc(50% - 16px) !important;
  }
}

@media (max-width: 768px) {
  .tui-totara_program-courseSet .tui-grid-item {
    min-width: 100% !important;
  }

  /* 15rem is a lot of card height once cards are full width */
  .tui-core_course-courseCard__image {
    height: 11rem !important;
  }

  /* Three nested 16px paddings left the grid 237px inside a
     375px viewport; 8px each reclaims ~32px of card width. */
  .tui-totara_program-multipleCourseSets__courseSetGroup,
  .tui-totara_program-multipleCourseSets__courseSetGroup-wrapper {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

.tui-btn--variant-stealth {
  background-color: #E6A48F;
  border-color: #000;
  box-shadow: none;
}

/* Enroll button sits on the right */
.program-card .enroll-btn {
  margin: 2rem 0;
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
  background: #D37F66;
  color: #fff;
  border-radius: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.program-card .enroll-btn:hover {
  text-decoration: none;
  color: #fff;
  box-shadow: 0 3px 6px 0 rgba(0,0,0,0.2);
}

/* Mobile: stack button below text */
@media (max-width: 768px) {
  .curriculum-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .curriculum-header .enroll-btn {
    margin: 1rem 0 0;
    align-self: flex-start;
  }

  .guest-only {
    margin-top: 2rem;
  }
}

.program-card {
  border-top: 1px solid #ddd;
  padding: 2rem 0;
}

.program-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.program-subtitle {
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 600;
  color: #3E4156;
  margin-bottom: 0.75rem;
}

.program-meta {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #444;
}

.program-meta span {
   color: #fff;
   background-color: #3E4156;
   border-radius: 15px;
   font-weight: 600;
   padding: 0.5rem 1.5rem;
}

.program-meta span i {
   margin: 0 5px 2px 0;
}

.program-card h4 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.program-card ul {
  list-style: disc;
  margin-left: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
  line-height: 1.5;
}

/* =========================================================
   ADDED: Curriculum / program page on mobile
   ========================================================= */
@media (max-width: 768px) {
  /* .program-meta is flex-wrap:nowrap, so two pills split 345px
     and "2 hours 20 minutes" broke onto two lines inside its own
     pill (64px tall). Wrap the row, keep each label on one line. */
  .program-meta {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }

  .program-meta span {
    white-space: nowrap;
    padding: 0.4rem 1rem;
    font-size: 0.9375rem;
  }

  /* Feature list rhythm: 1rem item padding plus 1rem separator
     margin made four short stats 632px tall. */
  .curriculum-feature-item {
    padding: 0.5rem 0 !important;
  }

  .curriculum-feature-item:not(:last-child)::after {
    margin: 0.5rem 0 !important;
  }

  /* Smaller floating button so it covers less of the text under it */
  #backtotop {
    padding: 6px 12px;
    font-size: 0.875rem;
    opacity: 0.92;
  }
}

#inst210 .no-overflow {
   padding: 15px;
}


/* Course layout */

@supports not (background: paint(something)) {
  .format-topics_extended .progress-circle {
    background: conic-gradient(
      #369a66 var(--levelprogress),   /* ✅ new fill color */
      #e9ecef var(--levelprogress)    /* existing remainder (background track) */
    ) !important;
  }
}

.progress-bar {
   background-color: #369a66 !important;
}

.block-totara-featured-links-layout.fullwidth .block-totara-featured-links-content h3 {
  padding: 10px 20px 10px;
  margin-bottom: 0 !important;
}

.block-totara-featured-links-layout.fullwidth .block-totara-featured-links-content p {
  padding: 10px 20px;
}


.topics-extended-activity-list .activity-done {
  display: none !important;
}

.topics-extended-activity-wrapper .no-overflow {
   overflow: visible;
}

.topics-extended-activity-content-title {
   width: 100%;
}

/* Make two items per row on medium+ screens */
.activities-wrapper .topics-extended-activity-list li.topics-extended-activity-wrapper {
    flex: 0 0 50% !important;  /* take 50% width */
    max-width: 50% !important;
    display: flex;              /* make li a flex container */
    flex-direction: column;     /* stack inner content vertically */
}

/* Stretch inner content to match height */
.activities-wrapper .topics-extended-activity-list li.topics-extended-activity-wrapper .topics-extended-activity-main {
    flex: 1 1 auto;             /* fill available height */
    display: flex;
    flex-direction: column;     /* keep inner content stacked */
}

/* Stack on mobile */
@media (max-width: 767.98px) {
    .activities-wrapper .topics-extended-activity-list li.topics-extended-activity-wrapper {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Card styling */
.topics-extended-activity-main {
   border: 1px solid;
   border-color: #e6e4e4;
   border-radius: 1.5rem;
}

/* =========================================================
   LOGO TICKER — TOTARA 18 SAFE VERSION
   Adds smooth infinite scroll animation and prevents clipping
   ========================================================= */

.partners-section,
.partners-columns,
.logo-ticker {
  overflow: visible !important;
}

.logo-ticker {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0;
  z-index: 1;
}

/* --- Track + Animation --- */
.ticker-track {
  display: flex !important;
  width: max-content !important;
  animation: ticker 45s linear infinite !important;
  will-change: transform;
}

/* Duplicate groups for seamless loop */
.ticker-group {
  display: flex;
  gap: 5rem;
}

/* --- Logo styling --- */
.ticker-group img {
  height: 80px;
  width: auto;
  padding: 0 10px;
  object-fit: contain;
  transition: transform 0.3s ease;
  /* filter: grayscale(100%); */
   /* opacity: 0.85; */
}

.ticker-group img:hover {
  transform: scale(1.15);
  cursor: pointer;
   /* filter: grayscale(0%); */
   /* opacity: 1; */
}

/* --- Keyframes animation --- */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
.skills-list-wrapper {
  flex: 1;
}
  .ticker-group img {
    height: 60px;
  }
}

/* --- Prevent Totara's .no-overflow or block containers from hiding animation --- */
.logo-ticker .no-overflow,
.block .logo-ticker,
.block-region .block .logo-ticker {
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Optional: pause ticker on hover */
.logo-ticker:hover .ticker-track {
  animation-play-state: paused;
}

/* --- Prevent horizontal scroll --- */
/* NOTE: this is what hides the header overflow described in the
   Header section above — without the wrap fix, "Sign in" and the
   language selector are pushed off-screen AND unreachable, because
   this rule removes the scrollbar that would otherwise expose them. */
html, body {
  overflow-x: hidden !important;
}
.partners-section,
.partners-container,
.partners-columns,
.logo-ticker {
  overflow-x: clip !important;
}
.ticker-track {
  margin-right: -2px;
}

/* =========================================================
   END LOGO TICKER STYLES
   ========================================================= */

/*== 55193: Hide manual login fields ==*/
.tui-core_auth-login form {
    display: none;
}
/*== END Hide manual login fields ==*/

/*== 56523: Hide profile picture fieldset==*/
#id_moodle_picture {
    display: none
}
/*== END: Hide profile picture fieldset==*/

