html,
body {
  background: #f8fafc;
}

.ecl-hero-section {
  background: rgb(81, 181, 255) !important;
}

.ecl-home-hero {
  right: -5rem !important;
  bottom: -1rem !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: right bottom !important;
}

.ecl-product-card {
  cursor: pointer;
}

.ecl-product-title-two-lines {
  font-size: 13px !important;
  line-height: 18px !important;
  white-space: pre-line !important;
}

.ecl-exact-logo-chip {
  padding: 2px 5px !important;
  border: 1px solid #aeb8c4 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  color: #3f4a57 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.ecl-product-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 3px !important;
}

.ecl-product-proof {
  color: #4e5967 !important;
  font-weight: 700 !important;
}

.ecl-brand-chip {
  border-color: #7892b2 !important;
  background: linear-gradient(180deg, #f7fbff 0%, #eaf2fb 100%) !important;
  color: #173a63 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
  font-weight: 800 !important;
}

.ecl-stat-detail {
  font-size: 10px !important;
}

.ecl-path-stat-column {
  align-items: center !important;
}

.ecl-path-stat-label,
.ecl-path-stat-detail {
  width: 100% !important;
  text-align: center !important;
}

.ecl-path-stat-label {
  font-size: 10px !important;
}

.ecl-path-stat-detail {
  padding: 0 7px !important;
  box-sizing: border-box !important;
  line-height: 14px !important;
  white-space: normal !important;
}

.ecl-price-suffix {
  margin-left: 2px;
  color: #8a929d;
  font-size: 10px;
  font-weight: 500;
}

.ecl-footer-copy {
  color: #a0a6b0 !important;
}

.ecl-path-map-static {
  cursor: default !important;
}

html[data-ecl-static-home="true"] .ecl-native-scroller .vueperslides__parallax-wrapper {
  overflow: visible !important;
}

html[data-ecl-static-home="true"] .ecl-native-scroller .vueperslides__track {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

html[data-ecl-static-home="true"] .ecl-native-scroller .vueperslides__track::-webkit-scrollbar {
  display: none;
}

html[data-ecl-static-home="true"] .ecl-native-scroller .vueperslides__track-inner {
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

html[data-ecl-static-home="true"] .ecl-native-scroller .vueperslide {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

html[data-ecl-static-home="true"] .ecl-static-accordion-trigger:focus-visible {
  outline: 2px solid #168ee4;
  outline-offset: 3px;
}

.ecl-course-library-window {
  width: min(100%, 920px);
  margin: 40px auto 8px;
  padding: 28px;
  border: 1px solid #d4dfe9;
  border-radius: 20px;
  background: #f6f8fb;
  box-shadow: 0 16px 42px rgba(39, 62, 85, 0.08);
  box-sizing: border-box;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ecl-library-head {
  margin-bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.ecl-library-head > div > span {
  color: #168ee4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.ecl-library-head h2 {
  margin: 7px 0 6px !important;
  color: #14232d !important;
  font-size: 28px !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

.ecl-library-head p {
  margin: 0 !important;
  color: #687982 !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.ecl-library-head > a {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  background: #14232d;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ecl-library-filter {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
}

.ecl-library-filter label {
  height: 42px;
  padding: 0 13px;
  border: 1px solid #d4dfe7;
  border-radius: 9px;
  background: #fff;
  color: #87949b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ecl-library-filter input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #243842;
  font-size: 11px;
}

.ecl-library-filter > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ecl-library-filter button {
  height: 34px;
  padding: 0 11px;
  border: 1px solid #d4dfe7;
  border-radius: 999px;
  background: #fff;
  color: #61727b;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.ecl-library-filter button.active {
  border-color: #14232d;
  background: #14232d;
  color: #fff;
}

.ecl-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ecl-library-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #cbd8e4;
  border-radius: 15px;
  background: #fff;
  color: inherit !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ecl-library-card:hover {
  box-shadow: 0 12px 28px rgba(36, 61, 88, 0.11);
  transform: translateY(-2px);
}

.ecl-library-card[hidden] {
  display: none !important;
}

.ecl-library-card figure {
  position: relative;
  aspect-ratio: 16 / 8;
  margin: 11px 11px 0 !important;
  overflow: hidden;
  border-radius: 10px;
}

.ecl-library-card figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.ecl-library-card figure em {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  color: #263747;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.ecl-library-card-body {
  min-height: 198px;
  padding: 13px 16px 15px;
  display: flex;
  flex-direction: column;
}

.ecl-library-provider {
  overflow: hidden;
  color: #334655 !important;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ecl-library-provider i {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border: 1px solid #cfdae4;
  border-radius: 6px;
  color: #168ee4;
  font-size: 11px;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ecl-library-card h3 {
  margin: 10px 0 7px !important;
  color: #14232d !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

.ecl-library-card-body > p {
  margin: 0 0 12px !important;
  color: #667783 !important;
  font-size: 10px !important;
  line-height: 1.55 !important;
}

.ecl-library-card footer {
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #e3e9ee;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.ecl-library-card footer > span {
  color: #8c989f;
  font-size: 8px;
}

.ecl-library-card footer strong {
  color: #e25742;
  font-size: 20px;
}

.ecl-library-card footer small {
  margin-right: 2px;
  font-size: 11px;
}

.ecl-library-empty {
  padding: 34px 20px;
  color: #7c8b93;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 680px) {
  .ecl-course-library-window {
    margin-top: 28px;
    padding: 19px 14px;
    border-radius: 15px;
  }

  .ecl-library-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ecl-library-head h2 {
    font-size: 23px !important;
  }

  .ecl-library-filter {
    grid-template-columns: 1fr;
  }

  .ecl-library-filter > div {
    overflow-x: auto;
  }

  .ecl-library-grid {
    grid-template-columns: 1fr;
  }
}
