.course-listing__courses {
  width: 100% !important;
}
.course-listing__courses ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px;
  padding: 0;
  list-style: none;
  zoom: 1;
}

.course-listing__courses ul li {
  opacity: 1;
}
.course-listing ul:after {
  height: 0;
  visibility: hidden;
  display: block;
  clear: both;
  content: '';
}
.preview-course--quinary {
  border: 2px solid #00d3c5;
}
.preview-course--tertiary {
  border: 2px solid #fbd100;
}
.preview-course {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 15px 20px 20px;
  background: #fff;
  box-shadow: rgba(0, 0, 0, .2) 0 0 5px;
  -webkit-transition: box-shadow .2s;
  transition: box-shadow .2s;
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.preview-course__title {
  margin: 0;
  font-family: 'Relative Faux', Consolas, monospace;
  font-weight: 400;
  font-style: normal;
  font-size-adjust: .5;
  line-height: 1.15;
  font-size: 14px;
  font-size: 1.4rem;
  margin-bottom: 10px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #000;
}

.course-listing__courses li {
  flex: 1 1 calc(25% - 10px); 
  box-sizing: border-box;
  padding: 10px;
  display: block;
  -webkit-transition: opacity .2s;
  transition: opacity .2s;
}

.course-listing__courses li a:hover {
  box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 10px;
  transition: box-shadow 0.3s ease-in-out;
}

.course-listing-h2 {
  margin: 0;
  font-family: 'Relative Faux', Consolas, monospace;
  font-weight: 400;
  font-style: normal;
  font-size-adjust: .5;
  line-height: 1.15;
  font-size: 24px;
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.preview-course__meta {
  zoom: 1;
  margin: 17px 0 10px;
  padding: 0;
  font-family: 'Relative Bold', 'Century Gothic', Verdana, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size-adjust: .5;
  font-size: 14px;
  line-height: 1.2;
}
.preview-course__meta>dt {
  width: 30%;
  color: #858585;
}
.preview-course__meta>dd, .preview-course__meta>dt {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  padding: 0;
  margin-bottom: 5px;
}
.preview-course__meta>dd {
  width: 68%;
}
.preview-course__meta>dd, .preview-course__meta>dt {
  display: inline-block;
  vertical-align: top;
  margin: 0;
  padding: 0;
  margin-bottom: 5px;
}
.preview-course__description {
  margin-bottom: 15px;
  color: rgba(0, 0, 0, .8);
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 1.55;
  font-weight: 700;
}
p {
  margin: 0;
  margin-bottom: 1.2em;
}
.button, button {
  background: 0 0;
  outline: 0;
  border: 1px solid transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
  text-shadow: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  vertical-align: middle;
  padding: 10px;
  font-family: 'Relative Bold', 'Century Gothic', Verdana, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size-adjust: .5;
  line-height: normal;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border-radius: 3px;
  -webkit-transition: all .1s ease;
  transition: all .1s ease;
  box-shadow: rgba(0, 0, 0, .25) 0 1px 0;
  font-size: 11px;
  font-size: 1.1rem;
}
.button--quinary, .preview-course--quinary .button {
  background: #00d3c5;
  color: #000;
}
.button--tertiary, .preview-course--tertiary .button {
  background: #fbd100;
  color: #000;
}
.button--tertiary:hover, .preview-course--tertiary .button:hover {
  background: #eec700;
}
.button--whitish-alt {
  background: #f5f5f5;
  color: #000;
}
/* .course-listing__item {
  height: 344px !important;
} */
@media only screen and (min-width: 64em) {
  .preview-course__description {
      font-size: 15px;
      font-size: 1.5rem;
  }
}
@media only screen and (min-width: 40em) {
  .preview-course__description {
      font-size: 14px;
  }
}
@media only screen and (min-width: 64em) {
  .preview-course__title {
      font-size: 20px;
  }
}

@media only screen and (min-width: 40em) {
  .preview-course__title {
      font-size: 18px;
  }
}
@media only screen and (min-width: 64em) {
  .course-listing-h2 {
      font-size: 34px;
      font-size: 3.4rem;
  }
}
@media only screen and (min-width: 40em) {
  .course-listing-h2 {
      font-size: 28px;
      font-size: 2.8rem;
  }
}


@media only screen and (min-width: 75em) {
  .course-listing__courses {
      width: 75%;
  }
}

@media only screen and (min-width: 56.25em) {
  .course-listing__courses {
      float: left;
      width: 66.6667%;
  }
}

@media only screen and (min-width: 56.25em) {
  .course-listing__courses ul {
      margin: -10px;
  }
}

@media only screen and (min-width: 75em) {
  .course-listing__courses li {
      width: 33.3333%;
      padding: 15px;
  }
}

@media only screen and (min-width: 56.25em) {
  .course-listing__courses li {
      width: 50%;
  }
}

@media only screen and (min-width: 30em) {
  .course-listing__courses li {
      display: inline-block;
      vertical-align: top;
      width: 50%;
      opacity: 0;
      max-width: 299px;
  }
}

@media only screen and (max-width: 30em) {
  .course-listing__courses li {
    flex: 1 1 100%; /* Full width for each item */
  }
}

@media only screen and (min-width: 40em) {
  .button, button {
      padding: 10px 15px;
      border-width: 2px;
      font-size: 14px;
  }
}


@media only screen and (min-width: 40em) {
  .button--more:after {
      content: '';
      display: inline-block;
      line-height: 0;
      background-image: url(../images/icon.svg?v=3);
      background-repeat: no-repeat;
      background-size: 100% auto;
      background-size: cover;
      width: 8px;
      height: 8px;
      background-position: 0 0;
  }
}
.button--more:after {
  margin-left: 5px;
  content: '';
  display: inline-block;
  line-height: 0;
  background-image: url(../images/icon.svg?v=3);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-size: cover;
  width: 7px;
  height: 7px;
  background-position: 0 0;
  -webkit-transition: -webkit-transform .2s;
  transition: transform .2s;
}