.course-item {
  padding: 0;
  width: 280px;
  margin: 0; // FIXME: rounded-panel should not have margin
}

.course-item__picture {
  width: 100%;
  height: 160px;
  text-align: center;
  margin: 0 auto;
  display: block;
}

.course-item__container {
  padding: 10px;
  text-align: center;

  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.course-item__name {

  width: 100%;
  margin-bottom: auto;

  font-family: $font-raleway;
  font-size: 22px;
  font-weight: $font-semi-bold;
  line-height: 1.09;
  text-align: center;
  color: $charcoal-grey;
}

.course-item__description {
  width: 100%;
  margin-bottom: auto;
  align-self: flex-start;
  margin-top: 10px;
  font-family: $font-lato;
  font-size: 15px;
  line-height: 1.2;
  color: $slate-grey;
  text-overflow: ellipsis;
}

.course-item__challenges-number {
  text-align: center;
  margin-top: 20px;
  text-transform: uppercase;
  font-size: 12px;
  color: $charcoal-grey;
  font-family: $font-lato;
}

.course-item__begin-button {
  margin-top: 10px;
  text-transform: uppercase;
  color: $pix-blue;
  font-weight: $font-semi-bold;
  font-family: $font-lato;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 12px;
  height: 44px;
  display: inline-block;

  &:hover,
  &:focus,
  &:active {
    text-decoration: none;
    color: $pix-blue;
  }
}
