/* Site-wide additions on top of each event's own stylesheet: the past-event banner, the
   umbrella pages (Past Events, Presentations) and a few spacing rules for editor-written copy. */

/* Icons: inline SVGs (Lucide, brand marks) inside the <i> elements the event stylesheets size
   and colour, so `font-size` and `color` on the <i> work as they did for Font Awesome */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  line-height: 1;
  vertical-align: -0.125em;
}

.icon > svg {
  display: block;
  width: 1em;
  height: 1em;
  flex: none;
}

/* Rich text: the last paragraph of a block of copy sits flush, as on the hand-built pages */
.concert-details > p:last-child,
.faq-answer > :last-child,
.package-item-body > :last-child,
.card-body > p:last-child {
  margin-bottom: 0;
}

/* Footer link rows (Privacy Policy → …), as me-3 text-nowrap on the hand-built pages */
.footer p a {
  margin-right: 1rem;
  white-space: nowrap;
}

/* ---- Past-event banner ---------------------------------------------------------------- */
.impact-archive-banner {
  position: relative;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding: 0.75rem 4.5rem 0.75rem 1rem;
  background: #0b1b44;
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
}

.impact-archive-banner a {
  color: #ffc31e;
  font-weight: 700;
  text-decoration: none;
}

.impact-archive-banner a:hover {
  text-decoration: underline;
}

/* ---- Presentations ---------------------------------------------------------------------- */
.impact-year-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.impact-year-tabs a {
  padding: 0.4rem 1.1rem;
  border: 2px solid var(--bs-primary);
  border-radius: 999px;
  color: var(--bs-primary);
  font-weight: 700;
  text-decoration: none;
}

.impact-year-tabs a:hover,
.impact-year-tabs a.active {
  background: var(--bs-primary);
  color: #fff;
}

.impact-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.impact-deck[hidden] {
  display: none !important;
}

.impact-deck .card,
.impact-past__card {
  background: #f5f5f5;
}

.impact-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.impact-avatar--blank {
  display: inline-block;
  background: #d9dee8;
}

.impact-past__card .card-img-top {
  aspect-ratio: 526 / 272;
  object-fit: cover;
}

/* ---- Staff preview notice (drafts and staff-only events) ---------------------------- */
.impact-staff-notice {
  position: relative;
  z-index: 21;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
  padding: 0.6rem 4.5rem 0.6rem 1rem;
  background: #ffc31e;
  color: #1a1a1a;
  font-size: 0.95rem;
  text-align: center;
}

.impact-staff-notice a {
  color: #1a1a1a;
  font-weight: 700;
}

/* ---- Access code page ---------------------------------------------------------------- */
.impact-unlock {
  max-width: 480px;
}
