.courses-lists-hero {
  width: 100%;
  height: 240px;
}
@media (max-width: 991px) {
  .courses-lists-hero {
    height: 220px;
  }
}
.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%);
  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 > div:has(> .courses-lists-header__overlay-img) > .d-flex.flex-column {
  padding-right: 336px !important;
}
.rtl .courses-lists-header > div:has(> .courses-lists-header__overlay-img) > .d-flex.flex-column {
  padding-right: 32px !important;
  padding-left: 336px !important;
}
@media (max-width: 991px) {
  .courses-lists-header > div:has(> .courses-lists-header__overlay-img) > .d-flex.flex-column {
    padding-right: 32px !important;
  }
  .rtl .courses-lists-header > div:has(> .courses-lists-header__overlay-img) > .d-flex.flex-column {
    padding-left: 32px !important;
  }
}
.courses-lists-header__overlay-img {
  position: absolute;
  top: 16px;
  bottom: 16px;
  right: 16px;
  width: 304px;
  height: auto;
  border-radius: 24px;
  overflow: hidden;
}
.courses-lists-header__overlay-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 991px) {
  .courses-lists-header__overlay-img {
    display: none;
  }
}
.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;
}
