.page-item.disabled .page-link {
    color: #6c757d;
}

.page-item .page-link {
    color: #ed837c;
    border: 1px solid #dee2e6;
}

.page-item.active .page-link {
    background-color: #ed837c;
    border-color: #ed837c;
    color: white;
}

.lesson-card .card {
    border-radius: 15px;
    overflow: hidden;
    border: none !important;
}

.lesson-card .card .row .col-6 {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.lesson-card  .img-grid  {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.lesson-card .card .card_title {
    width: 100% !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.4;
  max-height: calc(1.4em * 2);
  height: 60px !important;
  /* color: #ED837C; */
}

.genre-item .card .row {
    width: 100%;
    aspect-ratio: 1;
}

.genre-item .card-text {
  width: 100% !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.4;
  max-height: calc(1.4em * 3);
  text-align: left !important;
}

 .lesson-card .info {
      display: flex;
      gap: 10px;
      height: 65px;
    }

.lesson-card .info a,
.lesson-card .card-title a
{
    text-decoration: none;
}

.lesson-card .info p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    word-break: break-all;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

 .lesson-card .info .instructor-avatar{
    min-width: 50px !important;
    height: 50px !important;
    border-radius: 100%;
    overflow: hidden;
    aspect-ratio: 1;
  }

  .lesson-card .info .instructor-avatar img {
    width: 42px;
    object-fit: cover;
  }
  
  .lesson-card .view_more_link {
    display: flex;
    justify-content: center;
    align-items: center;
     text-decoration: none;
  background-color: #ED837C;
  border-radius: 30px;
  color: white;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  -moz-text-align-last: center;
  height: 35px;
  width: 150px;
  }


@media (min-width: 375px) and (max-width: 568px){

  .lesson-card .info p {
    max-width: 100%;
  }

   .genre-item .card_title {
    -webkit-line-clamp: 1;
    max-height: calc(1.4em * 1);
    font-size: 16px;
    width: 130px !important;
  }

   .genre-item .card-text {
    -webkit-line-clamp: 2;
    max-height: calc(1.4em * 2);
    font-size: 14px;
    /* width: 130px !important; */
  }

    .genre-item .card .info  {
        min-height: 110px !important;
    }

  .lesson-card .info {
    flex-direction: column;
    gap: 0px !important;
  }
}
