

.recent-posts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 2rem;
}

.single-event {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -ms-flex-preferred-size: 33%;
      flex-basis: 33%;
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
}

.event-image {
  margin-bottom: 2rem;
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
}

.event-image img {
  display: block;
  width: 100%;
}

.single-event h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.event-image .event-date {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem  1.875rem;
  background: rgb(0, 0, 0);
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 80%);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(80%, rgba(0, 0, 0, 0.6)));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 80%);
  color: var(--cc-bg);
}

.event-image .event-date p {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0;
}


@media only screen and (max-width: 500px) {

  .recent-posts {
    -webkit-box-orient: vertical;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .single-event h3 {
    font-size: 1.375rem;

  }

}