.events-container {
  padding: 2rem 0
}

.loading-container {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 110px;
  pointer-events: none
}

.events-container .section-title {
  color: #53585a;
  font: 500 18px 'Barlow Condensed';
  letter-spacing: .18em;
  margin-bottom: 24px;
  text-transform: uppercase
}

.cards-container {
  width: 100%
}

.spinner {
  display: none
}

.loading-text {
  color: #727674;
  font: 600 13px 'Barlow Condensed';
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase
}

.loading-text.error {
  color: #a3261e
}

.card {
  align-items: center;
  background: transparent;
  cursor: pointer;
  display: grid;
  gap: clamp(18px,3vw,38px);
  grid-template-columns: clamp(76px,8vw,100px) minmax(0,1fr) auto;
  min-height: 132px;
  padding: 18px 22px;
  transition: background-color .2s ease
}

.card + .card {
  border-top: 1px solid var(--ink)
}

.card:hover {
  background: rgba(255,255,255,.5)
}

.card:focus-visible {
  background: rgba(255,255,255,.5);
  outline: 2px solid var(--ink);
  outline-offset: 2px
}

.card-image {
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  width: 100%
}

.card-content {
  min-width: 0;
  text-align: left
}

.card-date {
  align-items: baseline;
  color: #5d615f;
  display: flex;
  flex-wrap: wrap;
  font: 500 16px 'Barlow Condensed';
  letter-spacing: .08em;
  margin-bottom: 7px;
  text-transform: uppercase
}

.event-location,.event-city {
  margin-left: 12px
}

.event-location:before,.event-city:before {
  content: "•";
  margin-right: 12px
}

.card-name {
  color: var(--ink);
  font: 500 clamp(24px,2.5vw,38px)/1 'Barlow Condensed';
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.card-chevron {
  align-items: center;
  color: var(--ink);
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  user-select: none;
  width: 28px
}

.card-chevron svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 24px
}

.recent-events-group {
  margin-top: clamp(52px,7vw,88px)
}

.empty-events {
  color: #727674;
  font-size: 15px;
  padding: 28px 22px
}

@media(max-width:760px) {
  .events-container {
    padding: 1rem 0
  }

  .card {
    gap: 14px;
    grid-template-columns: 70px minmax(0,1fr) 24px;
    min-height: 104px;
    padding: 14px 0
  }

  .card-chevron {
    width: 24px
  }

  .card-date {
    flex-wrap: nowrap;
    font-size: 14px;
    letter-spacing: .06em;
    line-height: 1.3;
    overflow: hidden;
    white-space: nowrap
  }

  .event-location {
    margin-left: 8px
  }

  .card-date.hide-location .event-location {
    display: none
  }

  .event-location:before {
    margin-right: 8px
  }

  .card-name {
    font-size: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
  }

  .card-chevron {
    width: 24px
  }
}

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

.card-date.hide-location .event-location {
  display: none
}

.event-date,.event-city {
  flex-shrink: 0
}

@media(max-width:760px) {
  .card-date {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
  }

  .event-city {
    margin-left: 8px
  }

  .event-city:before {
    margin-right: 8px
  }
}
