
/* ==================================================
   YILIJET | BUILDING PANEL SOLUTION
   1200px / White Background / Responsive / FAQ Accordion
   No outer border
   ================================================== */

#yj-building,
#yj-building * {
  box-sizing: border-box;
}

#yj-building {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 18px 45px;
  background: #fff;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

#yj-building img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

#yj-building h1,
#yj-building h2,
#yj-building h3,
#yj-building p {
  margin-top: 0;
}

#yj-building h1,
#yj-building h2,
#yj-building h3 {
  color: #222;
  font-weight: 600;
  line-height: 1.4;
}

#yj-building h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

#yj-building h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

#yj-building h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

#yj-building p {
  margin-bottom: 12px;
  color: #555;
}

#yj-building .yj-center {
  text-align: center;
}

#yj-building .yj-section {
  padding: 42px 0;
  border-bottom: 1px solid #e7e7e7;
}

#yj-building .yj-section:last-child {
  border-bottom: none;
}

#yj-building .yj-eyebrow {
  margin-bottom: 10px;
  color: #777;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#yj-building .yj-lead {
  max-width: 920px;
  margin: 0 auto 12px;
  line-height: 1.9;
}

#yj-building .yj-subtitle {
  max-width: 850px;
  margin: 0 auto 26px;
  color: #666;
}

/* Images */

#yj-building .yj-wide-image {
  width: 100%;
  max-height: 390px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 7px;
  margin: 20px auto 24px;
}

#yj-building .yj-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 12px;
}

/* Application cards */

#yj-building .yj-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

#yj-building .yj-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: #fff;
  text-align: center;
}

#yj-building .yj-card h3 {
  margin-bottom: 7px;
}

#yj-building .yj-card p {
  margin-bottom: 2px;
  font-size: 14px;
  line-height: 1.7;
}

#yj-building .yj-small {
  color: #777 !important;
  font-size: 12px !important;
}

#yj-building .yj-status {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 9px;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #555;
  font-size: 12px;
  line-height: 1.7;
}

#yj-building .yj-status-tested {
  border-color: #ccc;
  color: #333;
}

/* General information cards */

#yj-building .yj-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

#yj-building .yj-info-card {
  min-width: 0;
  padding: 18px 14px;
  border: 1px solid #dedede;
  border-radius: 7px;
  text-align: center;
}

#yj-building .yj-info-card h3 {
  margin-bottom: 7px;
  font-size: 16px;
}

#yj-building .yj-info-card p {
  margin-bottom: 0;
  font-size: 14px;
}

#yj-building .yj-icon {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: #333;
}

#yj-building .yj-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Five-step horizontal workflow */

#yj-building .yj-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

#yj-building .yj-process-step {
  min-width: 0;
  padding: 0 4px;
  text-align: center;
}

#yj-building .yj-process-icon {
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #f2f2f2;
  color: #222;
}

#yj-building .yj-process-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#yj-building .yj-process-number {
  margin-bottom: 7px;
  color: #777;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

#yj-building .yj-process-title {
  margin-bottom: 5px;
  color: #222;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

#yj-building .yj-process-desc {
  margin-bottom: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.45;
}

/* Material-specific routes */

#yj-building .yj-route {
  padding: 18px;
  margin-top: 20px;
  border: 1px solid #dedede;
  border-radius: 7px;
  background: #fff;
}

#yj-building .yj-route h3 {
  margin-bottom: 12px;
}

#yj-building .yj-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

#yj-building .yj-route-step {
  min-width: 0;
  padding: 8px 4px;
  text-align: center;
}

#yj-building .yj-route-step span {
  display: block;
  margin-bottom: 4px;
  color: #888;
  font-size: 11px;
  letter-spacing: .5px;
}

#yj-building .yj-route-step strong {
  display: block;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

/* Test specifications */

#yj-building .yj-specs {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  text-align: left;
}

#yj-building .yj-specs th,
#yj-building .yj-specs td {
  padding: 12px 15px;
  border: 1px solid #e1e1e1;
  vertical-align: top;
}

#yj-building .yj-specs th {
  width: 36%;
  background: #fafafa;
  color: #333;
  font-weight: 600;
}

#yj-building .yj-specs td {
  color: #555;
}

/* CTA */

#yj-building .yj-cta {
  padding: 28px 18px;
  border: 1px solid #dedede;
  border-radius: 7px;
  text-align: center;
}

#yj-building .yj-button {
  display: inline-block;
  padding: 9px 24px;
  border: 1px solid #333;
  border-radius: 3px;
  color: #222 !important;
  background: #fff;
  text-decoration: none;
  transition: background .2s, color .2s;
}

#yj-building .yj-button:hover {
  background: #222;
  color: #fff !important;
}

/* FAQ */

#yj-building .yj-faq {
  border-top: 1px solid #ddd;
}

#yj-building .yj-faq-item {
  border-bottom: 1px solid #ddd;
}

#yj-building .yj-faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 2px;
  border: 0;
  background: #fff;
  color: #222;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}

#yj-building .yj-faq-symbol {
  flex: 0 0 22px;
  font-size: 21px;
  font-weight: 400;
  text-align: center;
}

#yj-building .yj-faq-answer {
  display: none;
  padding: 0 26px 16px 2px;
}

#yj-building .yj-faq-item.yj-open .yj-faq-answer {
  display: block;
}

#yj-building .yj-faq-answer p {
  margin-bottom: 0;
  font-size: 14px;
}

/* Responsive */

@media (min-width: 900px) {
  #yj-building .yj-applications {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #yj-building .yj-materials {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  #yj-building {
    padding: 12px 12px 30px;
    font-size: 14px;
  }

  #yj-building h1 {
    font-size: 28px;
  }

  #yj-building h2 {
    font-size: 22px;
  }

  #yj-building .yj-section {
    padding: 30px 0;
  }

  #yj-building .yj-grid,
  #yj-building .yj-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #yj-building .yj-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 8px;
  }

  #yj-building .yj-process-step:last-child {
    grid-column: 1 / -1;
  }

  #yj-building .yj-card {
    padding: 8px;
  }

  #yj-building .yj-card h3 {
    font-size: 15px;
  }

  #yj-building .yj-route {
    padding: 12px 8px;
  }

  #yj-building .yj-route-grid {
    gap: 5px;
  }

  #yj-building .yj-route-step strong {
    font-size: 12px;
  }

  #yj-building .yj-specs th,
  #yj-building .yj-specs td {
    padding: 9px 8px;
    font-size: 13px;
  }

  #yj-building .yj-wide-image {
    aspect-ratio: 4 / 3;
  }
}

/* 仅去掉指定板块上方的横线，其他样式保持不变 */
#yj-building > .yj-section:nth-of-type(2),
#yj-building > .yj-section:nth-of-type(4),
#yj-building > .yj-section:nth-of-type(6),
#yj-building > .yj-section:nth-of-type(7),
#yj-building > .yj-section:nth-of-type(8),
#yj-building > .yj-section:nth-of-type(9),
#yj-building > .yj-section:nth-of-type(10) {
  border-bottom: none;
}

