.hero-atmosphere {
  position: relative;
  min-height: 100vh;
  color: var(--color-text-on-dark);
}

.hero-atmosphere__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-atmosphere__image-wrap {
  width: 100%;
  height: 100%;
}

.hero-atmosphere__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-atmosphere__content {
  position: relative;
  z-index: 1;
  padding-top: var(--space-96);
  padding-bottom: var(--space-96);
  max-width: 640px;
}

.hero-atmosphere__cta {
  margin-top: var(--space-32);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
}

.atmosphere-section {
  padding: var(--space-80) 0;
}

.atmosphere-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-40);
  align-items: center;
}

.atmosphere-section--reverse .atmosphere-section__grid,
.atmosphere-section__grid.atmosphere-section--reverse {
  direction: rtl;
}

.atmosphere-section--reverse .atmosphere-section__grid > *,
.atmosphere-section__grid.atmosphere-section--reverse > * {
  direction: ltr;
}

.atmosphere-section__text p:last-of-type {
  margin-bottom: 0;
}

.atmosphere-section__media {
  max-width: 560px;
  justify-self: center;
}

.atmosphere-section__links {
  margin-top: var(--space-24);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  align-items: center;
}

.atmosphere-lounge {
  background: radial-gradient(circle at top left, rgba(30, 94, 79, 0.25), transparent 55%),
              var(--color-bg-dark);
}

.atmosphere-lounge__inner {
  display: flex;
  justify-content: center;
}

.atmosphere-lounge__content {
  max-width: 680px;
  text-align: center;
}

.atmosphere-lounge__cta {
  margin-top: var(--space-32);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  justify-content: center;
}

@media (max-width: 1024px) {
  .hero-atmosphere__content {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .hero-atmosphere__content {
    padding-top: var(--space-80);
    padding-bottom: var(--space-80);
  }

  .atmosphere-section__grid {
    grid-template-columns: 1fr;
  }

  .atmosphere-section__media {
    order: -1;
  }

  .atmosphere-section--reverse .atmosphere-section__grid,
  .atmosphere-section__grid.atmosphere-section--reverse {
    direction: ltr;
  }
}

@media (max-width: 600px) {
  .hero-atmosphere__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .atmosphere-section {
    padding: var(--space-64) 0;
  }
}
