.site-header-mount,
.site-footer-mount {
  display: block;
  min-height: 0;
}

.site-header .t_logo,
.site-footer-wrap h2 {
  line-height: 0;
}

.site-header img,
.site-footer-wrap img {
  max-width: 100%;
}

.site-footer-wrap [data-site-social-list] b {
  line-height: 0;
}

.site-footer-wrap [data-site-social-list] b img {
  display: block;
  width: 100%;
}

.site-footer-wrap [data-site-footer-about],
.site-footer-wrap [data-site-address] {
  word-break: break-all;
}

.site-footer-wrap [data-site-phone] {
  display: inline;
}

.site-template-error {
  padding: 1rem;
  color: #a33;
  background: #fff4f4;
}

.site-captcha-refresh {
  float: left;
  width: 110px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #f4f4f4;
  cursor: pointer;
}

.site-captcha-refresh img {
  display: block;
  width: 110px;
  height: 44px;
  object-fit: cover;
}

.site-captcha-refresh:disabled {
  cursor: wait;
  opacity: 0.65;
}

.site-slider-trigger {
  float: left;
  width: 200px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d9dee7;
  border-radius: 4px;
  background: #f7f8fa;
  color: #667085;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
}

.site-slider-trigger.is-verified {
  border-color: #86c98f;
  background: #edf9ee;
  color: #26823b;
}

.site-slider-captcha-mask {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}

.site-slider-captcha-mask[hidden] {
  display: none;
}

.site-slider-captcha-dialog {
  width: 350px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.25);
}

.site-slider-captcha-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid #eef0f3;
  color: #1f2937;
  font-size: 16px;
}

.site-slider-captcha-dialog header button,
.site-slider-image button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-slider-captcha-dialog header button {
  width: 30px;
  height: 30px;
  color: #667085;
  font-size: 24px;
  line-height: 30px;
}

.site-slider-captcha-body {
  padding: 16px 18px 18px;
}

.site-slider-image {
  position: relative;
  width: 310px;
  max-width: 100%;
  height: 155px;
  overflow: hidden;
  border-radius: 4px;
  background: #f3f4f6;
  user-select: none;
}

.site-slider-image > img {
  display: block;
  width: 100%;
  height: 100%;
}

.site-slider-piece {
  position: absolute;
  top: 0;
  width: 47px;
  height: 155px;
  overflow: hidden;
  pointer-events: none;
}

.site-slider-piece img {
  display: block;
  width: 47px;
  height: 155px;
}

.site-slider-image button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 20px;
}

.site-slider-track {
  position: relative;
  width: 310px;
  max-width: 100%;
  height: 40px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid #d9dee7;
  border-radius: 4px;
  background: #f7f8fa;
  box-sizing: border-box;
}

.site-slider-track-text {
  position: absolute;
  inset: 0;
  color: #98a2b3;
  font-size: 13px;
  line-height: 38px;
  text-align: center;
  pointer-events: none;
}

.site-slider-progress {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 40px;
  border: 1px solid #93c5fd;
  border-radius: 4px 0 0 4px;
  background: #dbeafe;
  box-sizing: border-box;
}

.site-slider-handle {
  position: absolute;
  z-index: 1;
  top: -1px;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid #3b82f6;
  border-radius: 4px;
  background: #fff;
  color: #2563eb;
  font-size: 20px;
  cursor: grab;
  box-sizing: border-box;
}

.site-slider-handle:active {
  cursor: grabbing;
}

[data-slider-dialog-status] {
  min-height: 20px;
  margin: 10px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
}

[data-slider-dialog-status].is-error {
  color: #d92d20;
}

.site-managed-banner {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: #202a30;
}

/* Hold legacy banner markup back until the CMS configuration has rendered. */
body[data-site-page] .ty-banner-1,
body[data-site-page] .banner {
  visibility: hidden !important;
}

body[data-site-page].site-banner-ready .ty-banner-1,
body[data-site-page].site-banner-ready .banner {
  visibility: visible !important;
}

.site-managed-banner-track,
.site-managed-banner-slide {
  width: 100%;
  height: 100%;
}

.site-managed-banner-slide {
  display: none;
  min-height: 260px;
}

.site-managed-banner-slide.is-active {
  display: block;
}

.site-managed-banner-media {
  display: block;
  width: 100%;
  height: min(38vw, 580px);
  min-height: 260px;
  object-fit: cover;
}

.site-home-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  top:37%
}

/* The homepage overlay has a taller transparent canvas; keep its headline inside the banner crop. */
body[data-site-page="home"] .site-home-banner-overlay {
  top: 0;
  height: 100%;
  object-fit: fill;
  transform: translateX(clamp(56px, 8vw, 180px));
}

/* CMS uploads are commonly ultra-wide artwork; preserve each upload's full aspect ratio. */
body[data-site-page] .site-managed-banner,
body[data-site-page] .site-managed-banner .site-managed-banner-track,
body[data-site-page] .site-managed-banner .site-managed-banner-slide {
  height: auto !important;
  min-height: 0;
}

body[data-site-page] .site-managed-banner .site-managed-banner-media {
  height: auto;
  min-height: 0;
  object-fit: contain;
}

/* Keep the design banners at the ultra-wide drawing-page height. */
body[data-site-page="design-home"] .site-managed-banner,
body[data-site-page="design-work"] .site-managed-banner,
body[data-site-page="design-drawing"] .site-managed-banner {
  height: auto !important;
  min-height: 180px;
  aspect-ratio: 5024 / 864;
}

/* The homepage uses the original 16:9 video banner, which is intentionally taller. */
body[data-site-page="home"] .site-managed-banner {
  height: auto !important;
  min-height: 360px;
  aspect-ratio: 16 / 9;
}

body[data-site-page="home"] .site-managed-banner .site-managed-banner-track,
body[data-site-page="home"] .site-managed-banner .site-managed-banner-slide,
body[data-site-page="design-home"] .site-managed-banner .site-managed-banner-track,
body[data-site-page="design-home"] .site-managed-banner .site-managed-banner-slide,
body[data-site-page="design-work"] .site-managed-banner .site-managed-banner-track,
body[data-site-page="design-work"] .site-managed-banner .site-managed-banner-slide,
body[data-site-page="design-drawing"] .site-managed-banner .site-managed-banner-track,
body[data-site-page="design-drawing"] .site-managed-banner .site-managed-banner-slide {
  height: 100% !important;
  min-height: 0;
}

body[data-site-page="home"] .site-managed-banner .site-managed-banner-media,
body[data-site-page="design-home"] .site-managed-banner .site-managed-banner-media,
body[data-site-page="design-work"] .site-managed-banner .site-managed-banner-media,
body[data-site-page="design-drawing"] .site-managed-banner .site-managed-banner-media {
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

body[data-site-page="design-drawing"] .site-managed-banner .site-managed-banner-media {
  object-fit: contain;
}

/* The legacy page stylesheet hides every .ty-banner-1 image until its old script runs. */
.ty-banner-1.site-managed-banner .site-managed-banner-media {
  visibility: visible;
}

.site-managed-banner-dots {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}

.site-managed-banner-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.site-managed-banner-dot.is-active {
  background: #fff;
}

/* Restored legacy technical sections on the home/work design pages. */
.xingneng {
  margin-top: 72px;
}

.xingneng .content1,
.shigong.content1 {
  width: 1200px;
  margin: 0 auto;
}

.xingneng .biaoti,
.shigong > .biaoti {
  padding: 80px 0 30px;
  color: #333;
  font-size: 42px;
  line-height: 1.2;
  text-align: center;
}

.xingneng .biaoti.juli {
  padding-top: 0;
  margin-top: -20px;
}

.site-design-dynamic--design .site-style-intros .biaoti {
  margin: 0;
  padding: 68px 0 38px;
  color: #202a30;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.site-style-intro-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 20px;
}

.site-style-intro-number {
  flex: 0 0 auto;
  padding-top: 3px;
  color: #f48101;
  font-family: Arial, sans-serif;
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 0.72;
}

.site-style-intro-heading-copy {
  min-width: 0;
}

.site-style-intro-heading-copy .site-style-intro-subtitle {
  margin-bottom: 0;
}

.site-design-features {
  margin: 0;
  padding: 76px 0 80px;
  background: #f5f5f5;
}

.site-design-features .content1 {
  width: 1200px;
  margin: 0 auto;
}

.site-design-features .biaoti {
  margin: 0;
  padding: 0 0 38px;
  color: #202a30;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.site-design-features__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-design-features__list li {
  min-height: 266px;
  padding: 42px 28px 32px;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
}

.site-design-features__list img {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.site-design-features__list h3 {
  margin: 0;
  color: #333;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.site-design-features__list p {
  margin: 16px 0 0;
  color: #666;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
}

.xingneng .aa {
  width: 100%;
  border-collapse: collapse;
  background: #f6f6f6;
}

.xingneng .aa tr td {
  padding: 15px 18px;
  border: 2px solid #fff;
  color: #4d4d4d;
  font-size: 16px;
  line-height: 1.6;
}

.xingneng .aa tr td[bgcolor="#f48101"] {
  background-color: #f48101;
}

.xingneng .aa tr td[bgcolor="#F6F6F6"] {
  background-color: #f6f6f6;
}

.xingneng .aa tr td strong {
  color: #fff;
}

.xingneng .aa tr td.td1 {
  width: 10%;
}

.xingneng .aa tr td.td2 {
  width: 40%;
}

.site-design-service-flow {
  width: calc(100% - 30px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.site-design-service-flow .biaoti {
  margin: 0;
  padding: 80px 0 30px;
  color: #333;
  font-size: 42px;
  line-height: 1.2;
  text-align: center;
}

.site-design-service-flow ol {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d2d2d2;
}

.site-design-service-flow li {
  position: relative;
  height: 60px;
  padding: 20px 30px 36px 53px;
  overflow: hidden;
  border-bottom: 1px solid #d2d2d2;
  background: #fff;
  box-sizing: border-box;
  cursor: pointer;
  transition: height .3s ease, background-color .3s ease, border-color .3s ease;
}

.site-design-service-flow li::before {
  position: absolute;
  top: 21px;
  left: 17px;
  width: 17px;
  height: 17px;
  background: url("../images/c46ec257142641f98900cc2c766f0585_28.webp") no-repeat center;
  content: "";
  transition: opacity .2s ease;
}

.site-design-service-flow li h3 {
  margin: 0;
  color: #4d4d4d;
  font-size: 20px;
  font-weight: normal;
  line-height: 20px;
  transition: margin .3s ease, color .3s ease;
}

.site-design-service-flow li p {
  display: none;
  margin: 0;
  padding-bottom: 8px;
  color: #fff;
  font-size: 15px;
  line-height: 28px;
}

.site-design-service-flow li.is-active,
.site-design-service-flow li:hover {
  height: 297px;
  border-color: #f48101;
  background: #f48101;
}

.site-design-service-flow li.is-active::before,
.site-design-service-flow li:hover::before {
  opacity: 0;
}

.site-design-service-flow li.is-active h3,
.site-design-service-flow li:hover h3 {
  margin-top: 15px;
  padding-bottom: 15px;
  color: #fff;
}

.site-design-service-flow li.is-active p,
.site-design-service-flow li:hover p {
  display: block;
}

.site-design-contact-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 405px;
  margin: 86px 0 0;
  padding: 36px 24px;
  box-sizing: border-box;
  background: #172231 url("../images/2b0f846a4b9743f08d0b58bae470213f_2.webp") center center / cover no-repeat;
  text-align: center;
}

.site-design-contact-banner__content {
  max-width: 100%;
}

.site-design-contact-banner__title,
.site-design-contact-banner__subtitle {
  display: block;
  margin: 0;
  color: #fff;
  font-weight: normal;
}

.site-design-contact-banner__title {
  font-size: 34px;
  line-height: 1.45;
}

.site-design-contact-banner__subtitle {
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.45;
}

.site-design-contact-banner__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  margin-top: 24px;
  padding: 0 32px;
  border-radius: 26px;
  background: #f48101;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none;
}

.site-design-contact-banner__phone:hover {
  color: #fff;
  background: #e57200;
}

@media (max-width: 760px) {
  .site-design-dynamic--design .site-style-intros .biaoti {
    padding: 46px 0 26px;
    font-size: 30px;
  }

  .site-style-intro-heading {
    gap: 12px;
    margin-bottom: 16px;
  }

  .site-style-intro-number {
    font-size: 42px;
  }

  .site-design-features {
    width: 100vw;
    min-width: 0;
    padding: 52px 0 56px;
  }

  .site-design-features .content1 {
    width: calc(100vw - 30px);
    max-width: none;
  }

  .site-design-features .biaoti {
    padding-bottom: 26px;
    font-size: 30px;
  }

  .site-design-features__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .site-design-features__list li {
    min-height: 244px;
    padding: 30px 16px 22px;
  }

  .site-design-features__list img {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
  }

  .site-design-features__list h3 {
    font-size: 19px;
  }

  .site-design-features__list p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
  }

  .site-design-service-flow {
    width: calc(100% - 30px);
    margin-bottom: 56px;
  }

  .site-design-service-flow .biaoti {
    padding: 52px 0 24px;
    font-size: 30px;
  }

  .site-design-contact-banner {
    min-height: 300px;
    margin-top: 56px;
    padding: 28px 18px;
  }

  .site-design-contact-banner__title {
    font-size: 25px;
  }

  .site-design-contact-banner__subtitle {
    margin-top: 12px;
    font-size: 18px;
  }

  .site-design-contact-banner__phone {
    min-height: 46px;
    margin-top: 20px;
    padding: 0 24px;
    font-size: 16px;
  }

  .site-design-service-flow ol {
    border-top-color: #d2d2d2;
  }

  .site-design-service-flow li {
    padding-right: 18px;
  }

  .site-design-service-flow li h3 {
    font-size: 18px;
    line-height: 20px;
  }

  .site-managed-banner,
  .site-managed-banner-slide,
  .site-managed-banner-media {
    min-height: 180px;
  }

  .site-managed-banner-media {
    height: auto;
    min-height: 0;
  }

  .site-managed-banner-dots {
    right: 14px;
    bottom: 12px;
  }
}

/* CMS-driven effect-render case cards and gallery detail. */
.p102-pros-1-list {
  display: grid;
  grid-template-columns: repeat(4, 282px);
  gap: 30px 24px;
}

.p102-pros-1-list[hidden] { display: none !important; }

/* The news page is replaced by the CMS response; keep legacy markup hidden while it loads. */
body[data-site-page="news"] .xin-1k2-info-list-3,
body[data-site-page="news"] .p101-pagination-1 { display: none !important; }

.p102-pros-1-list .site-showcase-card,
.p102-pros-1-list .site-showcase-card:nth-child(4n),
.p102-pros-1-list .site-showcase-card:nth-child(4n-1) {
  float: none;
  width: 282px;
  margin: 0;
}

.p102-pros-1-list > .clear { display: none; }
.site-showcase-card dt, .site-showcase-card dt a { display: block; width: 282px; aspect-ratio: 7 / 9; overflow: hidden; background: #f3f3f3; }
.site-showcase-card dt img { display: block; width: 100%; height: 100%; object-fit: contain; }
.site-showcase-card__empty { display: grid; width: 100%; height: 100%; place-items: center; color: #999; }
.site-showcase-detail-wrap { width: 1200px; min-height: 500px; margin: 46px auto 70px; }
.site-showcase-detail { max-width: 980px; margin: 0 auto; }
.site-showcase-back { display: inline-block; margin-bottom: 24px; color: #e98527; font-size: 15px; }
.site-showcase-detail h1 { margin: 0; color: #2f2f2f; font-size: 32px; font-weight: 500; line-height: 1.35; }
.site-showcase-detail__meta { margin: 12px 0 30px; color: #888; font-size: 16px; }
.site-showcase-gallery { display: grid; gap: 20px; }
.site-showcase-gallery img { display: block; width: 100%; max-height: 900px; object-fit: contain; background: #f5f5f5; }
.site-case-pdf { margin-top: 24px; border: 1px solid #e2e2e2; background: #f7f7f7; }
.site-case-pdf__viewer { display: block; width: 100%; height: 820px; border: 0; background: #fff; }
.site-case-pdf__actions { margin: 0; padding: 12px 18px; text-align: right; }
.site-case-pdf__actions a { color: #e98527; font-size: 14px; }
.site-showcase-videos { display: grid; gap: 20px; margin-top: 24px; }
.site-showcase-videos video { display: block; width: 100%; max-height: 620px; background: #111; }
.site-showcase-detail__content { margin-top: 32px; padding-top: 28px; border-top: 1px solid #e7e7e7; }
.site-showcase-pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.site-showcase-pack-card { display: block; overflow: hidden; color: #2f2f2f; background: #fff; border: 1px solid #e4e4e4; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.site-showcase-pack-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(35, 35, 35, .12); }
.site-showcase-pack-card img, .site-showcase-pack-card__empty { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f3f3f3; }
.site-showcase-pack-card__empty { display: grid; place-items: center; color: #999; }
.site-showcase-pack-card__name { display: block; padding: 14px 16px; font-size: 16px; line-height: 1.5; }
.site-showcase-pack-empty { margin-top: 28px; }

@media (max-width: 767px) {
  .p102-pros-1-list { grid-template-columns: minmax(0, 360px); justify-content: center; gap: 24px; }
  .p102-pros-1-list .site-showcase-card, .p102-pros-1-list .site-showcase-card:nth-child(4n), .p102-pros-1-list .site-showcase-card:nth-child(4n-1) { width: 100%; margin: 0; }
  .site-showcase-card dt, .site-showcase-card dt a { width: 100%; height: auto; aspect-ratio: 7 / 9; }
  .site-showcase-detail-wrap { width: auto; min-height: 360px; margin: 28px 18px 44px; }
  .site-showcase-detail h1 { font-size: 25px; }
  .site-showcase-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
  .site-showcase-pack-card__name { padding: 11px 12px; font-size: 14px; }
  .site-case-pdf__viewer { height: 72vh; min-height: 420px; }
}
