.card {
  width: 100%;
  height: 95vh;
  perspective: 1000px;
}

.card-content {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.card.flipped .card-content {
  transform: rotateY(180deg);
}

.card,
.card .card-content {
  border: none!important;
  padding: 0!important;
  background-color: transparent!important;
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  flex-direction: column;
  background: #EEEDED;
  border-radius: 16px;
  padding: 0;
}

.card-back {
  transform: rotateY(180deg);
}

.card-image,
.card-image * {
  height: 170px;
  min-height: 170px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner {
  padding: 20px;
  gap: 8px;
}

.card .inner h2 {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, Arial, Roboto, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin: 0 0 .3rem;
  line-height: 1;
  word-spacing: -.05em;
}

.card .inner h2 small {
  font-size: 45%;
  text-transform: uppercase;
}

.card .inner h4 {
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, Arial, Roboto, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
}

.curs-table {
  font-size: .85rem!important;
  line-height: 1;
  padding: 0!important;
}

.curs-table-head {
  background-color: var(--abacus-yellow);
  font-weight: 600;
}

.curs-table-head,
.curs-table-row {
  padding: 6px 8px;
  justify-content: center;
  width: 100%;
}

.curs-table-group-title {
}

.curs-table-row {
  border-bottom: 1px solid var(--abacus-yellow);
}

.curs-table p {
  margin: 0;
}

.curs-table-group-title {
  font-weight: 600;
}

@media(min-width:569px) {
  .card .inner h2 {
    font-size: 2.25rem;
  }
  .curs-table {
    font-size: .9rem!important;
  }
}

@media(min-width:768px) {
  .card {
  }
  .curs-table {
    font-size: 1rem!important;
    line-height: 1.1;
  }
  .curs-table-group-title {
  }
  .curs-table-head,
  .curs-table-row {
    padding: 8px;
  }
  .inner {
    padding: 24px;
    gap: 16px;
  }
  .card-image,
  .card-image * {
  height: 200px;
  min-height: 200px;
}
}

@media(min-width:992px) {
  .card {
  }
  .inner {
    padding: 32px;
  }
}
@media(min-width:1200px) {
  .card-image,
  .card-image * {
  height: 240px;
  min-height: 240px;  
}
}

@media(min-width:1400px) {
  .card {
  }
  .inner {
    padding: 40px;
  }
  .card .inner h2 {
    font-size: 2.75rem;
  }
  .curs-table-head,
  .curs-table-row {
    padding: 8px 16px;
  }
}

@media(min-width:1680px) {
  .card {
  }
  .card-image,
  .card-image * {
  height: 280px;
  min-height: 280px;  
}
}

@media(min-width:1920px) {
  .curs-table {
    font-size: 1.1rem!important;
  }
  .inner {
    padding: 48px;
  }
  .card .inner h2 {
    font-size: 3rem;
  }
  .curs-table-head,
  .curs-table-row {
    padding: 12px 20px;
  }
  .card-image,
  .card-image * {
  height: 300px;
  min-height: 300px;  
}
}

/* STYLES FOR MAKE CARD BACK VISIBLE ON ELEMENTOR */

  .elementor-editor-active .card {
    height: auto!important;
    min-height: 80vh!important;
  }

  .elementor-editor-active .card-content {
    transform: rotateY(180deg) !important;
  }

  .elementor-editor-active .card-front, 
  .elementor-editor-active .card-back {
    position: relative!important;
    transform: rotateY(180deg)!important;
  }
