/* Refine the existing Guangzhou CMS design. Load after gzmaya.css only. */
/* Keep the original hero, graphite navigation and red actions. */

body.gz-refine {
  --ink: #252a2d;
  --accent: #b23b2b;
  --accent-dark: #922c21;
  --soft: #f6f4f0;
  --muted: #566168;
  --line: #dfe2e1;
  --stock: #f6f4f0;
  --stock-line: #e3dfd8;
  --detail: #30575b;
  --detail-dark: #25464a;
  --detail-wash: #edf3f1;
  color: var(--ink);
  background: #fff;
}
body.gz-refine .wrap,
body.gz-refine .header-inner {
  width: min(1480px, calc(100% - 64px));
  max-width: 1480px;
}
body.gz-refine.page-home .home-hero-shell {
  padding-inline: max(32px, calc((100% - 1480px) / 2));
}
body.gz-refine main img {
  max-width: 100%;
}
body.gz-refine main a:focus-visible,
body.gz-refine main button:focus-visible,
body.gz-refine .table-scroll:focus-visible,
body.gz-refine .selection-table-wrap:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
body.gz-refine .breadcrumb {
  color: var(--muted);
}
body.gz-refine .page-intro .lead {
  max-width: 950px;
  line-height: 1.9;
}
/* A readable number at the original consultation entry, without a second header. */
body.gz-refine .hero-contact-number,
body.gz-refine .intro-phone {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}
body.gz-refine .hero-contact-number a,
body.gz-refine .intro-phone a {
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: .02em;
  line-height: 1.4;
  white-space: nowrap;
}
body.gz-refine .hero-heading h1 .hero-keyword {
  display: inline-block;
  font-weight: inherit;
}

/* Four homepage products in two rows, with the complete image above its use. */
body.gz-refine .home-products .product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
body.gz-refine .home-products .product-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 0;
  padding: 0;
  border: 1px solid var(--stock-line);
  border-radius: 3px;
  background: var(--stock);
  overflow: hidden;
}
body.gz-refine .home-products .product-picture {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  padding: 0;
  background: var(--soft);
}
body.gz-refine .home-products .product-picture picture {
  display: block;
  width: 100%;
  height: 100%;
}
body.gz-refine .home-products .product-picture img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
body.gz-refine .home-products .training-generated-visual {
  width: 100%;
  height: 100%;
  background: none;
}
body.gz-refine .home-products .product-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 28px 30px;
}
body.gz-refine .home-products .product-number {
  color: var(--muted);
  font-size: 13px;
}
body.gz-refine .home-products .product-card h3 {
  color: var(--ink);
  font-size: 30px;
  line-height: 1.5;
}
body.gz-refine .home-products .product-summary {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.85;
}
body.gz-refine .home-products .product-detail,
body.gz-refine .home-products .training-binding-note {
  color: var(--muted);
  line-height: 1.9;
}
body.gz-refine .home-products .product-card-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-dark);
}
body.gz-refine .home-products .product-card-links {
  margin-top: auto;
  padding-top: 18px;
}
body.gz-refine .product-use-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 4px;
  padding: 14px 0 0;
  border-top: 1px solid var(--stock-line);
}
body.gz-refine .product-use-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--accent-dark);
  font-size: 15px;
  line-height: 1.65;
}
body.gz-refine .product-use-links a span {
  flex-shrink: 0;
}

/* Product choices and follow-up reading stay close to the article they explain. */
body.gz-refine .reading-next {
  margin: 44px 0;
  padding: 30px;
  border: 1px solid var(--stock-line);
  border-top: 3px solid var(--accent);
  background: var(--soft);
}
body.gz-refine .reading-next--guide {
  max-width: 820px;
  margin-inline: auto;
}
body.gz-refine .reading-next-heading h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.55;
}
body.gz-refine .reading-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
body.gz-refine .reading-next-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
}
body.gz-refine .reading-next-grid h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.7;
}
body.gz-refine .reading-next-grid h3 a,
body.gz-refine .reading-product-links a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
body.gz-refine .reading-next-grid a span,
body.gz-refine .reading-product-links a span {
  flex-shrink: 0;
  color: var(--accent-dark);
}
body.gz-refine .reading-next-grid p,
body.gz-refine .reading-next-consult p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
body.gz-refine .reading-next--guide .reading-next-grid {
  grid-template-columns: minmax(0, 1fr);
}
body.gz-refine .reading-next--guide .reading-next-grid article {
  padding: 20px 22px;
}
body.gz-refine .reading-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
body.gz-refine .reading-product-links a {
  align-items: center;
  min-height: 48px;
  max-width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--stock-line);
  background: #fff;
  color: var(--accent-dark);
  font-size: 16px;
  line-height: 1.7;
}
body.gz-refine .reading-next-consult {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--stock-line);
}
body.gz-refine .reading-next-consult h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.7;
}
body.gz-refine .reading-next-consult .actions {
  margin-bottom: 0;
}
body.gz-refine.guide-page .article-intro {
  display: block;
  max-width: 820px;
  margin: 35px auto 28px;
  padding: 20px 20px 0;
}
body.gz-refine.guide-page .article-intro h1 {
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.5;
  letter-spacing: -.015em;
}
body.gz-refine .article-publishing {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
body.gz-refine .knowledge-entry-points {
  margin: 0 0 32px;
  padding: 24px 28px;
  border: 1px solid var(--stock-line);
  background: var(--soft);
}
body.gz-refine .knowledge-entry-points h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.6;
}
body.gz-refine .knowledge-entry-points nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
body.gz-refine .knowledge-entry-points a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 94px;
  min-width: 0;
  padding: 15px 32px 15px 17px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
body.gz-refine .knowledge-entry-points strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 17px;
}
body.gz-refine .knowledge-entry-points .entry-arrow {
  position: absolute;
  right: 13px;
  top: 17px;
  color: var(--accent-dark);
}
@media (max-width: 1050px) {
  body.gz-refine .knowledge-entry-points nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  body.gz-refine .reading-next {
    margin-block: 30px;
    padding: 22px 18px;
  }
  body.gz-refine .reading-next-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  body.gz-refine .reading-next-heading h2 {
    font-size: 24px;
  }
  body.gz-refine .reading-next-grid article,
  body.gz-refine .reading-next--guide .reading-next-grid article {
    padding: 18px 16px;
  }
  body.gz-refine.guide-page .article-intro {
    margin-top: 18px;
    padding: 12px 0 0;
  }
  body.gz-refine .knowledge-entry-points {
    padding: 20px 18px;
  }
  body.gz-refine .knowledge-entry-points nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body.gz-refine .knowledge-entry-points a {
    padding: 12px 28px 12px 12px;
  }
  body.gz-refine .knowledge-entry-points strong {
    font-size: 16px;
  }
}

/* Original three-column catalogue and two-column knowledge list. */
body.gz-refine.catalog-page .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
body.gz-refine.catalog-page .product-card {
  min-width: 0;
  border-color: var(--line);
  border-radius: 3px;
  background: #fff;
}
body.gz-refine.catalog-page .product-picture {
  aspect-ratio: 3 / 2;
  min-height: 0;
  background: var(--soft);
}
body.gz-refine.catalog-page .product-picture picture,
body.gz-refine.catalog-page .training-generated-visual {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}
body.gz-refine.catalog-page .product-picture img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
body.gz-refine.catalog-page .product-card-copy {
  min-width: 0;
  padding: 23px 24px;
}
body.gz-refine.catalog-page .product-card h3 {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.5;
}
body.gz-refine.catalog-page .product-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
body.gz-refine.catalog-page .product-card-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-dark);
}
body.gz-refine.guide-list-page .knowledge-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
}
body.gz-refine.guide-list-page .knowledge-list > article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 25px 0;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
body.gz-refine.guide-list-page .knowledge-list h2 {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.6;
}
body.gz-refine.guide-list-page .knowledge-list p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
body.gz-refine.guide-list-page .knowledge-list .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent-dark);
  font-size: 15px;
}

/* Existing detail page proportions remain; no new full-width visual hero. */
body.gz-refine.product-page .article-intro .lead {
  color: var(--muted);
  line-height: 1.95;
}
body.gz-refine.product-page .article-product-image img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
body.gz-refine.product-page .training-intro-visual .training-generated-visual {
  height: auto;
}
body.gz-refine.product-page .article-product-image figcaption {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
body.gz-refine.product-page .product-body {
  font-size: 17px;
  line-height: 1.9;
}
body.gz-refine.product-page .product-body p {
  color: var(--muted);
}
body.gz-refine.product-page .product-body h3 {
  color: var(--ink);
  line-height: 1.6;
}
body.gz-refine.product-page .product-body > .quote-panel {
  background: var(--stock);
  border-top-color: var(--accent);
}
body.gz-refine.product-page .quote-panel h2,
body.gz-refine.product-page .quote-panel h3 {
  color: var(--ink);
}
body.gz-refine.product-page .quote-panel p {
  color: var(--muted);
}
body.gz-refine.product-page .related-links a {
  min-height: 48px;
  color: var(--accent-dark);
}

/* Light page contents above the original bounded article column. */
body.gz-refine.guide-page .reading-layout {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}
body.gz-refine.guide-page .article-toc {
  position: static;
  max-width: 820px;
  margin: 0 auto 28px;
  padding: 17px 21px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--soft);
}
body.gz-refine.guide-page .article-toc > p:first-child {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
}
body.gz-refine.guide-page .article-toc nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}
body.gz-refine.guide-page .article-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: var(--accent-dark);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body.gz-refine.guide-page .article-toc > .text-link {
  margin-top: 6px;
}
body.gz-refine.guide-page .reading-body {
  max-width: 820px;
  margin: 0 auto 52px;
  padding: 0 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
body.gz-refine.guide-page .reading-body h2 {
  color: var(--accent-dark);
  font-size: 25px;
  line-height: 1.6;
  scroll-margin-top: 112px;
}
body.gz-refine.guide-page .reading-body h3 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.6;
  scroll-margin-top: 112px;
}
body.gz-refine.guide-page .reading-body a:not(.button) {
  color: var(--accent-dark);
  text-underline-offset: 5px;
}
body.gz-refine.guide-page .reading-body img {
  max-width: 100%;
  height: auto;
}

/* Added product guidance follows the original section rhythm and red accents. */
body.gz-refine:not(.page-home) .upgrade-section > h2 {
  color: var(--ink);
}
body.gz-refine:not(.page-home) .demand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
  margin-block: 18px;
}
body.gz-refine:not(.page-home) .demand-grid > div {
  min-width: 0;
  padding-top: 18px;
  border-top: 2px solid var(--line);
}
body.gz-refine:not(.page-home) .demand-grid h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.6;
}
body.gz-refine:not(.page-home) .demand-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
body.gz-refine:not(.page-home) .answer-list {
  margin: 20px 0;
}
body.gz-refine:not(.page-home) .answer-list > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
body.gz-refine:not(.page-home) .answer-list > div:first-child {
  padding-top: 0;
}
body.gz-refine:not(.page-home) .answer-list dt {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.6;
}
body.gz-refine:not(.page-home) .answer-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

/* Real tables stay tables. Any necessary overflow belongs to their own wrapper. */
body.gz-refine:not(.page-home) .reading-body table,
body.gz-refine:not(.page-home) .product-body table,
body.gz-refine:not(.page-home) .selection-table {
  display: table;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
body.gz-refine:not(.page-home) table caption {
  padding: 12px 15px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  text-align: left;
}
body.gz-refine:not(.page-home) table th,
body.gz-refine:not(.page-home) table td {
  padding: 13px 15px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
body.gz-refine:not(.page-home) table thead th {
  border-color: #4d5559;
  background: var(--ink);
  color: #fff;
}
body.gz-refine:not(.page-home) table tbody th {
  background: var(--stock);
  color: var(--ink);
}
body.gz-refine:not(.page-home) table tbody tr:nth-child(even) td {
  background: #faf9f6;
}
body.gz-refine:not(.page-home) table a {
  color: var(--accent-dark);
}
body.gz-refine .table-scroll,
body.gz-refine .selection-table-wrap {
  min-width: 0;
  max-width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
body.gz-refine .table-scroll table,
body.gz-refine .selection-table-wrap table {
  margin: 0;
}

/* Original company/contact columns stay in place. Enlarge the actual number. */
body.gz-refine .about-intro p,
body.gz-refine .company-details p,
body.gz-refine .contact-company dd {
  line-height: 1.95;
}
body.gz-refine.contact-page .contact-company dd a[href^="tel:"],
body.gz-refine.contact-page .contact-company [data-gz-contact="phone"] {
  display: inline-block;
  color: var(--accent-dark);
  font-size: 32px;
  font-weight: 750;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  white-space: nowrap;
}
body.gz-refine.contact-page .contact-number .copy-value {
  color: var(--ink);
  font-size: 30px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
body.gz-refine .footer-phone {
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 1050px) {
  body.gz-refine .wrap,
  body.gz-refine .header-inner { width: calc(100% - 48px); }
  body.gz-refine.page-home .home-hero-shell { padding-inline: 24px; }
  body.gz-refine .home-products .product-card-copy { padding: 26px 28px; }
  body.gz-refine .home-products .product-card h3 { font-size: 27px; }
  body.gz-refine .home-products .product-picture { min-height: 0; padding: 0; }
  body.gz-refine.catalog-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  body.gz-refine.guide-list-page .knowledge-list { gap: 0 30px; }
}

@media (max-width: 768px) {
  body.gz-refine .wrap,
  body.gz-refine .header-inner { width: calc(100% - 36px); }
  body.gz-refine.page-home .home-hero-shell { padding-inline: 18px; }
  body.gz-refine .home-products .product-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.gz-refine .home-products .product-card { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
  body.gz-refine .home-products .product-picture { display: block; min-height: 0; height: auto; aspect-ratio: 3 / 2; padding: 14px; }
  body.gz-refine .home-products .product-picture picture,
  body.gz-refine .home-products .training-generated-visual { height: 100%; }
  body.gz-refine .home-products .product-picture img { height: 100%; max-height: none; object-fit: contain; }
  body.gz-refine .home-products .product-card-copy { padding: 23px 21px; }
  body.gz-refine .home-products .product-card h3 { font-size: 25px; }
  body.gz-refine .home-products .product-summary { font-size: 16px; }
  body.gz-refine .home-products .product-detail { font-size: 15px; }
  body.gz-refine.catalog-page .product-grid { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  body.gz-refine.catalog-page .product-card-copy { padding: 22px; }
  body.gz-refine.guide-list-page .knowledge-list { grid-template-columns: minmax(0, 1fr); }
  body.gz-refine.guide-list-page .knowledge-list h2 { font-size: 21px; }
  body.gz-refine.guide-list-page .knowledge-list p { font-size: 15px; }
  body.gz-refine.product-page .product-body { font-size: 16px; }
  body.gz-refine.guide-page .article-toc { margin-bottom: 23px; padding: 15px 18px; }
  body.gz-refine.guide-page .article-toc nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  body.gz-refine.guide-page .article-toc a { min-width: 0; padding-block: 6px; font-size: 14px; }
  body.gz-refine.guide-page .reading-body { padding: 0; font-size: 16px; line-height: 1.95; }
  body.gz-refine.guide-page .reading-body h2 { font-size: 23px; }
  body.gz-refine.guide-page .reading-body h3 { font-size: 20px; }
  body.gz-refine:not(.page-home) .demand-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body.gz-refine:not(.page-home) .answer-list dt { font-size: 18px; }
  body.gz-refine:not(.page-home) .reading-body table,
  body.gz-refine:not(.page-home) .product-body table,
  body.gz-refine:not(.page-home) .selection-table { font-size: 14px; }
  body.gz-refine .table-scroll table,
  body.gz-refine .selection-table-wrap table { min-width: 560px; }
  body.gz-refine:not(.page-home) table th,
  body.gz-refine:not(.page-home) table td { padding: 12px 13px; }
  body.gz-refine.contact-page .contact-number .copy-value { font-size: 28px; }
  body.gz-refine .footer-phone { font-size: 28px; }
}

@media (max-width: 480px) {
  body.gz-refine.contact-page .contact-company dl { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  body.gz-refine.contact-page .contact-company dt:not(:first-child) { margin-top: 10px; }
  body.gz-refine.contact-page .contact-company dd a[href^="tel:"],
  body.gz-refine.contact-page .contact-company [data-gz-contact="phone"] { font-size: 30px; }
  body.gz-refine.contact-page .contact-number { grid-template-columns: minmax(0, 1fr); text-align: center; }
  body.gz-refine.contact-page .contact-number .copy-value { text-align: center; }
  body.gz-refine.contact-page .contact-number > .button { grid-column: 1; }
}
