/* COURSE PAGE */
.postcard {
  flex-wrap: wrap;
  display: flex;
  box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
  border-radius: 10px;
  margin: 0 0 2rem 0;
  overflow: hidden;
  position: relative;
  color: #ffffff;
}

.postcard.light {
  background-color: #ffffff;
}

.postcard .t-dark {
  color: #18151f;
}

.postcard a {
  color: inherit;
}

.postcard h1,
.postcard .h1 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.postcard .small {
  font-size: 80%;
}

.postcard .postcard__title {
  font-size: 1.75rem;
}

.postcard .postcard__img {
  /* width: 100%; */
  height: 100%;
  object-fit: fill;
  /* position: relative; */
}

.postcard .postcard__img_link {
  display: contents;
}

.postcard .postcard__bar {
  width: 50px;
  height: 10px;
  margin: 10px 0;
  border-radius: 5px;
  background-color: #377dff;
  transition: width 0.2s ease;
}

.postcard .postcard__text {
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.postcard .postcard__preview-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
  height: 100%;
}

.postcard__tagbox {
  display: flex;
  flex-flow: row wrap;
  font-size: 14px;
  margin: 20px 0 0 0;
  padding: 0;
  justify-content: space-between;
}

.postcard__tagbox .tag__item {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 0;
  cursor: default;
  user-select: none;
  z-index: 100;
  transition: background-color 0.3s;
}

.postcard__tagbox .tag__item a {
  outline: 1px solid #e2e2e2;
  font-size: 15pt;
  padding: 4px 15px;
  border-radius: 30px;
}

.postcard__tagbox .buy-course a {
  outline: 1px solid #25d366;
  color: #fff;
}

.postcard__tagbox .add-to-cart a {
  outline: 1px solid #377dff;
  color: #fff;
}

.postcard__tagbox .wish-list a {
  outline: 1px solid #0076bd;
  color: #fff;
}

.postcard:hover .postcard__bar {
  width: 150px;
}

@media screen and (min-width: 769px) {
  .postcard {
    flex-wrap: inherit;
  }

  .postcard .postcard__title {
    font-size: 2rem;
  }

  .postcard .postcard__tagbox {
    justify-content: start;
  }

  .postcard .postcard__text {
    padding: 3rem;
    width: 100%;
  }

  .postcard:nth-child(2n+1) {
    flex-direction: row;
  }

  .postcard:nth-child(2n+0) {
    flex-direction: row-reverse;
  }
}

@media screen and (min-width: 1024px) {
  .postcard__text {
    padding: 2rem 3.5rem;
  }

}

/* COLORS */
.blue .postcard__title:hover {
  color: #0076bd;
}

.postcard__bar {
  background-color: #0076bd;
}

.postcard__tagbox .buy-course a:hover {
  background: #25d366;
  color: #fff;
}

.postcard__tagbox .add-to-cart a:hover {
  background: #377dff;
  color: #fff;
}

.postcard__tagbox .wish-list a:hover {
  background: #0076bd;
  color: #fff;
}

.postcard__tagbox .add-to-cart a.active {
  background: #377dff;
  color: #fff;
}

.__class_card img::before{
  content: 'Turma Liberada';
  position: absolute;
  top: 0;
  z-index: 10000;
  background-color: red;
}