* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

a {
  text-decoration: none;
  color: #333;
}

ul {
  list-style: none;
}

/* 容器 */
.container {
  width: 100%;
  /* max-width: 1400px; */
  margin: 0 auto;
  /* padding: 0 15px; */
}

/* 头部样式 */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-main {
  width: 100%;
}

/* 第一行布局 */
.header-first-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

/* Logo区域 */
.logo-section {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: 20px;
}

.logo {
  width: 65px;
  height: 60px;
  border-radius: 3px;
  /* object-fit: contain; */
}

.company-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
}

/* 右侧区域 */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* 搜索框 */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  width: 200px;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
}

.search-box input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.search-box button {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box button::after {
  content: "🔍";
  font-size: 14px;
}

/* 语言选择器 */
.language-selector {
  position: relative;
}

.language-dropdown {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.language-btn:hover {
  background: #e9ecef;
}

.language-arrow {
  transition: transform 0.3s;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 0.5rem;
  margin-top: 0.5rem;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 10;
}

.language-dropdown:hover .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 6px;
  transition: all 0.3s;
}

.language-option:hover {
  background: #f8f9fa;
}

/* 第二行导航 */
.header-second-row {
  padding: 0.5rem 0;
  border-top: 1px solid #f0f0f0;
  background: linear-gradient(to bottom, #fcfcfc, #f8f9fa);
}

.desktop-nav {
  display: block;
}

.navbar-nav {
  display: flex;
  gap: 3rem;
  justify-content: center;
  font-size: xx-large;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  color: #333;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #007bff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  background: #f8f9fa;
  color: #007bff;
}

.nav-link:hover:after {
  width: 80%;
}

/* 下拉菜单 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 200px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 10;
}

.dropdown:hover .dropdown-menu,
.dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu .nav-link {
  padding: 0.8rem 1.5rem;
  margin: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.dropdown-menu .nav-link:hover {
  background: #f8f9fa;
  transform: translateX(5px);
}

.dropdown-menu .nav-link:after {
  display: none;
}

/* 手机版导航按钮 */
.mobile-menu-toggle {
  display: none !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #007bff;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: white;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  -webkit-transform: rotate(45deg) translate(5px, 5px);
  -moz-transform: rotate(45deg) translate(5px, 5px);
  -ms-transform: rotate(45deg) translate(5px, 5px);
  -o-transform: rotate(45deg) translate(5px, 5px);
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  -webkit-transform: rotate(-45deg) translate(5px, -5px);
  -moz-transform: rotate(-45deg) translate(5px, -5px);
  -ms-transform: rotate(-45deg) translate(5px, -5px);
  -o-transform: rotate(-45deg) translate(5px, -5px);
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 手机版导航 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-content {
  padding: 2rem 1rem;
}

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s;
}

.mobile-nav-close:hover {
  background: #f0f0f0;
  color: #333;
}

.mobile-navbar-nav {
  margin-top: 2rem;
}

.mobile-nav-item {
  margin-bottom: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s;
}

.mobile-nav-link:hover {
  background: #f8f9fa;
  color: #007bff;
}

.mobile-dropdown-menu {
  display: none;
  padding-left: 1rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
  display: block;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.mobile-sub-link {
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: #666;
}

.mobile-language-selector {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

.mobile-language-title {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
  font-weight: 600;
}

.mobile-language-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-language-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.mobile-language-option:hover {
  background: #f8f9fa;
}

/* 响应式样式 */
@media (max-width: 768px) {
  .header-first-row {
    flex-direction: row-reverse;
    padding: 0.5rem 0;
  }

  .logo-section {
    justify-content: flex-end;
  }

  .company-name {
    font-size: 1.2rem;
  }

  .header-right {
    display: none;
  }

  .header-second-row {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex !important;
    order: -1;
  }
}

@media (max-width: 480px) {
  .header-first-row {
    padding: 0.4rem 0;
  }

  .mobile-nav {
    width: 280px;
  }
}

/* 轮播图组件样式 */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  background: #f8f9fa;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.slide-text {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.slide-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-cta {
  display: inline-block;
  padding: 12px 30px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.slide-cta:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 1);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: white;
}

/* 轮播图响应式设计 */
@media (max-width: 768px) {
  .hero-carousel {
    height: 300px;
  }

  .slide-title {
    font-size: 2rem;
  }

  .slide-description {
    font-size: 1rem;
  }

  .slide-text {
    padding: 20px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }
}

/* 新闻详情页容器样式 */
.news_container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* 新闻详情页响应式设计 */
@media (max-width: 768px) {
  .news_container {
    padding: 15px 10px;
    margin: 10px;
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .news_container {
    padding: 12px 8px;
    margin: 5px;
    border-radius: 4px;
  }
}

/* 面包屑导航样式 */
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb .separator,
.breadcrumb .breadcrumb-separator {
    margin: 0 10px;
    color: #6c757d;
}

.breadcrumb .current {
    color: #495057;
    font-weight: 500;
}

/* ===== 页面样式（从 pages.css 合并） ===== */

/* 页面通用样式 */
.page-container {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    margin-top: 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* 产品网格布局 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-image {
    width: 100%;
    height: 100%;
    /* object-fit: cover;
    transition: transform 0.3s; */
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-content {
    padding: 20px;
}

.product-title {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.product-title a:hover {
    color: #007bff;
}

.product-summary {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-category {
    margin-bottom: 10px;
}

.category {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.product-tags {
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.product-features {
    margin-bottom: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.product-actions {
    text-align: center;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1.5;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* .btn-secondary {
    background: #6c757d;
    color: white;
} */

.btn-secondary:hover {
    background: #545b62;
}

.btn-large {
    padding: 12px 30px;
    font-size: 16px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    color: #007bff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.pagination .current {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination .disabled {
    color: #6c757d;
    cursor: not-allowed;
    background: #f8f9fa;
}

/* 新闻网格布局 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

/* 新闻列表页标题样式 */
.news-list-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    color: #000;
}

.news-list-title a {
    color: #000;
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

.news-list-title a:hover {
    color: #000;
    opacity: 0.8;
}

/* 新闻详情页标题样式 */
.news-detail-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

/* 首页新闻标题样式 */
.homepage-news-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.news-actions {
    margin-top: 15px;
}

.news-actions .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.news-actions .btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #6c757d;
}

.news-summary {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* 产品详情页样式 */
.product-detail {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
}

@media (min-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.product-gallery {
    position: sticky;
    top: 20px;
}

.main-image-container {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: #6c757d;
    font-size: 16px;
}

.image-placeholder i {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #007bff;
    transform: scale(1.05);
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.product-specifications {
    margin: 20px 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.spec-table td {
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
}

.spec-name {
    font-weight: 500;
    color: #495057;
    width: 30%;
}

.spec-value {
    color: #6c757d;
}

.product-description-section {
    padding: 40px;
    border-top: 1px solid #e9ecef;
}

.product-description-section h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.product-description {
    line-height: 1.6;
    color: #495057;
}

/* 导航样式 */
.product-navigation-section,
.news-navigation-section {
    padding: 30px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.product-nav-links,
.news-nav-links {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}

@media (max-width: 768px) {
    .product-nav-links,
    .news-nav-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.new-nav-link {
    display: block;
    padding: 15px 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s;
    text-align: center;
}

.new-nav-link:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.nav-direction {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 5px;
    opacity: 0.8;
}

.nav-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.prev-link {
    text-align: left;
}

.next-link {
    text-align: right;
}

.back-link {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.back-link:hover {
    background: #218838;
    border-color: #1e7e34;
}

/* 新闻详情页样式 */
.news_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-detail {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.news-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #e9ecef;
}


.news-featured-image {
    padding: 0 40px;
    margin-bottom: 30px;
}

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

.news-summary {
    padding: 0 40px;
    margin-bottom: 30px;
    font-size: 16px;
    color: #495057;
    background: #f8f9fa;
    padding: 20px 40px;
    border-left: 4px solid #007bff;
}

.news-footer {
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-info {
    font-size: 13px;
    color: #6c757d;
}

.product-footer {
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.product-meta {
    font-size: 13px;
    color: #6c757d;
    text-align: center;
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #495057;
}

/* 新闻图片占位符 */
.news-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: #f8f9fa;
    color: #6c757d;
}

.placeholder-content {
    text-align: center;
}

.placeholder-content i {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.placeholder-content span {
    font-size: 14px;
}

/* 页面样式响应式设计 */
@media (max-width: 768px) {
    .page-container {
        padding: 0 15px;
    }

    .page-header {
        padding: 30px 20px;
        margin-top: 15px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .product-layout,
    .news-header,
    .news-content,
    .news-summary,
    .news-featured-image,
    .product-description-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .news-footer,
    .product-footer,
    .product-navigation-section,
    .news-navigation-section {
        padding: 20px;
    }

    .news-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* 首页产品展示区域样式 */
.featured-products {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  margin: 60px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  width: 90%;
}

.featured-products .section-header {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease-out;
}

.featured-products .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.featured-products .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #00bcd4);
  border-radius: 2px;
}

.featured-products .section-subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 20px auto 0;
  font-weight: 300;
}

.featured-products .products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 20px;
}

.featured-products .product-item {
  break-inside: avoid;
}

.featured-products .product-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  position: relative;
}

.featured-products .product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #00bcd4);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.featured-products .product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-products .product-card:hover::before {
  transform: scaleX(1);
}

.featured-products .product-image-wrapper {
  /*height: 300px;*/
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.featured-products .product-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-products .product-card:hover .product-image-wrapper::before {
  opacity: 1;
}

/* .featured-products .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
} */

.featured-products .product-card:hover .product-image {
  transform: scale(1.1);
}

.featured-products .product-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.featured-products .product-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.featured-products .product-card:hover .product-title {
  color: #007bff;
}

.featured-products .product-summary {
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
  font-size: 0.95rem;
}

.featured-products .product-meta {
  margin-bottom: 25px;
}

.featured-products .product-category {
  display: inline-block;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 30px;
  font-weight: 500;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.featured-products .btn {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid #007bff;
  background: transparent;
  color: #007bff;
  align-self: flex-start;
}

.featured-products .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
  background: #007bff;
  color: white;
}

.featured-products .section-footer {
  text-align: center;
  margin-top: 50px;
  animation: fadeInUp 1s ease-out;
}

.featured-products .section-footer .btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, #007bff, #00bcd4);
  border: none;
  color: white;
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.featured-products .section-footer .btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.5);
}

/* 首页新闻展示区域样式 */
/* .latest-news {
  background-color: #f0f0f0 !important;
  border: 2px solid red !important;
  padding: 20px !important;
  padding: 80px 0;
  margin: 60px 0;
} */

.latest-news .section-header {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease-out;
}

.latest-news .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.latest-news .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #20c997);
  border-radius: 2px;
}

.latest-news .section-subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 20px auto 0;
  font-weight: 300;
}

.latest-news .news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 20px;
}

.latest-news .news-item {
  break-inside: avoid;
}

.latest-news .news-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: none;
  position: relative;
}

.latest-news .news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.latest-news .news-image {
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.latest-news .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.latest-news .news-card:hover .news-image img {
  transform: scale(1.1);
}

.latest-news .news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.latest-news .news-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #7f8c8d;
}

.latest-news .news-date {
  font-weight: 500;
}

.latest-news .news-category {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: #e9ecef;
  color: #495057;
  font-size: 0.8rem;
}

.latest-news .homepage-news-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c3e50;
  transition: color 0.3s ease;
  flex-grow: 1;
}

.latest-news .news-card:hover .homepage-news-title {
  color: #28a745;
}

.latest-news .news-summary {
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
  font-size: 0.95rem;
}

.latest-news .btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid #28a745;
  background: transparent;
  color: #28a745;
  align-self: flex-start;
  font-size: 0.85rem;
}

.latest-news .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
  background: #28a745;
  color: white;
}

.latest-news .section-footer {
  text-align: center;
  margin-top: 50px;
  animation: fadeInUp 1s ease-out;
}

.latest-news .section-footer .btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  color: white;
  box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
}

.latest-news .section-footer .btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(40, 167, 69, 0.5);
}

/* 版权信息区域样式 */
.copyright-section {
  padding: 30px 0;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  margin-top: 60px;
  text-align: center;
}

.copyright-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.copyright-text {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
}

/* 联系表单区域样式 */
.contact-form-section {
    padding: 60px 0;
    background: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-form-wrapper {
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    margin-top: 0;
}

.contact-form-header p {
    font-size: 26px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 表单样式 */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    /* margin-bottom: 20px; */
}

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

.contact-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

/* 为复选框的label添加特殊样式，覆盖上面的display: block */
.contact-form .checkbox-group label {
    display: inline !important;
    margin-bottom: 0 !important;
    font-weight: normal !important;
    cursor: pointer;
    white-space: nowrap;
}

.contact-form .form-group label.required::after {
    content: " *";
    color: #e74c3c;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 自定义复选框样式 */
.contact-form .checkbox-group {
    margin: 30px 0;
}

/* 自定义复选框样式 - 使用更高优先级 */
.contact-form-section .contact-form .checkbox-group .custom-checkbox-label {
    display: flex !important;
    align-items: center !important;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}

.contact-form-section .contact-form .custom-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    margin: 0;
}

.contact-form-section .contact-form .custom-checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
    transform: translateY(-50%);
    flex-shrink: 0;
}

.contact-form-section .contact-form .custom-checkbox-label:hover input ~ .custom-checkmark {
    border-color: #3498db;
    background-color: #f8f9fa;
}

.contact-form-section .contact-form .custom-checkbox-label input:checked ~ .custom-checkmark {
    background-color: #3498db;
    border-color: #3498db;
}

.contact-form-section .contact-form .custom-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.contact-form-section .contact-form .custom-checkbox-label input:checked ~ .custom-checkmark:after {
    display: block;
}

.contact-form-section .contact-form .checkbox-text {
    margin-left: 10px;
    flex: 1;
    display: inline !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
    overflow-wrap: normal !important;
}

/* 错误状态 */
.contact-form .error-message {
    display: block;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    min-height: 16px;
}

.contact-form .form-group input.error,
.contact-form .form-group textarea.error {
    border-color: #e74c3c;
}

.contact-form .checkbox-group.error .custom-checkmark {
    border-color: #e74c3c;
}

/* 提交按钮 */
.contact-form .form-actions {
    text-align: center;
    margin-top: auto;
    padding-top: 2rem;
}

.contact-form .submit-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.contact-form .submit-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f4e79);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.contact-form .submit-btn:active {
    transform: translateY(0);
}

.contact-form .submit-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-form .btn-loading {
    display: none;
}

/* 成功消息 */
.contact-form .success-message {
    text-align: center;
    padding: 40px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
}

.contact-form .success-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 20px;
}

.contact-form .success-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #155724;
    margin-top: 0;
}

.contact-form .success-message p {
    font-size: 16px;
    color: #155724;
    margin: 0;
}

/* 联系表单响应式设计 */
@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form-header h2 {
        font-size: 2rem;
    }

    .contact-form .submit-btn {
        width: 100%;
        padding: 15px 20px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动动画效果 */
.product-card, .news-card, .section-header {
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.animated, .news-card.animated, .section-header.animated {
    opacity: 1;
    transform: translateY(0);
}

/*  staggered animation for grid items */
.featured-products .product-item:nth-child(1) .product-card,
.latest-news .news-item:nth-child(1) .news-card {
    transition-delay: 0.1s;
}

.featured-products .product-item:nth-child(2) .product-card,
.latest-news .news-item:nth-child(2) .news-card {
    transition-delay: 0.2s;
}

.featured-products .product-item:nth-child(3) .product-card,
.latest-news .news-item:nth-child(3) .news-card {
    transition-delay: 0.3s;
}

.featured-products .product-item:nth-child(4) .product-card,
.latest-news .news-item:nth-child(4) .news-card {
    transition-delay: 0.4s;
}

.featured-products .product-item:nth-child(5) .product-card,
.latest-news .news-item:nth-child(5) .news-card {
    transition-delay: 0.5s;
}

.featured-products .product-item:nth-child(6) .product-card,
.latest-news .news-item:nth-child(6) .news-card {
    transition-delay: 0.6s;
}

.latest-news .news-item:nth-child(7) .news-card {
    transition-delay: 0.7s;
}

.latest-news .news-item:nth-child(8) .news-card {
    transition-delay: 0.8s;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .featured-products .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 992px) {
    .featured-products {
        padding: 60px 0;
        margin: 40px 0;
    }

    .featured-products .section-title {
        font-size: 2rem;
    }

    .featured-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .latest-news .section-title {
        font-size: 2rem;
    }

    .latest-news .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .latest-news .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .featured-products .section-title {
        font-size: 1.8rem;
    }

    .featured-products .section-subtitle {
        font-size: 1rem;
    }

    .featured-products .products-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .featured-products .product-content {
        padding: 20px;
    }

    .featured-products .product-title {
        font-size: 1.2rem;
    }

    .latest-news .section-title {
        font-size: 1.8rem;
    }

    .latest-news .section-subtitle {
        font-size: 1rem;
    }

    .latest-news .news-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .latest-news .news-content {
        padding: 20px;
    }

    .latest-news .homepage-news-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .featured-products {
        padding: 40px 0;
        margin: 30px 0;
    }

    .featured-products .section-header {
        margin-bottom: 30px;
    }

    .featured-products .section-title {
        font-size: 1.5rem;
    }

    .featured-products .product-image-wrapper {
        height: 180px;
    }

    .latest-news {
      background-color: #f0f0f0 !important;
  /* border: 2px solid red !important; */
      padding: 20px !important;
      padding: 40px 0;
      margin: 30px 0;
    }

    .latest-news .section-header {
        margin-bottom: 30px;
    }

    .latest-news .section-title {
        font-size: 1.5rem;
    }

    .latest-news .news-image {
        height: 160px;
    }
}

.company-intro {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.company-details {
    max-width: 600px;
}

/*.company-name {*/
/*    font-size: 2.5rem;*/
/*    color: #333;*/
/*    margin-bottom: 10px;*/
/*}*/

.company-description {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 20px auto 0;
    font-weight: 300;
}

/* Latest News Section */
.latest-news {
  background-color: #f0f0f0 !important;
  /* border: 2px solid red !important; */
  padding: 20px !important;
    padding: 40px 0;
    width: 90%;
  margin: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    margin: 0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background-color: #4CAF50;
    transform: translateX(-50%);
}

.section-subtitle {
    color: #777;
    margin-top: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image img {
    width: 100%;
    height: auto;
}

.news-content {
    padding: 20px;
}

.news-meta {
    margin-bottom: 10px;
}

.news-date, .news-category {
    font-size: 12px;
    color: #777;
}


.news-summary {
    font-size: 14px;
    color: #555;
    margin: 0 0 15px 0;
}

/* .news-content a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.news-content a:hover {
    background: #409140;
} */

/* 新闻列表响应式设计 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card {
        margin-bottom: 0;
    }

    .news-content {
        padding: 15px;
    }

    .news-list-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .news-actions {
        padding-top: 12px;
    }

    .news-actions .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* ===== Quill Editor Styles for Static Pages ===== */
/* 确保富文本内容在静态页面中正确显示 */

/* 富文本内容容器样式 */
.news-content,
.product-description,
.page-content {
    line-height: 1.6;
    color: #333;
}

/* Quill编辑器生成的HTML样式 */
.news-content p,
.product-description p,
.page-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-content h1,
.product-description h1,
.page-content h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #2c3e50;
}

.news-content h2,
.product-description h2,
.page-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    color: #2c3e50;
}

.news-content h3,
.product-description h3,
.page-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.25rem 0 0.75rem 0;
    color: #2c3e50;
}

.news-content h4,
.product-description h4,
.page-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    color: #2c3e50;
}

.news-content h5,
.product-description h5,
.page-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.75rem 0 0.5rem 0;
    color: #2c3e50;
}

.news-content h6,
.product-description h6,
.page-content h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.5rem 0 0.25rem 0;
    color: #2c3e50;
}

/* 文字对齐样式 */
.news-content .ql-align-center,
.product-description .ql-align-center,
.page-content .ql-align-center {
    text-align: center;
}

.news-content .ql-align-right,
.product-description .ql-align-right,
.page-content .ql-align-right {
    text-align: right;
}

.news-content .ql-align-justify,
.product-description .ql-align-justify,
.page-content .ql-align-justify {
    text-align: justify;
}

.news-content .ql-align-left,
.product-description .ql-align-left,
.page-content .ql-align-left {
    text-align: left;
}

/* 列表样式 */
.news-content ul,
.product-description ul,
.page-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
    list-style-type: disc;
}

.news-content ol,
.product-description ol,
.page-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
    list-style-type: decimal;
}

.news-content li,
.product-description li,
.page-content li {
    margin: 0.25rem 0;
    line-height: 1.6;
}

/* 引用样式 */
.news-content blockquote,
.product-description blockquote,
.page-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #007bff;
    background-color: #f8f9fa;
    font-style: italic;
    color: #6c757d;
}

/* 代码块样式 */
.news-content pre,
.product-description pre,
.page-content pre {
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.news-content code,
.product-description code,
.page-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* 链接样式 */
.news-content a,
.product-description a,
.page-content a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content a:hover,
.product-description a:hover,
.page-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* 图片样式 */
.news-content img,
.product-description img,
.page-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 表格样式 */
.news-content table,
.product-description table,
.page-content table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
}

.news-content th,
.product-description th,
.page-content th,
.news-content td,
.product-description td,
.page-content td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #dee2e6;
}

.news-content th,
.product-description th,
.page-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* 分隔线样式 */
.news-content hr,
.product-description hr,
.page-content hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid #dee2e6;
}

/* 强调文本样式 */
.news-content strong,
.product-description strong,
.page-content strong {
    font-weight: 600;
}

.news-content em,
.product-description em,
.page-content em {
    font-style: italic;
}

.news-content u,
.product-description u,
.page-content u {
    text-decoration: underline;
}

.news-content s,
.product-description s,
.page-content s {
    text-decoration: line-through;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-content,
    .product-description,
    .page-content {
        font-size: 0.95rem;
    }

    .news-content h1,
    .product-description h1,
    .page-content h1 {
        font-size: 1.75rem;
    }

    .news-content h2,
    .product-description h2,
    .page-content h2 {
        font-size: 1.35rem;
    }

    .news-content h3,
    .product-description h3,
    .page-content h3 {
        font-size: 1.15rem;
    }

    .news-content img,
    .product-description img,
    .page-content img {
        margin: 0.75rem 0;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    background: #f8f9fa;
    background-image:
        linear-gradient(45deg, rgba(0,0,0,0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0,0,0,0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0,0,0,0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0,0,0,0.02) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    padding: 4rem 0;
    /* margin: 2rem 0; */
}

.why-choose-us-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.why-choose-us-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 3rem;
    font-family: 'Arial', sans-serif;
}

.why-choose-us-reasons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    max-width: 1000px;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: none;
}

.reason-item:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

.reason-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-right: 1rem;
    min-width: 20px;
    text-align: left;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.reason-text {
    font-size: 28px;
    color: #000;
    line-height: 1.5;
    font-weight: 400;
    font-family: 'Arial', sans-serif;
}

/* Responsive Design for Why Choose Us */
@media (max-width: 768px) {
    .why-choose-us {
        padding: 3rem 0;
    }

    .why-choose-us-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .why-choose-us-reasons {
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

    .reason-item {
        padding: 0;
        flex-direction: row;
        text-align: left;
    }

    .reason-number {
        margin-right: 1rem;
        margin-bottom: 0;
        font-size: 1.1rem;
    }

    .reason-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .why-choose-us {
        padding: 2rem 0;
    }

    .why-choose-us-title {
        font-size: 1.75rem;
    }

    .reason-item {
        padding: 0;
    }

    .reason-number {
        font-size: 1rem;
    }

    .reason-text {
        font-size: 0.9rem;
    }
}

/* Contact Form Layout */
.contact-form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-top: 2rem;
}

.contact-image {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.contact-img {
    width: 80%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.contact-form-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 重复定义已移除 */

/* .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
} */

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group label.required::after {
    content: ' *';
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 1.5rem;
}

.submit-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-loading {
    display: none;
}

.success-message {
    text-align: center;
    padding: 2rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    margin-top: 1rem;
}

.success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: #155724;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #155724;
    margin: 0;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .contact-form-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-image {
        display: none;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .submit-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ===== About Us Page Styles (scoped: page-about__) ===== */
.page-about {
    padding: 2rem 0;
}

.page-about__row { display:flex; flex-wrap:wrap; align-items:center; gap:0; }
.page-about__col { box-sizing:border-box; padding:0 12px; width:100%; }
.page-about__col--image, .page-about__col--text { width:100%; }
@media (min-width: 768px) { .page-about__col--image, .page-about__col--text { width:50%; } }
@media (min-width: 992px) { .page-about__col--image, .page-about__col--text { width:50%; } }

.page-about__image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 400px;
    padding: 0 1rem;
}

.page-about__img {
    width: 100%;
    border-radius: 12px;

    /*height: 350px;*/
    /*object-fit: cover;*/
    /*max-width: 450px;*/
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);*/
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
}

.page-about__img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.page-about__text {
    /* padding: 1rem 2rem; */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    word-wrap: break-word;
}

.page-about__title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    /* margin-bottom: 2rem; */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
}

.page-about__text p {
    font-size: 20px;
    line-height: 1.8;
    color: #444;
    /* margin-bottom: 1.5rem; */
    text-align: justify;
    font-family: "Microsoft YaHei";
}

.page-about__text p:last-child {
    margin-bottom: 0;
}

.page-about__list {
    /* margin: 1.5rem 0; */
    padding-left: 0;
    list-style: none;
    font-size: 24px;
}

.page-about__list li {
    /* margin-bottom: 0.8rem; */
    color: #555;
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
}

.page-about__list li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.page-about__text strong {
    color: #2c3e50;
    font-weight: 600;
}

/* About Us Responsive Design */
@media (max-width: 991.98px) {
    .page-about {
        padding: 1.5rem 0;
    }
    
    .page-about__image {
        min-height: 300px;
        margin-bottom: 2rem;
    }
    
    .page-about__img {
        height: 300px;
        max-width: 100%;
    }
    
    .page-about__text {
        padding: 1rem;
    }
    
    .page-about__title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .page-about__text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .page-about {
        padding: 1rem 0;
    }
    
    .page-about__image {
        min-height: 250px;
    }
    
    .page-about__img {
        height: 250px;
    }
    
    .page-about__title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .page-about__text p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .page-about__image {
        min-height: 200px;
    }
    
    .page-about__img {
        height: 200px;
    }
    
    .page-about__title {
        font-size: 1.5rem;
    }
    
    .page-about__text p {
        font-size: 0.85rem;
    }
    
    .page-about__list li {
        padding-left: 1rem;
    }
}

/* ===== Contact Us Page Styles (scoped: page-contact__) ===== */
.page-contact {
    padding: 2rem 0;
}
.page-contact__row { display:flex; flex-wrap:wrap; align-items:center; gap:0; }
.page-contact__col { box-sizing:border-box; padding:0 12px; width:100%; }
.page-contact__col--text, .page-contact__col--image { width:100%; }
@media (min-width: 768px) { .page-contact__col--text, .page-contact__col--image { width:50%; } }


.page-contact__text {
    padding: 1rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align-last: center;
    max-width: 100%;
    word-wrap: break-word;
    font-weight: 600;
}

/*.page-contact__image {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    height: 100%;*/
/*    min-height: 400px;*/
/*    padding: 0 1rem;*/
/*}*/

.page-contact__img {
    width: 100%;
    max-width: 450px;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.page-contact__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
}

.office-info {
    margin-top: 1rem;
}

.office-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.contact-details {
    margin-top: 1rem;
}

.contact-item {
    font-size: 20px;
    /* margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #444; */
}

.contact-item strong {
    color: #2c3e50;
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Contact Us Responsive Design */
@media (max-width: 991.98px) {
    .page-contact {
        padding: 1.5rem 0;
    }
    
    .page-contact__image {
        min-height: 300px;
        margin-bottom: 2rem;
    }
    
    .page-contact__img {
        height: 300px;
        max-width: 100%;
    }
    
    .page-contact__text {
        padding: 1rem;
    }
    
    .page-contact__title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .office-title {
        font-size: 1.4rem;
    }
    
    .contact-item {
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .page-contact {
        padding: 1rem 0;
    }
    
    .page-contact__image {
        min-height: 250px;
    }
    
    .page-contact__img {
        height: 250px;
    }
    
    .page-contact__title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .office-title {
        font-size: 1.2rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .contact-item strong {
        min-width: 80px;
    }
}

@media (max-width: 575.98px) {
    .contact-image-container {
        min-height: 200px;
    }
    
    .contact-image {
        height: 200px;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .office-title {
        font-size: 1.1rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .contact-item strong {
        min-width: 70px;
    }
}