/* ============================================
   Use Case — Hybrid & Multi-Cloud Solution (template instance
   4 of 4). Page-specific bits only — most of the page reuses
   existing components (.gs-wgs-section, .gs-uc-hero--centered,
   .gs-wgs-row, .gs-uc-feature-rows, .gs-uc-partnership,
   .gs-faq, .gs-cta).

   Two page-specific things here:
     1. Hero bg override to use gs23-lp-bg-4.svg instead of the
        modernization page's gs23-lp-background-1.svg
     2. .gs-cta--with-media — CTA variant with text + button on
        the left, illustration on the right (instead of the
        horizontal text-button band).
   ============================================ */

/* Hero bg override for this page only. */
.gs-uc-hybrid-hero {
  background-image: url('https://www.giantswarm.io/hubfs/Illustrations/gs23-lp-bg-4.svg');
}

/* ─── Closing CTA — with-media variant ─────────────────────
   Text + primary CTA button on the left, illustration on the
   right. Dark navy + waves bg inherited from `.gs-cta`.
   Collapses to single column on phones with image on top. */
.gs-cta--with-media {
  text-align: left;
}

.gs-cta--with-media .gs-cta__inner {
  max-width: var(--content-frame);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.gs-cta--with-media .gs-cta__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gs-cta--with-media .gs-cta__title {
  margin-bottom: 1rem;
}

.gs-cta--with-media .gs-cta__description {
  margin: 0 0 2rem;
  max-width: 540px;
  margin-left: 0;
  margin-right: 0;
}

.gs-cta--with-media .gs-cta__media {
  display: flex;
  justify-content: center;
}

.gs-cta--with-media .gs-cta__media img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  /* Image on top, text below; everything centered. */
  .gs-cta--with-media {
    text-align: center;
  }
  .gs-cta--with-media .gs-cta__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gs-cta--with-media .gs-cta__media {
    order: 0;
  }
  .gs-cta--with-media .gs-cta__text {
    order: 1;
    align-items: center;
  }
  .gs-cta--with-media .gs-cta__description {
    margin-left: auto;
    margin-right: auto;
  }
  .gs-cta--with-media .gs-cta__media img {
    max-width: 200px;
  }
}
