/* Content-length tolerance shared by every CMS product; visual themes remain template-owned. */
.product-entry-title-line,
.product-hero .hero-description,
.product-specs dd,
.catalog-copy h3,
.footer-product small,
.mega-label small {
  overflow-wrap: anywhere;
}
.cms-product-module {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 88px);
  padding-block: clamp(64px, 8vw, 112px);
}
.cms-product-module + .cms-product-module {
  border-top: 1px solid #e3e8eb;
}
.cms-product-features {
  display: block;
}
.cms-product-features > .cms-product-copy {
  max-width: 900px;
}
.cms-product-features > .cms-product-items {
  margin-top: 44px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cms-product-features > .cms-product-items:has(> article:nth-child(4):last-child),
.cms-product-features > .cms-product-items:has(> article:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cms-product-items > article {
  border-top: 1px solid #dce2e6;
  padding-top: 20px;
}
.cms-product-copy > .cms-product-items {
  display: block;
  margin-top: 28px;
}
.cms-product-copy > .cms-product-items > article + article {
  margin-top: 22px;
}
.cms-product-copy > .detail-link {
  display: inline-block;
  margin-top: 24px;
}
.cms-product-copy h2 {
  font-size: clamp(30px, 4vw, 60px);
  line-height: 1.18;
  margin-block: 12px 24px;
}
.cms-product-copy p,
.cms-product-items p {
  line-height: 1.85;
  max-width: 42em;
  overflow-wrap: anywhere;
}
.cms-product-module > img,
.cms-product-module video {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
}
.cms-product-module figure {
  margin: 0;
}
.cms-product-module figcaption,
.cms-product-caption {
  color: #62717b;
  line-height: 1.7;
  margin-top: 12px;
}
.cms-product-items {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 32px;
}
.cms-product-items img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
}
.cms-product-items h3 {
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 10px;
}
.cms-product-module > .quiet-note {
  grid-column: 1 / -1;
}
.cms-product-cases h2 {
  font-size: clamp(28px, 3vw, 48px);
}
.cms-product-cases > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 32px;
  margin-top: 32px;
}
.cms-product-cases a {
  color: inherit;
  text-decoration: none;
}
.cms-product-cases img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.cms-product-cases h3 {
  margin-block: 18px 10px;
  font-size: 22px;
}
.cms-product-cases p {
  line-height: 1.75;
}
@media (max-width: 800px) {
  .cms-product-module {
    grid-template-columns: minmax(0, 1fr);
  }
  .cms-product-items {
    grid-template-columns: minmax(0, 1fr);
  }
  .cms-product-features > .cms-product-items,
  .cms-product-features > .cms-product-items:has(> article:nth-child(4):last-child),
  .cms-product-features > .cms-product-items:has(> article:nth-child(2):last-child) {
    grid-template-columns: minmax(0, 1fr);
  }
}
.cms-product-extra {
  grid-column: 1 / -1;
  width: 100%;
  padding-block: 24px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.cms-product-extra h2 {
  font-size: clamp(28px, 3vw, 48px);
}
.cms-product-extra img,
.sequence-chapters article img,
.h-overview > div > img,
.mode-columns article img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}
.sequence.cms-product-static-appearance {
  height: auto;
  min-height: 0;
  padding-block: 64px;
}
.cms-product-static-appearance .sequence-stage {
  position: relative;
  top: auto;
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}
.cms-product-static-appearance .sequence-top,
.cms-product-static-appearance .sequence-art,
.cms-product-static-appearance .sequence-chapters,
.cms-product-static-appearance .sequence-bottom {
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  transform: none;
}
.cms-product-static-appearance .sequence-art img {
  position: static;
  width: 100%;
  height: auto;
  max-height: 640px;
}
.cms-product-static-appearance .sequence-chapters {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 24px;
}
.cms-product-static-appearance .sequence-chapters article {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.cms-product-static-appearance .sequence-bottom {
  display: none;
}
@media (max-width: 800px) {
  .cms-product-static-appearance .sequence-stage {
    grid-template-columns: minmax(0, 1fr);
  }
}
