.course.panel {
  position: relative;
  padding-top: 225px;
  margin: 0 5px 48px 5px;

  border: 1px solid #e9ecf2;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.course.panel .image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.course.panel .image-wrapper figure {
  width: 100%;
  height: 225px;
  overflow: hidden;
}

.course.panel .image-wrapper figure a {
  display: block;
  height: inherit;
  width: inherit;
}

.course.panel .image-wrapper figure img {
  width: 100%;
  margin: auto;
  height: inherit;
}

.course.panel .card {
    height: 100%;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course.panel .name a {
  color: var(--color-gray1) !important;
}

.course.panel .mode {
  padding-left: 15px;
  width: fit-content;
  border-radius: unset;
  font-weight: 700;
  color: #000 !important;
  background: #fff !important;
}

.course.panel .mode:before {
  content: '';
  background: #5DC6FA;
  width: 12px;
  height: 12px;
  position: absolute;
  left: 20px;
  border-radius: 50%;
}

.course.panel .vivo.mode:before {
  background: #E83853;
}


.course.panel .discount {
  width: fit-content;
  border-radius: unset;
  color: #6f5a07;
  font-weight: bold;
}

.course.panel .category {
  font-weight: 300;
  font-size: 0.9rem;
}

.course.panel .scholarship {
  display: inline-block !important;
  position: absolute;
  left: 16px;
  top: 16px;
  height: 24px;
  top: 16px;
  left: 182px;
  padding: 0px 8px 0px 8px;
  border-radius: 4px;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-size: 700;
  color: var(--color-secondary);
  background: var(--color-primary)
}

.course.panel .description p,
.course.panel p.description {
  font-size: 0.9rem;
  line-height: 0.9rem;
  color: var(--color-gray2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.course-list > div{
    display: flex;
    flex-direction: column;
}
.courses .course.panel{
    flex: 1;
}
@media (max-width: 47.99875rem) {
    .categories{
        padding: 2rem 0 0;   
    }
}
@media (max-width: 35.999rem) {
  .course.panel .description p,
  .course.panel p.description {
    min-height: unset;
  }
  
}

.course.panel .price {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  color: var(--color-gray1);
  text-align: center;
}

.course.panel .price.before {
  font-size: 1.03125rem;
  text-decoration: line-through;
  color: #666;
}
