/* Content-sized columns with equal space between them and at both outer edges. */
.footer-nav {
  grid-template-columns: repeat(5, auto);
  justify-content: space-evenly;
}
@media (min-width: 981px) {
  .footer-nav {
    column-gap: 0;
  }
}
.article-page {
  background: #eef1f3;
  color: #19242d;
  padding: 42px 0 96px;
  --muted: #52606c;
  --line: rgba(22,39,55,.18);
  --blue: #3c6686;
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: #536371;
  flex-wrap: wrap;
  max-width: 980px;
}
.breadcrumbs>span:last-child {
  max-width: 620px;
  overflow-wrap: anywhere;
}
.article-header {
  max-width: 980px;
  padding: 65px 0 52px;
  border-bottom: 1px solid var(--line);
}
.article-header h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.4;
  overflow-wrap: anywhere;
  letter-spacing: -.035em;
}
.article-summary {
  font-size: 20px;
  line-height: 1.85;
  margin-top: 28px;
  max-width: 800px;
  color: #495b69;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13px;
  line-height: 1.8;
  color: #576977;
  margin-top: 25px;
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(180px, 1fr);
  gap: 80px;
  align-items: start;
  padding-top: 56px;
}
.article-prose {
  min-width: 0;
  font-size: 18px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.article-prose p {
  color: #354752;
  margin: 0 0 25px;
}
.article-prose h2 {
  font-size: 30px;
  line-height: 1.5;
  margin: 52px 0 24px;
  scroll-margin-top: 135px;
}
.article-prose h3 {
  font-size: 23px;
  line-height: 1.55;
  margin: 36px 0 16px;
}
.article-prose>h2:first-child {
  margin-top: 0;
}
.article-prose ul,
.article-prose ol {
  padding-left: 25px;
  margin: 24px 0;
  list-style: revert;
}
.article-prose li {
  margin: 10px 0;
}
.article-prose a {
  color: #345f7c;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-prose img {
  max-width: 100%;
  height: auto;
  margin: 25px auto;
}
.article-prose pre {
  background: #dfe5e9;
  padding: 24px;
  overflow: auto;
  font-size: 14px;
}
.article-prose code {
  overflow-wrap: anywhere;
}
.article-prose table {
  display: block;
  overflow: auto;
  border-collapse: collapse;
  margin: 25px 0;
  width: 100%;
  font-size: 15px;
}
.article-prose th,
.article-prose td {
  border: 1px solid #bac8d2;
  padding: 12px 16px;
  text-align: left;
}
.article-prose blockquote {
  margin: 28px 0;
  padding: 5px 0 5px 24px;
  border-left: 2px solid #668ba5;
}
.paper-reference {
  padding: 24px;
  background: #e2e8ec;
  margin-bottom: 36px;
  font-size: 15px;
}
.paper-reference p:last-child {
  margin: 0;
  font-size: 13px;
}
.article-toc {
  position: sticky;
  top: 130px;
  border-left: 1px solid var(--line);
  padding-left: 25px;
  font-size: 14px;
}
.article-toc p {
  font-size: 12px;
  margin-bottom: 20px;
  color: #5d7080;
}
.article-toc a {
  display: block;
  line-height: 1.7;
  margin: 15px 0;
  color: #476277;
}
.article-sources {
  border-top: 1px solid var(--line);
  margin-top: 50px;
}
.article-sources li {
  font-size: 15px;
}
.article-related {
  margin-top: 65px;
  border-top: 1px solid var(--line);
  padding-top: 35px;
}
.article-related h2 {
  font-size: 25px;
  margin-bottom: 24px;
}
.article-related a {
  display: block;
  max-width: 800px;
  padding: 14px 0;
  color: #345f7c;
}
.editorial-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 35px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}
.editorial-row>.article-meta {
  display: block;
  margin: 0;
}
.editorial-row>.article-meta>* {
  display: block;
  margin-bottom: 10px;
}
.editorial-row h2 {
  font-size: 30px;
  line-height: 1.5;
  max-width: 950px;
  overflow-wrap: anywhere;
}
.editorial-row p {
  margin: 18px 0;
  max-width: 850px;
}
.editorial-row .text-link {
  margin-top: 12px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  margin-top: 40px;
  font-size: 14px;
}
.pagination a {
  text-decoration: underline;
}
.patent-section {
  padding-top: 70px;
}
.patent-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.preview-notice {
  background: #f3d7aa;
  color: #503313;
  text-align: center;
  font-size: 14px;
  padding: 8px;
}
/* Every technical panel remains in the HTML and is visible without JavaScript. */
@media (max-width: 980px) {
  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .article-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .article-toc {
    position: static;
    grid-row: 1;
    font-size: 14px;
  }
  .article-toc nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 25px;
  }
  .article-toc p {
    width: 100%;
    margin: 0;
  }
  .article-header {
    padding-top: 40px;
  }
}
@media (max-width: 680px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-page {
    padding-top: 28px;
  }
  .article-header h1 {
    font-size: 32px;
  }
  .article-header {
    padding: 35px 0;
  }
  .article-summary {
    font-size: 17px;
  }
  .article-grid {
    padding-top: 30px;
  }
  .article-prose {
    font-size: 17px;
  }
  .article-prose h2 {
    font-size: 26px;
  }
  .editorial-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 0;
  }
  .editorial-row>.article-meta {
    display: flex;
  }
  .editorial-row h2 {
    font-size: 26px;
  }
  .breadcrumbs {
    font-size: 12px;
  }
  .pagination {
    gap: 20px;
  }
}
@media print {
  .article-toc,
  .breadcrumbs,
  .article-related {
    display: none;
  }
  .article-grid {
    display: block;
  }
  .article-page {
    background: white;
  }
  .article-prose {
    font-size: 12pt;
  }
}
/* Supplied product photography: preserve the full board/chip and original colors. */
.product-card-image.supplied-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: transparent;
}
.product-card-image.supplied-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.product-card:hover .supplied-product-image img {
  transform: scale(1.015);
}
/* Supplied architecture artwork, shown in full without cropping. */
.home-source-technology .supplied-architecture {
  aspect-ratio: 1;
  background: transparent;
}
.home-source-technology .supplied-architecture img {
  object-fit: contain;
  animation: none;
}
.home-source-technology .supplied-architecture .image-caption {
  background: rgba(11, 16, 20, .85);
  padding: 7px 10px;
  border-radius: 3px;
}
/* Product cards share one continuous surface and the same centered labels. */
.product-card {
  isolation: isolate;
}
.product-card .card-top {
  position: relative;
  justify-content: center;
  text-align: center;
}
.product-card .card-top .circle-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.product-card-copy {
  text-align: center;
}
.product-card-copy p {
  margin-inline: auto;
}
.product-card-image.supplied-product-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.product-card[data-product="xuanjian"] .supplied-product-image img,
.product-card[data-product="baize"] .supplied-product-image img {
  mix-blend-mode: lighten;
  clip-path: inset(1% round 5%);
}
/* Compact single-row specification table, shared by cards and detail heroes. */
.product-parameters {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 340px;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(174, 200, 218, .22);
  border-radius: 6px;
  background: rgba(150, 183, 208, .035);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.product-parameter-cell {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.product-parameter-cell+ .product-parameter-cell {
  border-left: 1px solid rgba(174, 200, 218, .22);
  padding-left: 12px;
}
.product-parameters dt {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #94a3af;
  letter-spacing: 0;
}
.product-parameters dd {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #d9e6ef;
  letter-spacing: 0;
}
.product-parameters-pending {
  font-size: 14px;
  color: #b8c7d2;
}
.product-card-copy .product-parameters {
  margin-inline: auto;
}
.product-card {
  container-type: inline-size;
}
@container (max-width: 340px) {
  .product-card-copy .product-parameters {
    gap: 8px;
    padding-inline: 8px;
  }
  .product-card-copy .product-parameter-cell {
    gap: 5px;
  }
  .product-card-copy .product-parameter-cell+.product-parameter-cell {
    padding-left: 8px;
  }
  .product-card-copy .product-parameters dt {
    font-size: 11px;
  }
  .product-card-copy .product-parameters dd {
    font-size: 12px;
  }
}
@media (max-width: 400px) {
  .product-card-copy {
    padding-inline: 18px;
  }
  .product-parameters {
    gap: 8px;
    padding-inline: 8px;
  }
  .product-parameter-cell {
    gap: 5px;
  }
  .product-parameter-cell+.product-parameter-cell {
    padding-left: 8px;
  }
  .product-parameters dt {
    font-size: 11px;
  }
  .product-parameters dd {
    font-size: 12px;
  }
}
/* Two-product presentation: equal columns and a shared, centered image stage. */
.product-grid-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 36px);
}
.product-grid-duo .product-card {
  min-width: 0;
  border-radius: 12px;
}
.product-grid-duo .card-top {
  padding: 24px 28px;
}
.product-grid-duo .supplied-product-image {
  height: clamp(240px, 23vw, 360px);
  padding: 20px 32px;
}
.product-grid-duo .supplied-product-image img {
  max-width: min(100%, 620px);
  max-height: 100%;
  object-fit: contain;
}
.product-grid-duo .product-card-copy {
  padding: 24px 28px 36px;
}
.product-grid-duo .product-card-copy p {
  min-height: 0;
  max-width: 440px;
}
.product-grid-duo .product-card h3 {
  margin-top: 24px;
}
@media (max-width: 760px) {
  .product-grid-duo {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-grid-duo .supplied-product-image {
    height: clamp(220px, 55vw, 320px);
    padding: 16px 24px;
  }
  .product-grid-duo .product-card-copy {
    padding: 22px 20px 30px;
  }
}
/* Product showcase shared by the homepage and the products index: the product
   code sits behind the supplied photography, framed like the job cards. */
/* #home-products.products-section,
.product-showcase-stage {
  background: radial-gradient(ellipse 70% 45% at 8% 0, rgba(55, 111, 137, .17), transparent 70%), radial-gradient(ellipse 60% 55% at 100% 55%, rgba(78, 57, 116, .14), transparent 72%), linear-gradient(145deg, #050609 0, #0a0b11 56%, #080b0e 100%);
} */
.product-showcase.product-grid-duo {
  gap: clamp(16px, 2vw, 28px);
  margin-top: 8%;
}
.product-showcase .product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(210, 224, 236, .11);
  border-radius: 10px;
  background: #090c0f;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
  transition: transform .35s cubic-bezier(.2, .75, .25, 1), border-color .3s, background .3s, box-shadow .35s;
}
.product-showcase .product-card::before {
  content: attr(data-code);
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 0;
  color: rgba(145, 169, 178, .095);
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.06em;
  text-align: center;
  pointer-events: none;
}
.product-showcase .product-card .card-top {
  position: absolute;
  inset: 12px 12px auto auto;
  z-index: 3;
  padding: 0;
}
.product-showcase .product-card .card-top>span:first-child {
  display: none;
}
.product-showcase .product-card .card-top .circle-arrow {
  position: static;
  width: 30px;
  height: 30px;
  border-color: rgba(210, 224, 236, .12);
  color: #88949d;
  font-size: 14px;
  transform: none;
}
.product-showcase .product-card-image.supplied-product-image {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(220px, 24vw, 300px);
  padding: 42px 30px 4px;
}

.product-showcase .product-card-image.supplied-product-image img {
  display: block;
  width: auto;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .48));
  transform: translateY(5px) scale(1.035);
  transition: transform .6s cubic-bezier(.2, .75, .25, 1), filter .6s ease;
}

.product-showcase .product-card[data-product="zhulong"] .supplied-product-image img {
  max-width: min(82%, 560px);
}

.product-showcase .product-card[data-product="xuanjian"] .supplied-product-image img {
  max-width: min(35%, 180px);
}
.product-showcase .product-card-copy {
  position: relative;
  z-index: 2;
  padding: 12px 24px 20px;
}
.product-showcase .product-parameters {
  gap: 22px;
  width: fit-content;
  min-height: 46px;
  padding: 8px 22px;
  border-color: rgba(174, 200, 218, .12);
  border-radius: 4px;
  background: rgba(150, 183, 208, .025);
}
.product-showcase .product-parameter-cell {
  gap: 10px;
}
.product-showcase .product-parameter-cell+.product-parameter-cell {
  padding-left: 22px;
}
.product-showcase .product-parameters dt {
  color: #818d97;
  font-size: 14px;
}
.product-showcase .product-parameters dd {
  color: #b8c4cc;
  font-size: 14px;
}
.product-showcase .product-card h3 {
  margin: 16px 0 6px;
  color: #ddd;
  font-size: 30px;
  line-height: 1.45;
  font-weight: 400;
}
.product-showcase .product-card h3 span {
  margin-left: 8px;
  color: #92999f;
  font-size: 18px;
}
.product-showcase .product-card p {
  min-height: 0;
  color: #939ba2;
  font-size: 16px;
  line-height: 1.7;
}
@media (hover: hover) and (pointer: fine) {
  .product-showcase .product-card:hover {
    transform: translateY(-5px) scale(1.012);
    border-color: rgba(124, 205, 226, .5);
    background: #0b0f13;
    box-shadow: 0 0 0 1px rgba(104, 194, 220, .12), 0 16px 38px rgba(49, 154, 188, .16), 0 28px 65px rgba(0, 0, 0, .3);
  }
  .product-showcase .product-card:hover .supplied-product-image img {
    filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .58));
    transform: translateY(2px) scale(1.07);
  }
}
@media (max-width: 760px) {
  .product-showcase .product-card-image.supplied-product-image {
    height: clamp(190px, 52vw, 250px);
    padding: 42px 20px 4px;
  }
  .product-showcase .product-card-copy {
    padding: 12px 18px 20px;
  }
  .product-showcase .product-parameters {
    gap: 14px;
    padding-inline: 14px;
  }
  .product-showcase .product-parameter-cell {
    gap: 6px;
  }
  .product-showcase .product-parameter-cell+.product-parameter-cell {
    padding-left: 14px;
  }
  .product-showcase .product-parameters dt {
    font-size: 13px;
  }
  .product-showcase .product-parameters dd {
    font-size: 13px;
  }
  .product-showcase .product-card h3 {
    font-size: 26px;
  }
  .product-showcase .product-card h3 span {
    font-size: 16px;
  }
  .product-showcase .product-card p {
    font-size: 15px;
  }
}
