
/* 公共字体和背景色 */
body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  background-color: #f7f9fb;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* 容器统一最大宽度及居中 */
.container {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 30px 20px;
  background-color: #f7f9fb;
  border-radius: 12px;
}

/* 通用标题 */
.container h2 {
  font-size: 26px;
  color: #2a5c8a;
  margin-bottom: 20px;
  text-align: left;
}

/* About ShanTec */
.about-shantec {
  position: relative;
  padding-bottom: 20px;
}
.about-flex {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.about-logo {
  width: 220px;
  flex-shrink: 0;
}
.about-text {
  flex: 1;
  min-width: 0;
  font-size: 17px;
}
.about-text p {
  margin-bottom: 14px;
}
.about-text p:last-child {
  font-weight: bold;
  color: #2a5c8a;
  margin-bottom: 0;
}
.about-cert {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 180px;
  max-width: 40%;
  z-index: 2;
}

/* Why Choose ShanTec */
.why-shantec ol {
  padding-left: 20px;
  font-size: 17px;
  margin: 0;
  list-style-position: inside;
}
.why-shantec ol li {
  margin-bottom: 16px;
}

/* Production Process */
.production-process .process-content {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.process-text {
  flex: 1;
  min-width: 260px;
}
.process-text ol {
  padding-left: 20px;
  font-size: 17px;
  margin: 0;
  list-style-position: inside;
}
.process-text ol li {
  margin-bottom: 14px;
}
.process-image {
  flex: 1;
  min-width: 260px;
  max-width: 460px;
}
.process-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Workshop Showcase */
.workshop-showcase .workshop-description {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 800px;
}
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.1);
  overflow: hidden;
  cursor: pointer;
  flex: 1 1 calc(25% - 15px);
  max-width: calc(25% - 15px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 15px rgb(0 0 0 / 0.15);
}

/* Video Showcase */
.video-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
}
.video-box {
  flex: 1 1 48%;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.video-box video {
  width: 100%;
  height: auto;
  display: block;
  background-color: #000;
}
.video-caption {
  padding: 8px 10px;
  font-size: 15px;
  color: #555;
  background-color: #f0f2f5;
}

/* 响应式 */
@media (max-width: 768px) {
  .about-flex, .process-content {
    flex-direction: column;
  }
  .about-text, .process-text {
    font-size: 15px;
  }
  .about-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .about-cert {
    position: relative;
    margin-top: 20px;
    width: 120px;
    max-width: 100%;
  }
  .why-shantec ol, .process-text ol {
    font-size: 15px;
  }
  .card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .card img {
    height: 160px;
  }
  .video-box {
    flex: 1 1 100%;
  }
}
