/* ============================================
   Use Case benefits — 2-col feature list with a small
   illustration on the left of each item and title + desc on
   the right. Used on the Industrial IoT page (§4, Key IIoT
   Platform Benefits) — 6 items in a 2×3 grid.

   Different from .gs-wgs-rows (full alternating image+text
   bands). Lighter, scannable, no alternation.
   ============================================ */

.gs-uc-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
  max-width: var(--content-frame);
  margin: 0 auto;
}

.gs-uc-benefit {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.gs-uc-benefit__media {
  width: 110px;
  flex-shrink: 0;
}

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

.gs-uc-benefit__title {
  font-size: var(--text-h5);
  color: var(--color-fg);
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

.gs-uc-benefit__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-fg-body);
  margin: 0;
  text-wrap: pretty;
}

.gs-uc-benefit__desc a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

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

@media (max-width: 900px) {
  /* Tablet + mobile: single-column stack, capped width centered.
     Each benefit also flips internally — icon goes on TOP, title +
     desc stack below it. All left-aligned. Easier to read on
     narrow viewports than the cramped icon-left + text-right
     squeeze. */
  .gs-uc-benefits {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 480px;
    margin: 0 auto;
  }

  .gs-uc-benefit {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
    justify-items: center;
  }
}
