/* ============================================
   HERO MISSION - Shared hero pattern
   Used by: side-events, map, and any page that
   needs a full-bleed background-image hero.
   ============================================ */

.mission--with-bg {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) 0;
}

/* Account for fixed navbar on the first section of a page */
.mission--header-offset.mission--with-bg {
  padding-top: calc(var(--space-4xl) + 60px);
}

@media (max-width: 1024px) {
  .mission--header-offset.mission--with-bg {
    padding-top: calc(var(--space-4xl) + 120px);
  }
}

.mission__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.mission--with-bg .container {
  position: relative;
  z-index: 2;
}

/* Darken the background for text readability */
.mission--with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.85) 100%);
  z-index: 1;
}
