.event-summary-container {
  padding: 4rem 0;  
  h2 {
    font-weight: 700;
    font-size: 3.077rem;
    /* 40px / 13 */
  }
}

.event-summary-title {
  font-size: var(--font-size-18);
  font-weight: var(--font-bold);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: calc(1.4em * 2);
  color: rgba(55, 65, 81, 1);
}

.event-summary-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: var(--font-size-14);
  line-height: 1.4;
  height: calc(1.4em * 3);
  color: rgba(107, 114, 128, 1);
}

.event-summary-card {
  height: 100%;
  border-radius: 0.923rem;
  /* 12px / 13 */
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.event-summary-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.uk-flex.event-date-location-line {
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.event-summary-card-main-bgimg {
  width: 100%;
  height: 288px;
  aspect-ratio: 574 / 288;
  background-image: url(/site/assets/images/default_image.png);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 12px;
}

.event-summary-card-bgimage {
  width: 100%;
  height: 254px;
  aspect-ratio: 280 / 230;
  background-image: url(/site/assets/images/default_image.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 12px;
}

.event-summary-card img {
  display: block;
  height: 22.154rem;
  object-fit: cover;
  object-position: top;
}

.event-summary-card .noneimg {
  height: 22.154rem;
  /* 288px / 13 */
  background-color: #eee;
}

.event-date-location {
  font-weight: 400;
  font-size: var(--font-size-14);
  color: rgba(55, 65, 81, 1);
  padding-left: 4px;
}

.event-date-location.location {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.custom-rounded-card {
  border-radius: 0.923rem;
  /* 12px / 13 */
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.new-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.ribbon-img img {
  width: 7.923rem;
  /* 103px / 13 */
  height: 7.923rem;
  /* 103px / 13 */
}

.event-summary-container .uk-cover-container.radius-12 {
  border-radius: 0.923rem;
  /* 12px / 13 */
  overflow: hidden;
}

.event-summary-container .uk-grid-margin {
  margin-top: 2.462rem !important;
  /* 32px / 13 */
}

.event-summary-card-content {
  display: flex;
  flex-direction: column;
  padding: 1.231rem;  
  justify-content: space-between;
  flex: 1;
}

.event-summary-card-text {
  padding-top: 12px;
}

.event-summary-button-right {
  margin-top: auto;
  padding-top: 1.538rem;
  /* 20px / 13 */
}