/* Final homepage QA fixes. Loaded after the optimized production bundle. */

/* Decorative cards and closed mega menus can sit just outside the viewport. */
html,
.svlf-home {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  .svlf-home {
    overflow-x: hidden;
  }
}

/* Keep the navigation trigger visible even when the icon font is delayed or unavailable. */
.svlf-home .svlf-header-flow-spacer {
  height: 0;
}
.svlf-home .header-sticky.sticky + .svlf-header-flow-spacer {
  height: var(--header-height, 95px);
}
.svlf-home .lrn-header .hamberger-button {
  display: inline-grid;
  place-items: center;
}
.svlf-home .lrn-header .svlf-menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 18px;
  color: #fff;
}
.svlf-home .lrn-header .svlf-menu-icon > span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

/* The Font Awesome grid glyph is absent from some reduced font builds. */
.svlf-home .lrn-header .svlf-category-grid-icon {
  display: inline-grid;
  grid-template-columns: repeat(2, 5px);
  grid-template-rows: repeat(2, 5px);
  gap: 3px;
  width: 13px;
  height: 13px;
  color: var(--sv-primary-600, #0754c8);
  vertical-align: -1px;
}
.svlf-home .lrn-header .svlf-category-grid-icon > span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: currentColor;
}
.svlf-home .lrn-header .lrn-cate-1:hover .svlf-category-grid-icon,
.svlf-home .lrn-header .lrn-cate-1:focus-visible .svlf-category-grid-icon {
  color: var(--sv-primary-700, #043f9e);
}

/* Balanced display hierarchy: strong enough to scan without looking overly heavy. */
.svlf-home main h1.title {
  font-size: clamp(34px, calc(24px + 2.3vw), 68px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -.018em;
  text-transform: uppercase;
}
.svlf-home main h2.title.display--2 {
  font-size: clamp(28px, calc(23px + 1vw), 42px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -.012em;
  text-transform: uppercase;
}
.svlf-home main .lrn-card-title-stroke {
  font-weight: 700 !important;
  text-transform: uppercase;
}

/* Supporting titles stay in sentence case and step down clearly from section headings. */
.svlf-home main .lrn-splash-slider h2.title.fs--22 {
  font-size: clamp(18px, 1.15vw, 20px) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-transform: none;
}

/* Compact course-value strip inspired by the clear, floating information panel on COLE. */
.svlf-home .lrn-splash-slider {
  z-index: 4;
  padding-bottom: 48px;
}
.svlf-home .lrn-splash-slider .splash-service-main {
  overflow: hidden;
  padding: 0;
  background: #fff;
  border: 1px solid #e1eaf6;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(16, 48, 91, .16), 0 3px 12px rgba(16, 48, 91, .05);
}
.svlf-home .lrn-splash-slider .service-wrapper {
  overflow: hidden;
  background: transparent;
  border-radius: inherit;
}
.svlf-home .lrn-splash-slider .service-wrapper > [class*="col-"] {
  position: relative;
  padding: 0;
}
.svlf-home .lrn-splash-slider .service__style--1 {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 126px;
  height: 100%;
  padding: 24px 26px;
  background: #fff;
  transition: background-color .2s ease;
}
.svlf-home .lrn-splash-slider .service__style--1::before {
  display: none;
}
.svlf-home .lrn-splash-slider .service__style--1:hover {
  background: #f7faff;
  transform: none;
}
.svlf-home .lrn-splash-slider .service__style--1 .lrn-btn-group {
  justify-content: flex-start !important;
  width: 58px;
  margin: 0 !important;
}
.svlf-home .lrn-splash-slider .lrn-icon.gd-300 {
  width: 58px !important;
  height: 58px !important;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
}
.svlf-home .lrn-splash-slider .lrn-icon.gd-300 > img {
  width: 48px !important;
  max-width: 48px;
  filter: brightness(0) saturate(100%) invert(32%) sepia(96%) saturate(2844%) hue-rotate(206deg) brightness(99%) contrast(101%);
}
.svlf-home .lrn-splash-slider .service__badge {
  display: none;
}
.svlf-home .lrn-splash-slider .service__style--1 .content {
  min-width: 0;
  align-self: start;
  text-align: left !important;
}
.svlf-home main .lrn-splash-slider .service__style--1 h2.title.fs--22 {
  margin-bottom: 5px !important;
  color: #0754c8 !important;
  font-size: clamp(18px, 1.2vw, 20px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}
.svlf-home .lrn-splash-slider .service__style--1 .content p {
  color: #52647f !important;
  font-size: 16px;
  line-height: 1.55;
}
.svlf-home .lrn-splash-slider .service-shape-atom,
.svlf-home .lrn-splash-slider .shape-line {
  display: none;
}

@media (min-width: 1200px) {
  .svlf-home .lrn-splash-slider .service-wrapper > [class*="col-"] + [class*="col-"]::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 27px;
    bottom: 27px;
    left: 0;
    width: 2px;
    border-radius: 999px;
    background: #1167e8;
  }
}

@media (min-width: 576px) and (max-width: 1199px) {
  .svlf-home .lrn-splash-slider .service-wrapper > [class*="col-"]:nth-child(even)::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 24px;
    bottom: 24px;
    left: 0;
    width: 2px;
    border-radius: 999px;
    background: #1167e8;
  }
  .svlf-home .lrn-splash-slider .service-wrapper > [class*="col-"]:nth-child(n + 3) {
    border-top: 1px solid #dbe7f6;
  }
}

@media (max-width: 575px) {
  .svlf-home .lrn-splash-slider {
    padding-bottom: 32px;
  }
  .svlf-home .lrn-splash-slider .splash-service-main {
    border-radius: 14px;
  }
  .svlf-home .lrn-splash-slider .service-wrapper > [class*="col-"] + [class*="col-"] {
    border-top: 1px solid #dbe7f6;
  }
  .svlf-home .lrn-splash-slider .service__style--1 {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 15px;
    min-height: 0;
    padding: 19px 20px;
  }
  .svlf-home .lrn-splash-slider .service__style--1 .lrn-btn-group,
  .svlf-home .lrn-splash-slider .lrn-icon.gd-300 {
    width: 50px !important;
    height: 50px !important;
  }
  .svlf-home .lrn-splash-slider .lrn-icon.gd-300 > img {
    width: 42px !important;
    max-width: 42px;
  }
}
.svlf-home main .lrn-course-grid-3 .title .h5 {
  font-size: clamp(18px, 1.25vw, 22px) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  text-transform: none;
}
.svlf-home main .svlf-learning-journey h3.h4 {
  font-size: clamp(20px, 1.45vw, 26px) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-transform: none;
}
.svlf-home main .lrn-event-card h3.title {
  font-size: clamp(20px, 1.55vw, 28px) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-transform: none;
}
.svlf-home .lrn-event-head .svlf-event-intro {
  max-width: 720px;
  margin: 16px auto 0;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.5;
}
.svlf-home .svlf-weekly-classes .lrn-event-card {
  gap: clamp(24px, 4vw, 56px);
  min-height: 430px;
  box-shadow: inset 0 0 0 1px #c9dcf5;
}
.svlf-home .svlf-weekly-classes .lrn-event-card::before {
  content: none;
}
.svlf-home .svlf-weekly-classes .card-content {
  flex: 1 1 0;
  min-width: 0;
}
.svlf-home .svlf-weekly-classes .card-img {
  flex: 0 0 48%;
  width: 48%;
  max-width: 48%;
}
.svlf-home .svlf-weekly-classes .card-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}
.svlf-home .svlf-weekly-classes .svlf-weekly-poster {
  display: block;
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
}
.svlf-home .svlf-weekly-classes .svlf-weekly-poster-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(4px, 1.2cqw, 8px);
  width: 48%;
  color: #fff;
  text-shadow: 0 2px 8px rgb(0 22 72 / 28%);
  pointer-events: none;
}
.svlf-home .svlf-weekly-classes .svlf-weekly-poster-kicker {
  border-left: 3px solid #ffb31a;
  padding-left: 8px;
  font-size: clamp(8px, 1.7cqw, 11px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.15;
}
.svlf-home .svlf-weekly-classes .svlf-weekly-poster-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(17px, 4.8cqw, 31px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.svlf-home .svlf-weekly-classes .svlf-weekly-poster-accent {
  color: #ffcf50;
  font-size: clamp(11px, 2.9cqw, 18px);
  font-weight: 800;
  line-height: 1.2;
}
.svlf-home .svlf-weekly-classes .svlf-weekly-poster-caption {
  font-size: clamp(9px, 2.1cqw, 13px);
  font-weight: 600;
  line-height: 1.25;
}
@media (max-width: 767px) {
  .svlf-home .svlf-weekly-classes .lrn-event-card {
    min-height: 0;
  }
  .svlf-home .svlf-weekly-classes .card-content,
  .svlf-home .svlf-weekly-classes .card-img {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }
  .svlf-home .svlf-weekly-classes .svlf-weekly-poster-copy {
    width: 51%;
  }
}
.svlf-home .svlf-news-section .lrn-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.svlf-home .svlf-news-section .lrn-card-head .svlf-blog-thumbnail {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #edf4ff;
}
.svlf-home .svlf-news-section .svlf-blog-image-fallback {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  color: #fff;
  background: linear-gradient(135deg, #0754c8, #0b83d6);
  border-radius: 10px;
  font-weight: 700;
}
.svlf-home .svlf-news-section .lrn-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.svlf-home .svlf-news-section .lrn-card-body > .lrn-btn-group {
  margin-top: auto;
}
.svlf-home .svlf-news-section .lrn-btn.lrn-hover-primary-btn {
  color: #fff;
  border-color: #0754c8;
}
.svlf-home .svlf-news-section .lrn-btn.lrn-hover-primary-btn::before {
  background: #0754c8 !important;
}
.svlf-home .svlf-news-section .lrn-btn.lrn-hover-primary-btn::after {
  background: var(--sv-cta-orange-gradient) !important;
}
.svlf-home .svlf-news-section .svlf-blog-share {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #0754c8;
  background: #edf4ff;
  border: 1px solid #c8d9f0;
  border-radius: 50%;
  box-shadow: none;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.svlf-home .svlf-news-section .svlf-blog-share:hover,
.svlf-home .svlf-news-section .svlf-blog-share:focus-visible {
  color: #fff;
  background: #0754c8;
  border-color: #0754c8;
}
.svlf-home .svlf-news-section .svlf-blog-share:focus-visible {
  outline: 3px solid rgba(7, 84, 200, .25);
  outline-offset: 3px;
}

/* Render only the direct homepage link; the LearnHub demo gallery is no longer a menu. */
.svlf-home .svlf-legacy-home-menu,
.svlf-home .lrn-close_side_menu {
  display: none !important;
}

/* Dropdowns use the Sao Viet light palette instead of LearnHub's dark demo skin. */
.svlf-home .lrn-header .lrn-megamenu,
.svlf-home .lrn-header .lrn-megamenu.menu-skin-dark,
.svlf-home .lrn-header .submenu {
  color: #10223f;
  background: #fff;
  border: 1px solid #d8e4f3;
  box-shadow: 0 22px 55px rgba(7, 26, 61, .18);
}
.svlf-home .lrn-header .lrn-megamenu .wrapper,
.svlf-home .lrn-header .lrn-megamenu .lrn-common-menu-wrapper,
.svlf-home .lrn-header .lrn-megamenu .lrn-mega-menu-item,
.svlf-home .lrn-header .lrn-megamenu .single-dropdown-menu-presentation,
.svlf-home .lrn-header .lrn-megamenu .single-mega-item,
.svlf-home .lrn-header .lrn-megamenu.menu-skin-dark .wrapper {
  color: #10223f;
  background: #fff !important;
}
.svlf-home .lrn-header .lrn-megamenu .head,
.svlf-home .lrn-header .lrn-megamenu .head .title,
.svlf-home .lrn-header .lrn-megamenu .single-mega-item > .h5,
.svlf-home .lrn-header .lrn-megamenu .single-mega-item > span,
.svlf-home .lrn-header .lrn-megamenu .menu-item-title {
  color: #093fb4 !important;
  border-color: #d8e4f3;
}
.svlf-home .lrn-header .lrn-megamenu a,
.svlf-home .lrn-header .lrn-megamenu.menu-skin-dark a,
.svlf-home .lrn-header .submenu a {
  color: #334760 !important;
  text-decoration: none;
}
.svlf-home .lrn-header .lrn-megamenu li > a,
.svlf-home .lrn-header .submenu li > a {
  border-radius: 8px;
}
.svlf-home .lrn-header .lrn-megamenu li > a:hover,
.svlf-home .lrn-header .lrn-megamenu li > a:focus-visible,
.svlf-home .lrn-header .submenu li > a:hover,
.svlf-home .lrn-header .submenu li > a:focus-visible {
  color: #043f9e !important;
  background: #edf5ff;
}
.svlf-home .lrn-header .lrn-megamenu .lrn-badge-card {
  color: #7a4300;
  background: #fff0cc;
  border-color: #f1c56a;
}

/* Keep the category dropdown visually connected to the blue header. */
.svlf-home .lrn-header .category-dropdown-menu .category-menu-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d8e4f3;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 22px 55px rgba(7, 26, 61, .18);
}
.svlf-home .lrn-header .category-dropdown-menu .category-menu-features-list a {
  color: #334760;
}
.svlf-home .lrn-header .category-dropdown-menu .category-menu-features-list a:hover,
.svlf-home .lrn-header .category-dropdown-menu .category-menu-features-list a:focus-visible {
  color: #043f9e;
}

/* The two tilted admission cards have pale surfaces, so use dark readable copy. */
.svlf-home .svlf-admission-countdown .lrn-event-head-rotate > div,
.svlf-home .svlf-admission-countdown .lrn-event-head-rotate-2 > div {
  background: rgba(255, 255, 255, .97) !important;
  border: 1px solid #d8e4f3;
  box-shadow: 0 16px 36px rgba(7, 63, 158, .16);
}
.svlf-home .svlf-admission-countdown .lrn-event-head-rotate .body .color-white,
.svlf-home .svlf-admission-countdown .lrn-event-head-rotate-2 .body .color-white {
  color: #10223f !important;
  text-shadow: none;
}
.svlf-home .svlf-admission-countdown .lrn-event-head-rotate .body p.color-white,
.svlf-home .svlf-admission-countdown .lrn-event-head-rotate-2 .body p.color-white {
  color: #465a78 !important;
}

/* Lock every slider arrow and its icon to the same visual center. */
.svlf-home .lrn-card-area .submenu-slider-2 > .lrn-card-submenu-2 {
  margin-bottom: 0;
}
.svlf-home .lrn-main-wrapper .rbt-swiper-arrow {
  display: inline-grid;
  place-items: center;
  width: 45px;
  height: 45px;
  line-height: 1;
}
.svlf-home .lrn-main-wrapper .rbt-swiper-arrow .custom-overfolow {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.svlf-home .lrn-main-wrapper .rbt-swiper-arrow .rbt-icon,
.svlf-home .lrn-main-wrapper .rbt-swiper-arrow .rbt-icon-top {
  line-height: 1;
}
.svlf-home .lrn-card-area .rbt-swiper-arrow .svlf-slider-chevron {
  display: block;
  width: 20px;
  height: 20px;
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 576px) and (max-width: 1599px) {
  .svlf-home .lrn-card-area .lrn-submenu-slider-wrap .submenu-slider-2 {
    margin-inline: 50px;
  }
  .svlf-home .lrn-card-area .lrn-submenu-slider-wrap .rbt-arrow-left {
    left: 0;
  }
  .svlf-home .lrn-card-area .lrn-submenu-slider-wrap .rbt-arrow-right {
    right: 0;
  }
}
.svlf-home .lrn-card-area [role="tab"]:focus-visible {
  outline: 3px solid rgba(245, 130, 0, .48);
  outline-offset: 3px;
}

/* Replace the source theme's pink/purple spill with contained brand-blue light. */
.svlf-home .lrn-hero-area-2 .lrn-circle-top {
  top: -210px;
  left: 34%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(56, 191, 239, .58) 0%, rgba(8, 103, 249, .32) 48%, rgba(8, 103, 249, 0) 74%);
  filter: blur(34px);
  opacity: .42;
  pointer-events: none;
}
.svlf-home .lrn-hero-area-2 .lrn-gradient-line-2 {
  pointer-events: none;
}
.svlf-home .lrn-hero-area-2 .lrn-gradient-line-2::before {
  background: linear-gradient(135deg, #63cfff, #0867f9 62%, #dcebff);
  opacity: .34;
}
.svlf-home .lrn-hero-area-2 .lrn-gradient-line-2.line-bg {
  right: 0;
}

@media (max-width: 1199px) {
  .svlf-home .lrn-hero-area-2 .lrn-circle-top {
    top: -190px;
    left: 42%;
    width: 300px;
    height: 300px;
    opacity: .3;
  }
}

@media (max-width: 767px) {
  .svlf-home .lrn-hero-area-2 .lrn-circle-top {
    top: -120px;
    left: 28%;
    width: 220px;
    height: 220px;
    filter: blur(28px);
    opacity: .24;
  }
}

/* Unified brand polish for navigation, orange accents and interactive surfaces. */
.svlf-home {
  --sv-cta-orange: #ffac13;
  --sv-cta-orange-hover: #f28a00;
  --sv-cta-orange-gradient: linear-gradient(180deg, #ffbd45 0%, #ffac13 55%, #f28a00 100%);
  --sv-cta-orange-gradient-hover: linear-gradient(180deg, #ffb52c 0%, #ffa000 55%, #e98200 100%);
  --sv-accent-orange: #ff872c;
  --sv-menu-border: #b8c9dc;
  --sv-menu-border-soft: #d6e1ed;
  --sv-menu-surface: #f3f7fc;
}

/* Top-level navigation needs a clearer visual weight. */
.svlf-home .lrn-header .lrn-menu-item > li > a,
.svlf-home .lrn-header .lrn-cate-1,
.svlf-home .lrn-header .svlf-header-login a {
  font-weight: 600;
}

/* Remove the square outer layer and keep only the two genuinely rounded panels. */
.svlf-home .lrn-header .category-dropdown-menu .category-menu-item {
  overflow: visible;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.svlf-home .lrn-header .category-dropdown-menu .category-menu-item .rbt-vertical-nav,
.svlf-home .lrn-header .category-dropdown-menu .category-menu-item .rbt-vertical-nav-content {
  border: 1px solid var(--sv-menu-border);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(16, 48, 91, .13);
}
.svlf-home .lrn-header .category-dropdown-menu .category-menu-item .rbt-vertical-nav {
  background: var(--sv-menu-surface);
}
.svlf-home .lrn-header .category-dropdown-menu .category-menu-item .rbt-vertical-nav-content {
  background: #fff;
}
.svlf-home .lrn-header .category-dropdown-menu .category-menu-item .rbt-vertical-nav-content::after {
  display: none;
}

/* Mega menus use one thin blue-grey frame instead of stacked dark theme frames. */
.svlf-home .lrn-header .lrn-megamenu,
.svlf-home .lrn-header .lrn-megamenu.menu-skin-dark {
  background: #fff !important;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
  overflow: hidden;
  z-index: 120;
}
.svlf-home .lrn-header .lrn-megamenu .lrn-common-menu-wrapper,
.svlf-home .lrn-header .lrn-megamenu .lrn-elements-menu-wrapper,
.svlf-home .lrn-header .lrn-megamenu .lrn-page-menu-wrapper {
  background: var(--sv-menu-surface) !important;
  border: 1px solid var(--sv-menu-border);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(16, 48, 91, .16);
}
.svlf-home .lrn-header .lrn-megamenu .lrn-common-menu-wrapper,
.svlf-home .lrn-header .lrn-megamenu .lrn-elements-menu-wrapper {
  padding: 6px;
}
.svlf-home .lrn-header .lrn-megamenu .lrn-page-menu-wrapper {
  padding: 12px;
}
.svlf-home .lrn-header .lrn-megamenu .lrn-mega-menu-item {
  background: #fff !important;
  border: 1px solid var(--sv-menu-border-soft);
  border-radius: 13px;
}
.svlf-home .lrn-header .lrn-megamenu .lrn-mega-menu-ad {
  color: #fff;
  background: linear-gradient(145deg, #0754c8, #052f78 62%, #071a3d);
  border: 1px solid #315d99;
  border-radius: 13px;
}
.svlf-home .lrn-header .lrn-megamenu .lrn-mega-menu-ad .title {
  color: #fff !important;
}
.svlf-home .lrn-header .lrn-megamenu .lrn-page-menu-wrapper > .glow,
.svlf-home .lrn-header .lrn-megamenu .lrn-mega-menu-ad > .glow {
  background: radial-gradient(circle, rgba(255, 172, 19, .32), rgba(8, 103, 249, .18) 50%, transparent 72%);
}

/* Buttons share the warm gradient of the learning-benefit icons. */
.svlf-home .lrn-header .svlf-header-login .lrn-gradient-btn,
.svlf-home .lrn-header .svlf-header-login .lrn-gradient-btn::before,
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-btn-primary:not(.btn-xs),
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-btn-primary:not(.btn-xs)::before,
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-btn-primary:not(.btn-xs).remove-drop,
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-btn-secondary-2 {
  color: #fff !important;
  background: var(--sv-cta-orange-gradient);
  border-color: var(--sv-cta-orange);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(245, 130, 0, .2);
}
.svlf-home .lrn-header .svlf-header-login .lrn-gradient-btn::after {
  background: var(--sv-cta-orange-gradient-hover);
}
.svlf-home .lrn-header .svlf-header-login .lrn-gradient-btn:hover,
.svlf-home .lrn-header .svlf-header-login .lrn-gradient-btn:focus-visible {
  color: #fff !important;
  background: var(--sv-cta-orange-gradient-hover);
}
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-btn-primary:not(.btn-xs) .btn-text,
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-btn-primary:not(.btn-xs) i,
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-btn-secondary-2 .btn-text,
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-btn-secondary-2 i {
  color: #fff !important;
  font-weight: 700;
}
.svlf-home .lrn-event-2 > .container > .d-flex .lrn-btn-secondary-2 img {
  filter: brightness(0) invert(1);
}
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-btn-secondary-2 {
  background-color: var(--sv-cta-orange);
  background-image: var(--sv-cta-orange-gradient);
  border-color: var(--sv-cta-orange);
  font-size: 19px;
  box-shadow: 0 10px 24px rgba(245, 130, 0, .28);
}
.svlf-home .svlf-featured-courses .svlf-course-details:not(:hover):not(:focus-visible),
.svlf-home .svlf-featured-courses .svlf-course-details:not(:hover):not(:focus-visible)::before,
.svlf-home .lrn-footer .lrn-btn-primary:not(:hover):not(:focus-visible),
.svlf-home .lrn-footer .lrn-btn-primary:not(:hover):not(:focus-visible)::before,
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .rbt-swiper-arrow::after,
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .rbt-swiper-arrow:hover {
  background: var(--sv-cta-orange-gradient);
}
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-btn-secondary-2 .btn-text {
  font-size: 19px;
}

/* Orange headline accents stay lively while retaining contrast on white. */
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-gradient-splite,
.svlf-home .lrn-main-wrapper > :not(.lrn-footer) .lrn-gradient-splite * {
  color: var(--sv-accent-orange) !important;
  -webkit-text-fill-color: var(--sv-accent-orange) !important;
}
.svlf-home .svlf-admission-countdown .lrn-gradient-splite,
.svlf-home .svlf-admission-countdown .lrn-gradient-splite * {
  color: var(--sv-accent-orange) !important;
  -webkit-text-fill-color: var(--sv-accent-orange) !important;
  background: none !important;
}
.svlf-home .svlf-learning-journey .num-count {
  color: var(--sv-accent-orange);
  -webkit-text-fill-color: var(--sv-accent-orange);
}

.svlf-home .svlf-learning-journey .svlf-benefit-icon {
  display: block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #fff;
}

/* The introduction follows the full height of the six benefits on desktop. */
.svlf-home .svlf-learning-journey .svlf-about-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}
.svlf-home .svlf-about-intro__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  line-height: 1.7;
}
.svlf-home .svlf-about-intro__copy p {
  margin: 0;
}
/* Longer reading passages need the same comfortable size as article copy. */
.svlf-home .svlf-learning-journey p,
.svlf-home .lrn-aboutus-2-content > p {
  font-size: 20px !important;
  line-height: 1.65 !important;
}
@media (max-width: 767px) {
  .svlf-home .svlf-learning-journey p,
  .svlf-home .lrn-aboutus-2-content > p {
    font-size: 18px !important;
    line-height: 1.7 !important;
  }
}
.svlf-home .svlf-about-intro__cta {
  padding-top: 32px;
  padding-bottom: 20px;
}
@media (min-width: 992px) {
  .svlf-home .svlf-learning-journey .svlf-benefits-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}
@media (max-width: 991px) {
  .svlf-home .svlf-learning-journey .svlf-about-intro {
    height: auto;
  }
  .svlf-home .svlf-about-intro__copy {
    gap: 18px;
    margin-top: 20px;
  }
  .svlf-home .svlf-about-intro__cta {
    padding-top: 24px;
    padding-bottom: 0;
  }
}

/* Shorter outer spacing keeps the hero and its value strip in one visual group. */
.svlf-home .lrn-hero-area-2 {
  padding-top: 96px;
  padding-bottom: 88px;
}
@media (max-width: 1199px) {
  .svlf-home .lrn-hero-area-2 {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
@media (max-width: 767px) {
  .svlf-home .lrn-hero-area-2 {
    padding-top: 40px;
    padding-bottom: 48px;
  }
}

/* Three real classroom photos keep the original floating hero composition. */
.svlf-home .lrn-hero-area-2 .svlf-hero-gallery {
  position: relative;
  top: 0;
  left: auto;
  width: 100%;
  max-width: 660px;
  aspect-ratio: 6 / 5;
  isolation: isolate;
}
.svlf-home .svlf-hero-gallery__frame {
  position: absolute;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 16px;
  background: #eaf1fa;
  box-shadow: 0 16px 36px rgba(16, 48, 91, .16);
}
.svlf-home .svlf-hero-gallery__frame > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svlf-home .svlf-hero-gallery__main {
  top: 0;
  right: 0;
  width: 88%;
  height: 58%;
  z-index: 1;
}
.svlf-home .svlf-hero-gallery__main > img {
  object-position: 50% 42%;
}
.svlf-home .svlf-hero-gallery__guidance {
  top: 56%;
  left: 0;
  width: 58%;
  height: 36%;
  z-index: 2;
}
.svlf-home .svlf-hero-gallery__guidance > img {
  object-position: 70% 30%;
}
.svlf-home .svlf-hero-gallery__graduates {
  right: 0;
  bottom: 0;
  width: 39%;
  height: 36%;
  z-index: 3;
}
.svlf-home .svlf-hero-gallery__graduates > img {
  object-position: 50% 35%;
}
.svlf-home .svlf-hero-gallery__insets {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: 55%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.svlf-home .svlf-hero-gallery__insets li {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(9, 35, 72, .18);
}
.svlf-home .svlf-hero-gallery__insets img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 575px) {
  .svlf-home .lrn-hero-area-2 .svlf-hero-gallery { aspect-ratio: 1 / 1; }
  .svlf-home .svlf-hero-gallery__main { width: 92%; }
  .svlf-home .svlf-hero-gallery__frame { border-width: 2px; border-radius: 12px; }
  .svlf-home .svlf-hero-gallery__insets { right: 8px; bottom: 8px; width: 64%; gap: 4px; }
  .svlf-home .svlf-hero-gallery__insets li { border-radius: 5px; }
}
/* Separate the training programs from the white hero with a calm brand-tinted surface. */
.svlf-home .svlf-training-programs {
  background: linear-gradient(180deg, #f5f8fe 0%, #f8faff 58%, #fff 100%);
  border-block: 1px solid #e7edf7;
  padding-top: 64px;
  padding-bottom: 64px;
}
@media (max-width: 1199px) {
  .svlf-home .svlf-training-programs {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
@media (max-width: 767px) {
  .svlf-home .svlf-training-programs {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
.svlf-home .svlf-training-programs .card-grid-gradient > .lrn-card-anim {
  background: #fff !important;
  border: 1px solid #e2eaf5;
  box-shadow: 0 10px 28px rgba(16, 48, 91, .08);
}
.svlf-home .svlf-training-programs .svlf-training-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.svlf-home .svlf-training-programs .svlf-training-card:hover {
  transform: translateY(-4px);
  border-color: #aac8f4;
  box-shadow: 0 16px 36px rgba(16, 48, 91, .13);
}
.svlf-home .svlf-training-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  border-radius: inherit;
  text-decoration: none;
}
.svlf-home .svlf-training-card__link:focus-visible {
  outline: 3px solid #0754c8;
  outline-offset: -3px;
}
.svlf-home .svlf-training-card__copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 22px 24px 24px;
}
.svlf-home .svlf-training-card__title {
  font-size: 26px;
  font-weight: 700 !important;
  line-height: 1.35;
}
.svlf-home .svlf-training-card__thumb {
  display: block;
  width: 100%;
  height: 200px;
  flex: none;
  overflow: hidden;
  background: #edf4ff;
}
.svlf-home .svlf-training-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform .4s ease;
}
/* Match the illustrated artwork ratio so the logo remains visible on mobile. */
.svlf-home .svlf-training-programs .svlf-training-card__thumb {
  height: auto;
  aspect-ratio: 2 / 1;
}
.svlf-home .svlf-training-card:hover .svlf-training-card__thumb img,
.svlf-home .svlf-training-card__link:focus-visible .svlf-training-card__thumb img {
  transform: scale(1.04);
}
.svlf-home .svlf-training-card__action {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #0754c8;
  border: 1px solid #0754c8;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  transition: color .25s ease;
}
.svlf-home .svlf-training-card__action::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  opacity: 0;
  transition: opacity .25s ease;
}
.svlf-home .svlf-training-card__action:hover,
.svlf-home .svlf-training-card__link:hover .svlf-training-card__action,
.svlf-home .svlf-training-card__link:focus-visible .svlf-training-card__action,
.svlf-home .svlf-training-card__link:active .svlf-training-card__action {
  color: #0754c8;
}
.svlf-home .svlf-training-card__action:hover::before,
.svlf-home .svlf-training-card__link:hover .svlf-training-card__action::before,
.svlf-home .svlf-training-card__link:focus-visible .svlf-training-card__action::before,
.svlf-home .svlf-training-card__link:active .svlf-training-card__action::before {
  opacity: 1;
}

@media (max-width: 767px) {
  .svlf-home .svlf-training-card__copy {
    padding: 20px;
  }
  .svlf-home .svlf-training-card__thumb {
    height: 180px;
  }
  .svlf-home .svlf-training-card__title {
    font-size: 23px;
  }
  .svlf-home .svlf-training-card__action {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svlf-home .svlf-training-programs .svlf-training-card,
  .svlf-home .svlf-training-card__thumb img,
  .svlf-home .svlf-training-card__action,
  .svlf-home .svlf-training-card__action::before {
    transition: none;
  }
  .svlf-home .svlf-training-programs .svlf-training-card:hover,
  .svlf-home .svlf-training-card:hover .svlf-training-card__thumb img,
  .svlf-home .svlf-training-card__link:focus-visible .svlf-training-card__thumb img {
    transform: none;
  }
}

/* LearnHub-style visual cards with a frosted fee panel and captions below. */
.svlf-home .svlf-featured-courses .lrn-card-submenu-2--wrapper {
  font: inherit;
  white-space: nowrap;
}
.svlf-home .svlf-featured-courses .lrn-card-submenu-2--wrapper .title,
.svlf-home .svlf-course-tab-caption {
  display: block;
}
.svlf-home .svlf-course-tab-caption {
  font-size: 12px;
  line-height: 1.4;
  color: #475467;
}
.svlf-home .svlf-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.svlf-home .svlf-featured-course {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
  transition: transform .25s ease;
}
.svlf-home .svlf-featured-course:hover,
.svlf-home .svlf-featured-course:focus-within {
  transform: translateY(-4px);
}
.svlf-home .svlf-featured-course__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #dce7f6;
  border-radius: 14px;
  background: #edf4ff;
  box-shadow: 0 8px 24px rgba(16, 48, 91, .08);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.svlf-home .svlf-featured-course:hover .svlf-featured-course__visual,
.svlf-home .svlf-featured-course:focus-within .svlf-featured-course__visual {
  border-color: #91baf1;
  box-shadow: 0 16px 32px rgba(16, 48, 91, .15);
}
.svlf-home .svlf-featured-course__cover {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}
.svlf-home .svlf-featured-course__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(9, 35, 72, .12));
  pointer-events: none;
}
.svlf-home .svlf-featured-course__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform .35s ease;
}
.svlf-home .svlf-featured-course:hover .svlf-featured-course__cover img {
  transform: scale(1.03);
}
.svlf-home .svlf-featured-course__overlay {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.svlf-home .svlf-featured-course__discount {
  align-self: flex-start;
  max-width: 100%;
  padding: 4px 12px;
  border: 1px solid #ffa000;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 48, 91, .12);
  color: #093fb4;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.svlf-home .svlf-featured-course__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 18px 2px 0;
}
.svlf-home .svlf-featured-course__group {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #52647f;
}
.svlf-home .svlf-featured-course__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}
.svlf-home .svlf-featured-course__title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.8em;
  overflow-wrap: anywhere;
  color: #093fb4;
}
.svlf-home .svlf-featured-course__title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.svlf-home .svlf-featured-course__duration {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.svlf-home .svlf-featured-course__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 4px;
  color: #475467;
  font-size: 14px;
  line-height: 1.5;
}
.svlf-home .svlf-featured-course__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(210, 225, 246, .8);
  border-radius: 10px;
  background: linear-gradient(100deg, rgba(244, 248, 255, .82), rgba(244, 248, 255, .24));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(9, 35, 72, .08);
}
.svlf-home .svlf-featured-course__info {
  min-width: 0;
}
.svlf-home .svlf-featured-course__pricing {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
}
.svlf-home .svlf-featured-course__price {
  color: #093fb4;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.svlf-home .svlf-featured-course__price.is-pending {
  color: #475467;
  font-size: 13px;
  font-weight: 500;
}
.svlf-home .svlf-featured-course__original-price {
  color: #52647f;
  font-size: 13px;
}
.svlf-home .svlf-featured-courses .svlf-featured-course__footer .svlf-course-details {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  margin-top: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  color: #fff !important;
}
.svlf-home .svlf-featured-courses .svlf-course-details .btn-text-wrap {
  height: 24px;
  transform: none;
}
.svlf-home .svlf-featured-courses .svlf-course-details .btn-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  line-height: 24px;
}
.svlf-home .svlf-featured-courses .svlf-featured-course__footer .svlf-course-details:hover,
.svlf-home .svlf-featured-courses .svlf-featured-course__footer .svlf-course-details:focus-visible {
  color: #fff !important;
}
/* Original learner avatars are small portraits, displayed beside their reviews. */
.svlf-home .svlf-study-schedule.lrn-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 100%;
}
.svlf-home .svlf-study-schedule .lrn-counter-inner {
  min-width: 0;
  width: auto;
  padding: 20px 16px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 10px;
}
.svlf-home .svlf-study-schedule h3 {
  color: #093fb4 !important;
}
.svlf-home .svlf-study-schedule .color-secondary-700 {
  color: #475467 !important;
}
@media (max-width: 1199px) {
  .svlf-home .svlf-study-schedule.lrn-counter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .svlf-home .svlf-study-schedule.lrn-counter-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.svlf-home .svlf-testimonials .testimonials-box {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 0;
}
.svlf-home .svlf-testimonials .lrn-cta-title {
  line-height: 1.28;
}
.svlf-home .svlf-testimonials .lrn-cta-title .lrn-gradient-splite {
  display: block;
  margin-top: 8px;
}
.svlf-home .svlf-testimonials .svlf-review-person {
  min-width: 0;
  text-align: center;
}
.svlf-home .svlf-testimonials .svlf-review-avatar {
  display: block;
  width: 160px;
  height: 160px;
  max-width: 100%;
  margin: 0 auto 18px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 6px 20px rgba(9, 35, 72, .12);
}
.svlf-home .svlf-testimonials .svlf-review-person p {
  font-size: 13px;
  line-height: 1.5;
}
.svlf-home .svlf-testimonials .message-wrap {
  position: static;
  width: auto;
  min-width: 0;
  margin: 0;
  transform: none;
  clip-path: none;
}
.svlf-home .svlf-testimonials .testimonials-box-message {
  padding: 24px;
}
.svlf-home .svlf-testimonials .svlf-review-quote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.svlf-home .svlf-testimonials .testimonials-box-desc {
  font-size: 16px;
  line-height: 1.65;
}
.svlf-home .svlf-testimonials .lrn-rating .fa-star {
  color: #ffbf00 !important;
}
@media (max-width: 767px) {
  .svlf-home .svlf-testimonials .testimonials-box {
    grid-template-columns: minmax(0, 1fr);
  }
  .svlf-home .svlf-testimonials .svlf-review-avatar {
    width: 120px;
    height: 120px;
  }
}
.svlf-home .svlf-featured-empty {
  padding: 40px 24px;
  text-align: center;
  color: #475467;
}
.svlf-home .svlf-featured-empty a {
  color: #093fb4;
  text-decoration: underline;
}
@media (max-width: 1199px) {
  .svlf-home .svlf-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 991px) {
  .svlf-home .svlf-featured-course__footer { grid-template-columns: minmax(0, 1fr); }
  .svlf-home .svlf-featured-courses .svlf-featured-course__footer .svlf-course-details { width: 100%; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .svlf-home .svlf-featured-course__footer { padding-inline: 14px; }
}
@media (max-width: 767px) {
  .svlf-home .svlf-featured-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .svlf-home .svlf-featured-course__body { padding: 16px 2px 0; }
  .svlf-home .svlf-featured-course__overlay { left: 12px; right: 12px; bottom: 12px; gap: 16px; }
  .svlf-home .svlf-featured-course__footer { gap: 8px; padding: 12px; }
  .svlf-home .svlf-featured-course__title { font-size: 21px; }
}
@media (max-width: 359px) {
  .svlf-home .svlf-featured-course__footer { grid-template-columns: minmax(0, 1fr); }
  .svlf-home .svlf-featured-courses .svlf-featured-course__footer .svlf-course-details { width: 100%; }
}
@media (min-width: 360px) and (max-width: 374px) {
  .svlf-home .svlf-featured-course__footer { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .svlf-home .svlf-featured-course,
  .svlf-home .svlf-featured-course__visual,
  .svlf-home .svlf-featured-course__cover img { transition: none; }
  .svlf-home .svlf-featured-course:hover,
  .svlf-home .svlf-featured-course:focus-within,
  .svlf-home .svlf-featured-course:hover .svlf-featured-course__cover img { transform: none; }
}

/* Keep each Maps screenshot anchored at its heading inside the portrait carousel. */
.svlf-home .svlf-achievements .svlf-map-thumbnail {
  background: #fff;
}
.svlf-home .svlf-achievements .svlf-map-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Restore the original coverflow hierarchy: one central image and two smaller peers. */
@media (min-width: 1200px) {
  .svlf-home .svlf-achievements .lrn-swiper-card-2 .swiper-slide {
    transform-origin: center;
    transition: scale .45s ease, translate .45s ease, opacity .45s ease;
  }
  .svlf-home .svlf-achievements .lrn-swiper-card-2 .swiper-slide-prev {
    scale: .68;
    translate: 46px 0;
    opacity: .82;
  }
  .svlf-home .svlf-achievements .lrn-swiper-card-2 .swiper-slide-next {
    scale: .68;
    translate: -46px 0;
    opacity: .82;
  }
  .svlf-home .svlf-achievements .lrn-swiper-card-2 .swiper-slide-active {
    scale: 1;
    translate: 0 0;
    opacity: 1;
  }
}

/* Mobile/tablet search panel: replace the inherited purple skin with Sao Viet surfaces. */
.svlf-home .lrn-header-search-overlay .lrn-header-search-backdrop {
  background: rgba(5, 31, 72, .68);
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-panel {
  color: #10223f;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fc 100%);
  border-color: var(--sv-menu-border);
  box-shadow: 0 18px 45px rgba(5, 31, 72, .22);
  overscroll-behavior: contain;
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-light {
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(8, 103, 249, .16), transparent 70%);
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-panel::-webkit-scrollbar-thumb {
  background: rgba(7, 84, 200, .35);
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-form {
  height: 54px;
  color: #10223f;
  background: #fff;
  border: 1px solid #9fb5cf;
  box-shadow: 0 8px 22px rgba(16, 48, 91, .1);
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-form:focus-within {
  border-color: #0754c8;
  box-shadow: 0 0 0 3px rgba(7, 84, 200, .13);
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-form input {
  color: #10223f;
  caret-color: #0754c8;
}
/* The pill's :focus-within ring already marks focus for the search input. */
.svlf-home .lrn-header-search-overlay .lrn-header-search-form input:focus-visible {
  outline: none;
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-form input::placeholder {
  color: #667892;
  opacity: 1;
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-submit {
  color: #fff;
  background: var(--sv-cta-orange-gradient);
  font-weight: 700;
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-submit:hover,
.svlf-home .lrn-header-search-overlay .lrn-header-search-submit:focus-visible {
  color: #fff;
  background: var(--sv-cta-orange-gradient-hover);
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-tag {
  color: #0754c8;
  background: #fff;
  border-color: #c4d3e4;
  font-weight: 600;
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-tag:hover,
.svlf-home .lrn-header-search-overlay .lrn-header-search-tag:focus-visible {
  color: #043f9e;
  background: #eaf3ff;
  border-color: #8eacd0;
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-divider {
  background: linear-gradient(90deg, transparent, #b8c9dc 50%, transparent);
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-courses-title {
  color: #334760;
  font-weight: 700;
}
.svlf-home .lrn-header-search-overlay .lrn-header-search-course-grid .search-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d2dfec;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(16, 48, 91, .1);
}
.svlf-home .lrn-header-search-overlay .lrn-search-course-card-badge,
.svlf-home .lrn-header-search-overlay .lrn-search-course-card-btn {
  color: #fff;
  background: #0754c8;
  border-color: #fff;
}

@media (max-width: 575px) {
  .svlf-home .lrn-header-search-overlay .lrn-header-search-panel {
    max-height: calc(100dvh - var(--header-height, 73px));
    padding: 20px 0;
  }
  .svlf-home .lrn-header-search-overlay .lrn-header-search-inner {
    gap: 22px;
    padding-inline: 15px;
  }
  .svlf-home .lrn-header-search-overlay .lrn-header-search-form {
    height: 50px;
    padding-left: 15px;
  }
  .svlf-home .lrn-header-search-overlay .lrn-header-search-submit {
    width: 38px;
    height: 38px;
  }
  .svlf-home .lrn-header-search-overlay .lrn-header-search-tag {
    padding: 7px 11px;
    font-size: 12px;
  }
  .svlf-home .lrn-header-search-overlay .lrn-header-search-course-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Keep the four quick-contact actions from the previous theme on phones. */
.svlf-mobile-contact {
  display: none;
}
@media (max-width: 599px) {
  body.svlf-home {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .svlf-home .svlf-mobile-contact {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    min-height: 76px;
    padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid #e4eaf2;
    background: #fff;
    box-shadow: 0 -3px 16px rgb(16 34 63 / 10%);
  }
  .svlf-home .svlf-mobile-contact a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    color: #344054;
    font-size: clamp(10px, 2.8vw, 12px);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }
  .svlf-home .svlf-mobile-contact a:hover,
  .svlf-home .svlf-mobile-contact a:focus-visible {
    color: #0754c8;
  }
  .svlf-home .svlf-mobile-contact a:focus-visible {
    outline: 2px solid #0754c8;
    outline-offset: 2px;
    border-radius: 6px;
  }
  .svlf-home .svlf-mobile-contact img {
    display: block;
    width: 42px;
    height: 42px;
  }
  .svlf-home .rbt-progress-parent {
    bottom: calc(90px + env(safe-area-inset-bottom)) !important;
  }
}
