/* New event cards use the existing gallery's colours and photo proportions. */
.latest-events {
  padding: 60px 0;
}

.latest-events-heading {
  margin-bottom: 30px;
  text-align: center;
}

.latest-event-card {
  margin-bottom: 30px;
}

.latest-event-card > a {
  display: block;
  height: 100%;
  background: #853953;
}

.latest-event-card img,
.latest-event-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 377 / 286;
  object-fit: cover;
}

.latest-event-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #1c244a;
  color: #fff;
  font-size: 20px;
}

.latest-event-art i {
  font-size: 64px;
}

.latest-event-card .gap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  margin: 0;
  padding: 12px;
  background: #853953;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.latest-event-card > a:hover .gap {
  background: #1c244a;
}

.latest-event-card > a:focus-visible,
.event-navigation a:focus-visible,
.event-media-links a:focus-visible,
.event-album .popup-image:focus-visible {
  outline: 3px solid #853953;
  outline-offset: 4px;
}

.event-navigation,
.event-media-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 30px;
}

.event-navigation a,
.event-media-links a {
  color: #853953;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.event-album .gallery-card img {
  height: auto;
}

.event-video-section {
  margin-top: 40px;
}

.event-video-section h2,
.event-photo-heading {
  margin-bottom: 24px;
  font-size: 30px;
}

.event-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  margin: 0 auto 18px;
  background: #101840;
  border-radius: 24px;
}

.event-video-section .event-video,
.event-youtube {
  max-width: 960px;
}

.event-youtube {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 24px;
  background: #101840;
}

.event-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .latest-event-card .gap {
    min-height: 84px;
    font-size: 21px;
  }

  .event-album .breadcumb-title {
    overflow-wrap: anywhere;
  }
}
