.course-overview__container {
  margin: 0 auto;
  max-width: 1080px;
}

.course-overview {
  margin-bottom: 50px;
}

.course-overview__course.course-sorting {
  border-bottom: 2px solid #1964FF;
}

.course-sorting .course__format,
.course-sorting .course__price,
.course-sorting .course__locality,
.course-sorting .course__desktop-column-last {
  display: none;
}

.course-sorting svg {
  color: #C8C8C8;
}

.course-sorting .active svg {
  color: #1964FF;
}

.course-sorting__item a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-overview__course {
  padding: 12px 8px;
  border-bottom: 0.5px solid #CCC;
}

.course {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: normal;
}

.course__desktop-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.course__topic {
  color: #C8C8C8;
  line-height: 19px;
}

.course__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 27px;
}

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

.course__occupancy {
  width: 24px;
  height: 24px;
}

.course__price {
  display: block;
  width: 70px;
  text-align: left;
}

@media screen and (min-width: 768px) {
  .course-sorting .course__format,
  .course-sorting .course__price,
  .course-sorting .course__locality,
  .course-sorting .course__desktop-column-last {
    display: flex;
  }

  .course-sorting .course__mobile-row.course__locality > .course-sorting__item {
    min-width: 0;
  }

  .course__desktop-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .course__mobile-row {
    gap: 24px;
  }

  .course__mobile-row > div:not(.course__occupancy):not(.course__price) {
    min-width: 130px;
  }

  .course__title {
    width: 320px;
    flex-shrink: 0;
  }

  .course__format {
    width: 130px;
  }

  .course__desktop-column-last {
    flex: 0 0 auto;
    margin-left: auto;
  }
}

@media screen and (min-width: 1096px) {
  .course__title {
    width: 440px;
    flex-shrink: 0;
  }
}

@media screen and (min-width: 1024px) {
  .course__desktop-column-last {
    
  }
}
