/* ============================================
   宗德集团 - 主样式表
   ============================================ */

/* ---------- 字体：思源宋体（子集化 woff2） ---------- */
@font-face {
  font-family: "思源宋体";
  src: url("../fonts/SourceHanSerifCN-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "思源宋体";
  src: url("../fonts/SourceHanSerifCN-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  background: #fff;
  overflow-x: hidden;
}

/* 首页整页使用思源宋体 */
body.home {
  font-family: "思源宋体", "Source Han Serif CN", serif;
}

/* 导航 + 页脚：所有页面使用思源宋体 */
.navbar, .footer {
  font-family: "思源宋体", "Source Han Serif CN", serif;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Container ---------- */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

/* ---------- Section Title ---------- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .en-title {
  font-size: 12px;
  letter-spacing: 6px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header .cn-title {
  font-size: 38px;
  color: #1a3c2a;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.section-header .subtitle {
  font-size: 14px;
  color: #888;
  /* max-width: 600px; */
  margin: 0 auto;
  line-height: 1.8;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo .logo-full-img {
  height: 42px;
  width: auto;
  display: block;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  /* font-size: 14px; */
  color: #1d3d32;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #1a3c2a;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #1a3c2a;
}

/* 二级导航箭头 */
.nav-menu .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #999;
  vertical-align: middle;
  transition: transform 0.3s, border-color 0.3s;
}

.nav-menu .has-dropdown:hover > a::after {
  transform: rotate(180deg);
  border-top-color: #1a3c2a;
}

/* 下拉菜单 */
.nav-menu .has-dropdown {
  position: relative;
}

.nav-menu .dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 100;
}

.nav-menu .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
}

.nav-menu .dropdown li a {
  display: block;
  padding: 10px 24px;
  /* font-size: 13px; */
  color: #1d3d32;
  line-height: 1.6;
  white-space: nowrap;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

.nav-menu .dropdown li a::after {
  display: none !important;
}

.nav-menu .dropdown li a:hover {
  color: #1a3c2a;
  background: #f0f5f1;
}

.nav-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border: 1.2px solid #1d3d32;
  border-radius: 50%;
  cursor: pointer;
  color: #1d3d32;
  transition: background 0.3s, border-color 0.3s;
}

.nav-search:hover {
  background: #f0f5f1;
  border-color: #1a3c2a;
}

.nav-search svg {
  width: 14px;
  height: 14px;
}

/* ---------- 搜索面板 ---------- */
.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 999;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-overlay-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
}

.search-input {
  flex: 1;
  height: 42px;
  border: 1.5px solid #d0d8d4;
  border-radius: 21px;
  padding: 0 20px;
  /* font-size: 14px; */
  font-family: inherit;
  color: #1d3d32;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input::placeholder {
  color: #aaa;
}

.search-input:focus {
  border-color: #1a3c2a;
  box-shadow: 0 0 0 3px rgba(26, 60, 42, 0.08);
}

.search-submit {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #1a3c2a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.15s;
  flex-shrink: 0;
}

.search-submit:hover {
  background: #2a5a3e;
}

.search-submit:active {
  transform: scale(0.93);
}

.search-submit svg {
  width: 18px;
  height: 18px;
}

.search-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.3s, background 0.3s;
  flex-shrink: 0;
}

.search-close:hover {
  color: #1d3d32;
  background: #f0f5f1;
}

.search-close svg {
  width: 16px;
  height: 16px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a3c2a;
  transition: all 0.3s;
}

/* ---------- Hero Banner ---------- */
.hero-banner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  margin-top: 70px;
}

/* 登录后管理工具栏偏移修正 */
.admin-bar .navbar {
  top: 32px;
}

/* 轮播幻灯片容器 */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* 轮播指示器 */
.hero-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-slide-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  cursor: pointer;
  text-decoration: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2d5a3d 0%, #3a7a4e 30%, #4a9a5e 60%, #2d6a3d 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content .hero-title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 12px;
  line-height: 1.4;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  font-family: "STKaiti", "KaiTi", "SimSun", serif;
}

.hero-content .hero-title span {
  display: block;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: #1a3c2a;
  padding: 30px 0;
}

.stats-bar .container {
  display: flex;
  align-items: center;
  height: 80px;
}

.stat-item {
  flex: 1;
  text-align: center;
  color: #fff;
}

/* 行容器：桌面端透明，移动端承载2×2布局 */
.stat-row {
  display: contents;
}

.stat-item .stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #d4a843;
  line-height: 1.2;
}

.stat-item .stat-number sup {
  font-size: 18px;
  font-weight: 400;
}

.stat-item .stat-unit {
  font-size: 24px;
  font-weight: 700;
  margin-left: 4px;
}

.stat-item .stat-label {
  /* font-size: 13px; */
  color: #d4a843;
  margin-top: 4px;
  letter-spacing: 2px;
}

.stat-divider {
  width: 2px;
  height: 100%;
  flex-shrink: 0;
  object-fit: contain;
}

/* ---------- About Section ---------- */
.about-section {
  background: #fff;
  padding: 80px 0 148px;
}

.about-content {
  display: flex;
  gap: 30px;
  align-items: flex-end;
}

.about-text {
  flex: 1;
  margin-bottom: -68px;
}

.about-image {
  flex: 0 0 540px;
  margin-left: 10px;
  margin-bottom: 5px;
  border-radius: 8px;
  overflow: hidden;
  background: #e8e8e8;
  position: relative;
}

.about-text .about-label {
  /* font-size: 12px; */
  color: #76a219;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-text .about-label::before {
  content: '';
  display: block;
  width: 3px;
  height: 22px;
  background: #76a219;
}

.about-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a3c2a;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.about-text p {
  font-size: 16px;
  color: #666;
  line-height: 2;
  margin-bottom: 8px;
}

.about-stats {
  display: flex;
  gap: 0;
  margin-top: 30px;
  background: #358d4e;
  border-radius: 8px;
}

.about-stat-card {
  flex: 1;
  color: #fff;
  padding: 20px 28px;
  text-align: center;
  position: relative;
}

.about-stat-card:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: #c1c1c1;
}

.about-stat-card .num {
  font-size: 28px;
  font-weight: 700;
  color: #d4a843;
}

.about-stat-card .num sup {
  /* font-size: 14px; */
}

.about-stat-card .label {
  /* font-size: 12px; */
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  background: #e8e8e8;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
  font-family: "STKaiti", "KaiTi", serif;
  letter-spacing: 8px;
}

.about-more-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 28px;
  background: #eeb61f;
  color: #fff;
  border-radius: 5px;
  letter-spacing: 2px;
  transition: background 0.3s;
}

/* 移动端按钮默认隐藏，桌面端显示 */
.about-more-mobile {
  display: none;
}

.about-more-btn:hover {
  background: #d4a843;
}

/* ---------- Brand Culture ---------- */
.brand-culture {
  background: #f7f8f6;
  padding: 80px 0;
  position: relative;
}

.brand-culture .section-header {
  width: 60%;
  margin: 0 auto;
  margin-bottom: 20px;
  background: url("../images/brand-culture-bg.png") no-repeat center center;
  background-size: 100% auto;
  padding: 40px 0;
  min-height: 169px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-culture .section-header .en-title {
  color: #76a219;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.brand-culture .section-header .en-title::before,
.brand-culture .section-header .en-title::after {
  content: '';
  width: 40px;
  height: 1px;
  background: #76a219;
}

.brand-culture .section-header .cn-title {
  position: relative;
  z-index: 1;
  color: #333;
  font-size: 38px;
  font-weight: 700;
}

.brand-culture .section-header .subtitle {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: #333;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.brand-card {
  background: #4a8c5c;
  border-radius: 8px;
  padding: 28px 16px;
  text-align: center;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(74, 140, 92, 0.3);
}

.brand-card .card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card .card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-card .card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
}

.brand-card > div:last-child {
  color: #000;
  font-size: 14px;
}

/* ---------- Core Business (Accordion) ---------- */
.core-business {
  background: #1d3d32;
  padding: 80px 0;
}

.core-business .section-header .en-title {
  color: #76a219;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.core-business .section-header .en-title::before,
.core-business .section-header .en-title::after {
  content: '';
  width: 40px;
  height: 1px;
  background: #76a219;
}

.core-business .section-header .cn-title {
  color: #fff;
}

.core-business .section-header .subtitle {
  color: #76a219;
}

.accordion-container {
  display: flex;
  gap: 30px;
  height: 490px;
}

.accordion-item {
  flex: 1;
  display: flex;
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0;
}

.accordion-item.active {
  flex: 4;
  cursor: default;
}

/* 左侧图片Tab */
.acc-left {
  flex-shrink: 0;
  width: 177px;
  overflow: visible;
  transition: none;
}

.accordion-item.active .acc-left {
  width: 177px;
  overflow: visible;
}

.acc-tab-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.accordion-item.active .acc-tab-img {
  object-fit: contain;
}

.accordion-item:hover .acc-tab-img {
  transform: none;
}

/* 右侧内容区 */
.acc-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  max-width: 0;
  transition: opacity 0.4s 0.1s, max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .acc-right {
  opacity: 1;
  max-width: 800px;
}

.acc-content {
  flex: 1;
  padding: 30px 0 30px 30px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 2;
  overflow: hidden;
}

.acc-content p {
  margin-bottom: 8px;
}

.acc-link {
  display: inline-block;
  color: #d4a843;
  font-size: 13px;
  transition: color 0.3s;
}

.acc-link:hover {
  color: #fff;
}

.acc-image {
  margin-left: 30px;
  overflow: hidden;
  background: #2d5a3d;
  width: 489px;
  height: 273px;
}

.acc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 移动端切换按钮：桌面端隐藏 */
.business-mobile-tabs {
  display: none;
}

/* ---------- Recommended Products ---------- */
.recommended-products {
  background: #fff;
  padding: 80px 0;
}

.recommended-products .section-header .en-title {
  color: #76a219;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.recommended-products .section-header .en-title::before,
.recommended-products .section-header .en-title::after {
  content: '';
  width: 40px;
  height: 1px;
  background: #76a219;
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.product-tab {
  padding: 8px 24px;
  /* font-size: 14px; */
  color: #358d4e;
  border: 1px solid #9dbc8c;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
  font-family: "Source Han Serif SC", "思源宋体", "Noto Serif CJK SC", "SimSun", serif;
}

.product-tab:hover {
  border-color: #4a8c5c;
  color: #4a8c5c;
}

.product-tab.active {
  background: #4a8c5c;
  color: #f6e4c0;
  border-color: #4a8c5c;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-panel {
  display: none;
}

.product-panel.active {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-card .card-img {
  height: 180px;
  background: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.product-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card .card-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.product-card .card-img .img-placeholder.beef {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.product-card .card-img .img-placeholder.lamb {
  background: linear-gradient(135deg, #d4756b, #e8917a);
}

.product-card .card-img .img-placeholder.processed {
  background: linear-gradient(135deg, #8e6a4a, #a8845e);
}

.product-card .card-img .img-placeholder.chengtian {
  background: linear-gradient(135deg, #c0392b, #d4463a);
}

.product-card .card-body {
  padding: 16px;
  background: #358d4e;
  color: #fff;
}

.product-card .card-body .product-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
}

.product-card .card-body .product-desc {
  font-size: 14px;
  color: #004b15;
  margin-bottom: 12px;
}

.product-card .card-body .product-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #86f1a5;
  transition: color 0.3s;
}

.product-card .card-body .product-link img {
  margin-left: auto;
}

.product-card .card-body .product-link:hover {
  color: #fff;
}

.products-more-btn {
  display: block;
  width: 140px;
  margin: 40px auto 0;
  padding: 12px 0;
  text-align: center;
  background: #eeb61f;
  color: #fff;
  /* font-size: 14px; */
  border-radius: 6px;
  letter-spacing: 2px;
  font-family: "Source Han Serif SC", "思源宋体", "Noto Serif CJK SC", "SimSun", serif;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.products-more-btn:hover {
  background: #b8922e;
}

/* ---------- Technology & Quality ---------- */
.tech-quality {
  background: #f7f8f6;
  padding: 80px 0;
}

.tech-quality .section-header .en-title {
  color: #76a219;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.tech-quality .section-header .en-title::before,
.tech-quality .section-header .en-title::after {
  content: '';
  width: 40px;
  height: 1px;
  background: #76a219;
}

.partners .section-header .en-title {
  color: #76a219;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.partners .section-header .en-title::before,
.partners .section-header .en-title::after {
  content: '';
  width: 40px;
  height: 1px;
  background: #76a219;
}

.tech-content {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.tech-image {
  flex: 1;
  height: 330px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a3c6a, #2a5a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tech-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.tech-image-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a3c6a 0%, #2a5a8a 50%, #1a4a7a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  /* font-size: 14px; */
  letter-spacing: 2px;
}

.tech-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 330px;
}

.tech-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #c5c5c5;
  transition: border-color 0.3s;
  flex: 1;
}

.tech-list-item:hover {
  border-color: #358d4e;
}

.tech-list-item .item-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-list-item .item-icon img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.tech-list-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: #358d4e;
  flex-shrink: 0;
}

.tech-list-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  flex: 1;
}

.tech-list-item .item-arrow {
  color: #999;
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
  margin-left: auto;
}

/* ---------- News Center ---------- */
.news-center {
  background: #0a6345;
  padding: 80px 0;
}

.news-center .section-header .en-title {
  color: #76a219;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-center .section-header .en-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 22px;
  background: #76a219;
}

.news-center .section-header .cn-title {
  color: #fff;
}

.news-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.news-header-row .section-header {
  text-align: left;
  margin-bottom: 0;
}

.news-tabs {
  display: flex;
  gap: 8px;
  align-self: flex-end;
}

.news-tab {
  padding: 8px 24px;
  font-size: 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  background: #358d4e;
  font-family: "Source Han Serif SC", "思源宋体", "Noto Serif CJK SC", "SimSun", serif;
}

.news-tab:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.news-tab.active {
  background: #d4a843;
  color: #fff;
  border-color: #d4a843;
}

.news-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.news-featured {
  flex: 0 0 calc(50% - 20px);
  min-width: 0;
  overflow: hidden;
}

.news-featured-img {
  width: 100%;
  min-height: 333px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  font-family: "STKaiti", "KaiTi", serif;
  letter-spacing: 6px;
  margin-bottom: 16px;
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.news-featured-title {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 8px;
  max-height: 64px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.news-featured-datetime {
  color: #838383;
  font-size: 14px;
  margin-bottom: 8px;
}

.news-featured-desc {
  color: #838383;
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-list {
  flex: 0 0 calc(50% - 20px);
  position: relative;
  padding-bottom: 50px;
  overflow: hidden;
}

.news-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.news-list-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-list-item .item-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  margin-right: 16px;
}

.news-list-item .item-title {
  font-size: 16px;
  font-weight: 700;
  color: #2d2d2d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 6px;
}

.news-list-item .item-desc {
  font-size: 12px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list-item .item-date {
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
  align-self: flex-start;
}

.news-panel {
  display: none;
}

.news-panel.active {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  overflow: hidden;
}

.news-more-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 170px;
  height: 54px;
  padding: 0;
  line-height: 54px;
  text-align: center;
  background: #d4a843;
  color: #fff;
  border-radius: 6px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.3s;
  border: none;
  font-size: 16px;
  font-family: "Source Han Serif SC", "思源宋体", "Noto Serif CJK SC", "SimSun", serif;
}

.news-more-btn:hover {
  background: #b8922e;
}

/* ---------- Partners ---------- */
.partners {
  background: #fff;
  padding: 80px 0;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.partner-card {
  height: 80px;
  background: #eeb61f;
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.partner-card .partner-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.partner-card .partner-desc {
  font-size: 14px;
  color: #692a00;
}

/* ---------- Contact ---------- */
.contact-section {
  background: #1a3c2a;
  padding: 80px 0 60px;
}

.contact-section .section-header .en-title {
  color: #76a219;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.contact-section .section-header .en-title::before,
.contact-section .section-header .en-title::after {
  content: '';
  width: 40px;
  height: 1px;
  background: #76a219;
}

.contact-section .section-header .cn-title {
  color: #fff;
}

.contact-section .section-header .subtitle {
  color: #76a219;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.contact-col h4 {
  font-size: 18px;
  color: #eeb61f;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid #76a219;
}

.contact-col ul li {
  /* font-size: 13px; */
  color: #e9d08c;
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

.contact-info .info-item:last-child {
  border-bottom: none;
}

.contact-info .info-icon {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-info .info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info .info-label {
  font-size: 14px;
  color: #60891f;
  font-weight: 700;
}

.contact-info .info-value {
  font-size: 13px;
  color: #e9d08c;
}

.contact-col ul li a {
  color: #b6ab75;
  transition: color 0.3s;
}

.contact-col ul li a:hover {
  color: #d4a843;
}

.contact-form .form-group {
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(107, 154, 154, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #fff;
  /* font-size: 13px; */
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d4a843;
}

.contact-form textarea {
  height: 80px;
  resize: none;
}

.contact-form .submit-btn {
  width: 100%;
  padding: 10px;
  background: #eeb61f;
  color: #fff;
  border: none;
  border-radius: 4px;
  /* font-size: 14px; */
  cursor: pointer;
  letter-spacing: 2px;
  transition: background 0.3s;
  font-family: "Source Han Serif SC", "思源宋体", "Noto Serif CJK SC", "SimSun", serif;
}

.contact-form .submit-btn:hover {
  background: #d4a017;
}

/* ========== 文章详情页 (single.php) ========== */
/* ========== 内页 Banner (page-banner) ========== */
.page-banner {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  margin-top: 70px;
}

/* 小于1024px时banner高度180px（针对iPad横竖屏） */
@media (max-width: 1024px) {
  .page-banner {
    height: 180px;
  }
}

.page-banner-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.article-page {
  padding: 50px 0 60px;
  background: #fff;
  min-height: 60vh;
}

.article-breadcrumb {
  font-size: 13px;
  color: #bbb;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.article-breadcrumb a {
  color: #999;
  text-decoration: none;
}

.article-breadcrumb a:hover {
  color: #1a3c2a;
}

.article-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a3c2a;
  line-height: 1.5;
  margin: 0 0 16px;
  letter-spacing: 1px;
  text-align: center;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  color: #999;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.article-cover {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 8px;
}

.article-content {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.article-content p {
  margin: 0 0 20px;
  text-indent: 2em;
}

.article-content img {
  max-width: 80%;
  height: auto;
  border-radius: 0;
  display: block;
  margin: 24px auto;
}

/* 移动端图片宽度100% */
@media (max-width: 768px) {
  .article-content img {
    max-width: 100%;
    margin: 16px auto;
  }
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: #1a3c2a;
  margin: 32px 0 16px;
  font-weight: 700;
}

.article-content h2 { font-size: 22px; }
.article-content h3 { font-size: 18px; }
.article-content h4 { font-size: 16px; }

.article-content ul,
.article-content ol {
  margin: 0 0 20px 24px;
}

.article-content blockquote {
  border-left: 3px solid #4a90d9;
  padding: 12px 20px;
  margin: 20px 0;
  background: #f9f9f9;
  color: #666;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #eee;
  font-size: 14px;
}

.article-nav a {
  color: #1a3c2a;
  text-decoration: none;
  transition: color 0.2s;
}

.article-nav a:hover {
  color: #4a90d9;
}

/* 响应式 */
@media (max-width: 768px) {
  .article-title {
    font-size: 22px;
  }
  .article-nav {
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
  }
  .article-nav .nav-prev {
    text-align: left;
    flex: 1;
  }
  .article-nav .nav-next {
    text-align: right;
    flex: 1;
  }
}

/* ========== 分类列表页 (category.php) ========== */
.category-page {
  padding: 50px 0 60px;
  background: #fff;
  min-height: 60vh;
}

.category-breadcrumb {
  font-size: 13px;
  color: #bbb;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.category-breadcrumb a {
  color: #999;
  text-decoration: none;
}

.category-breadcrumb a:hover {
  color: #1a3c2a;
}

.category-breadcrumb span {
  color: #bbb;
}

.article-list-item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.item-dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4a90d9;
  margin-right: 14px;
}

.item-title {
  flex: 1;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-title:hover {
  color: #4a90d9;
}

.item-date {
  flex-shrink: 0;
  font-size: 13px;
  color: #ccc;
  margin-left: 20px;
}

.no-posts {
  text-align: center;
  padding: 60px 0;
  color: #999;
  font-size: 16px;
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 10px;
  background: transparent;
}

.pagination-total {
  font-size: 13px;
  color: #999;
}

.pagination {
  background: transparent;
}

.pagination ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: none;
  border-radius: 4px;
  background: #f5f5f5;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}

.pagination .page-numbers.current {
  background: #4a90d9;
  color: #fff;
}

.pagination .page-numbers:hover:not(.current) {
  background: #eee;
  color: #333;
}

/* 响应式 */
@media (max-width: 768px) {
  .article-list-item {
    flex-wrap: wrap;
  }
  .item-title {
    white-space: normal;
  }
  .item-date {
    width: 100%;
    margin-left: 19px;
    margin-top: 4px;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: #0f0a06;
  padding: 20px 0;
  text-align: center;
}

.footer p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

/* ---------- Responsive: Tablet ---------- */
@media (max-width: 1024px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid .contact-col:last-child {
    grid-column: 1 / -1;
  }

  .stats-bar .container {
    gap: 40px;
  }

  .about-content {
    gap: 40px;
  }

  .about-image {
    flex: 0 0 calc(50% - 20px);
  }

  .tech-content {
    gap: 40px;
  }

  .tech-image {
    flex: 0 0 320px;
  }

  /* 移动端菜单面板 */
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
  }

  /* 遮罩层 */
  body.mobile-nav-overlay::after {
    content: '';
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.3);
    z-index: 998;
    pointer-events: auto;
  }

  /* 一级菜单项 */
  .nav-menu > li > a {
    display: block;
    position: relative;
    padding: 14px 20px;
    font-size: 17px;
    color: #1d3d32;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s, color 0.2s;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-menu > li > a:hover {
    background: #f7f8f6;
    color: #1a3c2a;
  }

  .nav-menu > li > a:active {
    background: transparent;
    color: inherit;
  }

  /* 移动端下拉箭头 */
  .nav-menu .has-dropdown > a::after {
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -3px;
    transition: transform 0.3s;
  }

  .nav-menu .has-dropdown.open > a::after {
    transform: rotate(180deg);
  }

  /* 移动端下拉子菜单 */
  .nav-menu .dropdown {
    position: static;
    transform: none !important;
    top: auto;
    left: auto;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    background: #f5f7f6;
    border-radius: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu .has-dropdown.open .dropdown {
    max-height: 400px;
    transform: none;
  }

  .nav-menu .dropdown li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #555;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
  }

  .nav-menu .dropdown li:last-child a {
    border-bottom: none;
  }

  .nav-menu .dropdown li a:hover,
  .nav-menu .dropdown li a:active {
    color: #1a3c2a;
    background: #eef3ef;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-search {
    display: none;
  }
}

/* ---------- Responsive: Mobile ---------- */
@media (max-width: 768px) {
  .hero-banner {
    height: 360px;
  }

  .hero-content .hero-title {
    font-size: 32px;
    letter-spacing: 6px;
  }

  .stats-bar .container {
    flex-wrap: wrap;
    height: auto;
    gap: 0;
    justify-content: center;
  }

  /* 行容器：变为真实flex容器，承载2×2布局 */
  .stat-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid rgba(212, 168, 67, 0.3);
  }

  .stat-row:last-child {
    border-bottom: none;
  }

  .stat-item {
    flex: 0 0 50%;
    width: 50%;
    padding: 16px 0;
  }

  /* 行内第二个条目加左侧竖线 */
  .stat-item ~ .stat-item {
    border-left: 1px solid rgba(212, 168, 67, 0.3);
  }

  .stat-divider {
    display: none;
  }

  .stat-item .stat-number {
    font-size: 28px;
  }

  .about-section {
    padding-bottom: 40px;
  }

  .about-content {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  /* display:contents 让 about-text 对 flex 透明，子元素变为直接 flex 子项 */
  .about-text {
    display: contents;
  }

  /* 移动端布局顺序：标题 → 数据卡片 → 文字 → 图片 → 按钮 */
  .about-text .about-label {
    order: 1;
    margin-bottom: 0;
  }

  .about-text h2 {
    order: 2;
    margin-bottom: 0;
  }

  .about-stats {
    order: 3;
    width: 100%;
    margin-top: 0;
  }

  .about-text p {
    order: 4;
    margin-bottom: 8px;
  }

  .about-text p:last-of-type {
    margin-bottom: 0;
  }

  .about-image {
    order: 5;
    flex: none;
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  /* 移动端：隐藏桌面版按钮，显示移动版按钮 */
  .about-more-desktop {
    display: none;
  }

  .about-more-mobile {
    display: inline-block;
    order: 6;
    position: static;
    margin-top: 0;
    align-self: flex-start;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 核心业务：移动端按钮切换 */
  .business-mobile-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
  }

  .business-mobile-tab {
    flex: 1;
    padding: 10px 8px;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: "Source Han Serif SC", "思源宋体", "Noto Serif CJK SC", "SimSun", serif;
  }

  .business-mobile-tab.active {
    background: #d4a843;
    border-color: #d4a843;
    color: #fff;
  }

  .accordion-container {
    flex-direction: column;
    height: auto;
    gap: 0;
  }

  /* 隐藏非激活项 */
  .accordion-item {
    display: none;
  }

  .accordion-item.active {
    display: block;
  }

  /* 隐藏竖条导航图 */
  .acc-left {
    display: none !important;
  }

  .acc-right {
    max-width: 100% !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .acc-content {
    padding: 0;
  }

  .acc-image {
    flex: none;
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  .acc-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .product-panel.active {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-tabs {
    flex-wrap: wrap;
  }

  .product-tab {
    flex: 0 0 calc(50% - 4px);
  }

  .tech-content {
    flex-direction: column;
  }

  .tech-list {
    height: 330px;
  }

  .tech-image {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 3;
  }

  /* 技术与质量卡片：移动端双行布局 */
  .tech-list-item {
    flex-wrap: wrap;
    row-gap: 8px;
    align-items: flex-start;
    padding: 8px 14px;
  }

  .tech-list-item p {
    flex: 0 0 100%;
    order: 3;
  }

  .tech-list-item .item-arrow {
    order: 2;
  }

  .news-content,
  .news-panel.active {
    flex-direction: column;
  }

  .news-featured {
    flex: none;
    width: 100%;
    display: flex;
    gap: 12px;
  }

  .news-featured-img {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    min-height: 0;
    margin-bottom: 0;
  }

  .news-featured-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .news-featured-link {
    display: none !important;
  }

  /* 新闻列表：移动端简洁列表式 */
  .news-list {
    flex: none;
    width: 100%;
    padding-bottom: 0;
  }

  .news-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    background: none;
    border-radius: 0;
    padding: 14px 0;
    margin-bottom: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
  }

  .news-list-item:last-child {
    border-bottom: none;
  }

  .news-list-item .item-text {
    flex: 1;
    margin-right: 12px;
    min-width: 0;
  }

  .news-list-item .item-title {
    font-size: 15px;
    margin-bottom: 0;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  .news-list-item .item-desc {
    display: none;
  }

  .news-list-item .item-date {
    width: auto;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    align-self: center;
    flex-shrink: 0;
  }

  .news-more-btn {
    position: static;
    display: block;
    width: auto;
    height: auto;
    line-height: normal;
    padding: 16px 0 0;
    margin: 0;
    font-size: 14px;
    text-align: center;
    background: none;
    color: #fff !important;
  }

  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid .contact-col:last-child {
    grid-column: 1 / -1;
  }

  .tech-quality .section-header {
    margin-bottom: 20px;
  }

  .section-header .cn-title {
    font-size: 22px;
  }

  .brand-culture .section-header .cn-title {
    font-size: 30px;
  }

  .section-padding {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .hero-indicators {
    bottom: 12px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .product-panel.active {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* 新闻中心：标题和按钮分行显示 */
  .news-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .news-tabs {
    align-self: flex-start;
  }

  .news-tab {
    padding: 8px 14px;
    white-space: nowrap;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid .contact-col:last-child {
    display: block;
  }

  .news-featured-desc {
    display: none !important;
  }

  .hero-content .hero-title {
    font-size: 24px;
    letter-spacing: 4px;
  }

  .stat-item .stat-number {
    font-size: 24px;
  }
}

/* ---------- WordPress 图库组件样式优化 ---------- */
/* 图库容器 */
.article-content .wp-block-gallery {
  margin: 24px auto;
  max-width: 80%;
}

/* 图库图片容器 */
.article-content .wp-block-gallery .wp-block-image {
  border: 2px solid #ccc !important;
  border-radius: 0;
  padding: 5px;
  background: #fff;
  overflow: visible;
}

/* 图库图片 - 完整显示 */
.article-content .wp-block-gallery .wp-block-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  max-width: 100% !important;
  max-height: none !important;
  border-radius: 0;
  margin: 0;
}

/* 图库图片悬停效果 */
.article-content .wp-block-gallery .wp-block-image:hover {
  border-color: #999;
  transition: border-color 0.3s;
}

/* ---------- 图库 Lightbox 样式 ---------- */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  z-index: 1;
  margin: 0 60px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  left: -70px;
  right: -70px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.lightbox-prev:active,
.lightbox-next:active {
  transform: scale(0.95);
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 48px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox-counter {
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-top: 16px;
  letter-spacing: 1px;
}

/* 图库图片添加点击提示 */
.article-content .wp-block-gallery img {
  cursor: pointer;
  transition: opacity 0.3s;
}

.article-content .wp-block-gallery img:hover {
  opacity: 0.85;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .lightbox-content {
    margin: 0 20px;
  }
  
  .lightbox-nav {
    left: -30px;
    right: -30px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .lightbox-close {
    top: -40px;
    font-size: 36px;
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
  
  .lightbox-counter {
    font-size: 12px;
    margin-top: 12px;
  }
}
