/* Quadpack-style intro cards — before homepage About us */
.st-intro-cards {
  background: #f3f5f6;
  padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}

/* Homepage: three product modules — unified white */
.met-index-product.met-index-body,
.met-index-producto.met-index-body,
.met-index-products.met-index-body {
  background: #fff !important;
}

.st-intro-cards__wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  text-align: left;
}

.st-intro-card {
  display: block;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.st-intro-card:hover,
.st-intro-card:focus {
  color: inherit;
  text-decoration: none;
}

.st-intro-card__media {
  overflow: hidden;
  /* ~10% shorter than previous 16/10 */
  aspect-ratio: 16 / 9;
  background: #fff;
}

.st-intro-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.55s ease;
}

.st-intro-card:hover .st-intro-card__media img,
.st-intro-card:focus-visible .st-intro-card__media img {
  transform: scale(1.08);
}

.st-intro-card__media--graphic {
  background: #fff;
}

.st-intro-card__media--graphic img {
  object-fit: contain;
  padding: 0.75rem;
}

.st-intro-card__media--logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 0.35rem 0.4rem;
  padding: 0.7rem;
  background: #fff;
}

.st-intro-card__media--logos img {
  width: auto;
  height: 42px;
  max-width: 22%;
  object-fit: contain;
  transform: none;
  transition: none;
}

.st-intro-card:hover .st-intro-card__media--logos img,
.st-intro-card:focus-visible .st-intro-card__media--logos img {
  transform: none;
}

.st-intro-card__media--certs img {
  height: 52px;
  max-width: 28%;
}

.st-intro-card__media--clients img {
  height: 36px;
  max-width: 18%;
}

.st-intro-card__title {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 1.15rem 0 0;
  font-family: var(--font-sans, "Segoe UI", Arial, sans-serif);
  /* Match Supply Chain four-point titles */
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 400;
  line-height: 1.3;
  color: #212121;
}

.st-intro-card__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.55rem;
  background: #CFB080;
  transition: background-color 0.35s ease;
}

.st-intro-card:hover .st-intro-card__title::after,
.st-intro-card:focus-visible .st-intro-card__title::after {
  background: #B89560;
}

.st-intro-card__text {
  margin: 0.85rem 0 0;
  font-family: var(--font-sans, "Segoe UI", Arial, sans-serif);
  font-size: 12pt;
  font-weight: 400;
  line-height: 1.6;
  color: #6b757c;
}

/* Certification: stack body lines with no extra gap */
#certification .st-intro-card__text + .st-intro-card__text {
  margin-top: 0;
}

@media (max-width: 900px) {
  .st-intro-cards__wrap {
    grid-template-columns: 1fr;
  }
}

/*
 * Homepage content width — align with ST Future International (.wwa-wrap / --wwa-max: 1520px).
 * Excludes full-bleed modules: .st-cat-trio, .st-home-kdc.
 */
.st-home-insight .wwd-wrap,
.st-intro-cards > .container,
.wwd-page--home-about .wwd-wrap,
#supply-chain .wwd-wrap,
#supply-chain .wwd-wrap.container,
main > .st-faq > .container {
  width: min(100% - 2.5rem, 1520px) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

/* Homepage Supply Chain caps: 20% shorter than WWD caps cards */
#supply-chain .wwd-value-grid--caps .wwd-value-card {
  min-height: clamp(8.092rem, 13.872vw, 10.115rem);
  padding: clamp(1rem, 2vw, 1.48rem) clamp(1.25rem, 2.8vw, 2rem);
}

/* Homepage: floor sub-12pt UI/body copy at 12pt (do not shrink larger type) */
main .wwd-value-grid--caps .wwd-value-card__label,
main .wwd-showroom-icon__label,
main .wwd-vr-badge__orb,
main .wwd-vr-badge__cta,
main .st-faq details p,
main .st-faq summary,
main .st-cat-trio__caption,
main .wwd-kicker,
main .wwa-hero__brand span,
main .wwd-page--home-about .wwd-prose {
  font-size: 12pt !important;
}

/* Keep stats row flush to shared 1520 content width */
.st-home-insight .st-home-stats {
  margin-top: 0;
  width: 100%;
}
