.past-events-page,
.past-event-detail {
  background: #f4efe6;
  color: #2d180f;
}

.past-events-page {
  min-height: 70vh;
  padding: 52px max(18px, calc((100vw - 1320px) / 2)) 90px;
}

.past-events-heading,
.past-event-gallery > header,
.past-event-next {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.past-events-heading {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 2px solid #b98c36;
}

.past-events-heading h1,
.past-event-hero h1 {
  margin: 4px 0 10px;
  letter-spacing: 0;
  font: 700 58px/1.02 Georgia, serif;
}

.past-events-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.past-events-heading > a,
.past-event-gallery nav a,
.past-event-next > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #c79a42;
  border-radius: 4px;
  background: #7d241a;
  color: #fff8e9;
  font-weight: 800;
  text-decoration: none;
}

.past-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.past-event-card {
  overflow: hidden;
  border: 1px solid #caa75f;
  border-radius: 6px;
  background: #fffdf8;
  box-shadow: 0 14px 30px rgba(39, 25, 17, .1);
}

.past-event-card__media {
  position: relative;
  display: block;
  height: 300px;
  background: #1a2024;
}

.past-event-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.past-event-card__media--poster {
  padding: 10px;
  box-sizing: border-box;
  background: #27201c;
}

.past-event-card__media--poster img {
  object-fit: contain;
}

.past-event-card__media span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border: 1px solid #e0b550;
  background: rgba(30, 26, 22, .9);
  color: #fff3d6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.past-event-card__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.past-event-card__date {
  margin: 0;
  color: #8a2b21;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.past-event-card h2 {
  margin: 0;
  font: 700 29px/1.08 Georgia, serif;
}

.past-event-card h2 a,
.past-event-card footer a {
  color: #5d160f;
  text-decoration: none;
}

.past-event-card__summary p {
  margin: 0;
  line-height: 1.5;
}

.past-event-card__organization {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #665344;
  font-size: 13px;
  font-weight: 800;
}

.past-event-card__organization img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.past-event-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #dfd1b6;
  font-size: 13px;
}

.past-event-card footer a {
  font-weight: 900;
}

.past-events-empty {
  grid-column: 1 / -1;
  padding: 30px;
  border-left: 5px solid #af812d;
  background: #fffdf8;
}

.past-events-empty h2,
.past-events-empty p {
  margin-top: 0;
}

.past-events-empty a {
  color: #741d16;
  font-weight: 900;
}

.past-events-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.past-events-pagination a {
  color: #741d16;
  font-weight: 900;
}

.past-event-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #111923;
  color: #fff8e9;
}

.past-event-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(8, 16, 27, .62);
}

.past-event-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.past-event-hero--poster > img {
  object-fit: contain;
  object-position: right center;
}

.past-event-hero--poster::after {
  background: rgba(8, 16, 27, .72);
}

.past-event-hero > div {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  width: min(760px, calc(100% - 36px));
  min-height: 620px;
  margin: 0 auto 0 max(18px, calc((100vw - 1320px) / 2));
  padding: 70px 0;
  box-sizing: border-box;
}

.past-event-hero h1 {
  max-width: 730px;
  font-size: 68px;
}

.past-event-back,
.past-event-organization {
  color: #fff0c8;
  font-weight: 800;
}

.past-event-period {
  margin: 5px 0 20px;
  color: #f0c96a;
  font-size: 19px;
  font-weight: 900;
}

.past-event-organization {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.past-event-organization img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.past-event-story {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
  gap: 60px;
  padding: 64px max(18px, calc((100vw - 1320px) / 2));
}

.past-event-lead {
  font: 700 28px/1.3 Georgia, serif;
}

.past-event-richtext {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.65;
}

.past-event-story aside {
  padding-left: 28px;
  border-left: 3px solid #b98c36;
}

.past-event-story aside h2 {
  margin-top: 0;
  font: 700 30px/1.1 Georgia, serif;
}

.past-event-story ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.past-event-story li {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d5c7aa;
}

.past-event-story time {
  color: #7d241a;
  font-weight: 900;
}

.past-event-notices {
  padding: 56px max(18px, calc((100vw - 1320px) / 2));
  background: #17222b;
  color: #fff8e9;
}

.past-event-notices > header {
  max-width: 780px;
  margin-bottom: 24px;
}

.past-event-notices > header h2 {
  margin: 4px 0 8px;
  font: 700 42px/1.05 Georgia, serif;
}

.past-event-notices > header > p:last-child {
  margin: 0;
  color: #cbd5dc;
}

.past-event-notices > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.past-event-notice {
  padding: 18px;
  border: 1px solid #746a4d;
  border-left: 5px solid #6aa4c8;
  border-radius: 4px;
  background: #202d36;
}

.past-event-notice--warning {
  border-left-color: #e2a63e;
}

.past-event-notice--critical {
  border-left-color: #d45b4c;
}

.past-event-notice > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #efc866;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.past-event-notice h3 {
  margin: 12px 0 8px;
  font: 700 22px/1.15 Georgia, serif;
}

.past-event-notice > p {
  margin: 0 0 14px;
  line-height: 1.55;
}

.past-event-notice dl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 14px;
}

.past-event-notice dl div {
  display: flex;
  gap: 6px;
}

.past-event-notice dt {
  color: #aebdc6;
}

.past-event-notice dd {
  margin: 0;
  font-weight: 800;
}

.past-event-notice small {
  display: block;
  padding-top: 12px;
  border-top: 1px solid #48545b;
  color: #cbd5dc;
}

.past-event-gallery {
  padding: 64px max(18px, calc((100vw - 1320px) / 2));
  background: #e9dfcc;
}

.past-event-gallery > header {
  margin-bottom: 24px;
}

.past-event-gallery h2,
.past-event-next h2 {
  margin: 4px 0 8px;
  font: 700 42px/1.05 Georgia, serif;
}

.past-event-gallery > header p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
}

.past-event-gallery nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.past-event-video-grid,
.past-event-photo-grid {
  display: grid;
  gap: 16px;
}

.past-event-video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.past-event-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.past-event-video-grid figure,
.past-event-photo-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #c5aa73;
  border-radius: 5px;
  background: #fffdf8;
}

.past-event-video-grid figure > div {
  position: relative;
  background: #11171d;
}

.past-event-video-grid video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.past-event-video-grid figure > div > span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 6px;
  background: rgba(12, 17, 22, .86);
  color: #fff8e9;
  font-size: 12px;
  font-weight: 800;
}

.past-event-photo-grid a,
.past-event-photo-grid img {
  display: block;
}

.past-event-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.past-event-video-grid figcaption,
.past-event-photo-grid figcaption {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.past-event-video-grid small,
.past-event-photo-grid small {
  color: #705947;
}

.past-event-next {
  padding: 44px max(18px, calc((100vw - 1320px) / 2));
  background: #15202a;
  color: #fff8e9;
}

@media (max-width: 980px) {
  .past-event-grid,
  .past-event-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .past-event-story {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .past-event-story aside {
    padding: 24px 0 0;
    border-top: 3px solid #b98c36;
    border-left: 0;
  }

  .past-event-notices > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .past-events-page {
    padding-top: 34px;
  }

  .past-events-heading,
  .past-event-gallery > header,
  .past-event-next {
    align-items: flex-start;
    flex-direction: column;
  }

  .past-events-heading h1,
  .past-event-hero h1 {
    font-size: 42px;
  }

  .past-event-notices > header h2 {
    font-size: 34px;
  }

  .past-event-grid,
  .past-event-video-grid,
  .past-event-photo-grid {
    grid-template-columns: 1fr;
  }

  .past-event-card__media {
    height: 280px;
  }

  .past-event-hero,
  .past-event-hero > div {
    min-height: 560px;
  }

  .past-event-hero > div {
    margin: 0 18px;
  }

  .past-event-gallery nav,
  .past-event-gallery nav a,
  .past-events-heading > a,
  .past-event-next > a {
    width: 100%;
    box-sizing: border-box;
  }

  .past-event-card footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
