/* ============================================================
   华光教育官网主题 huaguangedu v1.1
   视觉参考：高校继续教育学院官网风格
   配色：深蓝 #003d83 / 次蓝 #134b8c / 金黄 #f4bd42
         顶部亮蓝条 #007fc6 / 浅蓝底 #eef3fc
   ============================================================ */

/* 自定义书法字体：钟齐志莽行书（需将字体文件放到 font/ 目录） */
@font-face {
  font-family: "Zhongqi Zhimang Xingshu";
  src: url("../font/zhongqizhimang.ttf") format("truetype");
  font-display: swap;
}

:root {
  --hg-primary: #003d83;
  --hg-primary-2: #134b8c;
  --hg-top: #007fc6;
  --hg-accent: #f4bd42;
  --hg-bg-soft: #eef3fc;
  --hg-text: #333333;
  --hg-text-light: #666666;
  --hg-text-mute: #999999;
  --hg-line: #e6e6e6;
  --hg-bar: linear-gradient(0deg, #a2ddfe, #0682c8);
  --hg-container: 1280px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--hg-text);
  background: #ffffff;
  padding-top: 94px; /* 固定头部高度（90px + 4px 顶条） */
}

a { color: var(--hg-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--hg-primary-2); }

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { color: #333; font-weight: 600; line-height: 1.4; }

.hg-container { max-width: var(--hg-container); margin: 0 auto; padding: 0 20px; }

/* ============================================================
   头部（固定、白底、顶部亮蓝边条、下拉子菜单、搜索按钮）
   ============================================================ */
.hg-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 90px;
  background: #ffffff;
  border-top: 4px solid var(--hg-top);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s;
}

.hg-header.is-scrolled { box-shadow: 0 2px 18px rgba(0, 32, 71, 0.18); }

.hg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 90px;
}

/* Logo */
.hg-logo { display: flex; align-items: center; gap: 14px; white-space: nowrap; }

.hg-logo-img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.hg-logo-text strong {
  display: block;
  font-size: 34px;
  font-weight: 700;
  font-family: "Zhongqi Zhimang Xingshu", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--hg-primary);
  letter-spacing: 1px;
  line-height: 1.3;
}

.hg-logo-text small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--hg-text-mute);
  letter-spacing: 0.6px;
  line-height: 1.4;
  text-transform: uppercase;
}

/* 头部右侧 */
.hg-header-right { display: flex; align-items: center; gap: 18px; }

.hg-header-line { width: 1px; height: 33px; background: #e9eaeb; }

/* 主导航 */
.hg-nav > ul { display: flex; align-items: center; }

.hg-nav > ul > li { position: relative; }

.hg-nav > ul > li > a {
  display: block;
  padding: 0 17px;
  font-size: 17px;
  font-weight: 700;
  line-height: 90px;
  color: var(--hg-primary);
  position: relative;
}

.hg-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--hg-accent);
  transition: width 0.25s;
}

.hg-nav > ul > li:hover > a::after,
.hg-nav > ul > li > a:hover::after { width: 26px; }

/* 下拉子菜单（后台导航模块中嵌套 <ul> 即可生效） */
.hg-nav li ul {
  position: absolute;
  top: 96%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 172px;
  padding: 14px 0 34px;
  background: linear-gradient(180deg, #003d83, rgba(0, 61, 131, 0.92));
  border-radius: 6px 6px 0 0;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s, opacity 0.3s, visibility 0.3s;
  z-index: 20;
}

.hg-nav li:hover > ul,
.hg-nav li.is-sub-open > ul {
  top: 100%;
  opacity: 1;
  visibility: visible;
}

.hg-nav li ul a {
  display: block;
  padding: 9px 18px;
  font-size: 14.5px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}

.hg-nav li ul a:hover { color: var(--hg-accent); }

/* 汉堡按钮（桌面隐藏） */
.hg-nav-toggle {
  display: none;
  flex: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c5d4e6;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 61, 131, 0.14);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.hg-nav-toggle:hover {
  background: #f3f8fd;
  border-color: #9fb8d6;
  box-shadow: 0 2px 8px rgba(0, 61, 131, 0.20);
}

.hg-nav-toggle.is-open {
  background: var(--hg-primary);
  border-color: var(--hg-primary);
  box-shadow: 0 2px 10px rgba(0, 61, 131, 0.28);
}

.hg-nav-toggle i {
  display: block;
  width: 22px;
  height: 3px;
  margin: 3px 0;
  border-radius: 2px;
  background: var(--hg-primary);
  transition: transform 0.3s, opacity 0.3s, background 0.2s;
}

.hg-nav-toggle.is-open i { background: #ffffff; }

.hg-nav-toggle i:nth-child(2) { width: 16px; }

.hg-nav-toggle.is-open i:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hg-nav-toggle.is-open i:nth-child(2) { opacity: 0; }
.hg-nav-toggle.is-open i:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   首页 Banner（全宽深蓝）
   ============================================================ */
.hg-banner {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  background:
    radial-gradient(720px 340px at 88% 6%, rgba(0, 127, 198, 0.35), transparent 65%),
    radial-gradient(560px 300px at 6% 96%, rgba(244, 189, 66, 0.12), transparent 60%),
    linear-gradient(135deg, #002b5c 0%, #003d83 52%, #134b8c 100%);
  color: #ffffff;
}

.hg-banner::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.30), transparent);
  pointer-events: none;
}

.hg-banner-inner { position: relative; z-index: 2; text-align: center; }

.hg-banner-kicker {
  font-size: 15px;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 16px;
}

.hg-banner h1 {
  color: #ffffff;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 5px;
  margin-bottom: 22px;
}

.hg-banner-sub {
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 38px;
}

.hg-banner-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hg-btn {
  display: inline-block;
  padding: 13px 38px;
  border-radius: 4px;
  font-size: 15px;
  letter-spacing: 2px;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hg-btn-gold { background: var(--hg-accent); color: #6b4e00; font-weight: 600; }
.hg-btn-gold:hover { background: #e5ab26; color: #523800; }

.hg-btn-ghost { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.55); }
.hg-btn-ghost:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.10); color: #ffffff; }

/* ============================================================
   栏目标题组件（渐变竖条 + 中文 + 英文 + 更多）
   ============================================================ */
.hg-col-head { margin: 0 0 8px; }

.hg-col-head .cn {
  display: flex;
  align-items: center;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--hg-primary);
}

.hg-col-head .cn::before {
  content: "";
  flex: none;
  width: 8px;
  height: 30px;
  margin-right: 16px;
  border-radius: 4px;
  background: var(--hg-bar);
}

.hg-col-head .en {
  padding-left: 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--hg-text-mute);
  text-transform: uppercase;
}

.hg-col-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 18px 0 22px;
}

.hg-col-center { text-align: center; }
.hg-col-center .cn { justify-content: center; }
.hg-col-center .en { padding-left: 0; }

/* “更多”链接 */
.hg-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--hg-text-mute);
  padding-bottom: 2px;
}

.hg-more::before {
  content: "›";
  font-size: 18px;
  line-height: 1;
  margin-right: 5px;
  transition: transform 0.2s;
}

.hg-more::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--hg-primary);
  transition: width 0.35s;
}

.hg-more:hover { color: var(--hg-primary); }

.hg-more:hover::before { transform: translateX(-2px); }

.hg-more:hover::after { width: 100%; }

/* ============================================================
   首页 · 学历项目（圆形入口）
   ============================================================ */
.hg-home1 { padding: 52px 0 66px; background: var(--hg-bg-soft); }

.hg-circles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px 40px;
  margin-top: 30px;
}

.hg-circles a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 178px;
  height: 178px;
  background: #f7f9fe;
  border: 1px solid #e9ecf2;
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s;
}

/* 悬停时的深蓝填充层 */
.hg-circles a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, #003d83, #134b8c);
  opacity: 0;
  transition: opacity 0.3s;
}

/* 旋转虚线环 */
.hg-circles a::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px dashed rgba(19, 75, 140, 0.30);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  animation: hg-spin 30s linear infinite;
  transition: opacity 0.3s, visibility 0.3s;
}

.hg-circles a:hover { border-color: #003d83; }

.hg-circles a:hover::after { opacity: 1; }

.hg-circles a:hover::before { opacity: 1; visibility: visible; }

.hg-circle-icon {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  color: var(--hg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.hg-circle-icon svg { width: 40px; height: 40px; }

.hg-circles a:hover .hg-circle-icon { color: #ffffff; }

.hg-circle-title {
  position: relative;
  z-index: 2;
  font-size: 17px;
  font-weight: 600;
  color: var(--hg-primary);
  transition: color 0.3s;
}

.hg-circles a:hover .hg-circle-title { color: #ffffff; }

.hg-circle-more {
  position: relative;
  z-index: 2;
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  color: #99ccff;
  transition: max-height 0.3s, margin 0.3s;
}

.hg-circles a:hover .hg-circle-more { max-height: 24px; margin-top: 6px; }

@keyframes hg-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================================
   首页 · 新闻动态（左焦点 + 右两列日期块）
   ============================================================ */
.hg-home2 { padding: 46px 0 64px; }

.hg-news-wrap { display: flex; gap: 44px; align-items: flex-start; }

/* 焦点文章（深蓝面板） */
.hg-news-feature { flex: none; width: 40%; }

.hg-news-feature a {
  display: block;
  padding: 40px 32px 34px;
  background: linear-gradient(160deg, #003d83, #134b8c);
  border-radius: 6px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hg-news-feature a::before {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hg-news-feature a:hover { color: #ffffff; }

.hg-news-date-badge {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px 8px;
  background: var(--hg-accent);
  color: #6b4e00;
  border-radius: 4px;
  margin-bottom: 22px;
}

.hg-news-date-badge b { font-size: 28px; line-height: 1.1; font-family: Arial, sans-serif; }
.hg-news-date-badge i { font-size: 12px; font-style: normal; font-family: Arial, sans-serif; }

.hg-news-feature h3 {
  position: relative;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hg-news-feature p {
  position: relative;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
}

.hg-news-feature p img { display: none; }

.hg-news-feature-more {
  position: relative;
  font-size: 13.5px;
  color: var(--hg-accent);
  letter-spacing: 1px;
}

/* 图片轮播 */
.hg-news-carousel {
  flex: none;
  width: 40%;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #e2e8f3;
}

.hg-carousel-track {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 */
}

.hg-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  z-index: 1;
}

.hg-carousel-slide.active { opacity: 1; z-index: 2; }

.hg-carousel-slide a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  color: #ffffff;
}

.hg-carousel-slide a:hover { color: #ffffff; }

.hg-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hg-carousel-date {
  position: absolute;
  left: 18px;
  bottom: 72px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px 8px;
  background: var(--hg-accent);
  color: #6b4e00;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hg-carousel-date b { font-size: 28px; line-height: 1.1; font-weight: 700; }
.hg-carousel-date i { font-size: 12px; font-style: normal; line-height: 1.5; }

.hg-carousel-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  padding: 42px 18px 16px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  background: linear-gradient(0deg, rgba(0, 30, 70, 0.88), rgba(0, 30, 70, 0.45) 55%, transparent);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hg-carousel-tag {
  display: inline;
  color: var(--hg-accent);
  margin-right: 6px;
}

.hg-carousel-prev,
.hg-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--hg-primary);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, background 0.2s;
  cursor: pointer;
}

.hg-news-carousel:hover .hg-carousel-prev,
.hg-news-carousel:hover .hg-carousel-next { opacity: 1; visibility: visible; }

.hg-carousel-prev { left: 12px; }
.hg-carousel-next { right: 12px; }

.hg-carousel-prev:hover,
.hg-carousel-next:hover { background: #ffffff; }

.hg-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hg-carousel-dots button {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.hg-carousel-dots button.active {
  background: var(--hg-accent);
  transform: scale(1.25);
}

/* 右侧两列列表 */
.hg-news-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 34px;
}

.hg-news-grid li { position: relative; border-bottom: 1px solid #e3e3e3; }

.hg-news-grid li::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--hg-primary);
  transition: width 0.4s;
}

.hg-news-grid li:hover::after { width: 100%; }

.hg-news-grid a { display: flex; gap: 16px; padding: 18px 0; }

/* 日期块（日 + 年月 + 金色下划线） */
.hg-news-date {
  flex: none;
  width: 58px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--hg-primary);
}

.hg-news-date b { display: block; font-size: 28px; line-height: 1.15; font-weight: 700; }
.hg-news-date i { display: block; font-size: 12px; font-style: normal; line-height: 1.6; }
.hg-news-date::after {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 2px;
  margin: 7px auto 0;
  background: var(--hg-accent);
}

.hg-news-text { flex: 1; min-width: 0; }

.hg-news-title {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: #333;
  line-height: 1.55;
  max-height: 3.1em;
  overflow: hidden;
  transition: color 0.2s;
}

.hg-news-grid li:hover .hg-news-title { color: var(--hg-primary); }

.hg-news-intro {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--hg-text-mute);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hg-news-intro img { display: none; }

/* ============================================================
   首页 · 通知公告 + 招生资讯（双栏）
   ============================================================ */
.hg-home3 { padding: 8px 0 66px; }

.hg-home3-grid { display: flex; gap: 48px; align-items: flex-start; }

.hg-home3-left, .hg-home3-right { flex: 1; min-width: 0; }

/* 通知公告列表：日期 + 分隔线 + 标题 + 箭头圆钮 */
.hg-notice-list li { border-bottom: 1px solid #d6dae2; }

.hg-notice-list a { display: flex; align-items: center; padding: 13px 4px 13px 2px; }

.hg-notice-list .hg-news-date { width: 52px; }
.hg-notice-list .hg-news-date b { font-size: 24px; }

.hg-notice-line {
  flex: none;
  width: 1px;
  height: 32px;
  margin: 0 16px;
  background: #d4dfea;
  transition: background 0.2s;
}

.hg-notice-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color 0.2s;
}

.hg-notice-arrow {
  flex: none;
  width: 34px;
  height: 34px;
  margin-left: 14px;
  border: 1px dashed #a5bbd7;
  border-radius: 50%;
  color: #a5bbd7;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.hg-notice-list li:hover .hg-notice-title { color: var(--hg-primary); font-weight: 600; }
.hg-notice-list li:hover .hg-notice-line { background: var(--hg-accent); }
.hg-notice-list li:hover .hg-notice-arrow {
  background: var(--hg-primary-2);
  border-color: var(--hg-primary-2);
  color: #ffffff;
}

/* 招生资讯：边框盒，悬停深蓝填充 */
.hg-admit-list { border: 1px solid rgba(19, 75, 140, 0.22); background: rgba(255, 255, 255, 0.8); }

.hg-admit-list li { position: relative; }

.hg-admit-list li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #003d83, #134b8c);
  opacity: 0;
  transition: opacity 0.35s;
}

.hg-admit-list li:hover::after { opacity: 1; }

.hg-admit-list a { position: relative; z-index: 2; display: block; padding: 14px 24px 16px; border-bottom: 1px solid #d3d8df; }

.hg-admit-list li:last-child a { border-bottom: none; }

.hg-admit-date {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--hg-primary);
  line-height: 1.8;
  transition: color 0.25s;
}

.hg-admit-title {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
  margin-bottom: 5px;
  transition: color 0.25s;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.hg-admit-intro {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: var(--hg-text-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s;
}

.hg-admit-intro img { display: none; }

.hg-admit-list li:hover .hg-admit-title,
.hg-admit-list li:hover .hg-admit-intro { color: #ffffff; }

.hg-admit-list li:hover .hg-admit-date { color: var(--hg-accent); }

/* ============================================================
   首页 · 机构概况
   ============================================================ */
.hg-home4 { padding: 46px 0 68px; background: var(--hg-bg-soft); }

.hg-about { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.hg-about-item {
  background: #ffffff;
  border: 1px solid #dde6f3;
  border-radius: 6px;
  padding: 26px 28px;
  transition: box-shadow 0.25s, transform 0.25s;
}

.hg-about-item:hover {
  box-shadow: 0 8px 22px rgba(0, 61, 131, 0.10);
  transform: translateY(-2px);
}

.hg-about-item h3 {
  display: flex;
  align-items: center;
  font-size: 17px;
  color: var(--hg-primary);
  margin-bottom: 10px;
}

.hg-about-item h3::before {
  content: "";
  flex: none;
  width: 6px;
  height: 20px;
  margin-right: 12px;
  border-radius: 3px;
  background: var(--hg-bar);
}

.hg-about-item p { font-size: 14.5px; line-height: 1.85; color: #555; }

/* ============================================================
   关于我们页面（左侧导航 + 右侧正文）
   ============================================================ */
.hg-aboutpage {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  padding: 40px 0 70px;
}

.hg-aboutpage-nav {
  flex: none;
  width: 232px;
  position: sticky;
  top: 114px;
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 6px;
  overflow: hidden;
}

.hg-aboutpage-nav ul { padding: 8px 0; }

.hg-aboutpage-nav li + li { border-top: 1px solid #eef1f6; }

.hg-aboutpage-nav a {
  display: block;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 500;
  color: #444;
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hg-aboutpage-nav a:hover { background: #f3f7fd; color: var(--hg-primary); }

.hg-aboutpage-nav a.active {
  background: var(--hg-primary);
  color: #ffffff;
  border-left-color: var(--hg-accent);
  font-weight: 600;
}

.hg-aboutpage-content {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 6px;
  padding: 38px 42px;
}

.hg-aboutpage-content > section { scroll-margin-top: 110px; }

.hg-aboutpage-content h2 {
  position: relative;
  font-size: 21px;
  font-weight: 600;
  color: #333;
  padding-left: 16px;
  margin: 8px 0 18px;
}

.hg-aboutpage-content h2::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 6px; height: 22px;
  border-radius: 3px;
  background: var(--hg-bar);
}

.hg-aboutpage-content h2:not(:first-child) {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px dashed #e3e8f0;
}

.hg-aboutpage-content p {
  font-size: 15px;
  line-height: 1.95;
  color: #555;
  margin-bottom: 14px;
  text-align: justify;
}

/* ============================================================
   内页横幅条（列表/文章/搜索/404）
   ============================================================ */
.hg-pagebanner {
  background: #ffffff;
  border-bottom: 1px solid #e5e9f0;
}

.hg-pagebanner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 42px 0 36px;
}

.hg-pagebanner-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hg-pagebanner-title::before {
  content: "";
  flex: none;
  width: 6px;
  height: 28px;
  background: linear-gradient(180deg, #007fc6, #003d83);
  border-radius: 3px;
}

.hg-pagebanner h1 {
  font-size: 26px;
  font-weight: 600;
  color: #1a2b3c;
  letter-spacing: 1px;
}

.hg-pagebanner-crumb {
  font-size: 13.5px;
  color: #7a8595;
}

.hg-pagebanner-crumb a {
  color: #5a6a7d;
  text-decoration: none;
}

.hg-pagebanner-crumb a:hover { color: var(--hg-primary); }

.hg-pagebanner-crumb .hg-crumb-label { margin-right: 4px; }

.hg-pagebanner-crumb .hg-crumb-sep {
  margin: 0 8px;
  color: #c5cdd8;
}

.hg-pagebanner-crumb em {
  font-style: normal;
  color: #003d83;
  font-weight: 500;
}

/* ============================================================
   列表页
   ============================================================ */
.hg-main { padding: 0 0 70px; }

.hg-article-list { border-top: 1px solid #e8ecf2; }

.hg-article-list > li { border-bottom: 1px solid #e8ecf2; }

.hg-post .hg-post-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 10px;
  transition: background 0.2s;
}

.hg-post .hg-post-link:hover { background: #f8fafd; }

.hg-post-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hg-post-title {
  display: block;
  font-size: 17.5px;
  font-weight: 600;
  color: #1a2b3c;
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color 0.2s;
}

.hg-post:hover .hg-post-title { color: var(--hg-primary); }

.hg-post-date {
  font-size: 13.5px;
  color: #7a8595;
  font-family: Arial, Helvetica, sans-serif;
}

.hg-badge {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 10px;
  padding: 1px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: #7a5a00;
  background: var(--hg-accent);
  border-radius: 3px;
}

.hg-post-arrow {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d8e3;
  border-radius: 50%;
  color: #9aa6b8;
  font-size: 16px;
  transition: all 0.25s;
}

.hg-post:hover .hg-post-arrow {
  border-color: var(--hg-primary);
  background: var(--hg-primary);
  color: #ffffff;
}

.hg-empty { padding: 90px 20px; text-align: center; color: var(--hg-text-mute); }

/* ============================================================
   分页
   ============================================================ */
.hg-pagebar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 42px 0 0;
  font-size: 13.5px;
  color: #5a6a7d;
}

.hg-pagebar a { text-decoration: none; color: #5a6a7d; }

.hg-pagebar .page,
.hg-pagebar .now-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d8dde6;
  border-radius: 4px;
  background: #ffffff;
  transition: all 0.2s;
}

.hg-pagebar a.page:hover {
  border-color: var(--hg-primary);
  color: var(--hg-primary);
}

.hg-pagebar .now-page {
  background: var(--hg-primary);
  border-color: var(--hg-primary);
  color: #ffffff;
}

.hg-pagebar .info {
  margin-right: 6px;
  color: #7a8595;
}

.hg-pagebar .jump-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  color: #7a8595;
}

.hg-pagebar .jump-label input[type="text"] {
  width: 42px;
  height: 34px;
  text-align: center;
  border: 1px solid #d8dde6;
  border-radius: 4px;
  font-size: 13px;
}

.hg-pagebar .jump-label input[type="button"] {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--hg-primary);
  border-radius: 4px;
  background: var(--hg-primary);
  color: #ffffff;
  cursor: pointer;
}

/* ============================================================
   文章页
   ============================================================ */
.hg-article-head {
  padding: 18px 0 22px;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 32px;
}

.hg-article-head h1 { font-size: 26px; margin-bottom: 12px; }

.hg-article-meta { font-size: 13.5px; color: var(--hg-text-mute); }

.hg-article-meta span + span::before { content: "|"; margin: 0 9px; color: #ccd4dd; }

/* 正文排版 */
.hg-article-content { font-size: 16px; color: #333; }

.hg-article-content h2,
.hg-article-content h3,
.hg-article-content h4 { margin: 1.6em 0 0.7em; color: #222; }

.hg-article-content h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hg-article-content h2::before {
  content: "";
  flex: none;
  width: 6px;
  height: 1em;
  background: linear-gradient(180deg, #007fc6, #003d83);
  border-radius: 3px;
}

.hg-article-content p { margin: 0 0 1.1em; }

.hg-article-content ul,
.hg-article-content ol { margin: 0 0 1.1em; padding-left: 1.6em; list-style: disc; }

.hg-article-content ol { list-style: decimal; }

.hg-article-content li { margin-bottom: 0.4em; }

.hg-article-content img { margin: 0.5em 0; border-radius: 4px; }

.hg-article-content blockquote {
  margin: 1.2em 0;
  padding: 12px 18px;
  background: var(--hg-bg-soft);
  border-left: 3px solid var(--hg-primary);
  color: #555;
}

.hg-article-content pre {
  margin: 1.2em 0;
  padding: 14px 16px;
  background: #0d2c52;
  color: #dbe7f7;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.6;
}

.hg-article-content code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.hg-article-content pre code { background: none; padding: 0; }

.hg-article-content table {
  width: 100%;
  margin: 1.2em 0;
  border-collapse: collapse;
  font-size: 14.5px;
}

.hg-article-content th,
.hg-article-content td {
  border: 1px solid #dde3ec;
  padding: 8px 12px;
  text-align: left;
}

.hg-article-content th { background: var(--hg-bg-soft); }

.hg-article-content a { border-bottom: 1px dashed var(--hg-primary-2); }

/* 标签 */
.hg-tags { margin: 34px 0 0; padding-top: 20px; border-top: 1px solid #e6e6e6; }

.hg-tags-label { font-size: 14px; color: var(--hg-text-mute); margin-right: 8px; }

.hg-tag {
  display: inline-block;
  margin: 4px 6px 4px 0;
  padding: 3px 13px;
  font-size: 13px;
  background: #f1f5fb;
  border-radius: 999px;
  color: #4a5a70;
}

.hg-tag:hover { background: var(--hg-primary); color: #ffffff; }

/* ============================================================
   评论区
   ============================================================ */
.hg-comments { margin: 48px 0 0; }

.hg-comments-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #333;
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 1px solid #e6e6e6;
}

.hg-comments-title::before {
  content: "";
  width: 6px;
  height: 20px;
  margin-right: 12px;
  border-radius: 3px;
  background: var(--hg-bar);
}

.hg-comment { padding: 18px 0; border-bottom: 1px dashed #e6e6e6; }

.hg-comment .hg-comment { margin-left: 28px; padding-left: 18px; border-left: 2px solid #eef2f7; border-bottom: 0; }

.hg-comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--hg-text-mute);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.hg-comment-head img.avatar { width: 30px; height: 30px; border-radius: 50%; }

.hg-comment-head .hg-comment-author { font-size: 14.5px; font-weight: 600; color: #333; }

.hg-comment-head .hg-comment-reply a { color: var(--hg-primary); font-size: 13px; }

.hg-comment-body { font-size: 14.5px; line-height: 1.8; }

.hg-comment-body p { margin-bottom: 0.6em; }

/* 评论表单 */
.hg-commentpost {
  margin-top: 34px;
  background: #f8fafd;
  border: 1px solid #e2e8f1;
  border-radius: 6px;
  padding: 26px 26px 20px;
}

.hg-commentpost p { margin-bottom: 12px; font-size: 14px; }

.hg-commentpost label { color: #555; }

.hg-commentpost input[type="text"] {
  width: 260px;
  max-width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-family: inherit;
}

.hg-commentpost input[type="text"]:focus { outline: none; border-color: var(--hg-primary); }

.hg-commentpost img[alt] { vertical-align: middle; margin-left: 8px; border-radius: 4px; }

.hg-commentpost textarea {
  width: 100%;
  min-height: 110px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.7;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  resize: vertical;
  font-family: inherit;
}

.hg-commentpost textarea:focus { outline: none; border-color: var(--hg-primary); }

.hg-commentpost .button,
.hg-commentpost input[type="submit"] {
  padding: 10px 34px;
  background: var(--hg-primary);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 14.5px;
  cursor: pointer;
}

.hg-commentpost .button:hover { background: var(--hg-primary-2); }

.hg-commentpost .hg-postbottom { margin-top: 10px; font-size: 12.5px; color: #9aa7b6; }

/* ============================================================
   404
   ============================================================ */
.hg-404 { text-align: center; padding: 100px 20px; }

.hg-404-code {
  font-size: 88px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  color: var(--hg-primary);
  line-height: 1;
  margin-bottom: 14px;
}

.hg-404 h1 { font-size: 22px; margin-bottom: 10px; }

.hg-404 p { color: var(--hg-text-mute); margin-bottom: 30px; }

/* ============================================================
   页脚（深蓝、双栏联系方式）
   ============================================================ */
.hg-footer {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(0, 127, 198, 0.22), transparent 65%),
    linear-gradient(135deg, #002b5c 0%, #003d83 60%, #0d3a75 100%);
  color: #ffffff;
  font-size: 14px;
  padding: 54px 0 0;
  margin-top: 30px;
}

.hg-footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
}

.hg-footer-left { max-width: 46%; }

.hg-footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }

.hg-footer-mark {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hg-footer-name { font-size: 30px; font-weight: 600; font-family: "Zhongqi Zhimang Xingshu", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 1px; color: #ffffff; }

.hg-footer-intro {
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
}

.hg-footer-copy { font-size: 13px; line-height: 2; color: #99ccff; }

.hg-footer-right { display: flex; gap: 40px; align-items: stretch; }

.hg-footer-contact { font-size: 14px; line-height: 2.2; color: #ffffff; }

.hg-footer-contact p { white-space: nowrap; }

.hg-footer-line { width: 1px; background: rgba(255, 255, 255, 0.14); }

.hg-footer a { color: #99ccff; }
.hg-footer a:hover { color: #ffffff; }

/* ============================================================
   返回顶部
   ============================================================ */
.hg-backtop {
  position: fixed;
  right: 26px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--hg-accent);
  color: #6b4e00;
  font-size: 19px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, background 0.2s;
  z-index: 900;
  box-shadow: 0 4px 14px rgba(0, 61, 131, 0.30);
}

.hg-backtop.is-show { opacity: 1; visibility: visible; }

.hg-backtop:hover { background: #e5ab26; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .hg-header-line { display: none; }

  .hg-nav-toggle { display: flex; }

  .hg-nav {
    display: none;
    position: absolute;
    top: 94px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    box-shadow: 0 14px 28px rgba(0, 32, 71, 0.12);
    max-height: calc(100vh - 94px);
    overflow-y: auto;
    padding: 6px 18px 16px;
  }

  .hg-nav.is-open { display: block; }

  .hg-nav > ul { display: block; }

  .hg-nav > ul > li > a {
    line-height: 1.4;
    padding: 13px 6px;
    font-size: 16px;
    border-bottom: 1px dashed #e8edf4;
  }

  .hg-nav > ul > li > a::after { display: none; }

  .hg-nav > ul > li:last-child > a { border-bottom: none; }

  .hg-nav li ul {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 4px 0 6px;
    background: var(--hg-bg-soft);
    border-radius: 4px;
    display: none;
    margin: 4px 0 8px;
  }

  .hg-nav li.is-sub-open > ul { display: block; }

  .hg-nav li ul a { padding: 9px 0; color: var(--hg-primary-2); text-align: center; }

  .hg-news-wrap { flex-direction: column; gap: 30px; }

  .hg-news-feature,
  .hg-news-carousel { width: 100%; }

  .hg-news-carousel { margin-bottom: 6px; }

  .hg-home3-grid { flex-direction: column; gap: 26px; }

  .hg-home3-left, .hg-home3-right { width: 100%; }

  .hg-footer-grid { flex-direction: column; gap: 32px; }

  .hg-footer-left { max-width: 100%; }

  .hg-footer-mark { width: 50px; height: 50px; }

  .hg-footer-name { font-size: 25px; }
}

@media (max-width: 768px) {
  body { padding-top: 74px; }

  .hg-header, .hg-header-inner { height: 70px; }

  .hg-nav { top: 74px; max-height: calc(100vh - 74px); }

  .hg-logo-text strong { font-size: 26px; }

  .hg-logo-text small { font-size: 9px; }

  .hg-logo-img { width: 38px; height: 38px; }

  .hg-banner { padding: 64px 0 72px; }

  .hg-banner h1 { font-size: 26px; letter-spacing: 2px; }

  .hg-banner-sub { font-size: 14px; }

  .hg-br-pc { display: none; }

  .hg-col-head .cn { font-size: 24px; }

  .hg-col-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 0 16px; }

  .hg-circles { gap: 22px 16px; }

  .hg-circles a { width: 148px; height: 148px; }

  .hg-circle-icon svg { width: 34px; height: 34px; }

  .hg-circle-title { font-size: 15px; }

  .hg-news-grid { grid-template-columns: 1fr; }

  .hg-about { grid-template-columns: 1fr; }

  .hg-aboutpage { flex-direction: column; gap: 18px; padding: 26px 0 50px; }

  .hg-aboutpage-nav { width: 100%; position: static; }

  .hg-aboutpage-nav ul { display: flex; flex-wrap: wrap; padding: 4px; }

  .hg-aboutpage-nav li + li { border-top: 0; border-left: 1px solid #eef1f6; }

  .hg-aboutpage-nav a { padding: 10px 16px; border-left: 0; border-bottom: 3px solid transparent; }

  .hg-aboutpage-nav a.active { border-left: 0; border-bottom-color: var(--hg-accent); }

  .hg-aboutpage-content { padding: 26px 20px; }

  .hg-aboutpage-content h2 { font-size: 19px; }


  .hg-pagebanner-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 36px 0 34px;
  }

  .hg-pagebanner h1 { font-size: 22px; }

  .hg-pagebanner-crumb { font-size: 12.5px; }

  .hg-post .hg-post-link { gap: 12px; padding: 16px 0; }

  .hg-post-arrow { width: 32px; height: 32px; font-size: 14px; }

  .hg-post-title { font-size: 15.5px; }

  .hg-notice-arrow { display: none; }

  .hg-article-head h1 { font-size: 21px; }
}

@media (max-width: 480px) {
  .hg-container { padding: 0 16px; }

  .hg-banner-actions { flex-direction: column; align-items: stretch; }

  .hg-banner-actions .hg-btn { text-align: center; }

  .hg-circles a { width: 128px; height: 128px; }

  .hg-circle-icon { width: 34px; height: 34px; margin-bottom: 5px; }

  .hg-circle-icon svg { width: 30px; height: 30px; }

  .hg-circle-title { font-size: 13.5px; }

  .hg-footer-right { flex-direction: column; gap: 20px; }

  .hg-footer-line { display: none; }

  .hg-footer-contact p { white-space: normal; }

  .hg-backtop { right: 14px; bottom: 18px; }
}
