.ccsa-events-list {
  margin: 15px auto;
  max-width: var(--content-width);
}

.ccsa-events-list ul {
  display: grid;
  grid-column-gap: 15px;
  grid-row-gap: 15px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 20px !important;
}

.ccsa-events-list.alignwide ul,
.wp-block-group.has-background .ccsa-events-list ul {
  padding: 0 !important;
}

@media (min-width: 768px) {
  .ccsa-events-list {
    margin-bottom: 2.5em;
    margin-top: 2.5em;
  }

  .ccsa-events-list.has-2-columns ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .ccsa-events-list.has-3-columns ul {
    grid-template-columns: repeat(3, 1fr);
  }
}


.ccsa-events-list ul li {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
  overflow: hidden;
}


.ccsa-events-list article header {
  border-bottom: solid 8px #ccc;
  height: 280px;
}

@media (min-width: 768px) {
  .ccsa-events-list.has-1-columns article {
    display: flex;
    flex-direction: row;
    height: 100%;
  }

  .ccsa-events-list.has-1-columns article header {
    border-bottom: none;
    border-right: solid 8px #ccc;
    height: auto;
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .ccsa-events-list article {
    display: flex;
    flex-direction: row;
    height: 100%;
  }

  .ccsa-events-list article header {
    width: 50%;
    height: auto;
    border-bottom: none;
    border-right: solid 8px #ccc;
  }
}

@media (min-width: 768px) {

}

.ccsa-events-list__featured-image {
  height: 100%;
}

.ccsa-events-list__featured-image a {
  display: block;
  line-height: 0;
  height: 100%;
}

.ccsa-events-list .ccsa-events-list__featured-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ccsa-events-list__image-placeholder {
  background: #f0f0f0;
  height: 100%;
}

.ccsa-events-list__post-content {
  display: flex;
  flex-direction: column;
  padding: 15px 15px 10px;
}

@media (max-width: 767px) {
  /*.ccsa-events-list__post-content {
    width: 67%;
  }*/
}

@media (min-width: 1024px) {
  .ccsa-events-list__post-content {
    width: 50%;
    padding: 30px 30px 20px;
  }
}

.ccsa-events-list .ccsa-events-list__post-title {
	font-size: 22px;
	font-weight: bold;
	margin: 0 0 20px;
	order: 1;
  padding: 0;
	width: 100%;
}

@media (min-width: 768px) {
  .ccsa-events-list.has-1-columns .ccsa-events-list__post-title {
  	font-size: 38px;
  }
}

.ccsa-events-list__start-date {
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
}



@media (min-width: 1024px) {
  .ccsa-events-list__start-date {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .ccsa-events-list.has-1-columns .ccsa-events-list__start-date {
  	font-size: 16px;
  }
}

.ccsa-events-list .ccsa-events-list__excerpt {
  order: 2;
  font-size: 17px;
  margin-bottom: 20px;
}

.ccsa-events-list__register-button {
	order: 3;
	margin-bottom: 20px;
}

.ccsa-events-list__register-button a {
	font-size: 14px;
}

.ccsa-events-list.has-1-columns .ccsa-events-list__register-button a {
	font-size: 16px;
}

.ccsa-events-list .ccsa-events-list__permalink {
	order: 4;
  font-size: 15px;
  margin-top: auto;
  margin-bottom: 1em;
}
