.flexbox {
  display: flex;
}
.flexbox .element {
  height: 100%;
}
.flexbox.col-3 {
  flex-wrap: wrap;
}
.flexbox.col-3 .post-article {
  margin: 0.5rem;
  max-width: calc((100% / 3) - 1rem);
}

.curso-categoria {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #FCEE1E;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 14px;
}

.post-listing {
  margin-top: 0;
  padding: 0;
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-rows: auto;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 1.5rem;
}

.post-article {
  background: #F2F4F7;
  transition: all 0.2s ease-in-out 0s;
  border-radius: 5px;
  position: relative;
}

.post-article .post-item {
  padding-bottom: 70px;
}

.post-article .post-item .card-image {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.post-article .post-item .desc {
  font-size: 16px;
}

@media (min-width: 768px) {

  .post-article .post-item .card-image img {
    border-radius: 5px;
    max-width: 100%;
    height: auto;
  }

}

.post-article:nth-child(3n+1){
  margin-left:0px!important;
}

.post-item {
  position: relative;
  border-radius: 5px;
}

.post-item .post-body {
  padding: 20px;
  text-align: left;
  color: #232323;
}

.content-add {
  font-size: 16px;
}

.content-add .professor,
.content-add .horas,
.content-add .nivel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-add .preco h4 {
  margin-top: 20px;
  font-size: 24px;
  color: #27AAE1;
  font-weight: 700;
}

.content-add p {
  margin: 5px 0;
}

.post-item .post-body .categoria {
  margin-bottom: 20px;
  display: inline-block;
  font-size: 13px;
  background-color: #6D6F72;
  color: #FFCC01;
  padding: 0 20px 5px;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  top: -6px;
  position: relative;
}

.post-article.AulasAoVivo .post-item .categoria {
  background-color: #5DC2F7;
  color: #fff;
}

.post-article.AulasGravadas .post-item .categoria {
  background-color: #FFCC01;
  color: #000;
}


.post-item .post-body h2 {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 20px;
}

.post-item .post-body .area {
  color: #6D6F72;
  margin-right: 10px;
}

.post-item .post-body .area p {
  margin-top: 0;
}

.post-item .post-body .duracao i {
  color: #5DC2F7;
  margin-right: 10px;
}

.post-article .cta-btn {
  width: 100%;
  position: absolute;
  bottom: 20px;
  padding: 0 20px;
}

.post-article a.link-mais {
  padding: 10px 10px;
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  border: 1px solid;
  border-radius: 5px;
  display: inline-block;
  transition: all .2s;
  margin-top: 20px;
  background-color: #27AAE1;
  border-color: #27AAE1;
  color: #fff;
  width: 100%;
}

.post-item .post-body a.link-mais:hover {
  background-color: #5DC2F7;
  border-color: #5DC2F7;
  color: #fff;
}

.post-item .post-body .resumo {
  font-size: 1em;
  margin-bottom: 0;
  font-weight: 400;
}



.container{
  position: relative;
  overflow: hidden;
}

.container .mix{
  display: none;
}

.container .fail-message{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  opacity: 0;
  pointer-events: none;

  -webkit-transition: 150ms;
  -moz-transition: 150ms;
  transition: 150ms;
}

.container .fail-message:before{
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.container .fail-message span{
  display: inline-block;
  vertical-align: middle;
  font-size: 20px;
  font-weight: 700;
}

.container.fail .fail-message{
  opacity: 1;
  pointer-events: auto;
}


@media (max-width: 768px) {

  .post-listing {
    display: block;
  }

  .post-article {
    margin-bottom: 30px;
    width: 100%;
  }

}


.pagination {
  margin: 40px 0 0;
  padding: 0;
}

.pagination a:hover,
.pagination a {
  display: inline-block;
  height: 30px;
  width: 30px;
  text-align: center;
  line-height: 30px;
  border: 1px solid #FFCC01;
  background: #FFCC01;
  text-decoration: none;
  cursor: pointer;
  margin-right: 15px;
  color: #000;
}

.pagination a.jp-current {
  border: 1px solid #000;
  background: #000;  
  color: #FFCC01;
}

.cuSNhz {
  border-radius: 3px;
  height: 30px;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  z-index: 1;
  background: rgb(234, 240, 246);
  top: -18px;
  width: 85%;
}

.eUWupJ {
  border-radius: 3px;
  height: 30px;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  z-index: 2;
  background: rgb(223, 227, 235);
  top: -12px;
  width: 90%;
}

.eKWYpe {
  border-radius: 3px;
  height: 30px;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  z-index: 3;
  background: rgb(242, 244, 247);
  top: -6px;
  width: 95%;
}