/* ============================================================
   DEIF · Premium Deep-Green Theme
   Color: #01461a (primary) / #f5f7f4 (light bg)
   Font rules (fixed px + line-height):
     14px → 2 / 16px → 1.8 / 18px → 1.6 / 20px → 1.4
     24px → 1.2 / 28px → 1.2 / 36px → 1.2 / 42px → 1.2
   ============================================================ */

:root {
  --primary-color: #01461a;
  --primary-dark: #002d10;
  --primary-light: #0a6b2c;
  --accent-color: #c8a45c;       /* 金色点缀，提升高端感 */
  --secondary-color: #0a6b2c;
  --light-bg: #f5f7f4;
  --card-bg: #ffffff;
  --text-color: #1f2a24;
  --text-light: #5a6b60;
  --soft-border: #e3e8e2;
  --shadow-elevation: 0 6px 24px rgba(1, 70, 26, 0.07);
  --shadow-hover: 0 14px 36px rgba(1, 70, 26, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---------- Base ---------- */
body {
  font-family: 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 2;               /* 14px → 2 */
  color: var(--text-color);
  background-color: var(--light-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tag-page-container a {
  text-decoration: none;
  color: var(--primary-light);
  transition: color var(--transition);
}
.tag-page-container a:hover { color: var(--accent-color); }

.tag-page-container {
  max-width: 1430px;
  margin: 0 auto;
  padding: 20px 30px 60px;
}

/* ---------- Inner Banner ---------- */
.inner-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 26px 0;
  margin-bottom: 0;
}
.inner-banner .mbx p { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 2; margin: 0; }
.inner-banner .mbx a { color: #fff; }

/* ---------- HERO ---------- */
.tag-hero-section {
  position: relative;
  padding: 70px 0 50px;
  margin-bottom: 30px;
  background: linear-gradient(180deg, #ffffff 0%, var(--light-bg) 100%);
  border-radius: 0 0 var(--radius) var(--radius);
}
.tag-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.tag-hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 12px;
}
.tag-title {
  font-size: 42px;
  line-height: 1.2;             /* 42px → 1.2 */
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}
.tag-hero-section .hero-section-p {
  font-size: 16px;
  line-height: 1.8;             /* 16px → 1.8 */
  font-weight: 500;
  color: var(--text-light);
  margin: 0 0 26px;
  letter-spacing: 1px;
}
.hero-divider {
  width: 70px;
  height: 3px;
  background: var(--accent-color);
  margin: 0 auto 30px;
  border-radius: 2px;
}

.editor-content-1 {
  font-size: 16px;
  line-height: 1.8;             /* 16px → 1.8 */
  color: var(--text-color);
  padding: 26px 30px;
  background-color: #ffffff;
  border-radius: var(--radius);
  border-left: 5px solid var(--primary-color);
  box-shadow: var(--shadow-elevation);
  text-align: left;
}
.editor-content-1 strong,
.editor-content-1 b { font-weight: 700; color: var(--primary-color); }
.editor-content-1 a { color: var(--primary-light); text-decoration: underline; text-underline-offset: 3px; }
.editor-content-1 p { margin: 0 0 12px; font-size: 16px; line-height: 1.8; }
.editor-content-1 ul,
.editor-content-1 ol { margin: 12px 0; padding-left: 24px; }
.editor-content-1 li { font-size: 16px; line-height: 1.8; margin-bottom: 6px; }

/* ---------- Section headings ---------- */
.pro-text { text-align: center; margin-bottom: 40px; }
.section-heading {
  font-size: 36px;
  line-height: 1.2;             /* 36px → 1.2 */
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}
.section-heading-line {
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  margin: 0 auto;
  border-radius: 2px;
}

/* ---------- Product list ---------- */
.product-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 520px;
}
.product-search-form input[type="text"] {
  flex: 1;
  height: 46px;
  padding: 0 18px;
  border: 1px solid var(--soft-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 2;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff;
}
.product-search-form input[type="text"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(1, 70, 26, 0.1);
}
.product-search-form input[type="submit"] {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--primary-color) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='white' viewBox='0 0 16 16'><path d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/></svg>") center no-repeat;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}
.product-search-form input[type="submit"]:hover { background-color: var(--primary-light); transform: translateY(-1px); }

.product-count { color: var(--text-light); margin: 0; }

.product-content ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}
.product-content li .box {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-elevation);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-content li .box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.product-content li .img {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.product-content li .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.product-content li .box:hover .img img { transform: scale(1.06); }
.product-content li .img .det {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1,70,26,0) 40%, rgba(1,70,26,0.82) 100%);
  color: #fff;
  font-size: 14px;
  line-height: 2;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-content li .box:hover .img .det { opacity: 1; }
.product-content li .text { padding: 18px 20px 22px; flex: 1; }
.product-content li .text h4 {
  font-size: 18px;
  line-height: 1.6;             /* 18px → 1.6 */
  font-weight: 600;
  margin: 0 0 8px;
}
.product-content li .text h4 a { color: var(--text-color); }
.product-content li .text h4 a:hover { color: var(--primary-color); }
.product-content li .text .con {
  font-size: 14px;
  line-height: 2;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Content matrix ---------- */
.content-matrix {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.editor-module {
  font-size: 14px;
  line-height: 2;
  background-color: var(--card-bg);
  padding: 30px 32px;
  border-radius: var(--radius);
  margin-bottom: 30px;
  box-shadow: var(--shadow-elevation);
  border: 1px solid var(--soft-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.editor-module:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ---------- Global heading styles inside det1~det7 ---------- */
.editor-module h1,
.editor-module h2,
.editor-module h3,
.editor-module h4,
.editor-module h5,
.editor-module h6,
.editor-module1 h1,
.editor-module1 h2,
.editor-module1 h3,
.editor-module1 h4,
.editor-module1 h5,
.editor-module1 h6,
.editor-module-service h1,
.editor-module-service h2,
.editor-module-service h3,
.editor-module-service h4,
.editor-module-faq h1,
.editor-module-faq h2,
.editor-module-faq h3,
.editor-module-faq h4,
.more-info h1,
.more-info h2,
.more-info h3,
.more-info h4 {
  color: var(--primary-color);
  font-weight: 700;
  margin-top: 0;
}

/* H1 in modules */
.editor-module h1, .editor-module1 h1, .editor-module-service h1, .editor-module-faq h1, .more-info h1 {
  font-size: 36px; line-height: 1.2; margin-bottom: 18px;
}
/* H2 in modules */
.editor-module h2, .editor-module1 h2, .editor-module-service h2, .editor-module-faq h2, .more-info h2 {
  font-size: 28px; line-height: 1.2;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--soft-border);
  margin-bottom: 22px;
  position: relative;
}
.editor-module h2::after, .editor-module1 h2::after, .editor-module-service h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 60px; height: 2px;
  background: var(--primary-color);
}
/* H3 in modules */
.editor-module h3, .editor-module1 h3, .editor-module-service h3, .editor-module-faq h3, .more-info h3 {
  font-size: 24px; line-height: 1.2;
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 4px solid var(--accent-color);
}
/* H4 in modules (中心标题) */
.editor-module h4, .editor-module1 h4, .editor-module-service h4, .editor-module-faq h4, .more-info h4 {
  font-size: 20px; line-height: 1.4;
  margin-bottom: 12px;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}
.editor-module h4::after, .editor-module1 h4::after, .editor-module-service h4::after, .editor-module-faq h4::after {
  content: '';
  display: block;
  width: 50px; height: 3px;
  background: var(--accent-color);
  margin: 10px auto 0;
  border-radius: 2px;
}
/* H5 / H6 */
.editor-module h5, .editor-module1 h5, .editor-module-service h5, .editor-module-faq h5, .more-info h5 {
  font-size: 18px; line-height: 1.6; margin-bottom: 10px;
}
.editor-module h6, .editor-module1 h6, .editor-module-service h6, .editor-module-faq h6, .more-info h6 {
  font-size: 16px; line-height: 1.8; margin-bottom: 8px;
}

/* ---------- Paragraph / list / strong inside det1~det7 ---------- */
.editor-module p,
.editor-module1 p,
.editor-module-service p,
.editor-module-faq p,
.more-info p,
.info-column1 p {
  font-size: 14px;
  line-height: 2;
  color: var(--text-color);
  margin: 0 0 12px;
}
.editor-module strong, .editor-module1 strong, .editor-module-service strong, .editor-module-faq strong, .more-info strong,
.editor-module b, .editor-module1 b, .editor-module-service b, .editor-module-faq b, .more-info b {
  font-weight: 700;
  color: var(--primary-color);
}
.editor-module em, .editor-module1 em, .editor-module-service em, .editor-module-faq em, .more-info em {
  font-style: italic;
  color: var(--primary-light);
}

/* 通用 ul / li (模块内) */
.editor-module ul,
.editor-module1 ul,
.editor-module-service ul,
.editor-module-faq ul,
.more-info ul,
.info-column1 ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
}
.editor-module ul li,
.editor-module1 ul li,
.editor-module-service ul li,
.more-info ul li,
.info-column1 ul li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 14px;
  line-height: 2;
  border-bottom: 1px dashed var(--soft-border);
  transition: color var(--transition), padding-left var(--transition);
}
.editor-module ul li:last-child,
.editor-module1 ul li:last-child,
.editor-module-service ul li:last-child,
.more-info ul li:last-child { border-bottom: none; }
.editor-module ul li::before,
.editor-module1 ul li::before,
.editor-module-service ul li::before,
.info-column1 ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 20px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  transition: transform var(--transition);
}
.editor-module ul li:hover,
.editor-module1 ul li:hover,
.editor-module-service ul li:hover { color: var(--primary-color); }
.editor-module ul li:hover::before,
.editor-module1 ul li:hover::before,
.editor-module-service ul li:hover::before { transform: scale(1.4); }

/* 有序列表 */
.editor-module ol,
.editor-module1 ol,
.editor-module-service ol,
.more-info ol {
  padding-left: 22px;
  margin: 0 0 16px;
}
.editor-module ol li,
.editor-module1 ol li,
.editor-module-service ol li,
.more-info ol li {
  font-size: 14px;
  line-height: 2;
  padding: 4px 0;
}

/* ---------- det1 (info-column1) table ---------- */
.info-column1 table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(1, 70, 26, 0.06);
}
.info-column1 table th,
.info-column1 table td {
  padding: 12px 16px;
  border: 1px solid var(--soft-border);
  font-size: 14px;
  line-height: 2;
  text-align: left;
}
.info-column1 table th {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  border-color: var(--primary-color);
}
.info-column1 table tbody tr:nth-child(even) { background: #f7faf7; }
.info-column1 table tbody tr:hover { background: rgba(1, 70, 26, 0.04); }
.info-column1 table tbody tr td:first-of-type { font-weight: 600; color: var(--primary-color); }

/* ---------- det2 (editor-module1) 特色卡片列表 ---------- */
.editor-module1 {
  margin: 30px 0;
  font-family: 'Roboto', 'Segoe UI', Tahoma, sans-serif;
}
.editor-module1 h3,
.editor-module1 h4,
.editor-module-faq h4 {
  text-align: center;
  font-size: 24px;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 25px;
  padding-top: 10px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}
.editor-module1 h3::after,
.editor-module1 h4::after,
.editor-module-faq h4::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: var(--accent-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* jinfeng-ul-1 卡片 */
.jinfeng-ul-1 {
  display: flex;
  list-style: none;
  padding: 0 0 30px;
  margin: 0;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.jinfeng-ul-1 li {
  flex: 1 1 auto;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-elevation);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
}
.jinfeng-ul-1 li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-color);
}
.jinfeng-ul-1 li::before {
  content: '★';
  font-size: 26px;
  color: var(--accent-color);
  line-height: 1;
}
.jinfeng-ul-1 li span {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-color);
  font-weight: 600;
}

/* ---------- det4 (service) ---------- */
.editor-module-service h3 {
  color: var(--primary-color);
  font-size: 24px;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--soft-border);
  font-weight: 700;
  text-align: left;
  position: relative;
  padding-left: 0;
  border-left: none;
}
.editor-module-service h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 60px; height: 2px;
  background: var(--primary-color);
}

/* ---------- det5 FAQ ---------- */
.editor-module-faq {
  background: #fff;
  padding: 24px 26px;
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevation);
  margin: 30px auto;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  line-height: 2;
}
.editor-module-faq h3 {
  color: var(--primary-color);
  font-size: 24px;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--soft-border);
  font-weight: 700;
  padding-left: 0;
  border-left: none;
}
.editor-module-faq ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--soft-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.editor-module-faq li {
  padding: 15px 18px;
  font-size: 14px;
  line-height: 2;
  transition: background-color var(--transition);
  border-bottom: 1px solid var(--soft-border);
}
.editor-module-faq li:last-child { border-bottom: none; }
.editor-module-faq li:first-child {
  font-weight: 600;
  cursor: pointer;
  background: #f7faf7;
  color: var(--primary-color);
  position: relative;
  padding-right: 48px;
  user-select: none;
}
.editor-module-faq li:first-child:hover { background: #eef5ef; }
.editor-module-faq li:first-child::after {
  content: '+';
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--primary-color);
  transition: transform var(--transition);
}
.editor-module-faq li:first-child.expanded::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}
.editor-module-faq li:last-child {
  background: #fff;
  color: var(--text-light);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
}
.editor-module-faq li:last-child.active {
  max-height: 600px;
  padding: 15px 18px;
  opacity: 1;
}

/* ---------- more-info (det6 / 推荐链接) ---------- */
.more-info {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--soft-border);
  box-shadow: var(--shadow-elevation);
  padding: 26px 30px;
  margin-top: 40px;
}
.more-info-title,
.more-info h2 {
  color: var(--primary-color);
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--soft-border);
}
.more-info p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 18px;
}
.more-info ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
}
.more-info li { margin: 0; padding: 0; border: none; }
.more-info li::before { display: none; }
.more-info a {
  display: inline-block;
  text-decoration: none;
  color: var(--primary-color);
  background: #eef5ef;
  border: 1px solid var(--soft-border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
}
.more-info a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(1, 70, 26, 0.25);
  transform: translateY(-2px);
}

/* ---------- About section ---------- */
.seo-about .about-eyebrow {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 600;
  margin: 0 0 10px;
}
.seo-about .about-title {
  font-size: 28px;
  line-height: 1.2;
  color: var(--primary-color);
  font-weight: 700;
  margin: 0 0 18px;
}
.seo-about .number-Plus { gap: 30px; }
.seo-about .number-Plus li h4 {
  font-size: 36px;
  line-height: 1.2;
  color: var(--primary-color);
  font-weight: 700;
  margin: 0;
}
.seo-about .number-Plus li h4 span { font-size: 18px; color: var(--accent-color); }
.seo-about .number-Plus li p { font-size: 14px; line-height: 2; color: var(--text-light); margin: 6px 0 0; }

/* ---------- Product form ---------- */
.product-form { background: linear-gradient(135deg, #f0f5f0, #ffffff); border-radius: var(--radius); }
.form-title {
  font-size: 36px;
  line-height: 1.2;
  color: var(--primary-color);
  font-weight: 700;
  text-align: center;
  margin: 0 0 14px;
}
.form-title-line {
  width: 60px; height: 3px;
  background: var(--accent-color);
  margin: 0 auto 30px;
  border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-content ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .content-matrix { grid-template-columns: 1fr; gap: 20px; }
  .tag-title { font-size: 28px; line-height: 1.2; }
  .section-heading { font-size: 24px; line-height: 1.2; }
  .editor-module { margin-bottom: 20px; padding: 22px 20px; }
  .tag-page-container, .inner-banner { padding-left: 15px; padding-right: 15px; }
  .tag-hero-section { padding: 40px 0 30px; }
  .editor-content-1 { padding: 20px 18px; }
  .editor-module h1, .editor-module1 h1, .editor-module-service h1, .editor-module-faq h1, .more-info h1 { font-size: 28px; line-height: 1.2; }
  .editor-module h2, .editor-module1 h2, .editor-module-service h2, .editor-module-faq h2, .more-info h2 { font-size: 24px; line-height: 1.2; }
  .editor-module h3, .editor-module1 h3, .editor-module-service h3, .editor-module-faq h3, .more-info h3 { font-size: 20px; line-height: 1.4; }
  .editor-module h4, .editor-module1 h4, .editor-module-service h4, .editor-module-faq h4, .more-info h4 { font-size: 18px; line-height: 1.6; }
  .seo-about .about-title { font-size: 24px; line-height: 1.2; }
  .seo-about .number-Plus li h4 { font-size: 28px; line-height: 1.2; }
  .form-title { font-size: 24px; line-height: 1.2; }
}
@media (max-width: 768px) {
  .product-content ul { grid-template-columns: 1fr; gap: 20px; }
  .jinfeng-ul-1 { flex-direction: column; gap: 14px; }
  .jinfeng-ul-1 li { width: 100%; min-width: unset; justify-content: flex-start; padding: 16px 18px; }
  .product-search-form { flex-direction: column; max-width: 100%; }
  .product-search-form input[type="text"], .product-search-form input[type="submit"] { width: 100%; }
  .more-info ul { flex-direction: column; align-items: flex-start; }
  .more-info a { white-space: normal; }
  .tag-title { font-size: 24px; line-height: 1.2; }
  .editor-content-1, .editor-content-1 p, .editor-content-1 li { font-size: 14px; line-height: 2; }
  .seo-about .number-Plus { gap: 18px; }
}
/* =============================================
   优化分页样式 (Pager)
   ============================================= */
.m-page {
  display: flex;
  justify-content: center; /* 完美居中 */
  align-items: center;
  margin: 50px 0 20px;
}

/* 兼容大多数 CMS 的默认分页包裹标签 */
.m-page ul,
.m-page .pagination,
.m-page .pager {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* 统一的按钮基础样式（兼容 a 标签、span 标签、li 标签） */
.m-page a,
.m-page span,
.m-page li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color, #333);
  background-color: #ffffff;
  border: 1px solid var(--soft-border, #e3e8e2);
  border-radius: var(--radius-sm, 8px);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* 悬浮效果 */
.m-page a:hover {
  color: #ffffff;
  background-color: var(--primary-light, #0a6b2c);
  border-color: var(--primary-light, #0a6b2c);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 70, 26, 0.2);
}

/* 当前选中页的样式 (假设系统使用的是 active 或 current 类名) */
.m-page .active,
.m-page .current,
.m-page .thisclass,
.m-page li.active a,
.m-page li.current a {
  color: #ffffff;
  background-color: var(--primary-color, #01461a);
  border-color: var(--primary-color, #01461a);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(1, 70, 26, 0.3);
  cursor: default; /* 当前页不可点击 */
  transform: none;
}

/* 禁用状态（如上一页、下一页在最前/最后时） */
.m-page .disabled,
.m-page .prev.disabled,
.m-page .next.disabled {
  color: #c0c0c0;
  background-color: #f5f5f5;
  border-color: #e0e0e0;
  cursor: not-allowed;
  pointer-events: none;
}

/* 针对你截图里的 "12345 > >>" 这种纯文本节点的兼容处理 */
.m-page > a,
.m-page > span {
  margin: 0 4px;
}

/* 手机端适配 */
@media (max-width: 768px) {
  .m-page {
    margin: 30px 0;
  }
  .m-page a,
  .m-page span,
  .m-page li {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 13px;
  }
}
/* =============================================
   核心优势模块 (Our Core Advantages) 修复与自动轮播
   ============================================= */
.advantage-wrapper {
  display: flex;
  flex-wrap: nowrap; /* 强制不换行，确保左右并排 */
  align-items: stretch;
  background-color: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 60px auto;
  max-width: 1430px;
  box-shadow: var(--shadow-elevation);
  border: 1px solid var(--soft-border);
}

/* 左侧文字 */
.advantage-wrapper .adv-content {
  width: 50%;
  padding: 70px 60px;
  box-sizing: border-box;
}

/* 右侧图片容器：设为相对定位，限制溢出 */
.advantage-wrapper .adv-image {
  width: 50%;
  position: relative;
  min-height: 550px; /* 保证足够的高度 */
  overflow: hidden;
}

/* 图片绝对定位，叠在一起 */
.advantage-wrapper .adv-image .slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  transform: scale(1); /* 准备做轻微缩放动画 */
}

/* 幻灯片自动切换动画 (3张图，每张停留3.5秒) */
.advantage-wrapper .adv-image .slide-img:nth-child(1) {
  animation: sliderFade 10.5s infinite 0s;
  z-index: 2;
}
.advantage-wrapper .adv-image .slide-img:nth-child(2) {
  animation: sliderFade 10.5s infinite 3.5s;
}
.advantage-wrapper .adv-image .slide-img:nth-child(3) {
  animation: sliderFade 10.5s infinite 7s;
}

@keyframes sliderFade {
  0%, 33.33% { opacity: 1; z-index: 2; transform: scale(1); }
  33.34%, 100% { opacity: 0; z-index: 1; }
  0% { transform: scale(1.05); } /* 开始轻微缩放 */
  33.33% { transform: scale(1); } /* 结束缩放 */
}

/* 标题样式微调 */
.advantage-wrapper .h-title {
  font-size: 36px;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: 40px;
}
.advantage-wrapper .h-title em {
  font-style: normal;
  color: var(--primary-color);
  font-weight: 700;
}

/* 列表样式优化 */
.advantage-wrapper .list h4 {
  font-size: 18px;
  line-height: 1.6;
  color: var(--primary-color);
  font-weight: 700;
  margin: 0 0 10px 0;
  position: relative;
  padding-left: 15px;
}
.advantage-wrapper .list h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 16px;
  background-color: var(--accent-color);
  border-radius: 2px;
}
.advantage-wrapper .list .con {
  font-size: 14px;
  line-height: 2;
  color: var(--text-light);
}

/* 手机端自适应 (改为上下排列) */
@media (max-width: 900px) {
  .advantage-wrapper {
    flex-direction: column;
    flex-wrap: wrap;
    margin: 40px 15px;
  }
  .advantage-wrapper .adv-content {
    width: 100%;
    padding: 40px 25px;
  }
  .advantage-wrapper .adv-image {
    width: 100%;
    height: 300px;
    min-height: 300px;
  }
  .advantage-wrapper .h-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
}
/* =============================================
   FAQ 手风琴（more-info 区域美化）
   ============================================= */
.faq-accordion-wrap.more-info {
  padding: 30px 34px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--soft-border);
  box-shadow: var(--shadow-elevation);
}

.faq-accordion .faq-item {
  border: 1px solid var(--soft-border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.faq-accordion .faq-item:last-child { margin-bottom: 0; }
.faq-accordion .faq-item.open {
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(1, 70, 26, 0.12);
}

/* 问题按钮（A） */
.faq-accordion .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  margin: 0;
  background: #f7faf7;
  border: none;
  border-left: 4px solid transparent;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 600;
  color: var(--primary-color);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  font-family: inherit;
}
.faq-accordion .faq-question:hover {
  background: #eef5ef;
  border-left-color: var(--accent-color);
}
.faq-accordion .faq-item.open .faq-question {
  background: var(--primary-color);
  color: #fff;
  border-left-color: var(--accent-color);
}

/* 问题前的序号/图标 */
.faq-accordion .faq-question .faq-index {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.faq-accordion .faq-item.open .faq-question .faq-index {
  background: var(--accent-color);
  color: var(--primary-dark);
}

/* 问题文字 */
.faq-accordion .faq-question .faq-qtext { flex: 1; }

/* 右侧 +/- 指示 */
.faq-accordion .faq-question .faq-toggle {
  flex: 0 0 auto;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(1, 70, 26, 0.08);
  transition: background var(--transition), transform var(--transition);
}
.faq-accordion .faq-item.open .faq-question .faq-toggle {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(180deg);
}
.faq-accordion .faq-question .faq-toggle::before,
.faq-accordion .faq-question .faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--primary-color);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: background var(--transition), opacity var(--transition);
}
.faq-accordion .faq-question .faq-toggle::before { width: 12px; height: 2px; }
.faq-accordion .faq-question .faq-toggle::after { width: 2px; height: 12px; }
.faq-accordion .faq-item.open .faq-question .faq-toggle::before,
.faq-accordion .faq-item.open .faq-question .faq-toggle::after { background: #fff; }
.faq-accordion .faq-item.open .faq-question .faq-toggle::after { opacity: 0; }

/* 答案面板 */
.faq-accordion .faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  background: #fff;
}
.faq-accordion .faq-item.open .faq-answer {
  max-height: 800px;
  opacity: 1;
  padding: 18px 22px 20px;
  border-top: 1px solid var(--soft-border);
}
.faq-accordion .faq-answer p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 2;
  color: var(--text-color);
}
.faq-accordion .faq-answer p:last-child { margin-bottom: 0; }
.faq-accordion .faq-answer ul,
.faq-accordion .faq-answer ol {
  margin: 0 0 10px;
  padding-left: 20px;
}
.faq-accordion .faq-answer li {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 6px;
  color: var(--text-color);
}
.faq-accordion .faq-answer a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-accordion .faq-answer a:hover { color: var(--accent-color); }

/* 手机端适配 */
@media (max-width: 768px) {
  .faq-accordion-wrap.more-info { padding: 20px 16px; }
  .faq-accordion .faq-question { padding: 14px 16px; font-size: 15px; }
  .faq-accordion .faq-item.open .faq-answer { padding: 14px 16px 16px; }
  .faq-accordion .faq-question .faq-index { width: 24px; height: 24px; font-size: 12px; }
}
/* =============================================
   修复推荐链接被页脚图片遮挡的问题
   ============================================= */

/* 1. 把页脚的大背景图强制压在底部，绝不允许溢出遮挡上方 */
#footer {
  position: relative;
  z-index: 1;
}
#footer .bg {
  pointer-events: none; /* 让图片不响应鼠标点击，鼠标能直接穿透它点到链接 */
  z-index: 0;
}

/* 2. 把主内容区（包含推荐链接）的层级抬高，并在底部留出空间 */
.tag-page-container {
  position: relative;
  z-index: 2;
  padding-bottom: 120px; /* 留出底部空白，把链接往上顶 */
}

/* 3. 确保推荐链接盒子本身层级安全 */
.more-info {
  position: relative;
  z-index: 3;
}
/* =============================================
   Explore All Products 按钮美化
   ============================================= */
.product-content .more2.m-auto {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 45px auto 20px !important; /* 往下挪一点，并居中 */
  padding: 0 42px;
  height: 52px;
  background-color: var(--primary-color);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 50px; /* 圆角胶囊形状 */
  border: 2px solid var(--primary-color);
  box-shadow: 0 6px 20px rgba(1, 70, 26, 0.2);
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* 鼠标悬浮效果：变白底绿字，并产生轻微上浮和阴影加深 */
.product-content .more2.m-auto:hover {
  background-color: #ffffff;
  color: var(--primary-color) !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(1, 70, 26, 0.28);
}

/* 移除原本可能存在的多余 span 边框干扰 */
.product-content .more2.m-auto span {
  position: relative;
  z-index: 2;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

/* 手机端适配 */
@media (max-width: 768px) {
  .product-content .more2.m-auto {
    margin: 30px auto 15px !important;
    height: 46px;
    padding: 0 32px;
    font-size: 14px;
  }
}
.body-overflow-box {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100%;
  margin: 0 auto;
}
/* 取消 body 的 1920px 宽度上限，让内容按视口宽度铺满，再由内部容器居中 */
body {
  max-width: none !important;
  width: 100%;
  margin: 0 !important;
}
.body-overflow-box {
  max-width: none !important;
  margin: 0 !important;
  width: 100% !important;
}
/* ===== HERO 与 Core Products 铺满整个视口 ===== */
.tag-hero-section,
#index-body {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  box-sizing: border-box;
}

/* 100vw 包含滚动条宽度，可能出现横向滚动条，这里做一下裁剪 */
.body-overflow-box {
  overflow-x: hidden;
  overflow-x: clip;
}
/* ===== 询盘表单铺满整个视口 ===== */
.product-form {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  box-sizing: border-box;
}
/* ===== HERO 左文右图布局 ===== */
.tag-hero-inner {
  max-width: 1200px;   /* 原来是 960px，加宽以容纳两列 */
}

.hero-split {
  display: flex;
  align-items: stretch;
  gap: 40px;
  margin-top: 10px;
  text-align: left;
}

.hero-split .hero-text {
  flex: 1 1 55%;
  min-width: 0;
  margin: 0;
}

.hero-split .hero-image {
  flex: 1 1 45%;
  min-width: 0;
}

.hero-image ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-image li {
  margin: 0;
  padding: 0;
  flex: 1 1 auto;
}

.hero-image a.img,
.hero-image li a {
  display: block;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevation);
}

/* 手机端：图片堆到文字下面 */
@media (max-width: 900px) {
  .hero-split {
    flex-direction: column;
    gap: 24px;
  }
  .hero-image img {
    min-height: 260px;
  }
}
/* ===== 标题下方标签（一行文字） ===== */
.tag-hero-tags {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
}
/* ===== Overview / Material 分节排版（v4，匹配 h4 + deif-p） ===== */
.tag-page-container .editor-content-1 h4 {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin: 0 0 14px;
  padding: 0;
  border: none;
  text-align: left;
}
.tag-page-container .editor-content-1 h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 10px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* 第二个小节上方加分隔线 */
.tag-page-container .editor-content-1 h4:not(:first-child) {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--soft-border);
}

/* 正文段落 */
.tag-page-container .editor-content-1 p.deif-p {
  font-size: 16px;
  line-height: 1.9;
  color: #2d3a33;
  margin: 0 0 14px;
}

/* 每节第一段作为导语，稍大一点 */
.tag-page-container .editor-content-1 h4 + p.deif-p {
  font-size: 17px;
  color: #1f2a24;
}

@media (max-width: 900px) {
  .tag-page-container .editor-content-1 p.deif-p {
    font-size: 15px;
    line-height: 1.8;
  }
  .tag-page-container .editor-content-1 h4 + p.deif-p {
    font-size: 15px;
  }
}
/* ===== 内容矩阵：双列纵向流（v5） ===== */
.tag-page-container .content-matrix {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  width: 100%;
  margin: 20px auto 0;
  box-sizing: border-box;
}

.tag-page-container .matrix-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0;
}

/* 统一卡片外边距，去掉原有的 margin-bottom 和顶部外边距 */
.tag-page-container .matrix-col > .editor-module,
.tag-page-container .matrix-col > .editor-module1,
.tag-page-container .matrix-col > .editor-module-service,
.tag-page-container .matrix-col > .editor-module-faq,
.tag-page-container .matrix-col > .more-info {
  margin: 0 !important;
  min-width: 0;
  box-sizing: border-box;
}

/* 表格、图片不超出栏目 */
.tag-page-container .content-matrix table {
  width: 100% !important;
  max-width: 100%;
  table-layout: fixed;
  overflow-wrap: anywhere;
}
.tag-page-container .content-matrix img {
  max-width: 100%;
  height: auto;
}

/* 手机端：单列，顺序为 Technical → Production → Packaging → Care → Target → FAQ */
@media (max-width: 900px) {
  .tag-page-container .content-matrix {
    grid-template-columns: minmax(0, 1fr);
  }
  .tag-page-container .matrix-col-side {
    display: contents;
  }
  .tag-page-container .matrix-col-main > .info-column1 { order: 1; }
  .tag-page-container .matrix-col-side > .editor-module-service { order: 2; }
  .tag-page-container .matrix-col-main > .editor-module { order: 3; }
  .tag-page-container .matrix-col-side > .editor-module1 { order: 4; }
  .tag-page-container .matrix-col-side > .editor-module { order: 5; }
  .tag-page-container .matrix-col-main > .faq-accordion-wrap { order: 6; }
  .tag-page-container .matrix-col-main,
  .tag-page-container .matrix-col-side {
    display: flex;
  }
  .tag-page-container .matrix-col-main { display: contents; }
}
/* =============================================
   Recommended Links 卡片式重新设计
   ============================================= */
.more-info.rec-links {
  position: relative;
  z-index: 3;
  margin-top: 40px;
  padding: 36px 36px 32px;
  background: #ffffff;
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevation);
}

.rec-links .rec-head {
  margin-bottom: 26px;
}

.rec-links .rec-eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-color);
}

.rec-links .more-info-title {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary-color);
}

/* 网格布局 + 计数器 */
.rec-links .rec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: rec;
}

/* 单张卡片 */
.rec-links .rec-card {
  counter-increment: rec;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 18px 20px;
  background: #f7faf7;
  border: 1px solid var(--soft-border);
  border-radius: var(--radius-sm);
  color: var(--text-color);
  text-decoration: none;
  white-space: normal;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition), background var(--transition);
}

/* 左侧序号 */
.rec-links .rec-card::before {
  content: counter(rec, decimal-leading-zero);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-color);
}

/* 左侧悬停竖条 */
.rec-links .rec-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform var(--transition);
}

/* 标题 */
.rec-links .rec-title {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--primary-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 右侧箭头 */
.rec-links .rec-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--soft-border);
  color: var(--primary-color);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}

/* 悬停效果（选择器权重需高于 .more-info a:hover） */
.rec-links .rec-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: rgba(1, 70, 26, 0.35);
  box-shadow: var(--shadow-hover);
}
.rec-links .rec-card:hover::after {
  transform: scaleY(1);
}
.rec-links .rec-card:hover .rec-arrow {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: translateX(3px);
}

/* 平板：两列 */
@media (max-width: 1100px) {
  .rec-links .rec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 手机：单列 */
@media (max-width: 768px) {
  .more-info.rec-links {
    padding: 24px 18px 22px;
    margin-top: 30px;
  }
  .rec-links .rec-head {
    margin-bottom: 20px;
  }
  .rec-links .more-info-title {
    font-size: 24px;
  }
  .rec-links .rec-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rec-links .rec-card {
    min-height: 72px;
    padding: 14px 16px;
  }
  .rec-links .rec-title {
    font-size: 15px;
  }
}