.courses-lists-hero {
  width: 100%;
  height: 320px;
}
.courses-lists-hero img {
  position: absolute;
  inset: 0;
}
.courses-lists-hero__mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(1deg, rgba(18, 31, 62, 0.9) 0%, rgba(18, 31, 62, 0) 100%);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.dark-mode .courses-lists-hero__mask {
  background: linear-gradient(1deg, rgba(170, 184, 197, 0.9) 0%, rgba(170, 184, 197, 0) 100%);
}

.courses-lists-header {
  top: -119px;
  margin-bottom: -119px;
  z-index: 5;
}
.courses-lists-header__mask {
  position: absolute;
  inset: 8px;
  bottom: -8px;
  border-radius: 32px;
  opacity: 0.5;
  background: var(--white);
  z-index: 1;
}
.courses-lists-header__overlay-img {
  width: 280px;
  height: 280px;
  position: absolute;
  right: 16px;
  bottom: 16px;
  top: auto;
}
@media (max-width: 991px) {
  .courses-lists-header__overlay-img {
    width: 140px;
    height: 140px;
    bottom: auto;
    top: 0;
  }
}
.rtl .courses-lists-header__overlay-img {
  right: auto;
  left: 16px;
}

.courses-lists-featured {
  height: 470px;
  background-size: cover;
  background-repeat: no-repeat;
}
.courses-lists-featured__arrow {
  position: absolute;
  top: 12px;
  right: 48px;
  width: 59px;
  height: 52px;
}
.rtl .courses-lists-featured__arrow {
  right: auto;
  left: 48px;
}
@media (max-width: 991px) {
  .courses-lists-featured {
    height: auto;
  }
}

.courses-lists-filters__mask {
  position: absolute;
  inset: 8px;
  bottom: -8px;
  border-radius: 16px;
  opacity: 0.5;
  background: var(--white);
  z-index: 1;
}
.courses-lists-filters .courses-lists-sort-input {
  width: 220px;
}
.courses-lists-filters .courses-lists-card-view input {
  visibility: hidden;
  display: none;
}
.courses-lists-filters .courses-lists-card-view input:checked + label {
  color: var(--primary) !important;
}
.courses-lists-filters .courses-lists-card-view label {
  color: var(--gray-400);
}
.courses-lists-filters .courses-lists-card-view label:hover {
  background-color: var(--gray-100) !important;
}
.courses-lists-filters .js-instructor-filter-group {
  position: relative;
  overflow: visible;
  z-index: 4;
}
.courses-lists-filters .js-instructor-filter-group .form-group-label {
  z-index: 10001;
  pointer-events: none;
  background-color: var(--white);
}
.courses-lists-filters .js-instructor-filter-group.is-focused {
  z-index: 10002;
}
.courses-lists-filters .js-instructor-select-wrapper {
  position: relative;
  overflow: visible;
  z-index: 1;
}
.courses-lists-filters #leftFiltersInstructor,
.courses-lists-filters #leftFiltersInstructor.accordion__collapse,
.courses-lists-filters .courses-instructor-filter-accordion {
  overflow: visible !important;
}
.courses-lists-filters .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-inline-end: 32px;
}
.courses-lists-filters .select2-container--default .select2-selection--single .select2-selection__arrow {
  inset-inline-end: 10px;
  inset-inline-start: auto;
}
.courses-lists-filters .js-instructor-filter-group .select2-dropdown {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin-top: 4px;
}
