/* 桌面端非首页横幅统一使用 Figma 的 1920×420 尺寸，页面原有横幅图片保持不变。 */
.is-pc :is(.organization-hero, .news-hero, .talent-hero, .service-hero, .party-hero),
.is-pc :is(.organization-banner, .news-banner, .talent-banner, .service-banner, .party-banner),
.is-pc :is(.organization-shell, .news-shell, .talent-shell, .service-hero-shell, .party-shell) {
  height: 420px;
}

/* 公共二级栏目位于横幅顶部 340px 处，栏目数量变化时自动等分完整宽度。 */
.sub-navigation {
  position: absolute;
  top: 340px;
  bottom: auto;
  left: 0;
  z-index: 3;
  display: grid;
  width: 1680px;
  height: 100px;
  padding-left: 0;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-columns: none;
  align-items: center;
  pointer-events: auto;
}

/* 二级栏目统一使用白色圆角背景，覆盖横幅底部并保留轻微阴影。 */
.sub-navigation-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 1680px;
  height: 100px;
}

.sub-navigation-mask {
  /* 新版设计不再显示旧版左侧栏目图片，保留节点以兼容后续 Freemarker 模板。 */
  display: none;
}

.sub-navigation a {
  position: relative;
  display: grid;
  width: auto;
  min-width: 0;
  height: 100px;
  overflow: hidden;
  place-items: center;
  font-size: 18px;
  white-space: nowrap;
}

.sub-navigation a + a::before {
  position: absolute;
  top: 40px;
  left: 0;
  width: 1px;
  height: 20px;
  background: var(--line, #dddddd);
  content: "";
}

/* 当前栏目使用页面主题色文字和底部横线，党建页面继续保留红色主题。 */
.sub-navigation a.is-active,
.sub-navigation a:hover,
.sub-navigation a:focus-visible {
  color: var(--primary, var(--party-red, #165c91));
}

.sub-navigation a.is-active::after,
.sub-navigation a:hover::after,
.sub-navigation a:focus-visible::after {
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 100px;
  height: 4px;
  background: var(--primary, var(--party-red, #165c91));
  content: "";
  transform: translateX(-50%);
}

/* 手机端仅保留机构栏目菜单，隐藏桌面横幅和栏目标题以节省纵向空间。 */
.is-mobile .organization-hero {
  display: block;
  width: 100%;
  height: 60px;
  background: #ffffff;
}

.is-mobile .organization-banner,
.is-mobile .organization-title {
  display: none;
}

.is-mobile .organization-shell {
  position: static;
  width: 100%;
  pointer-events: auto;
}

/* 手机端栏目保持单行并允许横向滑动，可兼容后续增加更多菜单。 */
.is-mobile .sub-navigation {
  position: static;
  display: flex;
  width: 100%;
  height: 60px;
  padding: 0 16px;
  overflow-x: auto;
  overflow-y: hidden;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

/* 隐藏滚动条但保留触摸和鼠标横向滚动能力。 */
.is-mobile .sub-navigation::-webkit-scrollbar {
  display: none;
}

.is-mobile .sub-navigation-bg,
.is-mobile .sub-navigation-mask {
  display: none;
}

.is-mobile .sub-navigation a {
  flex: 0 0 auto;
  width: auto;
  height: 60px;
  padding: 0 12px;
  font-size: 16px;
}

.is-mobile .sub-navigation a + a::before {
  top: 20px;
}

/* 手机端使用紧凑下划线标识当前栏目。 */
.is-mobile .sub-navigation a.is-active::after,
.is-mobile .sub-navigation a:hover::after,
.is-mobile .sub-navigation a:focus-visible::after {
  bottom: 0;
  width: 40px;
  height: 3px;
}

/* 首页普通页脚：蓝色三列布局，供常规页面直接复用。 */
.normal-site-footer {
  display: grid;
  min-height: 400px;
  padding: 80px max(24px, calc((100% - 1680px) / 2));
  grid-template-columns: 1fr 1fr 1fr;
  gap: 9%;
  color: #ffffff;
  background: #165c91;
}

.normal-site-footer > img {
  width: 522px;
  height: 241px;
  object-fit: contain;
}

.normal-site-footer .footer-contact {
  padding-top: 15px;
  font-size: 20px;
  line-height: 2.1;
}

.normal-site-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 18px 30px;
  padding-top: 15px;
  font-size: 16px;
}

.normal-site-footer .footer-links h2 {
  grid-column: 1 / -1;
  margin: 0 0 15px;
  font-size: 20px;
  font-weight: 400;
}

/* 党建工会页脚：红色双联系方式布局，独立于首页普通页脚。 */
.dangjian-site-footer {
  width: 1920px;
  height: 400px;
  margin-top: 99px;
  background: #8b1811;
}

.dangjian-site-footer .footer-inner {
  position: relative;
  width: 1680px;
  height: 100%;
  margin: 0 auto;
}

.dangjian-site-footer .footer-logo {
  position: absolute;
  top: 80px;
  left: 0;
  width: 522px;
  height: 241px;
  object-fit: contain;
}

.dangjian-site-footer .footer-contact {
  position: absolute;
  top: 94px;
  left: 840px;
  color: #ffffff;
  font-size: 20px;
  line-height: 60px;
  white-space: nowrap;
}

.dangjian-site-footer .footer-contact + .footer-contact {
  left: 1276px;
}

.dangjian-site-footer .footer-contact p {
  margin: 0;
}

/* 手机端普通页脚改为单列，避免固定三列在窄屏重叠。 */
.is-mobile .normal-site-footer {
  min-height: 0;
  padding: 40px 24px;
  grid-template-columns: 1fr;
  gap: 24px;
}

.is-mobile .normal-site-footer > img {
  width: min(100%, 320px);
  height: auto;
}

.is-mobile .normal-site-footer .footer-contact {
  padding-top: 0;
  font-size: 14px;
  line-height: 1.8;
}

.is-mobile .normal-site-footer .footer-contact p {
  margin: 6px 0;
}

.is-mobile .normal-site-footer .footer-links {
  padding-top: 0;
  gap: 14px 24px;
  font-size: 14px;
}

.is-mobile .normal-site-footer .footer-links h2 {
  margin-bottom: 4px;
  font-size: 18px;
}

/* 手机端党建页脚改为纵向联系方式，防止桌面绝对定位越界。 */
.is-mobile .dangjian-site-footer {
  width: 100%;
  height: auto;
  min-height: 360px;
  margin-top: 0;
}

.is-mobile .dangjian-site-footer .footer-inner {
  width: calc(100% - 32px);
  height: auto;
  padding: 34px 0;
}

.is-mobile .dangjian-site-footer .footer-logo {
  position: static;
  width: min(300px, 100%);
  height: auto;
  margin: 0 auto 24px;
}

.is-mobile .dangjian-site-footer .footer-contact,
.is-mobile .dangjian-site-footer .footer-contact + .footer-contact {
  position: static;
  margin-top: 14px;
  font-size: 14px;
  line-height: 30px;
  white-space: normal;
}

/* 首页 Figma 页脚：蓝色 400px 画板内固定三组底部信息。 */
#footer.normal-site-footer {
  position: relative;
  display: block;
  width: 1920px;
  height: 400px;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: #165c91;
}

/* 设计稿的内容区宽度为 1680px，使三组信息与页面主体左、右边距对齐。 */
#footer.normal-site-footer .footer-inner {
  position: relative;
  width: 1680px;
  height: 100%;
  margin: 0 auto;
}

/* 左侧标识组依次展示学校标识、分隔线和人事处标识。 */
#footer.normal-site-footer .footer-brand {
  position: absolute;
  top: 105px;
  left: 0;
  width: 440px;
}

#footer.normal-site-footer .footer-school-logo {
  display: block;
  width: 440px;
  height: 120px;
  object-fit: cover;
}

#footer.normal-site-footer .footer-brand-divider {
  display: block;
  width: 440px;
  height: 1px;
  margin: 20px 0 19px 3px;
  background: #ffffff;
}

#footer.normal-site-footer .footer-department-logo {
  display: block;
  width: 440px;
  height: 31px;
  object-fit: contain;
}

/* 中间链接组使用左侧竖线与标识组形成稳定的视觉分区。 */
#footer.normal-site-footer .footer-related-links {
  position: absolute;
  top: 90px;
  left: 543px;
  min-height: 220px;
  padding-left: 100px;
  border-left: 1px solid #ffffff;
  color: #ffffff;
}

#footer.normal-site-footer .footer-related-links h2,
#footer.normal-site-footer .footer-follow h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 60px;
}

#footer.normal-site-footer .footer-related-links > div {
  display: grid;
  width: 340px;
  margin-top: 5px;
  grid-template-columns: 120px 180px 1fr;
  row-gap: 10px;
}

#footer.normal-site-footer .footer-related-links a {
  color: inherit;
  font-size: 20px;
  line-height: 60px;
  white-space: nowrap;
  text-decoration: none;
}

/* 右侧联系区的分隔线与文字间距对应设计稿 30px 行高。 */
#footer.normal-site-footer .footer-follow {
  position: absolute;
  top: 135px;
  left: 1300px;
  width: 380px;
  color: #ffffff;
}

/* 二维码按 Figma 140×140 尺寸贴齐关注区域右上角，避免挤占文字排版。 */
#footer.normal-site-footer .footer-follow-qr {
  position: absolute;
  top: -36px;
  right: 0;
  width: 140px;
  height: 140px;
  object-fit: cover;
}

#footer.normal-site-footer .footer-follow h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2.4px;
  line-height: 30px;
}

#footer.normal-site-footer .footer-follow > p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 30px;
  white-space: nowrap;
}

#footer.normal-site-footer .footer-follow-divider {
  display: block;
  height: 1px;
  /* 按 Figma 节点 465:2615 的纵坐标，与二维码和关注文案保持设计稿间距。 */
  margin-top: 55px;
  background: #ffffff;
}

#footer.normal-site-footer .footer-follow > .footer-contact {
  margin-top: 9px;
}

/* 首页页脚在手机端改为纵向分区，避免固定画布元素横向溢出。 */
.is-mobile #footer.normal-site-footer {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
}

.is-mobile #footer.normal-site-footer .footer-inner {
  width: auto;
  height: auto;
  padding: 40px 24px;
}

/* 移动端解除定位，使三组信息按阅读顺序自然排列。 */
.is-mobile #footer.normal-site-footer .footer-brand,
.is-mobile #footer.normal-site-footer .footer-related-links,
.is-mobile #footer.normal-site-footer .footer-follow {
  position: static;
  width: auto;
  margin: 0;
}

.is-mobile #footer.normal-site-footer .footer-school-logo,
.is-mobile #footer.normal-site-footer .footer-department-logo {
  width: 100%;
  max-width: 440px;
  height: auto;
}

.is-mobile #footer.normal-site-footer .footer-brand-divider {
  width: calc(100% - 3px);
  max-width: 437px;
  margin: 16px 0;
}

.is-mobile #footer.normal-site-footer .footer-related-links {
  min-height: 0;
  margin-top: 32px;
  padding: 0;
  border-top: 1px solid #ffffff;
  border-left: 0;
}

.is-mobile #footer.normal-site-footer .footer-related-links h2 {
  padding-top: 14px;
  font-size: 18px;
  line-height: 36px;
}

.is-mobile #footer.normal-site-footer .footer-related-links > div {
  width: 100%;
  margin-top: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 4px;
}

.is-mobile #footer.normal-site-footer .footer-related-links a {
  font-size: 14px;
  line-height: 34px;
}

.is-mobile #footer.normal-site-footer .footer-follow {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #ffffff;
}

/* 移动端二维码改为独立块并居中显示，防止固定定位导致横向溢出。 */
.is-mobile #footer.normal-site-footer .footer-follow-qr {
  position: static;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
}

/* 移动端内容改为纵向排列，分隔线使用紧凑间距避免页脚过高。 */
.is-mobile #footer.normal-site-footer .footer-follow-divider {
  margin-top: 24px;
}

.is-mobile #footer.normal-site-footer .footer-follow h2 {
  font-size: 20px;
  line-height: 30px;
}

.is-mobile #footer.normal-site-footer .footer-follow > p {
  font-size: 14px;
  line-height: 26px;
  white-space: normal;
}

/* 公共头部：所有页面复用同一套桌面导航、品牌标识和二级浮层。 */
.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  width: 1920px;
  height: 120px;
  padding: 0 60px;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 150px;
  align-items: center;
  background: #ffffff;
}

.brand { display: flex; width: 962px; align-items: center; }
.brand-school { width: 222px; height: 60px; object-fit: contain; }
.brand-divider { flex: 0 0 1px; width: 1px; height: 60px; margin: 0 29px; background: #d6d6d6; }
.brand-department { width: 680px; height: 60px; object-fit: contain; }

.main-nav {
  display: flex;
  flex: 0 0 auto;
  height: 100%;
  align-items: center;
  gap: 40px;
  font-size: 18px;
}

.nav-item { position: relative; display: grid; height: 100%; align-items: center; }
.nav-link { position: relative; z-index: 0; display: grid; height: 100%; align-items: center; white-space: nowrap; }
.nav-link::before,
.nav-link::after {
  position: absolute;
  left: 50%;
  z-index: -1;
  background: center / contain no-repeat;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity .18s ease;
}
.nav-link::before { top: 0; width: 126px; height: 42px; background-image: url("../img/figma/nav-decoration-top.png"); }
.nav-link::after { bottom: 0; width: 80px; height: 42px; background-image: url("../img/figma/nav-decoration.png"); }
.nav-item:hover .nav-link::before,
.nav-item:hover .nav-link::after,
.nav-item:focus-within .nav-link::before,
.nav-item:focus-within .nav-link::after,
.nav-item.is-current .nav-link::before,
.nav-item.is-current .nav-link::after,
.nav-link.is-active::before,
.nav-link.is-active::after { opacity: 1; }

/* 桌面二级导航统一为 Figma 纵向菜单，栏目数量变化时高度自动适配。 */
.sub-nav {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 3;
  display: block;
  width: 280px;
  min-height: 240px;
  padding: 28px 0 20px;
  visibility: hidden;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .9);
  box-shadow: none;
  opacity: 0;
  transform: translate(-50%, -8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  --dot-offset: 13px;
}
.sub-nav a { display: flex; height: 45px; padding: 0; align-items: center; justify-content: center; color: var(--text, #333333); font-size: 18px; line-height: 25px; text-align: center; white-space: nowrap; }
.sub-nav a:hover, .sub-nav a:focus-visible, .sub-nav a.is-active { color: var(--primary, #165c91); }
.nav-item:hover .sub-nav, .nav-item:focus-within .sub-nav { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.sub-nav::before {
  position: absolute;
  top: 40px;
  left: 59px;
  width: 6px;
  height: calc(100% - 60px);
  background: radial-gradient(circle at 50% var(--dot-offset), var(--primary, #165c91) 0 3px, transparent 3.5px), linear-gradient(#bbbbbb, #bbbbbb) center / 2px 100% no-repeat;
  content: "";
}
.sub-nav::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  height: 120px;
  background: url("../img/figma/function-introduction-menu-decoration.png") center / cover no-repeat;
  content: "";
  pointer-events: none;
}

/* 六个一级栏目通过语义化 class 复用各自的 Figma 下拉背景，便于 FreeMarker 按栏目名称直接输出 class。 */
.nav-organization .sub-nav,
.nav-recruitment .sub-nav,
.nav-news .sub-nav,
.nav-service .sub-nav,
.nav-ethics .sub-nav,
.nav-party-union .sub-nav {
  min-height: 420px;
  background-position: center top;
  background-size: 280px 420px;
  background-repeat: no-repeat;
}

/* Figma 中六种背景的指示线均为固定 180px，避免随 420px 背景高度被拉长。 */
.nav-organization .sub-nav::before,
.nav-recruitment .sub-nav::before,
.nav-news .sub-nav::before,
.nav-service .sub-nav::before,
.nav-ethics .sub-nav::before,
.nav-party-union .sub-nav::before { height: 180px; }

/* 完整背景已包含底部图片，隐藏旧的通用底图，避免两张图片重叠。 */
.nav-organization .sub-nav::after,
.nav-recruitment .sub-nav::after,
.nav-news .sub-nav::after,
.nav-service .sub-nav::after,
.nav-ethics .sub-nav::after,
.nav-party-union .sub-nav::after { display: none; }

/* 各语义 class 与一级栏目业务一一对应。 */
.nav-organization .sub-nav { background-image: url("../img/figma/nav-organization-background.png"); }
.nav-recruitment .sub-nav { background-image: url("../img/figma/nav-recruitment-background.png"); }
.nav-news .sub-nav { background-image: url("../img/figma/nav-news-background.png"); }
.nav-service .sub-nav { background-image: url("../img/figma/nav-service-background.png"); }
.nav-ethics .sub-nav { background-image: url("../img/figma/nav-ethics-background.png"); }
.nav-party-union .sub-nav { background-image: url("../img/figma/nav-party-union-background.png"); }

/* 桌面端隐藏汉堡菜单；移动端规则覆盖后仅显示一级栏目。 */
.mobile-navigation { display: none; }

/* 移动端头部改为紧凑品牌区和原生 details 汉堡菜单。 */
.is-mobile .site-header { width: 100%; height: 72px; padding: 0 16px; grid-template-columns: minmax(0, 1fr) 44px; column-gap: 10px; }
.is-mobile .brand { width: 100%; min-width: 0; }
.is-mobile .brand-school { width: 96px; height: 36px; }
.is-mobile .brand-divider { height: 34px; margin: 0 10px; }
.is-mobile .brand-department { width: min(190px, calc(100% - 117px)); height: 36px; }
.is-mobile .main-nav { display: none; }
.is-mobile .mobile-navigation { position: relative; display: block; width: 44px; height: 44px; }
.is-mobile .mobile-navigation summary { display: block; width: 44px; height: 44px; padding: 10px; list-style: none; cursor: pointer; }
.is-mobile .mobile-navigation summary::-webkit-details-marker { display: none; }
.is-mobile .mobile-navigation summary span { display: block; height: 2px; margin: 5px 0; background: var(--primary, #165c91); transition: transform .2s ease, opacity .2s ease; }
.is-mobile .mobile-navigation[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-mobile .mobile-navigation[open] summary span:nth-child(2) { opacity: 0; }
.is-mobile .mobile-navigation[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.is-mobile .mobile-navigation nav {
  position: absolute;
  top: 52px;
  right: 0;
  display: grid;
  width: calc(100vw - 24px);
  max-height: calc(100vh - 88px);
  padding: 8px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
  backdrop-filter: blur(16px);
}
.is-mobile .mobile-navigation nav a { display: flex; min-height: 48px; padding: 0 14px; align-items: center; border-radius: 6px; font-size: 16px; }

/* 招聘列表和举报受理页正文距二级栏目底部统一为 60px。 */
.is-pc .recruitment-list-page .talent-page-content {
 margin-top: 60px;
    padding-bottom: 60px;
}

/* 招聘公告列表按 Figma 的 100px 条目与 40px 间距排列，仅作用于招聘列表页。 */
.recruitment-list-page .recruitment-list {
  display: grid;
  padding-top: 0;
  row-gap: 40px;
}

/* 日期占用左侧 110px 栅格，公告胶囊从设计稿的 x=230 位置开始。 */
.recruitment-list-page .recruitment-item {
  display: grid;
  width: 1680px;
  height: 100px;
  margin: 0;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
}

/* 日期的日与年月分别使用 Figma 的 24px 和 14px 字号。 */
.recruitment-list-page .recruitment-date {
  display: block;
  width: 60px;
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

.recruitment-list-page .recruitment-date strong,
.recruitment-list-page .recruitment-date span {
  display: block;
  font-weight: 400;
  line-height: 30px;
}

.recruitment-list-page .recruitment-date strong {
  color: #000000;
  font-size: 24px;
}

.recruitment-list-page .recruitment-date span {
  font-size: 14px;
}

/* 默认态直接复用 Figma 的胶囊轮廓和右侧线条切图，避免手工近似图形。 */
.recruitment-list-page .recruitment-link {
  position: relative;
  display: flex;
  height: 100px;
  padding: 0 40px 0 46px;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    url("../img/figma/recruitment-list-pattern.png") right center / 900px 100px no-repeat,
    url("../img/figma/recruitment-list-item.svg") 6px 0 / calc(100% - 6px) 100% no-repeat;
  font-size: 18px;
  line-height: 30px;
  transition: color .2s ease, background-image .2s ease;
}

/* 左侧 6px 蓝线独立绘制，保证默认态与激活态位置不发生偏移。 */
.recruitment-list-page .recruitment-link::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--primary);
  content: "";
}

/* 标题过长时单行省略，避免挤压右侧详情入口。 */
.recruitment-list-page .recruitment-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 详情入口默认隐藏，仅在鼠标悬停或键盘聚焦时显示。 */
.recruitment-list-page .recruitment-detail {
  display: flex;
  visibility: hidden;
  flex: 0 0 auto;
  align-items: center;
  opacity: 0;
  font-size: 14px;
  transition: opacity .2s ease;
}

.recruitment-list-page .recruitment-detail img {
  width: 8px;
  height: 14px;
  margin-left: 12px;
}

/* 蓝色背景是 Figma 指定的鼠标悬停激活态，键盘聚焦使用相同反馈。 */
.is-pc .recruitment-list-page .recruitment-link:hover,
.is-pc .recruitment-list-page .recruitment-link:focus-visible {
  color: #ffffff;
  background: url("../img/figma/recruitment-list-item-active.svg") 6px 0 / calc(100% - 6px) 100% no-repeat;
}

.is-pc .recruitment-list-page .recruitment-link:hover .recruitment-detail,
.is-pc .recruitment-list-page .recruitment-link:focus-visible .recruitment-detail {
  visibility: visible;
  opacity: 1;
}

/* 手机端取消桌面固定尺寸，将日期和公告改为纵向布局。 */
.is-mobile .recruitment-list-page .recruitment-list {
  padding-top: 0;
  row-gap: 16px;
}

.is-mobile .recruitment-list-page .recruitment-item {
  display: block;
  width: 100%;
  height: auto;
}

.is-mobile .recruitment-list-page .recruitment-date {
  display: flex;
  width: auto;
  margin-bottom: 6px;
  align-items: baseline;
  gap: 8px;
  text-align: left;
}

.is-mobile .recruitment-list-page .recruitment-date strong,
.is-mobile .recruitment-list-page .recruitment-date span {
  display: inline;
}

.is-mobile .recruitment-list-page .recruitment-date strong {
  font-size: 20px;
  line-height: 26px;
}

.is-mobile .recruitment-list-page .recruitment-date span {
  font-size: 13px;
  line-height: 22px;
}

/* 手机端保留浅灰胶囊与左侧蓝线，隐藏仅适用于鼠标的详情提示。 */
.is-mobile .recruitment-list-page .recruitment-link {
  min-height: 72px;
  height: auto;
  padding: 14px 16px 14px 22px;
  border-radius: 0 0 8px 0;
  background: #f7f7f7;
  font-size: 15px;
  line-height: 24px;
}

.is-mobile .recruitment-list-page .recruitment-link::before {
  width: 4px;
}

.is-mobile .recruitment-list-page .recruitment-title {
  display: -webkit-box;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.is-mobile .recruitment-list-page .recruitment-detail {
  display: none;
}

/* 招聘公告分页使用独立类名，避免覆盖新闻列表分页。 */
.recruitment-pagination {
  display: flex;
  width: 690px;
  height: 36px;
  margin: 60px 0 0 495px;
  align-items: center;
  font-size: 16px;
  line-height: 30px;
}

.recruitment-page-previous,
.recruitment-page-next {
  flex: 0 0 48px;
  width: 48px;
  white-space: nowrap;
}

.recruitment-page-previous.is-disabled,
.recruitment-page-next.is-disabled {
  color: var(--muted, #999999);
  pointer-events: none;
}

.recruitment-page-numbers {
  display: flex;
  flex: 0 0 252px;
  width: 252px;
  height: 36px;
  margin-left: 25px;
  align-items: center;
}

.recruitment-page-numbers a,
.recruitment-page-numbers span {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
}

.recruitment-page-numbers a.is-active,
.recruitment-page-numbers span.is-active {
  color: #ffffff;
  background: var(--primary, #165c91);
}

.recruitment-page-numbers a:not(.is-active):hover,
.recruitment-page-numbers a:not(.is-active):focus-visible {
  color: var(--primary, #165c91);
  background: #f1f6fa;
}

.recruitment-page-next {
  margin-left: 40px;
}

.recruitment-pagination-divider {
  width: 1px;
  height: 20px;
  margin-left: 40px;
  background: var(--line, #dddddd);
}

.recruitment-page-jump {
  display: flex;
  height: 36px;
  margin-left: 39px;
  align-items: center;
  white-space: nowrap;
}

.recruitment-page-jump label {
  width: 48px;
}

.recruitment-page-jump input {
  width: 80px;
  height: 36px;
  margin-left: 10px;
  padding: 0 10px;
  border: 1px solid var(--line, #dddddd);
  border-radius: 36px;
  outline: none;
  color: var(--text, #333333);
  background: #ffffff;
  font: inherit;
  text-align: center;
  appearance: textfield;
}

.recruitment-page-jump input:focus {
  border-color: var(--primary, #165c91);
  box-shadow: 0 0 0 3px rgba(22, 92, 145, .12);
}

.recruitment-page-jump input::-webkit-inner-spin-button,
.recruitment-page-jump input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.recruitment-page-jump span {
  margin-left: 10px;
}

/* 手机端招聘分页允许换行，跳转输入框独占下一行。 */
.is-mobile .recruitment-pagination {
  width: 100%;
  height: auto;
  margin: 32px 0 40px;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 16px;
  font-size: 14px;
}

.is-mobile .recruitment-page-previous,
.is-mobile .recruitment-page-next {
  flex-basis: auto;
  width: auto;
}

.is-mobile .recruitment-page-numbers {
  flex: 0 1 auto;
  width: auto;
  height: 32px;
  margin-left: 8px;
}

.is-mobile .recruitment-page-numbers a,
.is-mobile .recruitment-page-numbers span {
  flex-basis: 32px;
  width: 32px;
  height: 32px;
}

.is-mobile .recruitment-page-next {
  margin-left: 8px;
}

.is-mobile .recruitment-pagination-divider {
  display: none;
}

.is-mobile .recruitment-page-jump {
  justify-content: center;
  width: 100%;
  margin-left: 0;
}

.is-mobile .recruitment-page-jump input {
  width: 72px;
}

/* FAQ 问题使用无边框按钮，保留原列表文字样式和键盘访问能力。 */
.faq-question {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  outline-offset: 3px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  text-align: left;
  text-overflow: ellipsis;
  white-space: inherit;
}

/* 答案弹窗使用深蓝半透明遮罩，突出内容且呼应网站主色。 */
.faq-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  padding: 24px;
  overflow-y: auto;
  place-items: center;
  background: rgba(18, 42, 61, .46);
  backdrop-filter: blur(5px);
  animation: faq-backdrop-in .18s ease-out;
}

.faq-dialog-backdrop[hidden] {
  display: none;
}

.faq-dialog {
  position: relative;
  width: min(620px, 100%);
  overflow: hidden;
  border: 1px solid rgba(22, 92, 145, .12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(16, 42, 61, .28);
  animation: faq-dialog-in .22s cubic-bezier(.2, .8, .2, 1);
}

/* 顶部主色细线强化栏目识别，不额外增加装饰元素。 */
.faq-dialog::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--primary, #165c91);
  content: "";
}

/* 问题和答案保持统一的两列结构，使长文本也能清晰对齐。 */
.faq-dialog-question,
.faq-dialog-answer-section {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 16px;
}

.faq-dialog-question {
  padding: 34px 72px 28px 34px;
}

.faq-dialog h2 {
  margin: 0;
  color: var(--text, #333333);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
}

.faq-dialog-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.faq-dialog-question-mark {
  color: #ffffff;
  background: var(--primary, #165c91);
  box-shadow: 0 5px 14px rgba(22, 92, 145, .22);
}

.faq-dialog-answer-section {
  padding: 25px 34px 30px;
  border-top: 1px solid #e8eef3;
  background: #f6f9fb;
}

.faq-dialog-answer-mark {
  color: var(--primary, #165c91);
  background: #e5f0f7;
}

.faq-dialog-answer {
  margin: 3px 0 0;
  color: #46535d;
  font-size: 16px;
  line-height: 1.85;
  white-space: pre-wrap;
}

/* 关闭按钮使用明确的叉号图标，不额外占用正文阅读空间。 */
.faq-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #62717d;
  background: #edf3f7;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.faq-dialog-close:hover,
.faq-dialog-close:focus-visible {
  color: #ffffff;
  background: var(--primary, #165c91);
}

/* 轻量淡入和上移动画让弹窗出现更自然。 */
@keyframes faq-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes faq-dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 弹窗打开时锁定正文滚动，避免遮罩下页面误滚动。 */
.faq-dialog-open {
  overflow: hidden;
}

/* 手机端缩小弹窗边距，保证长问题与答案均可完整阅读。 */
.is-mobile .faq-dialog-backdrop {
  padding: 16px;
}

.is-mobile .faq-dialog {
  width: 100%;
}

.is-mobile .faq-dialog-question,
.is-mobile .faq-dialog-answer-section {
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 12px;
}

.is-mobile .faq-dialog-question {
  padding: 30px 56px 22px 22px;
}

.is-mobile .faq-dialog-answer-section {
  padding: 22px;
}

.is-mobile .faq-dialog-mark {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.is-mobile .faq-dialog h2 {
  font-size: 17px;
  line-height: 1.65;
}

.is-mobile .faq-dialog-answer {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.7;
}

/* 尊重系统减少动态效果设置，关闭弹窗入场动画。 */
@media (prefers-reduced-motion: reduce) {
  .faq-dialog-backdrop,
  .faq-dialog {
    animation: none;
  }
}
