/* ========================================
   首页专用样式
   ======================================== */

/* 版块通用标题 */
.section-head {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.section-head h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-color);
  display: inline-block;
}
.section-head h3 a { color: var(--text-color); }
.section-head h3 a:hover { color: var(--primary-blue); }
.section-head .line {
  height: 2px;
  background: var(--primary-blue);
  margin-top: 8px;
}

/* ========== 首屏区域 ========== */
.row01 { padding: 20px 0; }

/* 轮播 */
.focusImg {
  width: 790px;
  position: relative;
  overflow: hidden;
}
.slider { position: relative; width: 790px; height: 440px; }
.slider-list { position: relative; width: 100%; height: 100%; padding: 0; margin: 0; }
.slider-item {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s;
}
.slider-item.active { opacity: 1; z-index: 2; }
.slider-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 12px 20px;
  font-size: 18px;
  line-height: 1.4;
}
.slider-dots {
  position: absolute;
  bottom: 15px; right: 20px;
  z-index: 10;
  display: flex;
  gap: 6px;
  padding: 0; margin: 0;
}
.slider-dots li {
  width: 24px; height: 24px;
  text-align: center; line-height: 24px;
  cursor: pointer;
  background: rgba(255,255,255,0.5);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
}
.slider-dots li.active,
.slider-dots li:hover {
  background: var(--primary-blue);
}

/* 最新文章 */
.focusNews {
  width: 380px;
}
.focusNews ul { padding: 0; margin: 0; }
.focusNews li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.focusNews li h3 {
  font-size: 15px;
  font-weight: normal;
  line-height: 1.6;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.focusNews li h3 a { color: var(--text-color); }
.focusNews li h3 a:hover { color: var(--primary-blue); }
.focusNews li p {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 2px;
}

/* ========== 公司活动 + 日程 ========== */
.row02 { padding: 20px 0; }
.row02b { padding: 0 0 20px; }
.homeMod.piclists { width: 580px; }
.homeMod.schedule-mod { width: 580px; }
#section-docs { width: 580px; }

.piclists .view .pic { margin-bottom: 10px; }
.piclists .view .pic img { width: 100%; height: auto; display: block; }
.piclists .view .title {
  font-size: 16px;
  text-align: center;
  padding: 8px 0;
}
.piclists .view .title a { color: var(--text-color); }
.piclists .view .title a:hover { color: var(--primary-blue); }
.piclists .ullist { padding: 0; margin: 10px 0 0; }
.piclists .ullist li {
  line-height: 36px;
  border-bottom: 1px solid #f5f5f5;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  padding-left: 12px;
  position: relative;
}
.piclists .ullist li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}
.piclists .ullist li a { color: var(--text-color); }
.piclists .ullist li a:hover { color: var(--primary-blue); }

/* 海报开关自适应样式 (no-poster / full-width) */
.homeMod.no-poster .view { display: none !important; }
.homeMod.no-poster .ullist,
.homeMod .ullist.full-width {
  width: 100% !important;
  float: none !important;
  margin-top: 0 !important;
}
.homeMod.no-poster .ullist li,
.homeMod .ullist.full-width li {
  line-height: 40px;
  font-size: 15px;
}
.homeMod.no-poster .gk-home-list,
.homeMod .gk-home-list.full-width {
  width: 100% !important;
  float: none !important;
}
.homeMod.has-poster .view {
  margin-bottom: 12px;
}

/* 首页日历 */
.home-calendar { margin-bottom: 15px; }
.hcal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.hcal-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color);
}
.hcal-prev, .hcal-next {
  width: 28px; height: 28px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 26px;
  text-align: center;
}
.hcal-prev:hover, .hcal-next:hover {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}
.hcal-table { width: 100%; border-collapse: collapse; }
.hcal-table th {
  padding: 6px 0;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: normal;
  border-bottom: 1px solid #eee;
}
.hcal-table td {
  text-align: center;
  padding: 7px 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.hcal-day { cursor: pointer; border-radius: 3px; }
.hcal-day:hover { background: var(--primary-blue-light); color: var(--primary-blue); }
.hcal-day.has-schedule { font-weight: bold; color: var(--primary-blue); }
.hcal-day.has-schedule::after {
  content: '';
  display: block;
  width: 4px; height: 4px;
  background: var(--primary-blue);
  border-radius: 50%;
  margin: 1px auto 0;
}
.hcal-today { background: #fffbe6; font-weight: bold; }
.hcal-selected { background: var(--primary-blue) !important; color: #fff !important; }

/* 日程预览 */
.home-schedule-preview {
  min-height: 100px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}
.preview-empty {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
}
.preview-item {
  padding: 6px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}
.preview-item .ptime {
  color: var(--primary-blue);
  font-weight: bold;
  margin-right: 10px;
}
.preview-item a { color: var(--text-color); }
.preview-item a:hover { color: var(--primary-blue); }

/* ========== 文件公开 ========== */
.row03 { padding: 20px 0; }
.gk-home-list { padding: 0; margin: 0; }
.gk-home-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 42px;
  border-bottom: 1px solid #f0f0f0;
  padding: 0 10px;
}
.gk-home-list li:hover { background: #fafafa; }
.gk-home-list li a {
  flex: 1;
  color: var(--text-color);
  font-size: 15px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gk-home-list li a:hover { color: var(--primary-blue); }
.gk-home-list li span {
  color: var(--text-light);
  font-size: 13px;
  flex-shrink: 0;
  margin-left: 20px;
}
.more-link {
  text-align: right;
  padding: 10px 0;
  font-size: 14px;
}
.more-link a { color: var(--text-light); }
.more-link a:hover { color: var(--primary-blue); }

/* ========== 合作伙伴滚动墙 ========== */
.row04 { padding: 20px 0 30px; }
.partner-wall {
  overflow: hidden;
  position: relative;
  height: 130px;
}
.partner-track {
  display: flex;
  gap: 30px;
  position: absolute;
  left: 0; top: 0;
  transition: none;
  will-change: transform;
}
.partner-item {
  flex-shrink: 0;
  width: 160px;
  text-align: center;
}
.partner-item img {
  width: 160px;
  height: 80px;
  object-fit: contain;
  border: 1px solid #eee;
  display: block;
  margin: 0 auto;
}
.partner-item span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.4;
}
.partner-item a:hover span { color: var(--primary-blue); }

/* ========== 友情链接 ========== */
.flink {
  padding: 15px 0;
  border-top: 1px solid #eee;
  margin-bottom: 10px;
}
.flink strong {
  font-size: 14px;
  color: var(--text-color);
  margin-right: 15px;
  float: left;
  line-height: 30px;
}
.flink ul { overflow: hidden; padding: 0; margin: 0; }
.flink li {
  float: left;
  margin-right: 20px;
  line-height: 30px;
}
.flink li a { color: var(--text-secondary); font-size: 14px; }
.flink li a:hover { color: var(--primary-blue); }

/* ========== 关于我们弹窗 ========== */
.about-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
}
.about-modal.show { display: block; }
.about-modal-mask {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
}
.about-modal-body {
  position: relative;
  width: 600px;
  max-width: 90%;
  margin: 120px auto 0;
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  z-index: 1;
}
.about-modal-body h2 {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-blue);
  padding-bottom: 10px;
}
.about-modal-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.about-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}
.about-close:hover { color: var(--primary-blue); }

/* ========== 首页响应式 ========== */
@media screen and (max-width: 768px) {
  .focusImg { width: 100%; }
  .slider { width: 100%; height: auto; }
  .slider-item { position: relative; }
  .focusNews { width: 100%; margin-top: 15px; }
  .homeMod.piclists,
  .homeMod.schedule-mod { width: 100%; float: none; margin-bottom: 20px; }
  .partner-item { width: 120px; }
  .partner-item img { width: 120px; height: 60px; }
  .about-modal-body { margin-top: 60px; padding: 25px; }
}

/* ========== 首页板块海报开关自适应样式 ========== */
.homeMod.no-poster .view {
  display: none !important;
}
.homeMod.no-poster .ullist,
.homeMod.no-poster .gk-home-list,
.homeMod .ullist.full-width,
.homeMod .gk-home-list.full-width {
  width: 100% !important;
  float: none !important;
  box-sizing: border-box !important;
}
.homeMod.no-poster .ullist li,
.homeMod.no-poster .gk-home-list li,
.homeMod .ullist.full-width li,
.homeMod .gk-home-list.full-width li {
  width: 100% !important;
  box-sizing: border-box !important;
}

