/* 仅三张产品页的布局修复；字体和颜色沿用原样式。 */
:root body.site-polished.em-product-repair .refined-forms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

:root body.site-polished.em-product-repair .refined-forms > figure {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

:root body.site-polished.em-product-repair .refined-forms img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-view-box: none;
  padding: 0;
}

:root body.site-polished.em-product-repair .refined-forms figcaption {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  gap: 10px;
  padding: 24px;
}

:root body.site-polished.em-product-repair .refined-forms figcaption h3,
:root body.site-polished.em-product-repair .refined-forms figcaption p {
  margin: 0;
}

:root body.site-polished.em-product-repair .refined-forms .form-review-link {
  margin-top: auto;
}

:root body.site-polished.em-product-repair .em-visual-story-card img {
  padding: 0;
  object-view-box: none;
}

:root body.site-polished.em-product-repair .em-visual-story-card--scene figure {
  aspect-ratio: 3 / 2;
}

:root body.site-polished.em-product-repair .em-visual-story-card--scene img {
  object-fit: cover;
}

:root body.site-polished.em-product-repair .em-visual-story-card > div {
  min-width: 0;
}

:root body.site-polished.em-product-repair .split-hero-image img,
:root body.site-polished.em-product-repair .catalog-photo img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-view-box: none;
}

:root body.site-polished.em-product-repair .refined-engineering-list .em-repair-context-scene {
  grid-column: 2;
  margin: 20px 0 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

:root body.site-polished.em-product-repair .em-repair-context-scene img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-view-box: none;
}

@media (min-width: 761px) and (max-width: 1000px) {
  :root body.site-polished.em-product-repair .em-visual-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :root body.site-polished.em-product-repair .em-visual-story-card--scene {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  :root body.site-polished.em-product-repair .refined-forms {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  :root body.site-polished.em-product-repair .refined-forms figcaption {
    padding: 20px;
  }
}
