/* ============================================
   青岛海西重机有限责任公司 - 全局样式
   像素级还原设计稿
   ============================================ */

/* ---------- CSS变量 - 色彩与设计Token ---------- */
:root {
  /* 主色调 */
  --primary-dark: #003366;      /* 深蓝 - 导航栏背景 */
  --primary: #004080;            /* 中深蓝 - Banner标题背景 */
  --primary-light: #1a5276;      /* 浅蓝 */
  --accent: #c0925a;             /* 暖棕金色 - 强调色/日期背景 */
  
  /* 文字色 */
  --text-primary: #333333;       /* 主文字 */
  --text-secondary: #666666;     /* 次文字 */
  --text-light: #999999;         /* 辅助文字 */
  --text-white: #ffffff;
  
  /* 背景色 */
  --bg-white: #ffffff;
  --bg-gray: #f5f5f5;            /* 页面背景灰 */
  --bg-sidebar: #f8f8f8;         /* 侧边栏背景 */
  --bg-footer: #201B17;            /* 页脚深棕 */
  --bg-footer-dark: #252525;     /* 页脚更深 */
  
  /* 边框 */
  --border-light: #e8e8e8;
  --border-gray: #dcdcdc;
  
  /* 尺寸 */
  --container-max: 1200px;
  
  /* 字体 */
  --font-cn: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
  --font-en: "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 强制常驻垂直滚动条，消除页面切换时水平抖动 */
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-cn);
  color: var(--text-primary);
  background-color: #ffffff;
  line-height: 1.6;
  min-width: 320px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- 容器 ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   顶部工具条 + Logo区
   ============================================ */
.header-wrapper {
  background: var(--bg-white);
  border: none;
  box-shadow: none;
  /* 整条 header 吸顶（滚出视口后钉在顶部） */
  position: sticky;
  top: 0;
  z-index: 1100;
  /* 统一 header 整体最小高度，消除首页/内页视觉差异 */
  min-height: 148px;
}

/* 滚过之后激活阴影（JS 只切这个类，不再写任何内联 height） */
.header-wrapper.is-stuck {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* Logo区域 */
.logo-bar {
  background: var(--bg-white);
  padding: 22px 0;
  border: none;
}

.logo-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-brand .logo-cssc {
  font-weight: 900;
  font-size: 34px;
  color: var(--primary-dark);
  letter-spacing: -1px;
  font-style: italic;
}

.logo-text h1 {
  font-size: 26px;
  font-weight: bold;
  color: var(--primary-dark);
  line-height: 1.2;
}

.logo-text p {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 1px;
  font-family: var(--font-en);
  text-transform: uppercase;
}

/* 标语 */
.logo-slogan {
  font-size: 16px;
  color: var(--text-secondary);
  margin-left: 20px;
  border-left: 1px solid var(--border-gray);
  padding-left: 20px;
}

.logo-slogan .slogan-cn {
  color: var(--text-primary);
}

.logo-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.logo-lang::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23004080'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ============================================
   主导航栏
   ============================================ */
.main-nav {
  background: var(--primary-dark);
  position: relative;
}

/* 清理旧 fixed / 占位规则（已由 header-wrapper sticky 接管） */

.main-nav .container {
  display: flex;
  position: relative;
}

.nav-list {
  display: flex;
  width: 100%;
}

.nav-item {
  position: relative;
  flex: 1;
}

.nav-link {
  display: block;
  padding: 0 15px;
  height: 50px;
  line-height: 50px;
  color: var(--text-white);
  font-size: 15px;
  text-align: center;
  position: relative;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.nav-link:hover,
.nav-item.active .nav-link {
  background: #c62828;
  color: var(--text-white);
}

/* 下拉箭头 */
.nav-link.has-dropdown::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 var(--text-white);
  vertical-align: middle;
}

/* 下拉菜单 */
.nav-dropdown {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  min-width: 760px;
  background: var(--bg-white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  display: none;
  z-index: 1000;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.dropdown-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.dropdown-column {
  flex: 1;
}

.dropdown-column ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.dropdown-column li {
  width: auto;
}

.dropdown-column a {
  display: block;
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 14px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.dropdown-column a:hover {
  color: var(--primary-dark);
  border-left-color: var(--primary-dark);
  background: var(--bg-gray);
}

/* 带图标的下拉列 */
.dropdown-with-image {
  display: flex;
  gap: 20px;
}

.dropdown-with-image .dropdown-column:last-child {
  max-width: 200px;
}

.dropdown-image-placeholder {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #004080, #1a5276);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
}

/* 移动菜单按钮 */
.mobile-menu-btn {
  display: none;
  width: 50px;
  height: 50px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
}

/* ============================================
   Banner / 页面标题区
   ============================================ */
/* 首页轮播Banner */
.hero-banner {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide.slide-1 {
  background-image: linear-gradient(rgba(0,51,102,0.45), rgba(0,20,40,0.35)),
    linear-gradient(160deg, #0a4d8c 0%, #003366 55%, #062c52 100%);
}

.hero-slide.slide-2 {
  background-image: linear-gradient(rgba(0,51,102,0.5), rgba(0,0,0,0.3)), 
    linear-gradient(135deg, #003366 0%, #004080 50%, #1a5276 100%);
}

.hero-slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--text-white);
  width: 80%;
  max-width: 1000px;
}

.hero-slide-content .bracket {
  display: inline-block;
  padding: 0 20px;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 4px;
  margin-bottom: 20px;
  position: relative;
  color: var(--text-white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-slide-content .slide-subtitle {
  font-size: 20px;
  line-height: 2;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* 轮播指示器 */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dots span.active {
  background: var(--text-white);
  width: 30px;
  border-radius: 6px;
}

/* 内页 Banner */
.page-banner {
  position: relative;
  height: 260px;
  background-size: cover;
  background-position: center;
}

/* Banner 背景（未配置后台图片时的 fallback 纯色渐变） */
.banner-about {
  background-image: linear-gradient(135deg, #2c3e50, #34495e, #1a5276);
}

.banner-dangqun {
  background-image: linear-gradient(135deg, #2c3e50, #1a1a2e);
}

.banner-news {
  background-image: linear-gradient(135deg, #1a2a3a, #2c3e50);
}

.banner-product {
  background-image: linear-gradient(135deg, #2c3e50, #004080);
}

.banner-service {
  background-image: linear-gradient(135deg, #34495e, #1a5276);
}

.banner-youshi {
  background-image: linear-gradient(135deg, #2c3e50, #2c3e50);
}

/* ============================================
   面包屑导航
   ============================================ */
.breadcrumb {
  text-align: right;
  font-size: 12px;
  color: var(--text-light);
  padding: 15px 0;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb .sep {
  margin: 0 8px;
}

.breadcrumb .current {
  color: var(--text-secondary);
}

/* ============================================
   主体布局 - 左侧边栏 + 右侧内容
   ============================================ */
.page-main {
  background: var(--bg-white);
  padding-bottom: 60px;
  min-height: 500px;
}

.page-layout {
  display: flex;
  gap: 30px;
}

/* 左侧边栏 */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-sidebar);
  border-top: 3px solid var(--primary-dark);
}

.sidebar-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--primary-dark);
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.sidebar-menu li {
  border-bottom: 1px solid var(--border-light);
}

.sidebar-menu a {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-primary);
  position: relative;
  transition: all 0.2s ease;
}

.sidebar-menu a::before {
  content: '›';
  margin-right: 8px;
  color: var(--primary-dark);
}

.sidebar-menu a:hover {
  background: var(--bg-gray);
  color: var(--primary-dark);
  padding-left: 25px;
}

.sidebar-menu li.active a {
  background: var(--primary-dark);
  color: var(--text-white);
}

.sidebar-menu li.active a::before {
  color: var(--accent);
}

/* 右侧内容区 */
.page-content {
  flex: 1;
  min-width: 0;
}

.page-content-header {
  border-bottom: 2px solid var(--primary-dark);
  padding-bottom: 12px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-content-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-dark);
}

/* 页面切换Tab */
.page-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--border-gray);
  margin-bottom: 25px;
}

.page-tabs a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-secondary);
  position: relative;
}

.page-tabs a.active {
  color: var(--primary-dark);
  font-weight: bold;
}

.page-tabs a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-dark);
}

/* ============================================
   首页模块
   ============================================ */

/* 通用section标题 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-primary);
  position: relative;
  padding-left: 15px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 3px;
  background: var(--primary-dark);
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-light);
  font-family: var(--font-en);
  letter-spacing: 1px;
}

.section-more {
  font-size: 12px;
  color: var(--text-secondary);
}

.section-more::after {
  content: ' ›';
}

/* 核心价值模块 - 首页 */
.core-value-section {
  background: var(--bg-white);
  padding: 80px 0;
}

/* 核心价值模块：两行交替图文布局 */
.value-grid {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

/* 每行：大图 + 文字，图片约占 2/3 宽度 */
.value-item {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 50px;
  align-items: start;
}

/* 第二行反转：文左图右 */
.value-item.value-reverse {
  grid-template-columns: 1fr 2.2fr;
}

/* figure 浏览器默认 margin 重置 */
.value-image,
figure.value-image {
  margin: 0;
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.value-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 文字区 */
.value-info h3 {
  font-size: 26px;
  color: var(--text-primary);
  margin-bottom: 14px;
  font-weight: bold;
  line-height: 1.3;
}

.value-info .value-sub {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: bold;
}

.value-info p.desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* 新闻中心模块 - 首页 */
.news-home-section {
  background: var(--bg-gray);
  padding: 60px 0;
}

/* ---------- 新闻中心 - 左右分栏布局（轮播 + Tab） ---------- */
/* 头部标题行 */
.news-center-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-gray);
  margin-bottom: 25px;
}

/* 参考图中标题无竖条，覆盖全局 section-title 装饰 */
.news-center-header .section-title {
  padding-left: 0;
  color: var(--primary-dark);
}

.news-center-header .section-title::before {
  display: none;
}

.news-center-header .section-subtitle {
  font-size: 13px;
  margin-left: 4px;
}

.news-more {
  font-size: 13px;
  color: var(--text-secondary);
}

.news-more:hover {
  color: var(--primary-dark);
}

/* 左右分栏容器 */
.news-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ===== 左侧：轮播图组件 ===== */
.news-slider {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.news-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.news-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
}

.news-slide.active {
  opacity: 1;
}

/* 底部标题条 */
.news-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  color: var(--text-white);
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 左右箭头 */
.news-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 48px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-white);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s ease;
}

.news-arrow:hover {
  background: var(--primary-dark);
}

.news-arrow-prev { left: 0; }
.news-arrow-next { right: 0; }

/* 缩略图指示器 */
.news-thumbs {
  position: absolute;
  right: 10px;
  bottom: 42px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.news-thumb {
  width: 56px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.news-thumb.active {
  border-color: #e60012;
}

/* ===== 右侧：Tab 切换组件 ===== */
.news-tabs-box .news-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.news-tabs-box .news-tabs a {
  display: inline-block;
  padding: 8px 26px;
  font-size: 15px;
  color: var(--text-white);
  background: #a5a5a5;
  transition: background 0.25s ease;
}

.news-tabs-box .news-tabs a:hover {
  background: #8c8c8c;
}

.news-tabs-box .news-tabs a.active {
  background: var(--primary-dark);
}

/* Tab 面板切换淡入动画 */
@keyframes newsPanelFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.news-panel.panel-fade {
  animation: newsPanelFade 0.35s ease;
}

/* 新闻条目 */
.news-entry {
  padding: 4px 0 14px;
  border-bottom: 1px dashed var(--border-gray);
  margin-bottom: 14px;
}

.news-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.news-entry-title {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 8px;
}

.news-entry-title a {
  color: var(--primary-dark);
}

.news-entry-title a:hover {
  color: var(--accent);
}

.news-entry-summary {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.8;
}

.news-entry-more {
  color: var(--primary-dark);
  margin-left: 6px;
}

.news-entry-more:hover {
  color: var(--accent);
}

/* 产品展示模块 - 首页 */
.product-home-section {
  background: var(--bg-white);
  padding: 60px 0;
}

.product-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-home-card {
  background: var(--bg-white);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.product-home-card:hover {
  border-color: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.product-home-image {
  height: 210px;
  background: linear-gradient(135deg, #34495e, #2c3e50);
  position: relative;
}

.product-home-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.product-home-card .card-title {
  padding: 14px;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: bold;
  text-align: center;
}

/* ============================================
   产品列表页
   ============================================ */
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.product-card-image {
  height: 180px;
  background: linear-gradient(135deg, #2c3e50, #004080);
  position: relative;
}

.product-card-info {
  padding: 16px;
  text-align: center;
}

.product-card-info h4 {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: normal;
  line-height: 1.5;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid var(--border-gray);
  background: var(--bg-white);
  transition: all 0.2s ease;
}

.pagination a:hover {
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.pagination .current {
  background: var(--primary-dark);
  color: var(--text-white);
  border-color: var(--primary-dark);
}

/* ============================================
   新闻列表页
   ============================================ */
.news-page-list {
  display: flex;
  flex-direction: column;
}

.news-page-item {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  gap: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-page-item:hover .news-page-title {
  color: var(--primary-dark);
}

.news-page-date {
  width: 100px;
  flex-shrink: 0;
  text-align: center;
}

.news-page-date .date-box {
  background: var(--accent);
  color: var(--text-white);
  padding: 12px 8px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}

.news-page-date .date-box span {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  font-weight: normal;
  opacity: 0.9;
}

.news-page-content {
  flex: 1;
  min-width: 0;
}

.news-page-title {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: bold;
  margin-bottom: 10px;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.news-page-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.news-page-link {
  font-size: 12px;
  color: var(--primary-dark);
  margin-top: 10px;
  display: inline-block;
}

/* 新闻详情页 */
.news-detail-content {
  font-size: 14px;
  line-height: 2;
  color: var(--text-primary);
}

.news-detail-content h1 {
  font-size: 22px;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.4;
}

.news-detail-meta {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  padding: 15px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 25px;
}

.news-detail-content p {
  margin-bottom: 18px;
  text-indent: 2em;
}

.news-detail-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #2c3e50, #004080);
  margin: 25px 0;
  border-radius: 4px;
}

/* 党建工作列表 */
.dangqun-list {
  display: grid;
  gap: 20px;
}

.dangqun-item {
  display: flex;
  align-items: center;
  background: var(--bg-gray);
  padding: 25px;
  gap: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dangqun-item:hover {
  background: #ecf0f1;
  transform: translateX(5px);
}

.dangqun-info {
  flex: 1;
}

.dangqun-info h4 {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: bold;
}

.dangqun-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.dangqun-date {
  flex-shrink: 0;
}

/* ============================================
   关于我们 - 公司简介
   ============================================ */
.about-content p {
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-indent: 2em;
}

.about-content strong {
  color: var(--primary-dark);
}

.about-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #34495e, #1a5276);
  margin: 30px 0;
  border-radius: 4px;
}

/* ============================================
   产品详情
   ============================================ */
.product-detail-title {
  font-size: 18px;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 30px;
}

.product-detail-image {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, #2c3e50, #004080);
  border-radius: 4px;
  margin-bottom: 30px;
}

/* ============================================
   服务支持
   ============================================ */
.service-content p {
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

/* ============================================
   公司优势
   ============================================ */
.youshi-content h3 {
  font-size: 15px;
  color: var(--primary-dark);
  font-weight: bold;
  margin: 20px 0 12px;
}

.youshi-content p {
  font-size: 14px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 15px;
  text-indent: 2em;
}

/* ============================================
   底部区域 - 快速链接
   ============================================ */
.quick-links {
  background: var(--bg-gray);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
}

.quick-links .container {
  display: flex;
  align-items: center;
  gap: 0;
}

/* 左侧"快速链接"标签 */
.quick-links-label {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-dark);
  padding-right: 28px;
  border-right: 1px solid var(--border-gray);
  margin-right: 8px;
  white-space: nowrap;
}

/* 左右箭头 */
.ql-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-gray);
  background: var(--bg-white);
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ql-arrow:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  border-color: var(--primary-dark);
}

.ql-prev { margin-right: 10px; }
.ql-next { margin-left: 10px; }

/* 链接项 */
.ql-item {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  font-size: 14px;
  color: var(--text-primary);
  justify-content: center;
  transition: color 0.2s ease;
}

.ql-item:hover {
  color: var(--primary-dark);
}

/* 链接间分隔竖线 */
.ql-item:not(:last-of-type) {
  position: relative;
}

.ql-item:not(:last-of-type)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 1px;
  background: var(--border-gray);
}

/* SVG 图标 */
.ql-icon {
  width: 22px;
  height: 22px;
  color: var(--primary-dark);
  display: inline-flex;
  flex-shrink: 0;
}

.ql-icon svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   页脚 Footer
   ============================================ */
.footer {
  background: var(--bg-footer);
  padding: 40px 0 30px;
  color: rgba(255,255,255,0.7);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  flex-shrink: 0;
}

.footer-brand img {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-links-group {
  flex: 1;
  max-width: 600px;
}

/* Tab 按钮 — 扁平方形，带边框 */
.footer-links-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}

.footer-links-tabs a {
  padding: 6px 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.footer-links-tabs a:first-child {
  border-radius: 3px 0 0 3px;
}

.footer-links-tabs a:last-child {
  border-radius: 0 3px 3px 0;
  border-left: none;
}

.footer-links-tabs a.active {
  color: var(--text-white);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* 链接一行化，用竖线分隔 */
.footer-links-list {
  margin-bottom: 14px;
}

.footer-links-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
}

.footer-links-inline a {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  padding: 0 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-inline a:first-child {
  padding-left: 0;
}

.footer-links-inline a:hover {
  color: var(--text-white);
}

.footer-links-inline .sep {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

/* 版权信息 */
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 12px;
}

.footer-legal .legal-line {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
}

.footer-legal .legal-line a {
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal .legal-line a:hover {
  color: rgba(255,255,255,0.8);
}

.footer-qrcode {
  text-align: center;
  flex-shrink: 0;
}

.qrcode-placeholder {
  width: 130px;
  height: 130px;
  background: var(--bg-white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.qrcode-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-qrcode p {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   返回顶部
   ============================================ */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 60px;
  width: 44px;
  height: 44px;
  background: var(--primary-dark);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ============================================
   响应式适配
   ============================================ */

/* 平板 - 768px - 1024px */
@media (max-width: 1024px) {
  .nav-dropdown {
    min-width: 600px;
  }

  .value-grid {
    gap: 50px;
  }

  .value-item,
  .value-item.value-reverse {
    gap: 35px;
  }

  .value-image {
    height: 260px;
  }

  .value-info h3 {
    font-size: 22px;
  }

  /* 新闻中心 - 平板端：缩小间距 */
  .news-center {
    gap: 25px;
  }

  .product-grid-home,
  .product-list-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .sidebar {
    width: 180px;
  }

  .footer-top {
    flex-wrap: wrap;
  }

  .footer-links-group {
    order: 3;
    width: 100%;
  }
}

/* 平板 - 768px */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  /* Logo Bar */
  .logo-bar {
    padding: 18px 0;
  }

  .logo-slogan {
    display: none;
  }

  .logo-text h1 {
    font-size: 19px;
  }

  .logo-brand .logo-cssc {
    font-size: 22px;
  }

  /* Nav */
  .nav-list {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    z-index: 1000;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-item {
    flex: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-link {
    text-align: left;
    padding: 0 20px;
    height: 48px;
    line-height: 48px;
  }

  .mobile-menu-btn {
    display: flex;
    margin-left: auto;
  }

  .nav-dropdown {
    position: static;
    box-shadow: none;
    padding: 0;
    background: rgba(0,0,0,0.1);
    display: none;
  }

  .nav-item:hover .nav-dropdown {
    display: none;
  }

  .nav-item.open .nav-dropdown {
    display: block;
  }

  .dropdown-content {
    flex-direction: column;
    padding: 10px;
  }

  .dropdown-column ul {
    flex-direction: column;
    gap: 0;
  }

  .dropdown-column a {
    padding: 10px 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    border-left: none;
  }

  .dropdown-column a:hover {
    color: var(--text-white);
    background: rgba(255,255,255,0.1);
    border-left: none;
    padding-left: 20px;
  }

  .dropdown-with-image .dropdown-column:last-child,
  .dropdown-image-placeholder {
    display: none;
  }

  /* Hero */
  .hero-banner {
    height: 300px;
  }

  .hero-slide-content .bracket {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .hero-slide-content .slide-subtitle {
    font-size: 14px;
    letter-spacing: 1px;
  }

  /* Page Banner */
  .page-banner {
    height: 180px;
  }

  .page-banner-title {
    font-size: 16px;
    padding: 10px 20px;
  }

  /* Breadcrumb */
  .breadcrumb {
    text-align: left;
    padding: 12px 0;
  }

  /* Page Layout */
  .page-layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-top: none;
    border-bottom: 3px solid var(--primary-dark);
  }

  .sidebar-title {
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  .sidebar-menu {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .sidebar-menu li {
    border-bottom: none;
    border-right: 1px solid var(--border-light);
  }

  .sidebar-menu a {
    padding: 10px 15px;
    font-size: 13px;
  }

  .sidebar-menu a:hover {
    padding-left: 15px;
  }

  /* 新闻中心 - 移动端：纵向堆叠 */
  .news-center {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .news-slider {
    height: 240px;
  }

  .value-grid {
    gap: 45px;
  }

  /* 移动端：图文纵向堆叠，两行均图在上文在下 */
  .value-item,
  .value-item.value-reverse {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .value-item.value-reverse .value-image {
    order: -1;
  }

  .value-image {
    height: 220px;
  }

  .value-info h3 {
    font-size: 20px;
  }

  .product-grid-home,
  .product-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* News Detail */
  .news-detail-content h1 {
    font-size: 18px;
  }

  .news-detail-image {
    height: 220px;
  }

  /* Product Detail */
  .product-detail-image {
    height: 280px;
  }

  /* Footer */
  .footer {
    padding: 30px 0 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
  }

  .footer-brand {
    text-align: center;
    display: flex;
    justify-content: center;
  }

  .footer-links-group {
    max-width: 100%;
    text-align: center;
  }

  .footer-links-tabs {
    justify-content: center;
  }

  .footer-links-inline {
    justify-content: center;
  }

  .footer-legal {
    text-align: center;
  }

  .footer-qrcode {
    margin: 0 auto;
  }

  /* Quick Links */
  .quick-links {
    padding: 14px 0;
  }

  .quick-links-label {
    font-size: 14px;
    padding-right: 14px;
    margin-right: 6px;
  }

  .ql-item {
    padding: 0 10px;
    font-size: 12px;
    gap: 6px;
  }

  .ql-icon {
    width: 18px;
    height: 18px;
  }

  .ql-arrow {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }

  /* News page list */
  .news-page-item {
    flex-direction: column;
    gap: 15px;
  }

  .news-page-date {
    width: 100%;
    text-align: left;
  }

  .news-page-date .date-box {
    display: inline-block;
    padding: 8px 20px;
  }

  /* Dangqun */
  .dangqun-item {
    flex-direction: column;
    text-align: center;
  }

  .dangqun-item:hover {
    transform: translateY(-3px);
  }

  /* Back to top */
  .back-to-top {
    right: 15px;
    bottom: 30px;
  }

  /* ========== 快速链接（友情链接） ========== */
  .quick-links {
    padding: 12px 0;
  }

  .quick-links .container {
    flex-wrap: wrap;
    gap: 6px 0;
  }

  /* 箭头在移动端隐藏 */
  .ql-arrow {
    display: none;
  }

  /* 标签独占一行 */
  .quick-links-label {
    flex: 0 0 100%;
    padding-right: 0;
    border-right: none;
    margin-right: 0;
    margin-bottom: 4px;
    font-size: 14px;
    text-align: center;
  }

  /* 每个链接项独占一行，图标在上文字在下 */
  .ql-item {
    flex: 0 0 50%;
    padding: 10px 8px;
    gap: 6px;
    flex-direction: column;
    font-size: 13px;
  }

  /* 去掉分隔竖线 */
  .ql-item:not(:last-of-type)::after {
    display: none;
  }

  .ql-icon {
    width: 26px;
    height: 26px;
  }
}

/* 手机 - 480px */
@media (max-width: 480px) {
  html {
    font-size: 13px;
  }

  .hero-banner {
    height: 220px;
  }

  .hero-slide-content .bracket {
    font-size: 18px;
  }

  .hero-slide-content .slide-subtitle {
    font-size: 12px;
  }

  .product-grid-home,
  .product-list-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 18px;
  }

  .news-detail-content h1 {
    font-size: 16px;
  }

  .sidebar-menu a {
    padding: 8px 10px;
    font-size: 12px;
  }

  /* 480px 以下：每个链接项独占一行，更大更清晰 */
  .ql-item {
    flex: 0 0 100%;
    padding: 12px 0;
    flex-direction: row;
    justify-content: flex-start;
  }

  .quick-links-label {
    font-size: 13px;
  }
}
