
/* =========================================
   YiliJet - Industrial Printing & Automation
   Main Width: 1200px
========================================= */

#yj-decorative,
#yj-decorative * {
  box-sizing: border-box;
}

#yj-decorative {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 45px;
  background: #fff;
  color: #252525;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: break-word;
  text-align: center;
}

/* 全文居中 */
#yj-decorative,
#yj-decorative section,
#yj-decorative article,
#yj-decorative h1,
#yj-decorative h2,
#yj-decorative h3,
#yj-decorative p,
#yj-decorative div,
#yj-decorative a {
  text-align: center;
}

#yj-decorative img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

#yj-decorative h1,
#yj-decorative h2,
#yj-decorative h3,
#yj-decorative p {
  margin: 0;
}

#yj-decorative h1 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
}

#yj-decorative h2 {
  font-size: 25px;
  line-height: 1.4;
  font-weight: 700;
}

#yj-decorative h3 {
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
}

#yj-decorative p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
}

#yj-decorative .yj-section {
  width: 100%;
  margin-top: 48px;
}

#yj-decorative .yj-center {
  text-align: center;
}

#yj-decorative .yj-subtitle {
  margin-top: 5px;
  color: #555;
  font-size: 19px;
  line-height: 1.5;
}

#yj-decorative .yj-intro {
  max-width: 1050px;
  margin: 12px auto 0;
  text-align: center;
}

#yj-decorative .yj-banner {
  width: 100%;
  margin: 24px auto;
  overflow: hidden;
}

#yj-decorative .yj-banner img {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  border-radius: 3px;
}

/* Section divider */
#yj-decorative .yj-divider {
  width: 100%;
  height: 1px;
  margin-top: 42px;
  background: #e8e8e8;
}

/* =========================================
   Applications - Four Cards
========================================= */

#yj-decorative .yj-applications {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin-top: 24px;
  align-items: stretch;
}

#yj-decorative .yj-app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding: 12px;
  border: 1px solid #dcdcdc;
  border-radius: 9px;
  background: #fff;
  text-align: center;
  transition: box-shadow .2s ease, border-color .2s ease;
}

#yj-decorative .yj-app-card:hover {
  border-color: #c8c8c8;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
}

#yj-decorative .yj-app-card img {
  width: 100%;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  border-radius: 5px;
}

#yj-decorative .yj-app-card h3 {
  width: 100%;
  margin: 10px 0 7px;
  color: #171717;
  font-size: 19px;
  line-height: 1.4;
}

#yj-decorative .yj-app-card p {
  width: 100%;
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.75;
}

/* =========================================
   Icon Feature Cards
========================================= */

#yj-decorative .yj-feature-intro {
  max-width: 1050px;
  margin: 12px auto 20px;
  text-align: center;
}

#yj-decorative .yj-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 22px;
}

#yj-decorative .yj-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 165px;
  padding: 20px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 7px;
  background: #fff;
  text-align: center;
}

#yj-decorative .yj-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 9px;
  color: #333;
  flex-shrink: 0;
}

#yj-decorative .yj-icon svg {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#yj-decorative .yj-feature-card h3 {
  width: 100%;
  margin-bottom: 5px;
  font-size: 17px;
  line-height: 1.45;
}

#yj-decorative .yj-feature-card p {
  width: 100%;
  font-size: 14px;
  line-height: 1.7;
}

/* =========================================
   Workflow
========================================= */

#yj-decorative .yj-workflow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

#yj-decorative .yj-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 145px;
  padding: 14px 8px;
  border: 1px solid #dedede;
  border-radius: 7px;
  text-align: center;
  background: #fff;
}

#yj-decorative .yj-step .yj-icon {
  margin: 0 auto 5px;
}

#yj-decorative .yj-step-number {
  width: 100%;
  color: #888;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

#yj-decorative .yj-step h3 {
  width: 100%;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
}

/* =========================================
   Target Customers
========================================= */

#yj-decorative .yj-customer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

#yj-decorative .yj-customer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 175px;
  padding: 22px 18px;
  border: 1px solid #dedede;
  border-radius: 7px;
  text-align: center;
}

#yj-decorative .yj-customer-card .yj-icon {
  margin: 0 auto 9px;
}

#yj-decorative .yj-customer-card h3 {
  width: 100%;
  margin-bottom: 6px;
  font-size: 17px;
}

#yj-decorative .yj-customer-card p {
  width: 100%;
  font-size: 14px;
}

/* =========================================
   CTA - Reference Image Style
========================================= */

#yj-decorative .yj-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 45px;
  padding: 60px 24px 39px;
  border-radius: 8px;
  background: #f5f5f5;
  text-align: center;
}

#yj-decorative .yj-cta h2 {
  width: 100%;
  margin: 0;
  color: #222;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

#yj-decorative .yj-cta p {
  width: 100%;
  max-width: 900px;
  margin: 12px auto 27px;
  color: #444;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

#yj-decorative .yj-cta-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  margin: 0 auto;
}

#yj-decorative .yj-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 21px;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

#yj-decorative .yj-cta-link:hover {
  background: #eee;
  border-color: #aaa;
}

#yj-decorative .yj-cta-link svg {
  display: block;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 900px) {
  #yj-decorative {
    padding: 18px 14px 35px;
  }

  #yj-decorative .yj-applications {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #yj-decorative .yj-workflow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #yj-decorative {
    padding: 15px 12px 30px;
  }

  #yj-decorative h1 {
    font-size: 25px;
  }

  #yj-decorative h2 {
    font-size: 22px;
  }

  #yj-decorative h3 {
    font-size: 17px;
  }

  #yj-decorative .yj-section {
    margin-top: 34px;
  }

  #yj-decorative .yj-banner img {
    aspect-ratio: 16 / 7;
  }

  #yj-decorative .yj-applications {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #yj-decorative .yj-app-card {
    padding: 8px;
  }

  #yj-decorative .yj-app-card h3 {
    font-size: 16px;
  }

  #yj-decorative .yj-app-card p {
    font-size: 13px;
  }

  #yj-decorative .yj-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #yj-decorative .yj-feature-card {
    min-height: 160px;
    padding: 15px 10px;
  }

  #yj-decorative .yj-feature-card h3 {
    font-size: 15px;
  }

  #yj-decorative .yj-feature-card p {
    font-size: 13px;
  }

  #yj-decorative .yj-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  #yj-decorative .yj-customer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #yj-decorative .yj-cta {
    padding: 36px 15px 30px;
  }

  #yj-decorative .yj-cta h2 {
    font-size: 22px;
  }

  #yj-decorative .yj-cta p {
    font-size: 14px;
    margin-bottom: 22px;
  }

  #yj-decorative .yj-cta-links {
    flex-direction: column;
    gap: 10px;
  }

  #yj-decorative .yj-cta-link {
    width: 100%;
    max-width: 280px;
  }
}
