/* ============================
   鸿芯智谷 - 内页专属样式
   ============================ */

/* ---------- 页面横幅 ---------- */
.page-hero {
  position: relative;
  height: 260px;
  margin-top: calc(72px + var(--topbar-height));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.82) 0%, rgba(26,58,107,.7) 50%, rgba(37,99,235,.5) 100%);
}
.page-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}
.page-hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.page-hero-content h1 .text-accent { color: #fff; }
.page-hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,.85);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 14px 0;
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--accent); transition: var(--transition); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 4px; }

/* ==================== 发展历程时间线 ==================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  transform: translateX(-50%);
  border-radius: 2px;
}
.timeline-item {
  display: flex;
  margin-bottom: 24px;
  position: relative;
}
.timeline-item.left { justify-content: flex-start; padding-right: calc(50% + 30px); }
.timeline-item.right { justify-content: flex-end; padding-left: calc(50% + 30px); }
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--accent-light);
  transform: translateX(-50%);
  z-index: 1;
}
.timeline-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.timeline-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.timeline-year {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  padding: 3px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
}
.timeline-card h4 { font-size: 17px; color: var(--primary-dark); margin-bottom: 8px; }
.timeline-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* 时间轴移动端适配 */
@media (max-width: 768px) {
  .timeline::before { left: 20px; }
  .timeline-item.left,
  .timeline-item.right { justify-content: flex-start; padding-left: 50px; padding-right: 0; }
  .timeline-item { margin-bottom: 20px; }
  .timeline-dot { left: 20px; }
  .timeline-card { padding: 18px 20px; }
}

/* ==================== 企业信息卡片 ==================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.info-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow); }
.info-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  flex-shrink: 0;
  position: relative;
}
.info-icon::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.i-name::after { content: '🏢'; }
.i-date::after { content: '📅'; }
.i-boss::after { content: '👤'; }
.i-addr::after { content: '📍'; }
.i-park::after { content: '🏭'; }
.i-team::after { content: '👥'; }
.i-base::after { content: '🔬'; }
.i-transit::after { content: '🚇'; }
.info-text h4 { font-size: 14px; color: var(--text-muted); margin-bottom: 4px; }
.info-text p { font-size: 15px; color: var(--text); line-height: 1.6; }

/* ==================== 核心优势卡片 ==================== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.advantage-card {
  padding: 32px 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-light); }
.advantage-card h4 { font-size: 18px; color: var(--primary-dark); margin: 16px 0 10px; }
.advantage-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }
.ac-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.ac-icon::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
}
.ac-1::after { content: '🎯'; }
.ac-2::after { content: '🔬'; }
.ac-3::after { content: '🔗'; }
.ac-4::after { content: '🤝'; }

/* ==================== 课程内页样式 ==================== */
.course-detail-section { padding: 70px 0; }
.course-detail-section + .course-detail-section { padding-top: 0; }

/* 课程对比表 */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}
.compare-table thead th {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: #fff;
  padding: 16px 20px;
  font-weight: 600;
  text-align: center;
}
.compare-table thead th:first-child { text-align: left; border-radius: var(--radius-lg) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius-lg) 0 0; }
.compare-table tbody td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.compare-table tbody td:first-child { text-align: left; font-weight: 500; color: var(--primary-dark); }
.compare-table tbody tr:hover { background: #f8faff; }
.compare-table tbody tr:last-child td:first-child { border-radius: 0 0 0 var(--radius-lg); }
.compare-table tbody tr:last-child td:last-child { border-radius: 0 0 var(--radius-lg) 0; }
.compare-table .highlight-col { background: #dbeafe; }

/* 学习路径 */
.learning-path {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 40px;
}
.path-step {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  width: 180px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.path-step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent-light); }
.path-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-weight: 700;
  font-size: 16px;
}
.path-step h4 { font-size: 15px; color: var(--primary-dark); margin-bottom: 6px; }
.path-step p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.path-arrow {
  font-size: 28px;
  color: var(--accent-light);
  margin: 0 8px;
}

/* ==================== 师资内页样式 ==================== */
.teacher-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.td-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  border: 1px solid #e8ecf1;
  text-align: center;
}
.td-card:hover { transform: translateY(-8px); box-shadow: 0 12px 32px rgba(37,99,235,0.15); }
.td-card-top { height: 60px; }
.td-avatar-wrap { margin-top: -45px; }
.td-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  background-color: #e2e8f0;
}
.td-body { padding: 20px 24px 28px; }
.td-body h3 { font-size: 18px; color: var(--primary-dark); margin-bottom: 4px; font-weight: 700; }
.td-role { display: block; font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.td-bio { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.td-tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.td-tags span {
  padding: 3px 12px;
  background: #eff6ff;
  color: var(--accent);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.teacher-detail-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: #fff;
  padding: 32px 24px;
  text-align: center;
}
.teacher-detail-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 4px solid rgba(255,255,255,.3);
  background-size: cover;
  background-position: center;
}
.teacher-detail-header h3 { font-size: 20px; margin-bottom: 4px; }
.teacher-detail-header .role { font-size: 14px; opacity: .85; }
.teacher-detail-body { padding: 24px; }
.teacher-detail-body p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.teacher-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.teacher-tags span {
  padding: 4px 14px;
  background: #eff6ff;
  color: var(--accent);
  border-radius: 14px;
  font-size: 12px;
}

/* 教学理念 */
.teaching-philosophy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.philosophy-item {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.philosophy-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ph-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  margin: 0 auto 16px;
  position: relative;
}
.ph-icon::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}
.ph-1::after { content: '📖'; }
.ph-2::after { content: '💡'; }
.ph-3::after { content: '🎓'; }
.philosophy-item h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 8px; }
.philosophy-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ==================== 产教融合内页样式 ==================== */
.cooperation-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}
.cooperation-case img { border-radius: var(--radius); width: 100%; }
.cc-content h4 { font-size: 20px; color: var(--primary-dark); margin-bottom: 12px; }
.cc-content p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }
.cc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-tags span {
  padding: 5px 14px;
  background: #eff6ff;
  color: var(--accent);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 500;
}

/* 高校合作详细列表 */
.university-table-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.university-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.university-table thead th {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
}
.university-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.university-table tbody tr:hover { background: #f8faff; }
.university-table tbody tr:last-child td { border-bottom: none; }
.university-table .uni-num {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

/* ==================== 智能科技内页样式 ==================== */
.tech-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tech-product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.tech-product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tpc-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.tpc-body { padding: 20px; }
.tpc-body h4 { font-size: 17px; color: var(--primary-dark); margin-bottom: 8px; }
.tpc-body p { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px; }
.tpc-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tpc-tags span {
  padding: 3px 12px;
  background: #eff6ff;
  color: var(--accent);
  border-radius: 12px;
  font-size: 11px;
}

/* 能力矩阵 */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}
.capability-item:hover { box-shadow: var(--shadow); }
.cap-num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.cap-text h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 4px; }
.cap-text p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ==================== 就业服务内页样式 ==================== */
.emp-data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.emp-data-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.emp-data-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.emp-data-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.emp-data-num span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.emp-data-label { font-size: 14px; color: var(--text-light); }

/* 企业合作logo墙 */
.employer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.employer-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-dark);
  transition: var(--transition);
  text-align: center;
}
.employer-logo-item:hover { border-color: var(--accent-light); background: #f8faff; box-shadow: var(--shadow-sm); }

/* ==================== 学费内页样式 ==================== */
.tuition-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.tuition-compare-item {
  text-align: center;
  padding: 24px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.tuition-compare-item .tci-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.tuition-compare-item h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 8px; }
.tuition-compare-item p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--accent-light); }
.faq-question {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  transition: transform .3s;
}
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  background: var(--bg-gray);
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 16px 24px;
}

/* ==================== 讲师轮播 ==================== */
.teacher-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}
.teacher-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform .5s ease;
}
.teacher-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 8px 0;
}
.teacher-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary-dark);
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.teacher-carousel-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.teacher-carousel-btn.prev { left: 0; }
.teacher-carousel-btn.next { right: 0; }
.teacher-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.teacher-carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.teacher-carousel-dots .dot.active { background: var(--accent); width: 24px; border-radius: 5px; }

/* ==================== 页内下拉导航 ==================== */
.page-nav-dropdown {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 10;
}
.pnd-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.pnd-toggle:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.5);
}
.pnd-toggle svg { transition: transform .3s ease; }
.pnd-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  border: 1px solid var(--border);
  min-width: 180px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.pnd-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pnd-menu li { list-style: none; }
.pnd-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}
.pnd-menu li:last-child a { border-bottom: none; }
.pnd-menu li a:hover {
  background: #eff6ff;
  color: var(--accent);
  padding-left: 24px;
}

/* ==================== 行业资讯页面样式 ==================== */

/* ---------- 资讯主布局（左右分栏）---------- */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding: 48px 0 72px;
  align-items: flex-start;
}

/* ---------- 左侧内容区 ---------- */
.news-main {
  min-width: 0;
}

/* 文章列表 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-item {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  margin-bottom: 20px;
}
.news-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent-light);
  transform: translateY(-2px);
}
.news-item-thumb {
  width: 260px;  
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.news-item-thumb .ni-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  padding: 3px 12px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
}
.news-item-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.news-item-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.5;
  margin-bottom: 10px;
  transition: color .2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item:hover .news-item-title { color: var(--accent); }
.news-item-summary {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.news-item-date { display: flex; align-items: center; gap: 4px; }
.news-item-link {
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s ease;
}
.news-item-link:hover { gap: 8px; }

/* 无缩略图的列表项（纯文字卡片） */
.news-item.no-thumb { flex-direction: column; }
.news-item.no-thumb .news-item-body { padding: 24px 28px; }
.news-item.no-thumb .news-item-title {
  font-size: 20px;
  -webkit-line-clamp: 1;
}
.news-item.no-thumb .news-item-summary { -webkit-line-clamp: 3; }

/* 分页 */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.page-btn.disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }

/* ---------- 右侧边栏 ---------- */
.news-sidebar {
  position: sticky;
  top: calc(72px + var(--topbar-height) + 20px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.sidebar-card-header {
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-card-header .sch-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.sidebar-card-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.sidebar-card-body {
  padding: 22px;
}

/* 客服二维码 */
.qrcode-sidebar {
  text-align: center;
}
.qrcode-sidebar img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  object-fit: contain;
  margin:0 auto;
}
.qrcode-sidebar p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}
.qrcode-sidebar p strong { color: var(--primary-dark); }

/* 公司介绍侧边栏 */
.company-intro p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 16px;
}
.company-intro .ci-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ci-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  padding: 8px 12px;
  background: var(--bg-gray);
  border-radius: 8px;
}
.ci-feature .cif-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.company-intro .ci-contact {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 热门推荐 / 热门标签 */
.hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hot-tags a {
  padding: 5px 14px;
  background: var(--bg-gray);
  border-radius: 14px;
  font-size: 12px;
  color: var(--text-light);
  transition: var(--transition);
  border: 1px solid transparent;
}
.hot-tags a:hover {
  background: #eff6ff;
  color: var(--accent);
  border-color: var(--accent-light);
}

/* 热门文章排行 */
.hot-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hot-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  transition: var(--transition);
}
.hot-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.hot-list-item:first-child { padding-top: 0; }
.hot-list-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--border);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.hot-list-num.top-1 { background: linear-gradient(135deg, #dc2626, #f87171); }
.hot-list-num.top-2 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.hot-list-num.top-3 { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.hot-list-item-title {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
  flex: 1;
}
.hot-list-item:hover .hot-list-item-title { color: var(--accent); }

/* ==================== 行业资讯详情页样式 ==================== */

/* 文章详情主体 */
.article-detail {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.article-header {
  padding: 36px 40px 28px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, #fafcff, #fff);
}
.article-category {
  display: inline-block;
  padding: 3px 14px;
  background: #eff6ff;
  color: var(--accent);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.article-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.45;
  margin-bottom: 18px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.article-meta span { display: flex; align-items: center; gap: 4px; }

/* 文章正文 */
.article-body {
  padding: 36px 40px 44px;
  font-size: 15px;
  color: var(--text);
  line-height: 2;
}
.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 36px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.4;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 28px 0 12px;
}
.article-body p {
  margin-bottom: 18px;
  text-align: justify;
}
.article-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 20px auto;
  display: block;
}
.article-body blockquote {
  margin: 20px 0;
  padding: 18px 24px;
  background: #eff6ff;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.article-body li {
  list-style-type: disc;
  margin-bottom: 8px;
  line-height: 1.8;
}
.article-body ol li { list-style-type: decimal; }
.article-body strong { color: var(--primary-dark); }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.article-body th, .article-body td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-body th {
  background: var(--bg-gray);
  font-weight: 600;
  color: var(--primary-dark);
}
.article-body tr:hover { background: #fafcff; }

/* 文章底部操作区 */
.article-footer {
  padding: 24px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.article-tags span { font-size: 13px; color: var(--text-muted); margin-right: 4px; }
.article-tags a {
  padding: 4px 14px;
  background: var(--bg-gray);
  border-radius: 14px;
  font-size: 12px;
  color: var(--text-light);
  transition: var(--transition);
}
.article-tags a:hover { color: var(--accent); background: #eff6ff; }

/* 文章导航（上一篇/下一篇） */
.article-nav {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.article-nav a {
  flex: 1;
  padding: 18px 22px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
  font-size: 13px;
  color: var(--text-muted);
}
.article-nav a:hover {
  border-color: var(--accent-light);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.article-nav a .an-label { font-size: 12px; color: var(--text-muted); }
.article-nav a .an-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-nav a:hover .an-title { color: var(--accent); }

/* ==================== 高端讲师卡片（teachers.html） ==================== */
.section-teachers-premium { padding: 70px 0 80px; }

.teacher-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

.teacher-premium-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .35s cubic-bezier(.25,.46,.45,.94);
  position: relative;
}
.teacher-premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--accent), var(--accent-light));
  transform: scaleX(0);
  transition: transform .4s ease;
}
.teacher-premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(37,99,235,.15);
  border-color: var(--accent-light);
}
.teacher-premium-card:hover::before {
  transform: scaleX(1);
}

/* 上部：头像 + 身份标签 */
.tpc-top {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 38px 28px 24px;
  background: linear-gradient(180deg, #fafcff 0%, #fff 100%);
}
.tpc-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--accent-light);
  box-shadow: 0 0 0 8px rgba(37,99,235,.08);
  transition: var(--transition);
}
.teacher-premium-card:hover .tpc-avatar {
  border-color: var(--accent);
  box-shadow: 0 0 0 8px rgba(37,99,235,.15);
}
.tpc-meta { flex: 1; min-width: 0; }
.tpc-meta h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
  letter-spacing: .5px;
}
.tpc-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 3px;
}
.tpc-subtitle {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

/* 下部：描述 + 标签 */
.tpc-body {
  padding: 0 28px 28px;
}
.tpc-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tpc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tpc-tags span {
  padding: 4px 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--accent);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: var(--transition);
}
.tpc-tags span:hover {
  background: var(--accent);
  color: #fff;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .page-hero-content h1 { font-size: 32px; }
  .page-hero { height: 220px; }
  .page-nav-dropdown { top: 12px; right: 16px; }
  .pnd-toggle { padding: 7px 14px; font-size: 13px; }
  .timeline::before { left: 20px; }
  .timeline-item.left, .timeline-item.right {
    padding: 0 0 0 50px;
    justify-content: flex-start;
  }
  .timeline-dot { left: 20px; }
  .info-grid { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .tech-product-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .emp-data-grid { grid-template-columns: repeat(2, 1fr); }
  .employer-grid { grid-template-columns: repeat(3, 1fr); }
  .tuition-compare { grid-template-columns: 1fr; }
  .teaching-philosophy { grid-template-columns: 1fr; }
  .learning-path { flex-direction: column; gap: 0; }
  .path-arrow { transform: rotate(90deg); margin: 4px 0; }
  .cooperation-case { grid-template-columns: 1fr; }
  .teacher-slide { grid-template-columns: repeat(2, 1fr); }
  /* 高端讲师网格 */
  .section-teachers-premium { padding: 50px 0 60px; }
  .teacher-premium-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .tpc-top { padding: 26px 22px 16px; gap: 14px; }
  .tpc-body { padding: 0 22px 22px; }
  /* 行业资讯响应式 */
  .news-layout { grid-template-columns: 1fr 280px; gap: 24px; }
  .news-item-thumb { width: 200px; height: 150px; }
  .article-title { font-size: 24px; }
  .article-header, .article-body, .article-footer { padding-left: 28px; padding-right: 28px; }
}

@media (max-width: 768px) {
  .teacher-slide { grid-template-columns: 1fr; }
  .teacher-carousel { padding: 0 36px; }
  .teacher-carousel-btn { width: 36px; height: 36px; font-size: 14px; }
  /* 高端讲师网格 */
  .section-teachers-premium { padding: 40px 0 50px; }
  .teacher-premium-grid { grid-template-columns: 1fr; gap: 20px; }
  .tpc-top { padding: 24px 20px 14px; gap: 14px; }
  .tpc-avatar { width: 110px; height: 110px; }
  .tpc-meta h3 { font-size: 16px; }
  .tpc-body { padding: 0 20px 22px; }
  .tpc-body p { font-size: 13px; }
  .page-hero { height: 180px; margin-top: calc(60px + var(--topbar-height)); }
  .page-hero-content h1 { font-size: 26px; }
  .page-hero-content p { font-size: 14px; }
  .emp-data-grid { grid-template-columns: repeat(2, 1fr); }
  .employer-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table-wrap { font-size: 12px; }
  /* 行业资讯移动端 */
  .news-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 0 48px;
  }
  .news-sidebar {
    position: static;
  }
  .sidebar-card-body { padding: 18px; }
  .news-item { flex-direction: column; }
  .news-item-thumb { width: 100%; height: 200px; }
  .news-item-body { padding: 20px; }
  .article-title { font-size: 22px; }
  .article-header, .article-body, .article-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .article-header { padding-top: 28px; }
  .article-body { padding: 28px 20px 32px; font-size: 14.5px; line-height: 1.9; }
  .article-footer { flex-direction: column; align-items: flex-start; }
  .article-nav { flex-direction: column; margin-top: 16px; }
}
