/* ============================================
   Feature card — large dark band with image+text inside a single
   rounded card. Used on the Industrial IoT page (§5, "How the
   Giant Swarm IIoT Platform Works"). Sits on a white section bg
   as a dark feature highlight before the 4-up content cards.

   2-col on desktop (image LEFT, content RIGHT); stacks on mobile
   with the image on top.
   ============================================ */

.gs-uc-feature-card {
  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;
  border-radius: 32px;
  padding: 6rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  color: #fff;
}

.gs-uc-feature-card__media img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 500px;
  margin: 0 auto;
}

.gs-uc-feature-card__title {
  font-size: var(--text-h2);
  color: #fff;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.gs-uc-feature-card__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-wrap: pretty;
}

/* Inherits the surrounding muted-white text color + thin
   underline. Coral on hover. Same recipe as light-bg row links. */
.gs-uc-feature-card__desc a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.gs-uc-feature-card__desc a:hover {
  color: var(--color-brand-accent);
}

@media (max-width: 900px) {
  .gs-uc-feature-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4rem 2rem;
    text-align: center;
  }
  .gs-uc-feature-card__media img {
    max-width: 320px;
  }
}

@media (max-width: 767px) {
  /* Card breaks out of the section's 1.5rem horizontal padding
     and stretches edge-to-edge — reads as a full-bleed dark band
     instead of a contained card on phones. Border-radius dropped;
     bg image + dark navy + text styling all stay. */
  .gs-uc-feature-card {
    padding: 3rem 1.5rem;
    border-radius: 0;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
}
