@charset "UTF-8";
.fixed-col.dojoList {
  flex: 0 0 300px;
  max-width: 300px;
}

.course__main {
  display: flex;
  gap: 32px !important;
  flex-direction: column;
}

.miner__content {
  overflow: auto;
  flex-grow: 1;
  width: 100%;
  padding: 2.5rem;
}

.course__header {
  display: flex;
  flex-direction: row;
}

.search-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.search-form i {
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-image: url("../img/search-icon.svg");
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 18px;
  display: inline-block;
}

.course__header_container {
  width: 60%;
}

.icon-plus {
  background-image: url("../img/icon-plus.svg");
  background-repeat: no-repeat;
  display: inline-block;
  height: 14px;
  width: 14px;
  filter: invert(44%) sepia(56%) saturate(5483%) hue-rotate(229deg) brightness(95%) contrast(94%);
}

.search-filter-head .search-filter {
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
}

.course__filter_and_search {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: end;
}

.search-filter-head .search-filter .search-form {
  margin: 0;
  min-width: 373px;
}

.course__search {
  width: 373px;
}

.search-form {
  position: relative;
}

.search-filter-head .search-filter .search-form input {
  border: 1px solid #eaecf0;
  padding-top: 11px;
  padding-bottom: 11px;
}

/**/
.cards__body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.cards__body__item {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  align-items: stretch;
}

.cards__body__item .card {
  position: relative;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid lab(90.952% 0 -0.0000119209);
  overflow: visible;
  box-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgba(0, 0, 0, 0.1019607843)), 0 1px 2px -1px var(--tw-shadow-color, rgba(0, 0, 0, 0.1019607843));
  transition: transform 0.3s ease;
}

.cards__body__item .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgba(0, 0, 0, 0.1019607843)), 0 4px 6px -4px var(--tw-shadow-color, rgba(0, 0, 0, 0.1019607843));
}

.cards__body__item .card:hover .card__name {
  color: #6366f1;
}

.cards__body__item .card__thumbnail {
  height: 187.492px;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 12px 12px 0px 0px;
}

.cards__body__item .card__content {
  position: relative;
  padding: 22px;
  cursor: pointer;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.cards__body__item .card__content__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card__name__head {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 6px;
  align-items: start;
  width: 100%;
  overflow: hidden;
}

.card__top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cards__body__item .card__name {
  font-size: 20px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.18px;
  min-height: 22px;
  padding-bottom: 0px;
  overflow: hidden;
  height: 44px;
  min-width: 100%;
  padding-right: 4px;
  color: #111827;
  transition: color 0.3s ease, background-color;
  min-height: 44px;
  max-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.threeDotsBtn {
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border: 1px solid #eaecf0;
  background-color: #eaecf0;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 !important;
}

.threeDotsBtn li {
  background: none repeat scroll 0 0 #475467;
  height: 3px;
  width: 3px;
  line-height: 0;
  list-style: none outside none;
  margin-top: 3px;
  vertical-align: top;
  border-radius: 50%;
  pointer-events: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 95px;
  margin-top: 3px;
  inset: 0 !important;
  right: 0 !important;
  top: auto !important;
  left: auto !important;
  bottom: auto !important;
  overflow: auto !important;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 6px;
  padding: 5px;
  border: 1px solid #d0d5dd;
  top: 40px;
  z-index: 99;
}

.dropdown-content a {
  width: auto !important;
  height: auto !important;
  background-color: #fff !important;
  border-radius: 5px !important;
  display: flex !important;
  font-size: 14px !important;
  line-height: 20px !important;
  padding: 5px 7px !important;
  justify-content: start !important;
  color: #667085 !important;
  text-decoration: none;
}

.cards__body__item .card__content__footer.learners__footer .contentUpdates {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.cards__body__item .card__content__footer p {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

.dropdown-content.show {
  display: block;
}

/*empty state rubric*/
.emptyStateRubric {
  max-width: 490px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 15px;
}

.emptyStateRubric h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin: 25px 0 16px 0;
}

.emptyStateRubric p {
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 25px;
}

/*showing results*/
.cardsCount {
  font-size: 14px;
  line-height: 20px;
  width: 100%;
  text-align: center;
  color: #667085;
  margin-top: 30px;
}

.cardsCount span {
  font-weight: 500;
  color: #475467;
}

.cardsFilterText {
  font-size: 12px;
  line-height: 18px;
  width: 100%;
  text-align: center;
  color: #475467;
  margin-top: 2px;
  margin-bottom: 30px;
}

.card__descrp {
  height: 46px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #6b7280;
  font-size: 15px;
}

@media (max-width: 768px) {
  .search-filter-head {
    flex-direction: column;
    align-items: start;
  }
  .course__filter_and_search {
    justify-content: start;
  }
  .miner__content {
    padding: 0;
  }
}
@media (max-width: 992px) {
  .cards__body {
    display: flex;
    gap: 12px;
    /* you said gap-4 → gap-2 */
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .card > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .fixed-col.dojoList {
    border: 0;
  }
  .course__search {
    width: 100%;
  }
  .search-filter-head .search-filter .search-form {
    min-width: auto;
  }
  .cardsCount {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    padding: 10px 0;
    background: white;
    z-index: 999;
  }
}
@media (max-width: 575.98px) {
  .search-filter-head .search-filter {
    flex-direction: column;
    align-items: start;
  }
  .search-filter-head .search-filter .search-form {
    min-width: 100%;
  }
  .course__search {
    width: 90%;
  }
}