/* Spotlight — was Spotlight.module.css. The bundler's hashed class names are
   replaced by a plain c-Spotlight_ prefix so the stylesheet stands alone. */

.c-Spotlight_spotlight {
  position: relative;
  width: 100%;
  height: 100svh;
  padding: 1rem;
  overflow: hidden;
  background-color: var(--base-200);
  color: var(--base-1000);
  align-content: center;
}

.c-Spotlight_sectionNav,
.c-Spotlight_sectionFooter {
  position: absolute;
  left: 0;
  z-index: 10;
  width: 100%;
  pointer-events: none;
}

.c-Spotlight_sectionNav {
  top: 0;
}

.c-Spotlight_sectionFooter {
  bottom: 0;
}

.c-Spotlight_header {
  position: relative;
  z-index: 1;
}

.c-Spotlight_header h2 {
  font-size: clamp(3rem, 8vw, 8rem);
  position: relative;
  width: 50%;
  margin: 0 auto;
  text-align: center;
}

.c-Spotlight_callout {
  z-index: 10;
}

.c-Spotlight_images {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.c-Spotlight_image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(20rem, 20vw, 30rem);
  aspect-ratio: 7 / 5;
  overflow: hidden;
  border-radius: 0.5rem;
  transform: translate(-50%, calc(50svh + 100%));
  will-change: transform;
}

@media (max-width: 1000px) {
  .c-Spotlight_header h2 {
    width: 100%;
  }

  .c-Spotlight_header h2 {
    width: 100%;
  }

  .c-Spotlight_callout {
    display: none;
  }
}
