/* ============================================
   Use Case hero — 2-col text + illustration on dark bg.
   Different from .gs-wgs-hero (centered, text-only) and
   .gs-hero (homepage, with stats). Used as the page hero on
   Use Case pages (Industrial IoT, etc.).

   Recipe: dark waves bg, white text, content on left (title +
   lede + 1 CTA), illustration on right. Collapses to single
   column at ≤900px with illustration above the content.
   ============================================ */

.gs-uc-hero {
  background-color: var(--color-bg-dark);
  background-image: url('https://www.giantswarm.io/hubfs/Illustrations/gs23-dark-blue-waves-bg.svg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 9rem 1.5rem 5rem;
}

.gs-uc-hero__inner {
  max-width: var(--content-frame);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.gs-uc-hero__title {
  font-size: var(--text-h1);
  color: #fff;
  line-height: var(--leading-tight);
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.gs-uc-hero__lede {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.85);
  max-width: 38rem;
  margin: 0 0 2rem;
  text-wrap: balance;
}

.gs-uc-hero__media img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .gs-uc-hero { padding: 7rem 1.5rem 4rem; }

  /* Collapse to 1-col, illustration on top to draw the eye before
     content. Same pattern as the side-illustrated CTA. */
  .gs-uc-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .gs-uc-hero__media {
    order: -1;
  }
  .gs-uc-hero__media img {
    max-width: 400px;
    margin: 0 auto;
  }
  .gs-uc-hero__lede {
    margin-left: auto;
    margin-right: auto;
  }
}
