/* ==========================================================================
   国培研修网 - 首页样式（布局对齐参考站）
   结构：基础 → 头部导航 → Banner → 四宫格项目 → 课程卡片 → 资讯区
        → 数据统计 → Logo 墙 → 页脚 → 响应式
   ========================================================================== */

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

:root {
  --primary: #1f4e9c;      /* 主色：教育蓝 */
  --primary-dark: #163a77;
  --accent: #f39800;       /* 强调色：橙 */
  --text: #333;
  --text-light: #777;
  --bg-gray: #f5f7fa;
  --border: #e5eaf2;
  --radius: 8px;
  --footer-dark: #1c2331;  /* 页脚深黑 */
}

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; border: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 15px; }
.clearfix::after { content: ""; display: table; clear: both; }

/* ---------- 头部：Logo + 导航（居中） + 搜索 ---------- */
.header { background: #fff; box-shadow: 0 2px 8px rgba(20, 40, 80, 0.08); position: sticky; top: 0; z-index: 999; }
.header-inner { display: flex; align-items: center; height: 76px; gap: 24px; }
.logo { flex-shrink: 0; }
.logo img { height: 40px; width: auto; }

.header-right { flex-shrink: 0; position: relative; }
.search-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-gray); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.search-btn:hover { background: var(--primary); color: #fff; }
.search-form {
  position: absolute; right: 0; top: 48px; z-index: 20;
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  box-shadow: 0 8px 20px rgba(20, 40, 80, 0.15); padding: 4px 6px;
}
.search-form input {
  border: 0; outline: none; width: 190px; height: 32px; padding: 0 14px;
  font-size: 13px; color: var(--text); background: transparent;
}

/* 导航：居中弹性布局 */
.nav { flex: 1; min-width: 0; }
.nav > ul { display: flex; justify-content: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: block; padding: 0 16px; line-height: 76px;
  font-size: 16px; font-weight: bold; color: var(--text);
}
.nav > ul > li > a:hover,
.nav > ul > li.active > a { color: var(--primary); }
.nav > ul > li.active > a { border-bottom: 3px solid var(--accent); }

/* 二级下拉菜单 */
.sub-menu {
  position: absolute; top: 76px; left: 50%; transform: translateX(-50%);
  width: 164px; background: #fff; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 20px rgba(20, 40, 80, 0.15);
  opacity: 0; visibility: hidden; transition: all 0.25s; z-index: 100;
}
.nav > ul > li:hover .sub-menu { opacity: 1; visibility: visible; }
.sub-menu li a {
  display: block; padding: 11px 16px; font-size: 14px; color: var(--text);
  text-align: center; border-top: 1px solid var(--border); background: #fff;
  transition: all 0.2s;
}
.sub-menu li:first-child a { border-top: 0; }
.sub-menu li a:hover { background: var(--primary); color: #fff; }

/* 汉堡按钮（移动端） */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--primary); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Banner 轮播 ---------- */
.banner { position: relative; overflow: hidden; }
.banner-list { display: flex; transition: transform 0.6s ease; }
.banner-list .item { flex: 0 0 100%; }
.banner-list .item img {
  width: 100%; height: auto; aspect-ratio: 1920 / 640; max-height: 620px;
  object-fit: cover; object-position: center;
}

.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 72px; font-size: 26px; color: #fff;
  background: rgba(0, 0, 0, 0.22); border-radius: 4px; z-index: 10;
  transition: background 0.3s;
}
.banner-arrow:hover { background: rgba(0, 0, 0, 0.42); }
.banner-arrow.prev { left: 3%; }
.banner-arrow.next { right: 3%; }

.banner-dots {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; gap: 12px; z-index: 10;
}
.banner-dots span {
  width: 40px; height: 5px; border-radius: 3px;
  background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: background 0.3s;
}
.banner-dots span.active { background: var(--accent); }

/* ---------- 通用板块 ---------- */
.section { padding: 60px 0; }
.section-gray { background: var(--bg-gray); }

.sec-head { text-align: center; margin-bottom: 40px; position: relative; }
.g-tit-m { display: inline-block; position: relative; font-size: 28px; color: var(--text); padding: 0 18px; }
.g-tit-m::before, .g-tit-m::after {
  content: ""; position: absolute; top: 50%; width: 56px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.g-tit-m::before { right: 100%; background: linear-gradient(270deg, transparent, var(--accent)); }
.g-tit-m::after { left: 100%; }
.sec-sub { color: var(--text-light); margin-top: 10px; }
.sec-more { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: 14px; }
.sec-more:hover { color: var(--primary); }

/* ---------- 板块一：核心培训项目（无缝四宫格 + 遮罩） ---------- */
.section-projects { padding: 60px 0 0; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; width: 100%; }
.project-card {
  position: relative; display: block; overflow: hidden; height: 420px;
}
.project-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s;
}
.project-card:hover > img { transform: scale(1.06); }
.project-card .mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 35, 76, 0.42) 0%, rgba(13, 35, 76, 0.78) 100%);
  padding: 34px 26px; color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  transition: background 0.4s;
}
.project-card:hover .mask {
  background: linear-gradient(180deg, rgba(13, 35, 76, 0.58) 0%, rgba(13, 35, 76, 0.88) 100%);
}
.p-icon { width: 40px; height: 40px; color: #fff; margin-bottom: 14px; }
.p-dash { display: block; width: 34px; height: 2px; background: rgba(255, 255, 255, 0.7); margin: 0 auto 14px; }
.project-card .mask h4 { font-size: 22px; margin-bottom: 8px; }
.project-card .mask p {
  font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.88);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.45s, opacity 0.45s, margin-top 0.45s;
}
.project-card:hover .mask p { max-height: 130px; opacity: 1; margin-top: 4px; }
/* 核心服务能力板块标题与副标题适当放大（仅作用于该板块） */
.section-projects .g-tit-m { font-size: 34px; }
.section-projects .sec-sub { font-size: 15.5px; }

/* ---------- 板块二：近期公开课（轮播，每页 3 个） ---------- */
.course-slider { position: relative; overflow: hidden; }
.course-track { display: flex; transition: transform 0.5s ease; }
.course-slide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; flex-shrink: 0; width: 100%; }

.course-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 30px;
}
.course-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #ccc; cursor: pointer; transition: background 0.3s;
}
.course-dots span.active { background: var(--primary); }

.course-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 40, 80, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 12px 26px rgba(20, 40, 80, 0.16); }
.course-card .pic { position: relative; padding-top: 56.25%; background: #eef2f7; }
.course-card .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-card .pic .tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 12px; padding: 3px 12px; border-radius: 20px; color: #fff;
}
.tag-open  { background: #e8542a; }
.tag-doing { background: var(--primary); }
.tag-soon  { background: #b8860b; }
.course-card .info { padding: 18px 20px 16px; }
.course-card .info h4 {
  font-size: 16px; line-height: 1.5; height: 48px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.course-card .info h4 a:hover { color: var(--primary); }
.course-card .meta {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}
.course-card .meta span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-light);
}
.course-card .meta svg { width: 14px; height: 14px; flex-shrink: 0; }

/* 移动端：公开课由「一屏三卡」改为横向滑动卡片流（露出下一张提示可滑动） */
@media (max-width: 768px) {
  /* 通栏到屏幕边缘，卡片头尾与 container 对齐 */
  .course-slider { margin: 0 -15px; overflow: hidden; }
  .course-track {
    display: flex; gap: 14px;
    padding: 4px 15px 14px;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 15px;
    scrollbar-width: none;
    transform: none !important;
  }
  .course-track::-webkit-scrollbar { display: none; }
  /* 取消分页容器，让两页卡片直接排进同一条横向轨道 */
  .course-slide { display: contents; }
  .course-track .course-card {
    flex: 0 0 auto; width: 48%;
    scroll-snap-align: start;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(20, 40, 80, 0.1);
  }
  .course-track .course-card:hover { transform: none; }
  .course-track .course-card .info { padding: 14px 14px 12px; }
  .course-track .course-card .info h4 { height: auto; font-size: 15px; line-height: 1.5; }
  .course-track .course-card .meta {
    flex-direction: column; align-items: flex-start; gap: 6px;
    margin-top: 10px; padding-top: 10px;
  }
  .course-track .course-card .meta span { font-size: 12.5px; white-space: nowrap; }
  .course-track .course-card .meta svg { width: 13px; height: 13px; }
  .course-dots { display: none; }
}

/* 小屏手机：一屏一张，露出右侧下一张的边缘 */
@media (max-width: 560px) {
  .course-track .course-card { width: 74%; }
}

/* ---------- 板块三：新闻资讯（Tab + 左头条 + 右列表） ---------- */
.news-panel { background: #fff; }
.news-tabs { display: flex; justify-content: center; gap: 14px; margin-bottom: 34px; }
.news-tabs .tab {
  padding: 8px 30px; border-radius: 22px; font-size: 15px; font-weight: bold;
  color: var(--text-light); background: var(--bg-gray);
  transition: all 0.25s;
}
.news-tabs .tab:hover { color: var(--primary); }
.news-tabs .tab.active { background: var(--primary); color: #fff; }

.news-body {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: stretch;
  animation: fadeIn 0.4s ease;
}
.news-body[hidden] { display: none; }
.news-list-slider, .news-list-track { height: auto; }
.news-list-slide { display: flex; flex-direction: column; gap: 16px; height: auto; }
.news-list-slide .news-item { align-items: center; flex: 0 0 auto; }
.news-list-dots:empty { display: none; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 左侧头条 */
.news-featured { display: flex; flex-direction: column; }
.nf-pic { position: relative; border-radius: var(--radius); overflow: hidden; padding-top: 66.6667%; background: #eef2f7; }
.nf-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-featured:hover .nf-pic img { transform: scale(1.04); }
.nf-date {
  position: absolute; left: 16px; bottom: -26px;
  width: 76px; background: var(--primary); color: #fff;
  border-radius: var(--radius); text-align: center; padding: 10px 0 8px;
  box-shadow: 0 6px 14px rgba(20, 40, 80, 0.3);
}
.nf-date b { display: block; font-size: 26px; line-height: 1.1; }
.nf-date span { font-size: 12px; opacity: 0.85; }
.nf-info { padding: 42px 8px 0 98px; }
.nf-info h4 { font-size: 18px; line-height: 1.6; margin-bottom: 8px; }
.news-featured:hover .nf-info h4 { color: var(--primary); }
.nf-info p { font-size: 13px; color: var(--text-light); line-height: 1.8; }
.nf-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: bold; color: var(--primary); }

/* 右侧新闻条目 */
.news-list { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.news-item {
  display: flex; gap: 16px; padding: 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: box-shadow 0.3s, transform 0.3s;
}
.news-item:hover { box-shadow: 0 8px 20px rgba(20, 40, 80, 0.1); transform: translateY(-3px); }
.ni-date {
  flex-shrink: 0; width: 58px; background: var(--bg-gray);
  border-radius: 6px; text-align: center; padding: 7px 0 5px; color: var(--text-light);
}
.ni-date b { display: block; font-size: 20px; line-height: 1.15; color: var(--text); }
.ni-date span { font-size: 11px; }
.ni-info h5 {
  font-size: 14px; line-height: 1.55; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item:hover .ni-info h5 { color: var(--primary); }
.ni-info p {
  font-size: 12px; color: var(--text-light); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 数据统计（图标 + 数字） ---------- */
.stats { background: linear-gradient(135deg, #16305e, #2a5298); color: #fff; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-item svg { width: 38px; height: 38px; color: #9db9e8; margin: 0 auto 10px; }
.stats-item p { font-size: 38px; font-weight: bold; color: #fff; }
.stats-item p span { font-size: 15px; font-weight: normal; margin-left: 4px; color: #bcd0f0; }
.stats-item h5 { font-size: 14px; font-weight: normal; color: #bcd0f0; margin-top: 2px; }

/* ---------- 板块四：服务客户（轮播图 分类 tid=2，仅展示图片，图片不跳转） ---------- */
.partner-slider { position: relative; overflow: hidden; }
.partner-track { display: flex; transition: transform 0.6s ease; }
.partner-slide {
  flex: 0 0 100%; box-sizing: border-box; min-width: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  padding: 6px 2px;
}
.partner-item {
  min-width: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 12px; height: 92px;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.partner-item:hover { box-shadow: 0 6px 18px rgba(20, 40, 80, 0.1); border-color: #c6d7ef; }
.partner-item img { max-width: 82%; max-height: 100%; }

.partner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; line-height: 1; color: var(--primary);
  background: #fff; border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(20, 40, 80, 0.12);
  opacity: 0; transition: opacity 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.partner-slider:hover .partner-arrow { opacity: 1; }
.partner-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.partner-arrow.prev { left: 6px; }
.partner-arrow.next { right: 6px; }

.partner-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.partner-dots span {
  width: 30px; height: 4px; border-radius: 2px; background: #ccd8e8;
  cursor: pointer; transition: background 0.3s, width 0.3s;
}
.partner-dots span.active { background: var(--accent); width: 42px; }

/* 服务客户轮播响应式（每屏张数与脚本 perView() 保持一致） */
@media (max-width: 1199px) {
  .partner-slide { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
@media (max-width: 991px) {
  .partner-slide { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .partner-item { height: 82px; }
}
@media (max-width: 767px) {
  .partner-slide { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner-item { height: 74px; padding: 10px; }
  .partner-arrow { display: none; }
  .partner-dots { margin-top: 18px; gap: 8px; }
  .partner-dots span { width: 16px; }
  .partner-dots span.active { width: 24px; }
}

/* ---------- 页脚（深黑 + 链接栏均分 + 联系区靠右） ---------- */
.footer { background: var(--footer-dark); color: #9aa5b8; padding-top: 52px; }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: 30px 24px; padding-bottom: 44px;
}
/* 链接栏：按数量自动均分剩余宽度，避免栏目少时整体偏左 */
.footer-col { flex: 1 1 0; min-width: 130px; }
.footer-col h6 {
  font-size: 15px; color: #fff; margin-bottom: 16px; position: relative; padding-bottom: 10px;
}
.footer-col h6::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--accent); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13px; color: #9aa5b8; transition: color 0.3s, padding-left 0.3s; }
.footer-col ul a:hover { color: #fff; padding-left: 4px; }

/* 联系区：固定宽度贴右侧，与链接栏之间用竖线分隔 */
.footer-contact {
  flex: 0 0 320px; margin-left: auto;
  display: flex; flex-direction: column; align-items: flex-start;
  padding-left: 34px; border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo { height: 40px; width: auto; margin-bottom: 16px; }
.footer-contact p { font-size: 12.5px; line-height: 1.9; }
.footer-contact p span { color: #cbd3e0; }
.f-tel { color: #fff !important; font-size: 15px !important; font-weight: bold; white-space: nowrap; }
.f-social { display: flex; gap: 10px; margin-top: 12px; }
.f-social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: #cfd6e2;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, color 0.3s;
}
.f-social a:hover { background: var(--accent); color: #fff; }

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 16px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: #76819a;
}
.footer-bar a { color: #76819a; }
.footer-bar a:hover { color: #fff; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 30px; bottom: 40px; width: 44px; height: 44px;
  background: var(--primary); color: #fff; border-radius: 50%;
  box-shadow: 0 4px 14px rgba(20, 40, 80, 0.35); transform: rotate(-90deg);
  opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 998;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary-dark); }

/* ==========================================================================
   响应式
   ========================================================================== */

/* 平板（≤992px） */
@media (max-width: 992px) {
  .container { width: 100%; }
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .header-right { order: 2; }
  .nav-toggle { display: flex; order: 3; margin-left: auto; }
  .nav { order: 4; width: 100%; display: none; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; justify-content: flex-start; }
  .nav > ul > li > a { line-height: 1.4; padding: 13px 6px; border-bottom: 1px solid var(--border); }
  .nav > ul > li.active > a { border-bottom: 1px solid var(--border); color: var(--primary); }
  .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; width: 100%; display: none; background: var(--bg-gray);
  }
  .nav > ul > li:hover .sub-menu { display: none; }
  .nav > ul > li.open .sub-menu { display: block; }
  .sub-menu li a { border-top: 0; padding-left: 30px; text-align: left; }

  .banner-arrow { display: none; }

  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { height: 320px; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .news-body { grid-template-columns: 1fr; }
  .nf-info { padding-left: 8px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-top { gap: 26px 20px; }
  .footer-col { flex: 1 1 38%; }
  .footer-contact {
    flex: 1 1 100%; margin-left: 0;
    border-left: 0; padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 22px;
  }
  .sec-more { position: static; transform: none; display: block; margin-top: 6px; }
}

/* 手机（≤768px） */
@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .g-tit-m { font-size: 22px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { height: 260px; }
  .project-card .mask p { max-height: 130px; opacity: 1; margin-top: 4px; }
  .course-grid { grid-template-columns: 1fr; }
  .news-tabs .tab { padding: 7px 18px; font-size: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-item p { font-size: 28px; }
  /* 页脚：移动端不展示导航链接栏，只保留品牌 Logo 与联系方式 */
  .footer { padding-top: 34px; }
  .footer-top { display: block; padding-bottom: 22px; }
  .footer-top > .footer-col:not(.footer-contact) { display: none; }
  /* 品牌 + 联系信息整体居中，避免全部堆在左侧、右侧大片留白 */
  .footer-contact {
    flex: none; width: 100%; margin: 0; padding: 0;
    border: 0; align-items: center; text-align: center;
  }
  .footer-logo { height: 40px; margin: 0 auto 16px; }
  /* 三行信息居中排布，与居中 Logo 形成对称的竖排结构 */
  .footer-contact p {
    text-align: center; font-size: 13px; line-height: 1.8;
  }
  .f-tel { display: block; font-size: 16px !important; margin-bottom: 6px; }
  .footer-bar { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
}

/* 大屏（>1400px）居中限宽，避免拉伸过度 */
@media (min-width: 1400px) {
  .container { width: 1280px; }
}

/* ==========================================================================
   内容页通用样式（人工智能通识课程等子页面）
   ========================================================================== */

/* ---------- 头部 Banner（全宽图片横幅，内容页用） ---------- */
.page-banner { overflow: hidden; }
.page-banner img { width: 100%; height: 520px; object-fit: cover; display: block; }

/* ---------- 页面横幅（背景大图 + 居中分类名，三个子页面统一） ---------- */
.page-hero {
  position: relative; height: 320px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.page-hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: 46px; color: #fff; font-weight: bold; letter-spacing: 8px; text-indent: 8px;
}
.page-hero h1::after {
  content: ""; display: block; width: 56px; height: 4px;
  background: var(--accent); margin: 20px auto 0; border-radius: 2px;
}

/* ---------- 栏目头：无字 Banner + 动态标题（06 动态标题方案） ----------
   中文标题 / 英文栏目名 / 副标题全部由页面 DOM 渲染，Banner 保持无字；
   高度按 1920x520 比例自适应，完整展示 Banner 不再裁切上下边缘。 */
.gp-hero {
  position: relative; width: 100%; height: clamp(300px, 27.0833vw, 520px);
  overflow: hidden; background: #16324f; color: #f1f7f7; text-align: center;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.gp-hero__background {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.gp-hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: min(100%, 760px); height: 100%; margin-inline: auto;
  padding: 24px 24px 28px; box-sizing: border-box;
}
.gp-hero__eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 13px;
  margin: 0 0 19px; color: #a0c6ce;
  font-family: Arial, sans-serif; font-size: clamp(9px, .72vw, 12px);
  font-weight: 400; line-height: 1.4; letter-spacing: .25em; text-transform: uppercase;
}
.gp-hero__eyebrow::before { content: ""; flex: 0 0 15px; height: 1px; background: #69c5bd; }
.gp-hero__title {
  max-width: 100%; margin: 0; padding-inline-start: .17em; color: #f1f7f7;
  font-size: clamp(32px, 3.05vw, 56px); font-weight: 400; line-height: 1.3;
  letter-spacing: .17em; text-wrap: balance; overflow-wrap: anywhere;
}
.gp-hero__rule {
  display: block; flex: 0 0 2px; width: 36px; height: 2px; margin: 23px 0 18px;
  background: linear-gradient(90deg, #17b8ad, #96dfd2); opacity: .85;
}
.gp-hero__subtitle {
  max-width: 34em; margin: 0; color: #bad1d8;
  font-size: clamp(12px, .92vw, 15px); font-weight: 400; line-height: 1.7;
  letter-spacing: .1em; text-wrap: balance;
}
.gp-hero__eyebrow:empty, .gp-hero__subtitle:empty { display: none; }
@media (max-width: 600px) {
  .gp-hero { height: 280px; }
  .gp-hero__content { padding-inline: 22px; }
  .gp-hero__eyebrow { gap: 10px; margin-bottom: 17px; letter-spacing: .18em; }
  .gp-hero__title { font-size: 32px; letter-spacing: .14em; padding-inline-start: .14em; }
  .gp-hero__rule { width: 30px; margin: 20px 0 16px; }
  .gp-hero__subtitle { font-size: 12px; letter-spacing: .06em; }
}

/* ---------- 列表页横线式页签（Banner 下方二级栏目切换） ---------- */
.sub-tabs { background: #fff; border-bottom: 1px solid var(--border); }
.sub-tabs .container { display: flex; align-items: center; flex-wrap: wrap; }
.sub-tabs a {
  position: relative; display: block;
  padding: 18px 22px; font-size: 16px; color: var(--text);
  transition: color 0.25s;
}
.sub-tabs a::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px;
  background: var(--primary); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transition: transform 0.25s;
}
.sub-tabs a:hover { color: var(--primary); }
.sub-tabs a:hover::after { transform: scaleX(0.5); }
.sub-tabs a.active { color: var(--primary); font-weight: bold; }
.sub-tabs a.active::after { transform: scaleX(1); }

/* ---------- 通用板块标题（内容页） ---------- */
.page-section { padding: 64px 0; }
.page-section.gray { background: var(--bg-gray); }
.sec-title {
  text-align: center; margin-bottom: 48px;
}
.sec-title h2 {
  font-size: 30px; color: var(--text); font-weight: bold; margin-bottom: 12px;
}
.sec-title h2 span { color: var(--primary); }
.sec-title .bar {
  width: 44px; height: 4px; background: var(--accent); margin: 0 auto 16px; border-radius: 2px;
}
.sec-title p { font-size: 15px; color: var(--text-light); }

/* ---------- 课程简介 ---------- */
.intro-wrap {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: center;
}
.intro-text h3 {
  font-size: 32px; color: var(--primary); margin-bottom: 22px; font-weight: bold;
}
.intro-text h3::after {
  content: ""; display: block; width: 40px; height: 3px;
  background: var(--accent); margin-top: 14px; border-radius: 2px;
}
.intro-text p {
  font-size: 15px; color: #555; line-height: 1.9; margin-bottom: 14px;
}
.intro-text .tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.intro-text .tags span {
  padding: 6px 16px; background: rgba(31, 78, 156, 0.08);
  color: var(--primary); border-radius: 20px; font-size: 13px; border: 1px solid rgba(31, 78, 156, 0.15);
}
.intro-pic {
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 36px rgba(20, 40, 80, 0.18);
}
.intro-pic img { width: 100%; height: 360px; object-fit: cover; }

/* ---------- 课程特色（流程式 6 步） ---------- */
.feature-flow {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.feature-flow.four { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-flow.four .feature-card { padding: 28px 20px; }
.feature-card {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 32px 26px; box-shadow: 0 4px 18px rgba(20, 40, 80, 0.07);
  border: 1px solid var(--border); transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px); box-shadow: 0 14px 32px rgba(20, 40, 80, 0.14);
  border-color: var(--primary);
}
.feature-card .num {
  position: absolute; top: 20px; right: 24px;
  font-size: 40px; font-weight: bold; color: rgba(31, 78, 156, 0.08); line-height: 1;
}
.feature-card .ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card .ico svg { width: 28px; height: 28px; }
.feature-card h4 { font-size: 18px; color: var(--text); margin-bottom: 10px; font-weight: bold; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ---------- 课程体系（图片作背景、内容浮于图上） ---------- */
.system-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.system-card {
  position: relative; background: var(--primary); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 18px rgba(20, 40, 80, 0.07); transition: all 0.3s;
  border: 1px solid var(--border);
  min-height: 400px; display: flex; align-items: stretch;
}
.system-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(20, 40, 80, 0.14); }
.system-card .s-bg { position: absolute; inset: 0; overflow: hidden; }
.system-card .s-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s;
}
.system-card:hover .s-bg img { transform: scale(1.06); }
/* 图片上叠加渐变遮罩，保证白字可读 */
.system-card .s-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 55, 0.32) 0%, rgba(10, 25, 55, 0.62) 100%);
}
.system-card .s-body {
  position: relative; z-index: 1; padding: 30px 22px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.system-card .s-body h4 {
  font-size: 20px; color: #fff; margin-bottom: 14px; font-weight: bold; line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.system-card .s-body h4 .s-no {
  display: block; width: 30px; height: 30px; line-height: 30px; text-align: center;
  background: rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff; border-radius: 50%; font-size: 14px; margin: 0 auto 12px;
}
.system-card .s-body p { font-size: 14px; color: rgba(255, 255, 255, 0.92); line-height: 1.8; }
.system-card .s-body ul {
  margin-top: 14px; align-self: stretch; text-align: left;
  background: rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 10px 14px 10px 18px;
}
.system-card .s-body ul li {
  font-size: 13.5px; color: rgba(255, 255, 255, 0.9); padding: 4px 0;
}
.system-card .s-body ul li::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 8px;
}

/* ---------- 近期课程列表 ---------- */
.course-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.course-item {
  display: flex; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 18px rgba(20, 40, 80, 0.07); border: 1px solid var(--border);
  transition: all 0.3s;
}
.course-item:hover { box-shadow: 0 12px 30px rgba(20, 40, 80, 0.14); transform: translateY(-4px); }
.course-item .ci-pic {
  width: 240px; flex-shrink: 0; overflow: hidden; position: relative;
  aspect-ratio: 4 / 3; align-self: center; background: #eef2f7;
}
.course-item .ci-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.course-item:hover .ci-pic img { transform: scale(1.08); }
.course-item .ci-pic .ci-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; background: var(--accent); color: #fff;
  border-radius: 4px; font-size: 12px; font-weight: bold;
}
.course-item .ci-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.course-item .ci-body h4 {
  font-size: 17px; color: var(--text); margin-bottom: 12px; font-weight: bold;
  line-height: 1.5; transition: color 0.2s;
}
.course-item:hover .ci-body h4 { color: var(--primary); }
.course-item .ci-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; flex: 1; }
.course-item .ci-meta {
  display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #666;
  padding-top: 12px; border-top: 1px dashed var(--border);
}
.course-item .ci-meta span { display: flex; align-items: center; gap: 6px; }
.course-item .ci-meta svg { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; }
.course-item .ci-meta .loc { color: var(--primary); }
.course-item .ci-meta .date { color: var(--accent); font-weight: bold; }

/* 近期课程：一行 3 个（复用首页 course-card 卡片样式） */
.course-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

/* 近期课程：查看更多按钮 */
.course-more { text-align: center; margin-top: 42px; }
.course-more a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 34px; background: #fff; border: 1px solid var(--primary); border-radius: 40px;
  color: var(--primary); font-size: 15px; font-weight: bold; transition: all 0.3s;
}
.course-more a:hover {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 8px 20px rgba(31, 78, 156, 0.22);
}
.course-more a svg { width: 16px; height: 16px; transition: transform 0.3s; }
.course-more a:hover svg { transform: translateX(4px); }

/* ---------- 报名 CTA ---------- */
.cta-bar {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  padding: 42px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.cta-inner .cta-text h3 { font-size: 26px; color: #fff; margin-bottom: 6px; }
.cta-inner .cta-text p { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.cta-inner .cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; background: var(--accent); color: #fff;
  border-radius: 30px; font-size: 16px; font-weight: bold;
  box-shadow: 0 6px 18px rgba(243, 152, 0, 0.4); transition: all 0.3s;
}
.cta-inner .cta-btn:hover { background: #e08a00; transform: translateY(-2px); }

/* ---------- 内容页响应式 ---------- */
@media (max-width: 992px) {
  .page-banner img { height: 320px; }
  .page-hero { height: 260px; }
  .page-hero h1 { font-size: 30px; }
  .intro-wrap { grid-template-columns: 1fr; gap: 28px; }
  .intro-pic img { height: 280px; }
  .feature-flow, .feature-flow.four { grid-template-columns: repeat(2, 1fr); }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .course-list { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-banner img { height: 220px; }
  .page-section { padding: 40px 0; }
  .page-hero { height: 200px; }
  .page-hero h1 { font-size: 26px; letter-spacing: 4px; text-indent: 4px; }
  .sub-tabs .container { flex-wrap: nowrap; overflow-x: auto; }
  .sub-tabs a { padding: 14px 15px; font-size: 15px; white-space: nowrap; }
  .sub-tabs a::after { left: 15px; right: 15px; }
  .sec-title h2 { font-size: 22px; }
  .feature-flow, .feature-flow.four { grid-template-columns: 1fr; }
  .system-grid { grid-template-columns: 1fr; }
  .course-item { flex-direction: column; }
  .course-item .ci-pic { width: 100%; height: auto; aspect-ratio: 4 / 3; align-self: stretch; }
  .course-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   课程体系页面（课程详情，左分类 + 右详情）
   ========================================================================== */

/* ---------- 两栏布局 ---------- */
.detail-wrap {
  display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start;
}

/* ---------- 左侧：课程体系分类侧边栏 ---------- */
.sidebar {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; position: sticky; top: 100px;
}
.sidebar .side-title {
  padding: 20px 24px; background: var(--primary); color: #fff;
  font-size: 18px; font-weight: bold; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.sidebar .side-title svg { width: 20px; height: 20px; }
.sidebar .side-list { padding: 10px 0; }
.sidebar .side-list li a {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 24px; font-size: 14.5px; color: var(--text);
  border-left: 3px solid transparent; transition: all 0.25s;
}
.sidebar .side-list li a .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--border); flex-shrink: 0;
  transition: all 0.25s;
}
.sidebar .side-list li a:hover { color: var(--primary); background: rgba(31, 78, 156, 0.05); }
.sidebar .side-list li a:hover .dot { background: var(--primary); }
.sidebar .side-list li.active a {
  color: var(--primary); background: rgba(31, 78, 156, 0.08);
  border-left-color: var(--primary); font-weight: bold;
}
.sidebar .side-list li.active a .dot { background: var(--accent); }

/* ---------- 侧边栏二级结构：子分类 + 课程列表 ---------- */
.sidebar .side-nav { padding: 0; }
.sidebar .side-cat a {
  display: flex; align-items: center; justify-content: center;
  padding: 12px 24px; font-size: 15px; font-weight: bold; color: var(--text);
  background: #d9d9d9; transition: all 0.25s;
}
.sidebar .side-cat a::before { display: none; }
.sidebar .side-cat a:hover { color: var(--text); }
.sidebar .side-cat.active a { color: var(--primary); background: #c3c3c3; }
.sidebar .side-sub { border-bottom: 1px solid var(--border); }
.sidebar .side-sub li a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--border); transition: all 0.25s;
  line-height: 1.5; word-break: break-all;
}
.sidebar .side-sub li:last-child a { border-bottom: none; }
.sidebar .side-sub li a .dot { display: none; }
.sidebar .side-sub li a:hover { color: var(--primary); background: rgba(31, 78, 156, 0.05); }
.sidebar .side-sub li.active a {
  color: var(--primary); background: rgba(31, 78, 156, 0.08); font-weight: bold;
}
.sidebar .side-contact { padding: 18px 24px; border-top: 1px dashed var(--border); }
.sidebar .side-contact h6 { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.sidebar .side-contact p { font-size: 13px; color: var(--text-light); line-height: 1.7; }
.sidebar .side-contact .tel { color: var(--accent); font-size: 16px; font-weight: bold; }

/* ---------- 右侧：课程详情主体 ---------- */
.detail-main {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.detail-head {
  padding: 30px 36px; background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
}
.detail-head .crumb {
  font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-bottom: 12px;
}
.detail-head .crumb a { color: rgba(255, 255, 255, 0.75); }
.detail-head .crumb a:hover { color: #fff; }
.detail-head h1 { font-size: 28px; font-weight: bold; line-height: 1.4; }
.detail-head p { font-size: 14px; color: rgba(255, 255, 255, 0.85); margin-top: 10px; }

/* ---------- 详情区块通用 ---------- */
.detail-body { padding: 10px 36px 40px; }
.detail-sec { padding: 34px 0; border-bottom: 1px solid var(--border); }
.detail-sec:last-child { border-bottom: none; }
.detail-sec .sec-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.detail-sec .sec-head .sec-ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.detail-sec .sec-head .sec-ico svg { width: 22px; height: 22px; }
.detail-sec .sec-head h2 {
  font-size: 22px; color: var(--text); font-weight: bold;
  border-left: 4px solid var(--accent); padding-left: 12px;
}
.detail-sec .sec-body p {
  font-size: 14.5px; color: #555; line-height: 1.9; margin-bottom: 12px;
}

/* ---------- 正文底部：我要报名 按钮 ---------- */
.detail-signup {
  margin-top: 34px; padding-top: 30px;
  border-top: 1px dashed var(--border);
  text-align: center;
}
.detail-signup .signup-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 46px; border-radius: 40px;
  background: linear-gradient(135deg, var(--accent), #ff8a00);
  color: #fff; font-size: 17px; font-weight: bold; letter-spacing: 1px;
  box-shadow: 0 8px 22px rgba(243, 152, 0, 0.38);
  transition: all 0.3s;
}
.detail-signup .signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(243, 152, 0, 0.5);
}
.detail-signup .signup-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* 课程背景 */
.bg-item { margin-bottom: 16px; }
.bg-item h5 {
  font-size: 15.5px; color: var(--primary); font-weight: bold; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.bg-item h5::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* 课程收益 */
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.benefit-list li {
  font-size: 14px; color: #555; line-height: 1.8; padding-left: 22px; position: relative;
}
.benefit-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 9px; height: 9px; border: 2px solid var(--accent); border-radius: 2px; transform: rotate(45deg);
}

/* 课程大纲 */
.outline-item { margin-bottom: 24px; }
.outline-item:last-child { margin-bottom: 0; }
.outline-item .outline-title {
  font-size: 16px; color: var(--primary); font-weight: bold; margin-bottom: 10px;
  padding-left: 14px; border-left: 4px solid var(--accent);
}
.outline-item p { font-size: 14px; color: #555; line-height: 1.85; margin-bottom: 8px; }
.outline-item .sub { padding-left: 18px; }
.outline-item .sub li {
  font-size: 13.5px; color: #666; line-height: 1.9; padding-left: 14px; position: relative;
}
.outline-item .sub li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: 0.5;
}

/* 组织机构 */
.org-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.org-card {
  background: var(--bg-gray); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px 20px; text-align: center; transition: all 0.3s;
}
.org-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.org-card .org-ico {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.org-card .org-ico svg { width: 28px; height: 28px; }
.org-card h5 { font-size: 15.5px; color: var(--text); margin-bottom: 6px; font-weight: bold; }
.org-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* 客户评价 */
.comment-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.comment-card {
  background: var(--bg-gray); border: 1px solid var(--border); border-radius: 12px;
  padding: 22px; position: relative;
}
.comment-card .quote {
  position: absolute; top: 14px; right: 20px; font-size: 40px; color: rgba(31, 78, 156, 0.12);
  font-family: Georgia, serif; line-height: 1;
}
.comment-card .stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.comment-card p { font-size: 14px; color: #555; line-height: 1.85; margin-bottom: 14px; }
.comment-card .who { font-size: 13px; color: var(--primary); font-weight: bold; }

/* 课程详情响应式 */
@media (max-width: 992px) {
  .detail-wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .benefit-list { grid-template-columns: 1fr; }
  .org-grid { grid-template-columns: repeat(2, 1fr); }
  .comment-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .detail-body { padding: 10px 20px 30px; }
  .detail-head { padding: 22px 20px; }
  .detail-head h1 { font-size: 22px; }
  .detail-sec { padding: 26px 0; }
  .org-grid { grid-template-columns: 1fr; }
  .detail-signup { margin-top: 26px; padding-top: 24px; }
  .detail-signup .signup-btn { padding: 14px 34px; font-size: 16px; }
}

/* ==========================================================================
   资讯列表页（内部动态 / 行业资讯，左图右文列表）
   ========================================================================== */

.news-grid { display: flex; flex-wrap: wrap; flex-direction: row; gap: 22px; }
.news-grid .news-item {
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.3s;
}
.news-item:hover { border-color: var(--primary); box-shadow: 0 10px 28px rgba(31, 78, 156, 0.08); transform: translateY(-3px); }
.news-item .news-pic {
  width: 100%; height: 170px; flex-shrink: 0; overflow: hidden; position: relative;
}
.news-item .news-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.news-item:hover .news-pic img { transform: scale(1.06); }
/* 图片左上角：所属栏目角标 */
.news-item .news-pic .pic-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 13px; background: var(--primary); color: #fff;
  font-size: 12px; font-weight: bold; border-radius: 20px; line-height: 1.6;
  box-shadow: 0 2px 8px rgba(20, 40, 80, 0.28);
  max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-info { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 20px; }
.news-info h3 { font-size: 17px; font-weight: bold; color: var(--text); line-height: 1.5; }
.news-info h3 a { color: inherit; transition: color 0.25s; }
.news-info h3 a:hover { color: var(--primary); }
.news-info .news-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 12px;
  font-size: 13px; color: var(--text-light);
}
.news-info .news-meta span {
  display: inline-flex; align-items: center; gap: 5px; min-width: 0;
}
.news-info .news-meta span svg { width: 14px; height: 14px; flex-shrink: 0; }
.news-info p { font-size: 14px; color: #666; line-height: 1.85; margin-bottom: 14px; }
.news-info .more {
  margin-top: auto; align-self: flex-start; font-size: 13.5px; color: var(--primary); font-weight: bold;
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.25s;
}
.news-info .more svg { width: 14px; height: 14px; }
.news-info .more:hover { gap: 10px; }

/* 分页 */
.news-pagination {
  display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 36px;
}
.news-pagination a {
  min-width: 38px; height: 38px; padding: 0 12px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px; background: #fff;
  color: var(--text); font-size: 14px; transition: all 0.25s;
}
.news-pagination a:hover { border-color: var(--primary); color: var(--primary); }
.news-pagination a.current {
  background: var(--primary); border-color: var(--primary); color: #fff; font-weight: bold;
}

/* 资讯列表响应式 */
@media (max-width: 992px) {
  .news-grid .news-item { flex: 0 0 calc((100% - 22px) / 2); }
}
@media (max-width: 768px) {
  .news-grid .news-item { flex: 0 0 100%; }
  .news-grid .news-item .news-pic { height: 190px; }
}

/* ==========================================================================
   推荐新闻 swiper（横幅下方，视窗展示一条，左图右文）
   ========================================================================== */

.rec-news {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
}
.rec-news-inner { padding-top: 26px; padding-bottom: 30px; }
.rec-news-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.rec-news-head h2 {
  font-size: 22px; font-weight: bold; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.rec-news-head h2::before {
  content: ""; width: 5px; height: 22px; border-radius: 3px;
  background: var(--accent); display: inline-block;
}
.rec-arrows { display: flex; gap: 10px; }
.rec-arrow {
  width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%;
  background: #fff; color: var(--text); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s; line-height: 1;
}
.rec-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.rec-viewport { overflow: hidden; border-radius: var(--radius); }
.rec-track { display: flex; transition: transform 0.5s ease; }
.rec-item {
  flex: 0 0 100%; min-width: 0;
  display: flex; gap: 26px; align-items: stretch;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.rec-item .rec-pic {
  width: 300px; height: 176px; flex-shrink: 0; border-radius: 10px; overflow: hidden;
}
.rec-item .rec-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rec-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.rec-info h3 { font-size: 20px; font-weight: bold; color: var(--text); line-height: 1.45; }
.rec-info h3 a { color: inherit; transition: color 0.25s; }
.rec-info h3 a:hover { color: var(--primary); }
.rec-info .rec-meta {
  display: flex; align-items: center; gap: 18px; margin: 12px 0 14px;
  font-size: 13px; color: var(--text-light);
}
.rec-info .rec-meta .date { display: inline-flex; align-items: center; gap: 5px; }
.rec-info .rec-meta .date svg { width: 14px; height: 14px; }
.rec-info p { font-size: 14px; color: #666; line-height: 1.85; margin-bottom: 14px; }
.rec-info .more {
  align-self: flex-start; font-size: 13.5px; color: var(--primary); font-weight: bold;
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.25s;
}
.rec-info .more svg { width: 14px; height: 14px; }
.rec-info .more:hover { gap: 10px; }

/* 推荐新闻响应式 */
@media (max-width: 768px) {
  .rec-item { flex-direction: column; }
  .rec-item .rec-pic { width: 100%; height: 190px; }
  .rec-info h3 { font-size: 17px; }
}

/* ==========================================================================
   关于我们页（企业文化 / 品牌合作 / 为什么选择 / 国培印象）
   ========================================================================== */

/* 企业文化（使命 / 愿景 / 价值观，复用 .feature-flow 三卡） */
/* 企业文化三卡：图标 / 标题 / 内容整体居中（仅作用于 about 页 #culture 板块） */
#culture .feature-card { text-align: center; }
#culture .feature-card .ico { margin-left: auto; margin-right: auto; }
#culture .feature-card h4 { justify-content: center; }

.culture-note {
  margin-top: 26px; padding: 18px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(31, 78, 156, 0.06), rgba(255, 122, 0, 0.06));
  border: 1px dashed var(--primary); font-size: 14px; color: #555; line-height: 1.9;
}

/* 品牌合作 */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.brand-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 4px 18px rgba(20, 40, 80, 0.06); transition: all 0.3s;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 40, 80, 0.12); border-color: var(--primary); }
.brand-card .b-logo {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.brand-card .b-logo svg { width: 32px; height: 32px; }
.brand-card h4 { font-size: 18px; color: var(--text); font-weight: bold; margin-bottom: 10px; }
.brand-card p { font-size: 14px; color: var(--text-light); line-height: 1.85; }

/* 为什么选择国培科创 */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item {
  text-align: center; padding: 30px 22px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(20, 40, 80, 0.06); transition: all 0.3s;
}
.why-item:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(20, 40, 80, 0.12); border-color: var(--primary); }
.why-item .w-ico {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.why-item .w-ico svg { width: 30px; height: 30px; }
.why-item h4 { font-size: 17px; color: var(--text); font-weight: bold; margin-bottom: 10px; }
.why-item p { font-size: 13.5px; color: var(--text-light); line-height: 1.85; }

/* 国培印象（培训现场照片轮播） */
.gallery { background: var(--bg-gray); }
.gallery-inner { padding: 26px 0 34px; }
.gallery-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px;
}
.gallery-head h2 {
  font-size: 22px; font-weight: bold; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.gallery-head h2::before {
  content: ""; width: 5px; height: 22px; border-radius: 3px;
  background: var(--accent); display: inline-block;
}
.gallery-viewport { overflow: hidden; }
.gallery-track { display: flex; transition: transform 0.5s ease; }
.gallery-item {
  flex: 0 0 calc((100% - 44px) / 3); min-width: 0; margin-right: 22px;
  border-radius: var(--radius); overflow: hidden; position: relative;
  box-shadow: 0 4px 18px rgba(20, 40, 80, 0.08);
}
.gallery-item:last-child { margin-right: 0; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(13, 30, 60, 0.78));
  color: #fff; font-size: 13.5px; text-align: center;
}

/* 关于我们页响应式 */
@media (max-width: 992px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { flex: 0 0 calc((100% - 22px) / 2); margin-right: 22px; }
  .gallery-item:last-child { margin-right: 0; }
}
@media (max-width: 768px) {
  .brand-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-item { flex: 0 0 100%; margin-right: 0; }
  .gallery-item img { height: 200px; }
}

/* ==== 模板动态区补充样式 ==== */
.detail-meta { display: flex; gap: 18px; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.85); flex-wrap: wrap; }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.detail-meta svg { width: 15px; height: 15px; }
.detail-pic { padding: 20px 36px 0; }
.detail-pic img { width: 100%; border-radius: 8px; display: block; }
.jz-page-body img { max-width: 100%; height: auto; border-radius: 6px; }
.jz-page-body table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.jz-page-body table td, .jz-page-body table th { border: 1px solid #e3e8f0; padding: 8px 10px; font-size: 15px; }
.jz-page-body p { margin: 12px 0; line-height: 1.9; }
.jz-page-body ul, .jz-page-body ol { padding-left: 22px; margin: 12px 0; }
.jz-page-body h2, .jz-page-body h3, .jz-page-body h4 { margin: 20px 0 10px; }


/* ==========================================================================
   客户案例列表页（3 列案例卡片 + 分页）
   ========================================================================== */

/* ---------- 案例卡片（3 列，图上文下，图 58% 比例） ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all 0.3s;
}
.case-card:hover {
  border-color: var(--primary); transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(20, 40, 80, 0.14);
}
.case-pic { position: relative; padding-top: 58%; overflow: hidden; }
.case-pic img {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s;
}
.case-card:hover .case-pic img { transform: scale(1.08); }

.case-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.case-body h3 {
  font-size: 17.5px; font-weight: bold; color: var(--text); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.25s;
}
.case-card:hover .case-body h3 { color: var(--primary); }
.case-body p {
  font-size: 13.5px; color: #666; line-height: 1.85; margin: 10px 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.case-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; align-self: flex-start;
  color: var(--primary); font-size: 13.5px; font-weight: bold; transition: gap 0.25s;
}
.case-more svg { width: 14px; height: 14px; }
.case-more:hover { gap: 10px; }

/* ---------- 客户案例页响应式 ---------- */
@media (max-width: 992px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 768px) {
  .case-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ==========================================================================
   客户案例详情页（对齐参考站 /zixunanli/xxx.html 的 .m-txtg3 版式）
   ========================================================================== */

/* ---------- 面包屑 ---------- */
.case-crumb { background: #fff; border-bottom: 1px solid var(--border); }
.case-crumb .container { padding-top: 16px; padding-bottom: 16px; font-size: 13px; color: var(--text-light); }
.case-crumb a { color: var(--text-light); transition: color 0.25s; }
.case-crumb a:hover { color: var(--primary); }
.case-crumb .sep { margin: 0 8px; color: #c3cbd8; }
.case-crumb .cur { color: var(--text); }

/* ---------- 正文容器（居中单栏，对齐参考站版心） ---------- */
.case-article { max-width: 900px; margin: 0 auto; }

/* ---------- 标题区 ---------- */
.case-article .art-head { text-align: center; margin-bottom: 34px; }
.case-article .art-head .art-tag {
  display: inline-block; margin-bottom: 16px; padding: 4px 14px;
  font-size: 12.5px; color: var(--primary);
  background: rgba(31, 78, 156, 0.08);
  border: 1px solid rgba(31, 78, 156, 0.18);
  border-radius: 20px;
}
.case-article .art-head h1 {
  font-size: 30px; font-weight: bold; color: var(--text);
  line-height: 1.5; margin-bottom: 18px;
}
.case-article .art-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text-light);
}
.case-article .art-meta span { display: inline-flex; align-items: center; gap: 6px; }
.case-article .art-meta svg { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; }

/* ---------- 封面图 ---------- */
.case-cover { margin: 34px 0; border-radius: var(--radius); overflow: hidden; }
.case-cover img { width: 100%; display: block; }

/* ---------- 案例速览（4 项关键信息） ---------- */
.case-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 44px;
}
.case-facts li { background: #fff; padding: 20px 12px; text-align: center; }
.case-facts li b { display: block; font-size: 17px; color: var(--primary); line-height: 1.5; margin-bottom: 6px; }
.case-facts li span { font-size: 13px; color: var(--text-light); }

/* ---------- 正文文字（对齐参考站 .con：15px / 32px 行高） ---------- */
.case-body-text { font-size: 15px; color: #595959; line-height: 2; }
.case-body-text p { margin-bottom: 14px; }
.case-body-text strong { color: var(--text); }

/* ---------- 分节标题（对齐参考站 .con h4：灰底 + 蓝字） ---------- */
.case-sec { margin-bottom: 36px; }
.case-sec:last-child { margin-bottom: 0; }
.case-sec h4 {
  font-size: 17px; font-weight: bold; color: var(--primary); line-height: 1.6;
  padding: 13px 22px; margin-bottom: 20px;
  background: var(--bg-gray);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- 编号列表（项目背景 / 解决方案 / 培训成效） ---------- */
.case-list { counter-reset: case-i; }
.case-list li {
  position: relative; padding-left: 40px; margin-bottom: 14px;
  font-size: 15px; color: #595959; line-height: 1.95;
}
.case-list li:last-child { margin-bottom: 0; }
.case-list li::before {
  counter-increment: case-i; content: counter(case-i);
  position: absolute; left: 0; top: 4px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(31, 78, 156, 0.1); color: var(--primary);
  font-size: 13px; font-weight: bold; line-height: 24px; text-align: center;
}

/* ---------- 客户评价引用块 ---------- */
.case-quote {
  position: relative; padding: 26px 28px;
  background: var(--bg-gray);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.case-quote .quote {
  position: absolute; top: 10px; right: 22px;
  font-family: Georgia, serif; font-size: 46px; line-height: 1;
  color: rgba(31, 78, 156, 0.12);
}
.case-quote p { font-size: 15px; color: #555; line-height: 1.95; margin-bottom: 14px; }
.case-quote .who { font-size: 13.5px; color: var(--primary); font-weight: bold; }

/* ---------- 返回列表按钮（对齐参考站 .g-returng1） ---------- */
.case-return { margin-top: 44px; text-align: center; }
.case-return a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 150px; height: 50px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 15px; color: var(--text-light); transition: all 0.3s;
}
.case-return a svg { width: 16px; height: 16px; }
.case-return a:hover {
  border-color: var(--primary); background: var(--primary); color: #fff;
  box-shadow: 0 8px 20px rgba(31, 78, 156, 0.22);
}

/* ---------- 上一篇 / 下一篇 ---------- */
.case-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.case-pager a {
  display: block; padding: 16px 20px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; color: var(--text); line-height: 1.6; transition: all 0.3s;
}
.case-pager a:hover {
  border-color: var(--primary); color: var(--primary);
  box-shadow: 0 8px 20px rgba(20, 40, 80, 0.08);
}
.case-pager a span { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--text-light); }
.case-pager a.next { text-align: right; }

/* ---------- 案例详情页响应式 ---------- */
@media (max-width: 992px) {
  .case-article .art-head h1 { font-size: 26px; }
  .case-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .case-article .art-head h1 { font-size: 21px; }
  .case-article .art-meta { gap: 8px 20px; }
  .case-cover { margin: 24px 0; }
  .case-facts { margin-bottom: 32px; }
  .case-sec h4 { padding: 11px 16px; font-size: 16px; }
  .case-list li { padding-left: 34px; }
  .case-quote { padding: 22px 20px; }
  .case-pager { grid-template-columns: 1fr; }
  .case-pager a.next { text-align: left; }
}

/* ---------- 后台编辑器裸内容兜底排版（不依赖 .case-sec 包裹） ---------- */
.case-body-text h2, .case-body-text h3, .case-body-text h4, .case-body-text h5 {
  color: var(--primary); margin: 26px 0 18px; line-height: 1.6;
}
.case-body-text h2 { font-size: 20px; }
.case-body-text h3 { font-size: 18px; }
.case-body-text h4, .case-body-text h5 { font-size: 17px; padding: 13px 22px; background: var(--bg-gray); border-left: 3px solid var(--primary); }
.case-body-text ol, .case-body-text ul { padding-left: 24px; margin: 0 0 18px; }
.case-body-text ol li, .case-body-text ul li { margin-bottom: 12px; list-style: revert; }
.case-body-text img { max-width: 100%; height: auto; border-radius: 6px; margin: 10px 0; }
.case-body-text a { color: var(--primary); }
.case-body-text blockquote {
  margin: 0 0 18px; padding: 18px 24px; background: var(--bg-gray);
  border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0;
}

/* ==================== keyan-list 服务项目板块 ==================== */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; padding: 34px 26px 26px;
  border: 1px solid #e3e6ec; border-radius: 10px; background: #fff;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(31,78,156,.12); }
.service-card h4 { font-size: 20px; margin-bottom: 14px; color: var(--text); text-align: center; }
.service-card p { font-size: 14px; line-height: 1.9; color: #595959; flex: 1; }
.service-card .svc-more { margin-top: 18px; text-align: center; font-size: 14px; color: #e02222; font-weight: 600; }
.service-card:nth-child(1) { background: #fdf6e3; }
.service-card:nth-child(2) { background: #eaf6ea; }
.service-card:nth-child(3) { background: #e8eefb; }
.service-card:nth-child(4) { background: #f0f0f0; }
@media (max-width: 992px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .service-grid { grid-template-columns: 1fr; } }

/* ==================== keyan-list 服务流程板块 ==================== */
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-step { text-align: center; padding: 30px 22px; background: #eef1f8; border-radius: 10px; transition: transform .3s, background .3s; }
.flow-step:hover { transform: translateY(-6px); background: #e4eaf7; }
.flow-step .fs-no { display: block; font-size: 26px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.flow-step h4 { font-size: 18px; margin-bottom: 12px; color: var(--text); }
.flow-step p { font-size: 14px; line-height: 1.9; color: #595959; }
@media (max-width: 992px) { .flow-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .flow-steps { grid-template-columns: 1fr; } }

/* ==================== page/contact 联系我们 ==================== */
.contact-slogan {
  padding: 120px 0;
  background: linear-gradient(135deg, #e9edf7 0%, #dde5f4 100%);
  text-align: center;
}
.contact-slogan h2 {
  font-size: 32px;
  letter-spacing: 6px;
  color: var(--primary-dark);
}
.contact-info { padding: 70px 0; background: #f7f8fa; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item .c-ico {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.contact-item .c-ico svg { width: 40px; height: 40px; }
.contact-item .c-txt { flex: 1; min-width: 0; }
.contact-item h4 {
  font-size: 16px; font-weight: bold; color: var(--text);
  margin-bottom: 10px; text-align: left;
}
.contact-item p { font-size: 13px; line-height: 1.9; color: #777; text-align: left; }
.contact-item a { color: #777; transition: color .2s; }
.contact-item a:hover { color: var(--primary); }
.contact-item .qr-box {
  width: 110px; height: 110px;
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: 4px; overflow: hidden;
}
.contact-item .qr-box img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 992px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .contact-slogan { padding: 70px 0; }
  .contact-slogan h2 { font-size: 22px; letter-spacing: 3px; }
  .contact-info { padding: 40px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* 人员招聘照片（联系我们页，二维码右侧） */
.contact-item .hr-photo {
  width: 110px; height: 110px; margin-bottom: 10px;
  border: 1px solid var(--border); border-radius: 6px;
  background: #fff; overflow: hidden;
}
.contact-item .hr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) {
  .contact-item .hr-photo { width: 96px; height: 96px; }
}
