/* Used only on the rigid UVC module product page. */
.product-hero-grid.uvc-format-hero { display: block; }
.uvc-format-hero .touch-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.uvc-format-hero .touch-hero-text { grid-area: 1 / 1; }
.uvc-format-hero .touch-hero-photo { grid-area: 1 / 2; }
.uvc-format-hero .touch-hero-photo > a {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  container-type: size;
  height: clamp(230px, 24vw, 335px);
  padding: 12px;
}
.uvc-format-hero .touch-hero-photo img {
  width: 100cqh;
  height: 100cqw;
  max-width: none;
  max-height: none;
  transform: rotate(90deg);
  object-fit: contain;
}
.uvc-board-brief { background: #101316; color: #f5f5f1; padding-block: clamp(40px, 6vw, 76px); }
.uvc-board-brief .b2b-brief__inner { width: min(1130px, calc(100% - 48px)); margin-inline: auto; }
.uvc-brief-heading { max-width: 74ch; margin-bottom: 28px; }
.uvc-brief-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 16px; }
.uvc-comparison-wrap { margin-bottom: 28px; }
.uvc-board-brief table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.uvc-board-brief caption { text-align: left; color: #ecd3a0; font-weight: 650; margin-bottom: 10px; }
.uvc-board-brief table :is(th, td) { text-align: left; vertical-align: top; padding: 13px 15px; border-bottom: 1px solid #424547; color: #d2d3d1; line-height: 1.55; }
.uvc-board-brief table th { color: #f2e2bf; }
.uvc-board-brief table thead th { background: #252627; }
.uvc-comparison th[scope="row"] { width: 20%; }
.uvc-comparison td { width: 40%; }
.uvc-col-label { display: none; }
.uvc-evidence > p + p { margin-top: 12px; }
.uvc-pin-table { margin-block: 18px; }
.uvc-evidence > p.uvc-component-conditions { margin-top: 12px; }
.uvc-component-table { margin-block: 16px; }
.uvc-component-table :is(th, td):first-child, .uvc-component-table tbody td:nth-child(2) { white-space: nowrap; }
.uvc-pad-map { width: min(100%, 600px); margin: 22px auto; }
.uvc-pad-map a, .uvc-pad-map img { display: block; width: 100%; height: auto; }
.uvc-pad-map figcaption { color: #d2d3d1; font-size: .9rem; line-height: 1.55; margin-top: 10px; }
.uvc-source-details { margin-top: 16px; border-block: 1px solid #424547; padding-block: 12px; }
.uvc-source-details summary { color: #ecd3a0; cursor: pointer; margin-bottom: 8px; }
.uvc-quotation-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 20px; }
.uvc-quotation-stages article { border: 1px solid #424547; border-radius: 10px; padding: 20px; }
.uvc-quotation-stages h4 { color: #ecd3a0; font-size: 1.1rem; line-height: 1.35; margin: 0 0 12px; }
.uvc-quotation-stages p + p { margin-top: 12px; }
.uvc-board-brief h2 { margin: 0 0 .45em; color: #f5f5f1; font-size: clamp(1.85rem, 3.4vw, 3.1rem); line-height: 1.1; }
.uvc-board-brief h3 { margin: 0 0 .6em; color: #f5f5f1; font-size: clamp(1.22rem, 2vw, 1.6rem); line-height: 1.24; }
.uvc-board-brief p, .uvc-board-brief dd { margin: 0; color: #d2d3d1; font-size: 1rem; line-height: 1.55; }
.uvc-board-brief a { color: #efd293; text-decoration: underline; text-underline-offset: .18em; }
.uvc-board-brief a:focus-visible, .uvc-state-illustration summary:focus-visible { outline: 2px solid #e3bf7a; outline-offset: 3px; }
.uvc-formats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.uvc-format-card { min-width: 0; border: 1px solid #464643; border-radius: 12px; overflow: hidden; }
.uvc-format-card figure { margin: 0; }
.uvc-format-card figure a { display: grid; height: clamp(145px, 19vw, 230px); place-items: center; background: #f4f3ef; }
.uvc-format-card figure img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.uvc-format-card figcaption { padding: 10px 20px; color: #d6d0c4; background: #222528; font-size: .83rem; line-height: 1.5; }
.uvc-format-body { padding: clamp(16px, 2.5vw, 28px); }
.uvc-board-brief dl { margin: 0; }
.uvc-board-brief dt { margin-top: 14px; color: #ecd3a0; font-weight: 650; }
.uvc-format-body .uvc-format-link, .uvc-format-links { margin: 20px 0 0; }
.uvc-format-links { list-style: none; padding: 0; }
.uvc-format-links li + li { margin-top: 6px; }
.uvc-evidence { margin-top: clamp(28px, 4vw, 52px); }
.uvc-evidence dl { display: grid; grid-template-columns: minmax(140px, 22%) minmax(0, 1fr); }
.uvc-evidence dt, .uvc-evidence dd { margin: 0; padding: 12px 0; border-top: 1px solid #424547; }
.uvc-evidence dt { padding-right: 20px; }
.uvc-board-brief .uvc-format-route { margin-top: 20px; }
.uvc-production-video, .uvc-state-illustration { background: #101416; color: #f7f6f1; }
.uvc-production-video { padding-block: clamp(36px, 5vw, 65px); }
.uvc-production-video__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.uvc-production-video h2 { color: #fff; margin: .5em 0; }
.uvc-production-video p:not(.section-label) { color: #c7c9c8; max-width: 52ch; line-height: 1.65; }
.uvc-production-video video { display: block; width: 100%; max-height: 480px; object-fit: contain; background: #080c0f; border: 1px solid #343c3f; border-radius: 16px; }
.uvc-state-illustration { padding-bottom: 34px; }
.uvc-state-illustration summary { color: #efd293; cursor: pointer; padding-block: 10px; }
.uvc-state-illustration .uvc-strip-demo { margin-top: 14px; max-width: 560px; }
/* The central stylesheet handles contact controls at widths up to 850px. */
@media (min-width: 851px) and (max-width: 1100px) {
  body:has(.tb-contact-rail) .b2b-product-first :is(.container, .b2b-brief__inner) {
    --uvc-left: clamp(15px, 3vw, 32px);
    --uvc-right: max(72px, calc(env(safe-area-inset-right) + 72px));
    width: calc(100% - var(--uvc-left) - var(--uvc-right));
    margin-inline: var(--uvc-left) var(--uvc-right);
  }
}
@media (max-width: 760px) {
  .uvc-format-hero .touch-hero-copy, .uvc-formats-grid, .uvc-production-video__grid, .uvc-quotation-stages { grid-template-columns: minmax(0, 1fr); }
  .uvc-format-hero .touch-hero-text { grid-area: 1 / 1; }
  .uvc-format-hero .touch-hero-photo { grid-area: 2 / 1; }
  .uvc-format-hero .touch-hero-photo > a { height: clamp(160px, 42vw, 240px); }
  .uvc-board-brief .b2b-brief__inner { width: calc(100% - 32px); }
  .uvc-evidence dl { display: block; }
  .uvc-evidence dt { padding-bottom: 3px; }
  .uvc-evidence dd { padding-top: 0; border: 0; }
  .product-hero:has(.uvc-format-hero) { padding-bottom: 40px; }
  .product-hero:has(.uvc-format-hero) .product-breadcrumbs { margin-bottom: 24px; }
  .uvc-format-hero .product-hero-lede { margin-bottom: 22px; line-height: 1.55; }
}
@media (max-width: 640px) {
  .uvc-comparison caption { display: block; width: 100%; }
  .uvc-comparison thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  .uvc-comparison, .uvc-comparison tbody, .uvc-comparison tr, .uvc-comparison :is(th, td) { display: block; width: 100%; }
  .uvc-comparison tr { border: 1px solid #424547; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
  .uvc-comparison th[scope="row"] { width: 100%; background: #252627; }
  .uvc-col-label { display: block; color: #ecd3a0; font-weight: 650; margin-bottom: 4px; }
}
