/* ============================================================
   暨南大学党政办公室 — 设计稿还原样式
   框架：Bootstrap 5（仅用其栅格/工具类）
   本文件：自定义样式 + 设计 Token
   设计来源：Figma web-design (ZgaAZV8UGeCM2WPzxt9hAf)
   ============================================================ */

/* ---------- 设计 Token ---------- */
:root {
  --c-primary: #0A7C99;        /* 主青色（标题下划线/导航装饰/链接） */
  --c-primary-dark: #03627B;   /* 导航栏深青底 */
  --c-footer: #00556B;          /* 页脚深青底 */
  --c-text: #000000;
  --c-gray: #717171;
  --c-gray-2: #868686;
  --c-gray-3: #999999;
  --c-line: #DEDEDE;
  --c-bg: #F6F6F6;             /* 文章/列表页底 */
  --c-bg-soft: #EFEFEF;
  --c-white: #FFFFFF;

  --font-cn: "PingFang HK", "Microsoft YaHei", "PingFang SC",
              "Hiragino Sans GB", "Heiti SC", sans-serif;

  --header-h: 140px;            /* Group-Float 浮动挂件高度 */
  --container-pad: 24px;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: var(--header-h);   /* 为固定置顶的浮动层预留高度，避免首屏内容被遮挡 */
  font-family: var(--font-cn);
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; }

/* 内容主题区域：遵循 Bootstrap 5 栅格断点规范的容器宽度
   .container-xl —— 仅在 xl/xxl 断点收口，以下保持流式满宽
   （与 Bootstrap 5.3 原生 .container-xl 完全一致） */
.container-xl {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
@media (min-width: 1200px) {  /* xl 断点 */
  .container-xl { max-width: 1140px; }
}
@media (min-width: 1400px) {  /* xxl 断点 */
  .container-xl { max-width: 1320px; }
}

/* ============================================================
   1) Group-Float —— 头部浮动挂件（滚动时吸附顶端）
   ============================================================ */
.group-float {
  position: fixed;         /* 关键：脱离文档流，垂直滚动时常驻视口顶端 */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}
.group-float__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(177deg,
              rgba(10, 124, 153, .66) 0%,
              rgba(10, 124, 153, 0) 100%);
  pointer-events: none;
}
.group-float.is-stuck .group-float__bg {
  background: linear-gradient(180deg,
              rgba(3, 98, 123, 0.96) 0%,
              rgba(3, 98, 123, 0.96) 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.group-float__inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
}
.group-float__logo img { height: 84px; width: auto; }

.group-float__search {
  position: relative;
  display: flex;
  align-items: center;
  width: 246px;
  height: 40px;
  padding-inline: 14px;
  border: 2px solid #E4E4E4;
  border-radius: 177px;
  background: linear-gradient(90deg,
              rgba(0, 168, 210, 0.05) 0%,
              rgba(10, 124, 153, 0.34) 100%);
}
.group-float__search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.group-float__search-icon { width: 22px; height: 22px; opacity: .8; }
.group-float__search-input {
  flex: 1;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--c-white);
  font-family: var(--font-cn);
  font-size: 16px;
  outline: none;
  padding-right: 36px;
}
.group-float__search-input::placeholder { color: rgba(255, 255, 255, .8); }

/* ============================================================
   2) Hero —— 大标题 Banner
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1924 / 808;     /* 设计稿 banner 比例 */
  max-height: 808px;
  overflow: hidden;
  background: #0A7C99;
  margin-top:-140px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__title {
  position: absolute;
  left: 0; right: 0;
  bottom: 16%;
  pointer-events: none;
}
.hero__cn {
  margin: 0;
  font-family: var(--font-cn);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 79px);
  line-height: 1;
  color: var(--c-white);
  text-shadow: 0 3px 11px rgba(0, 0, 0, .47);
}
.hero__en {
  margin: 6px 0 0;
  font-family: var(--font-cn);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 40px);
  line-height: 1;
  color: var(--c-white);
  text-shadow: 0 3px 11px rgba(0, 0, 0, .47);
}

/* ============================================================
   3) 主导航栏（Group-Nav-BG 矢量背景）
   ============================================================ */
/* 深色背景容器：高 69px（Figma Group-Nav-BG 中的深色矩形） */
.main-nav {
  margin-top:-82px;
  position: relative;
  z-index: 1;                /* 建立层叠上下文，使浅色背景溢出区可见 */
  height: 82px;
  background: transparent;
  display: flex;
  align-items: center;
  /* background: url("../assets/nav-bg-1.png") repeat-x left bottom / auto auto;   */
}
/* 深色条由 ::before 承载，叠在浅色背景之上 */
/* .main-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-primary-dark);
  z-index: 1;
} */
/* 浅色背景：高 82px（Figma Group-Nav-BG 中的浅色形状），居中叠在深色条之后 */
.main-nav__bg {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 82px;
  width: 100%;
  background: url("../assets/group-nav-bg.svg") no-repeat right center / auto 100%;
  background-position: 400px;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
/* 导航主体：复用 Group-Nav-BG 的深青背景，约束在 container-xl 断点宽度内
   （与下方 section 同宽），不再使用全宽的 nav-bg 容器 */
.main-nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82px;
  /* background-color: #0A7C99;                       原 bg-right 实色 */
  background-image: url("../assets/nav-bg-1.png");  /* 原 bg-left 图案 */
  background-repeat: repeat-x;
  background-position: left center;
}
/* 导航主体：Bootstrap 栅格断点容器宽度，靠右对齐 */
.main-nav__list {
  position: relative;
  z-index: 2;
  flex: 1;                 /* 撑满 container-xl 宽度，配合 justify-content 右对齐 */
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 126px;
}
.main-nav__list a {
  font-family: var(--font-cn);
  font-weight: 400;
  font-size: 20px;
  color: var(--c-white);
  padding-block: 8px;
  border-bottom: 3px solid transparent;
  transition: border-color .15s ease;
}
.main-nav__list a:hover,
.main-nav__list a.active {
  border-bottom-color: var(--c-white);
}

/* ============================================================
   4) 面包屑（Group-Icon-Pos 矢量图标）
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-block: 14px;
  font-family: var(--font-cn);
  font-size: 16px;
  color: var(--c-gray-2);
  margin:20px auto;
}
.breadcrumb__icon { width: 18px; height: 24px; }
.breadcrumb .sep { margin-inline: 4px; color: var(--c-gray-3); }

/* ============================================================
   5) 区块标题（Group-Title-BG 矢量下划线）
   ============================================================ */
.section { padding-block: 48px; }
.section-title {
  position: relative;
  display: block;
  margin: 0px 0 58px;
  font-family: var(--font-cn);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--c-text);
}
.section-title__line {
  display: block;
  width: 157px;
  height: auto;
  margin-top: 8px;
}
.section-text {
  max-width: 1180px;
  font-family: var(--font-cn);
  font-size: 24px;
  line-height: 2.5em;
  text-align:justify;
  color: var(--c-gray);
  text-indent: 2em;
  margin: 0 0 18px;
}
.section-link {
  display: inline-block;
  font-family: var(--font-cn);
  font-size: 16px;
  color: var(--c-primary);
}
.section-link:hover { color: var(--c-primary-dark); }

/* 部门概况：左文右图（Bootstrap 栅格 col-lg-9 / col-lg-3）
   右侧图片带青色错位画框，还原 Figma 节点 image 72 的版式 */
.about-figure {
  position: relative;
  margin: 0;
  max-width: 300px;
  margin-inline: auto;
}
.about-figure__frame {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 100%;
  height: 100%;
  background: var(--c-primary);
  z-index: 0;
}
.about-figure__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  background: var(--c-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.about-text .section-link { margin-top: 10px; }

/* ============================================================
   6) Frame-Org 组织架构图（矢量图标 + 图片热点链接）
   ============================================================ */
.org-chart {
  margin: 0;
  width: 100%;
  max-width: 1280px;
}
.org-chart__img {
  width: 100%;
  height: auto;
  display: block;
}
/* 图片热点：area 由 main.js 按渲染宽度自适应缩放 */

/* 常用链接 */
.quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 80px;
  margin-top:80px;
}
.quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cn);
  font-size: 20px;
  color: var(--c-text);
}
.quick-links a:hover { color: var(--c-primary); }
.quick-links img { width: 18px; height: 24px; }

/* ============================================================
   7) 页脚（footer-bar 矢量顶条）
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: 64px;
  background: var(--c-footer);
  border-top: 1px solid var(--c-primary);
  color: #D4D4D4;
}
.site-footer__bar {
  display: block;
  height: 29px;
  background: url("../assets/footer-bar.svg") repeat-x center / auto 100%;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 48px;
}
.site-footer__contact p {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: .05em;
}
.site-footer__qr { text-align: center; }
.site-footer__qr img {
  width: 167px; height: 167px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}
.site-footer__qr p { margin: 10px 0 0; font-size: 16px; }
.site-footer__copyright {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 16px;
  color: #C5C5C5;
}
.site-footer__gov { width: 20px; height: 20px; }

/* ============================================================
   8) 文章页
   ============================================================ */
.article {
  margin-inline: auto;
  background: var(--c-white);
  padding: 56px 40px;
}
.article__title {
  margin: 0 0 18px;
  font-family: var(--font-cn);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.4;
  color: var(--c-text);
}
.article__meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--font-cn);
  font-size: 24px;
  color: rgba(0, 0, 0, .52);
  margin-bottom: 18px;
}
.article__divider {
  border: 0;
  border-top: 3px solid var(--c-primary);
  margin: 22px 0;
  opacity: .9;
}
.article__figure { margin: 0 0 28px; }
.article__figure img {
  width: 100%;
  max-width: 849px;
  margin-inline: auto;
  border-radius: 4px;
}
.article__figure figcaption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-cn);
  font-size: 24px;
  font-weight: 500;
  color: var(--c-text);
}
.article__body p {
  font-family: var(--font-cn);
  font-size: 24px;
  line-height: 2.68em;
  color: var(--c-text);
  margin: 0 0 1.2em;
  text-indent: 2em;
}
.article__editor {
  margin-top: 28px;
  text-align: right;
  font-family: var(--font-cn);
  font-size: 24px;
  color: var(--c-text);
}

/* ============================================================
   9) 列表页（制度文件 + 分页）
   ============================================================ */
.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  /* background: var(--c-white);
  border: 1px solid var(--c-line); */
}

.doc-list__item{
  position: relative;      /* 日期绝对定位的锚点 */
  height: 118px;
  margin:6px auto;
  background: #fff;
}

/* .doc-list__item + .doc-list__item { border-top: 1px solid var(--c-line); } */
.doc-list__link {
  display: flex;
  align-items: center;
  height: 100%;              /* 撑满 .doc-list__item 整高，使子元素在 118px 整行内垂直居中 */
  gap: 28px;
  padding: 22px 24px 22px 169px;   /* 左侧预留日期(141px)+间距，避免标题与之重叠 */
}
.doc-list__link:hover { background: #f2fafc; }
.doc-list__date {
  position: absolute;
  left: 0;                 /* 紧贴 .doc-list__item 左缘 */
  top: 0;
  height: 100%;            /* 与祖父元素 .doc-list__item 等高 */
  width: 141px;
  /* border: 1px solid var(--c-primary); */
  border-radius: 0;        /* 紧贴左缘，去掉圆角更利落 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0A7C99;
  color: var(--c-text);
}
.doc-list__day { font-size: 48px; font-weight: 500; line-height: 1;color: white; }
.doc-list__ym { font-size: 16px; color: var(--c-white); margin-top: 4px; }
.doc-list__item--featured .doc-list__date {
  border: 0;
  /* background: var(--c-primary);   featured 项日期用实色填充 */
  background: #03627B;
  color: #fff;
}
/* 鼠标覆盖任意 .doc-list__item 时，应用与 featured 一致的增强样式；移开后自动取消 */
.doc-list__item:hover .doc-list__date {
  border: 0;
  background: #03627B;
  color: #fff;
}
.doc-list__title {
  flex: 1;
  font-family: var(--font-cn);
  font-size: 24px;
  color: var(--c-text);
}
.doc-list__more {
  flex: 0 0 auto;
  font-family: var(--font-cn);
  font-size: 24px;
  color: var(--c-footer);
  white-space: nowrap;
}

/* 分页 */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 10px;
  border-radius: 8px;
  font-family: var(--font-cn);
  font-size: 16px;
  color: #1E1E1E;
  border: 1px solid transparent;
}
.pagination a:hover { border-color: var(--c-primary); }
.pagination .is-active {
  background: var(--c-footer);
  color: #fff;
}
.pagination .is-disabled { opacity: .5; pointer-events: none; }
.pagination .page-gap { min-width: auto; color: var(--c-text); }

/* ============================================================
   10) 响应式
   ============================================================ */
@media (max-width: 1200px) {
  .main-nav__list { gap: 64px; }
  .section-text { font-size: 20px; line-height: 32px; }
  .article__body p, .article__title,
  .article__meta, .article__figure figcaption,
  .article__editor, .doc-list__title, .doc-list__more,
  .doc-list__ym { font-size: 20px; }
  .doc-list__day { font-size: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 110px; --container-pad: 16px; }
  .group-float__inner { padding-block: 16px; }
  .group-float__logo img { height: 56px; }
  .group-float__search { width: 180px; }
  .hero { aspect-ratio: 16 / 10; }
  .hero__cn { font-size: 34px; }
  .hero__en { font-size: 18px; }
  .main-nav { height: auto; min-height: 69px; }
  .main-nav__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 28px;
    padding-block: 14px;
  }
  .main-nav__list a { font-size: 17px; }
  .doc-list__link { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .doc-list__date { position: static; flex: 0 0 96px; width: auto; height: 64px; border-radius: 4px; }
  .doc-list__more { width: 100%; }
  /* 小屏换行时，所有日期回到文档流，避免与标题重叠 */
  .doc-list__item--featured { position: static; }
  .doc-list__item--featured .doc-list__link { padding-left: 16px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

.nav-bg{
  position: relative;
  margin-top:-13px;
  height:82px;
}

.bg-left{
  height:82px;
  background: url("../assets/nav-bg-1.png") left center repeat-x;
}

.bg-right{
  height:82px;
  background: #0A7C99;
}

.about-wrap{
  width:100%;
  height:700px;
  display:flex;
  align-items:center;
}

.org-wrap{
  background: #efefef;
  width:100%;
}

.links-wrap{
  width:100%;
  height:470px;
  display:flex;
  align-items:center;
}

.site-footer__brand{
  margin:30px auto;
}

a.gongan{
  background: url("../assets/footer-icon.png") left center no-repeat;
  padding-left:25px;
}

.page--list{
  background: #efefef;
}
.wp_entry img{
  display:inline-block;
  max-width:1200px;
}

/* jigou */
.jigou p, .jigou p span {
  font-family: "FangSong_GB2312", "仿宋_GB2312", "仿宋", FangSong, "华文仿宋", STFangsong, serif;
  font-size:21px;
}