.event-gallery-header {
  background: var(--bg-color);
}

.event-gallery-header-inner {
  display: grid;
  width: min(100% - 48px, 1300px);
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: end;
  margin-inline: auto;
  padding: clamp(112px, 12vw, 156px) 0 clamp(48px, 6vw, 76px);
}

.event-gallery-back {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(34px, 5vw, 52px);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  transition: transform 0.25s ease, color 0.25s ease;
}

.event-gallery-back span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-color);
  font-size: 18px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.event-gallery-back:hover,
.event-gallery-back:focus-visible {
  color: var(--text-color);
  transform: translateX(-3px);
}

.event-gallery-back:hover span,
.event-gallery-back:focus-visible span {
  background: var(--primary-color);
  color: var(--white-color);
}

.event-gallery-kicker,
.event-gallery-shows-label {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: normal;
  text-transform: uppercase;
}

.event-gallery-kicker {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 8px 16px 8px 30px;
  border-radius: 100px;
  background: var(--secondary-color);
  overflow-wrap: anywhere;
}

.event-gallery-shows-label {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 8px 16px 8px 30px;
  border-radius: 100px;
  background: var(--secondary-color);
  overflow-wrap: anywhere;
}

.event-gallery-kicker::before {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--accent-color);
  content: "";
}

.event-gallery-shows-label::before {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--accent-color);
  content: "";
}

.event-gallery-heading h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.event-gallery-heading > p {
  max-width: 700px;
  margin: 0;
  color: var(--text-color);
  font-size: 17px;
  line-height: 1.7;
}

.event-gallery-shows {
  position: relative;
  padding: 10px 0 4px clamp(24px, 3vw, 42px);
}

.event-gallery-shows::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--accent-color);
  content: "";
}

.event-gallery-shows-label {
  margin-bottom: 12px;
}

.event-gallery-shows h2 {
  margin: 0 0 16px;
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.15;
}

.event-gallery-shows ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-gallery-shows li {
  position: relative;
  padding-left: 18px;
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.5;
}

.event-gallery-shows li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
  content: "";
}

.event-gallery-page {
  padding: 0 0 clamp(76px, 9vw, 120px);
}

@media (max-width: 767px) {
  .event-gallery-header-inner {
    width: min(100% - 36px, 600px);
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: calc(92px + env(safe-area-inset-top)) 0 42px;
  }

  .event-gallery-back {
    margin-bottom: 34px;
  }

  .event-gallery-kicker {
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  .event-gallery-heading h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .event-gallery-heading > p {
    font-size: 15px;
  }

  .event-gallery-shows {
    padding-left: 20px;
  }

  .event-gallery-shows li {
    font-size: 14px;
  }
}
