.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;
}
