@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700;900&display=swap');
:root {
  --color-primary: #1e56a0;
  --color-primary-light: #2979b5;
  --color-primary-lighter: #42a5f5;
  --color-gold: #c9a96e;
  --color-gold-light: #d4a843;
  --color-bg-section: #f5f7fa;
  --color-text-main: #333333;
  --color-text-sub: #666666;
  --color-border: #e8e8e8;

  --shadow-rgb: 15 23 42;

  --shadow-edge: 0 0 0 1px rgb(var(--shadow-rgb) / 0.08);
  --shadow-contact: 0 1px 2px rgb(var(--shadow-rgb) / 0.06);
  --shadow-md: 0 18px 48px rgb(var(--shadow-rgb) / 0.14);
}

.surface-card {
  border: 0;
  box-shadow: var(--shadow-edge), var(--shadow-contact), var(--shadow-md);
}
img {
  border: 0rem;
  vertical-align: middle;
  max-width: 100%;
}
* {
  margin: 0rem;
  padding: 0rem;
  box-sizing: border-box;
  outline: none;
}
/**
 * common.css - 厦门市建筑行业协会官网公共样式
 * 所有页面共享的样式，从各页面 <style> 中抽离
 */

/* ========== 全局 ========== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 3px;
}

/* ========== 章节标题装饰线 ========== */
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-gold),
    var(--color-gold-light)
  );
  margin-top: 8px;
  border-radius: 2px;
}
.banner_header {
  height: 3rem;
  position: relative;
  z-index: 4;
}
@media (min-width: 640px) {
  .banner_header {
    height: 4rem;
  }
}
.logo {
  z-index: 100;
}
.logo a > img {
  max-width: 100%;
  height: auto;
  width: 200px; /* 移动端默认 */
  transition:
    max-height 0.3s ease,
    width 0.3s ease;
}
/* Pad 端 */
@media (min-width: 768px) {
  .logo a > img {
    width: 220px;
  }
}
/* PC 端 */
@media (min-width: 1024px) {
  .logo a > img {
    width: 400px;
  }
}

/* ========== Row1 滚动固定 ========== */
.header {
  position: relative;
  transition:
    padding 0.3s ease,
    border-color 0.3s ease;
}

/* 滚动后 fixed 定位在顶部 */
.header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.35s ease;
  border-bottom: 3px solid var(--color-primary);
}

/* ========== 导航 - PC端白底链接 ========== */
.nav_wrap > ul > li {
  line-height: 5rem;
  font-size: 1.26rem;
  font-weight: bold;
  margin-left: 20px;
  float: left;
}
.nav_wrap > ul > li > a {
  display: block;
}
.nav_wrap > ul > li > a:hover,
.nav_wrap > ul > li.on > a {
  color: #1658a0;
}
.nav_wrap .nav_con {
  box-sizing: border-box;
}
.nav_wrap .nav_con {
  display: none;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  white-space: nowrap;
  height: 4rem;
  background-color: var(--color-primary);
  top: 6.78rem;
  text-align: left;
  z-index: 80;
}
.nav_wrap > ul > li:hover .nav_con {
  display: block;
  font-size: 0;
}
.nav_wrap > ul > li:hover .nav_con a {
  display: inline-block;
  line-height: 4rem;
  color: #ffffff;
  font-size: 18px;
  margin: 0 15px;
}
.nav_wrap > ul > li:hover .nav_con a:first-child {
  margin-left: 0;
}

.nav_wrap > ul > li.zwgk > a,
.nav_wrap > ul > li.jgsz > a,
.nav_wrap > ul > li.hyzc > a,
.nav_wrap > ul > li.xzzq > a,
.nav_wrap > ul > li.bsfw > a,
.nav_wrap > ul > li.hdjs > a,
.nav_wrap > ul > li.lxwm > a {
  display: inline-block;
  position: relative;
}
.nav_wrap > ul > li.zwgk:hover > a:before,
.nav_wrap > ul > li.jgsz:hover > a:before,
.nav_wrap > ul > li.xzzq:hover > a:before,
.nav_wrap > ul > li.hyzc:hover > a:before,
.nav_wrap > ul > li.hdjs:hover > a:before,
.nav_wrap > ul > li.bsfw:hover > a:before,
.nav_wrap > ul > li.lxwm:hover > a:before {
  position: absolute;
  content: "";
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 22px;
  height: 22px;
  background-color: var(--color-primary);
  bottom: -19px;
}
.nav_wrap > ul > li:hover a {
  color: var(--color-primary);
}

/* PC端 fixed 后缩小（仅 md+ 生效） */
@media (min-width: 768px) {
  .header.fixed {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 3px solid var(--color-primary);
  }
  .header.fixed .logo a img {
    width: 360px;
  }
  .header.fixed .nav_wrap > ul > li {
    line-height: 4.2rem;
    font-size: 1.1rem;
    margin-left: 20px;
  }
  .header.fixed .nav_wrap .nav_con {
    top: 4.8rem;
    height: 4rem;
  }
  .header.fixed .nav_wrap > ul > li:hover .nav_con a {
    line-height: 4rem;
    font-size: 16px;
  }
  .header.fixed .nav_wrap > ul > li.zwgk:hover > a:before,
  .header.fixed .nav_wrap > ul > li.jgsz:hover > a:before,
  .header.fixed .nav_wrap > ul > li.hyzc:hover > a:before,
  .header.fixed .nav_wrap > ul > li.bsfw:hover > a:before,
  .header.fixed .nav_wrap > ul > li.xzzq:hover > a:before,
  .header.fixed .nav_wrap > ul > li.hdjs:hover > a:before,
  .header.fixed .nav_wrap > ul > li.lxwm:hover > a:before {
    bottom: -16px;
    width: 16px;
    height: 16px;
  }
}

/* Header 滚动滑入动画 */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ========== 导航 - 移动端菜单 ========== */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-menu.open {
  max-height: 500px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========== 导航 - 移动端手风琴子菜单 ========== */
.mobile-nav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-nav-sub.open {
  max-height: 300px;
}

/* ========== 侧浮二维码（PC only） ========== */
.float-qr {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.float-qr img {
  width: 100px;
  height: 100px;
}
@media (max-width: 1023px) {
  .float-qr {
    display: none;
  }
}

/* ========== 表单 ========== */
.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}
/* 带搜索图标的输入框：左侧留给图标（.form-input 的 padding 会覆盖 tailwind 的 pl-10，
   因为 common.css 在 tailwind.css 之后加载；此处用 !important 显式确保左内边距生效 */
.form-input.has-search-icon {
  padding-left: 2.5rem !important;
}

/* 搜索表单布局：PC 端水平三列（输入框 / 范围下拉 / 按钮）；
   窄屏（≤640px）自动换行堆叠。注意：本项目 tailwind.css 未编译 sm: 响应式类，
   故响应式行为统一在此用媒体查询实现，不依赖 sm:flex-nowrap 等缺失类。 */
.search-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.5rem;
}
.search-form .search-field {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}
.search-form select {
  flex: 0 0 auto;
  width: 8rem;
}
.search-form button {
  flex: 0 0 auto;
}
@media (max-width: 640px) {
  .search-form {
    flex-wrap: wrap;
  }
  .search-form .search-field {
    flex: 1 1 100%;
  }
  .search-form select {
    flex: 1 1 auto;
    width: auto;
  }
  .search-form button {
    flex: 1 1 100%;
  }
}
.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 74, 138, 0.1);
  outline: none;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 0.25rem;
}
.form-select {
  width: 100%;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-text-main);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.17l3.71-3.94a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.25rem 1.25rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: all 0.2s;
  cursor: pointer;
}
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 74, 138, 0.1);
  outline: none;
}
.form-select:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 1;
}

/* ========== 轮播（首页） ========== */
.carousel-item {
  transition: opacity 0.6s ease-in-out;
}
.carousel-item.active {
  opacity: 1;
}
.carousel-item:not(.active) {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ========== 横幅幻灯片（首页） ========== */
/* 基础规则与已签字确认的原型 prototype/css/common.css 完全一致：
   active 张留在文档流撑起容器高度，非 active 张绝对定位叠放做淡入淡出。
   严禁给 .banner-slide 加 position:absolute / inset:0 —— 否则全部脱离文档流、
   容器高度塌陷为 0，进而被下方 max-height 安全上限反向撑高（即本次 Bug 的根因）。 */
.banner-slide {
  transition: opacity 0.6s ease-in-out;
}
.banner-slide.active {
  opacity: 1;
  z-index: 1;
}
.banner-slide:not(.active) {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

/* 首页 Hero 横幅：高度跟随图片自身宽高比（与原型一致，回归真实图片比例）。
   保留 max-height 安全上限：后台横幅由管理员上传，若误传近方形 / 超高大图，
   等比缩放后高度可能上千 px 撑爆首页；故以左侧幻灯片区 md 断点高度（420px）为上限，
   配合 object-fit: contain 让超高图 letterbox（两侧留白）而非拉伸变形。
   上限取值依据：当前横幅约 1300×130（≈10:1）；左侧幻灯片区在 md 断点为 420px 高，
   横幅高度不应高于该区块。1300 宽下 420px ≈ 3.1:1，远大于正常横幅比例，不会误伤。 */
#banner-carousel {
  max-height: 420px;
}
#banner-carousel .banner-slide > a {
  display: block;
}
#banner-carousel .banner-slide img {
  display: block;
  width: 100%;
  height: auto;        /* 关键：跟随原图比例，不再被 height:100% 拉伸填充 */
  max-height: 420px;   /* 安全上限：超高图 letterbox，不撑爆页面 */
  object-fit: contain; /* 超高图完整显示、两侧留白，而非变形 */
}

/* ========== 新闻列表 ========== */
.news-item:hover .news-title {
  color: var(--color-primary);
}
.news-item:hover .news-date {
  color: var(--color-gold);
}
/* .news-item{
  --tw-border-opacity: 1;
      border-bottom-width: 1px;
  border-color: rgb(232 232 232 / var(--tw-border-opacity, 1));
}
.news-item:last-child {
  border-bottom: none;
} */

/* 新闻列表链接 —— 伪元素图标 + 标题 + 日期右侧 */
.news-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.news-link::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url(/static/index/img/xmjzxh_img_icon.png) no-repeat center / contain;
}

/* ========== 通用文章列表项（标题左 + 日期右） ========== */
.article-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px dashed var(--color-border);
  transition: background-color 0.2s ease;
  position: relative;
}
.article-list-item::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  flex-shrink: 0;
  background-color: #1658a0;
  border-radius: 50%;
}
.article-list-item:last-child {
  border-bottom: none;
}
.article-list-item:hover {
  background-color: var(--color-bg-section);
}
.article-list-item .article-list-title {
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  color: var(--color-text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.article-list-item:hover .article-list-title {
  color: var(--color-primary);
}
.article-list-item .article-list-date {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  white-space: nowrap;
}
/* 移动端适配 */
@media (max-width: 640px) {
  .article-list-item {
    padding: 0.65rem 0.875rem;
  }
  .article-list-item .article-list-title {
    font-size: 0.875rem;
  }
  .article-list-item .article-list-date {
    font-size: 0.75rem;
  }
}

/* ========== Tab 切换 ========== */
.tab-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.tab-content {
  display: none !important;
}
.tab-content.active {
  display: flex !important;
  flex-direction: column;
}
/* Tab 容器：固定高度，避免切换时页面跳动 */
[data-tabs] {
  position: relative;
}

/* Tab 面板：在固定高度容器内正确显示 */
[data-tabs] .tab-content {
  position: relative;
  width: 100%;
}

/* 激活面板作为 flex 子项填充剩余高度（Tab 栏之后的空间），避免与固定高度叠加溢出 */
[data-tabs] .tab-content.active {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
}
/* ========== Tab 切换 - 下划线风格（首页用） ========== */
.tab-btn--underline {
  position: relative;
  padding: 0.5rem 0;
  margin-right: 1.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-sub);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.tab-btn--underline:hover {
  color: var(--color-primary);
}
.tab-btn--underline.active {
  color: var(--color-primary);
}
.tab-btn--underline.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-gold),
    var(--color-gold-light)
  );
  border-radius: 2px;
}

/* ========== 单选/复选框 ========== */
.radio-custom,
.checkbox-custom {
  accent-color: var(--color-primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ========== 搜索框 ========== */
.search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 74, 138, 0.1);
}

/* ========== 分页 ========== */
.pagination-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.pagination-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* ========== Modal ========== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
}
.modal-overlay.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

/* ========== 状态标签 ========== */
.status-open,
.status-active {
  background: #dcfce7;
  color: #166534;
}
.status-closed,
.status-ended {
  background: #fee2e2;
  color: #991b1b;
}
.status-full {
  background: #fef3c7;
  color: #92400e;
}

/* ========== 通用卡片 hover ========== */
.card-hover {
  transition: all 0.2s ease;
}
.card-hover:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.xmjzxh_new_nr {
  overflow: hidden;
  background: url(/static/index/img/xmjzxh_bg6.jpg) no-repeat top center;
  background-size: cover;
  min-height: 72px;
  border-radius: 6px;
}
/* ========== 重要通知弹窗 ========== */
.notice-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.notice-popup-overlay.show {
  opacity: 1;
}
.notice-popup {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.notice-popup-overlay.show .notice-popup {
  transform: translateY(0);
}
.notice-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.notice-popup-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice-popup-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-section);
  color: var(--color-text-sub);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.notice-popup-close:hover {
  background: var(--color-primary);
  color: white;
}
.notice-popup-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

/* 时间轴 */
.notice-timeline {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: rgba(0, 0, 0, 0.88);
  font-size: 14px;
  line-height: 1.5714285714285714;
  list-style: none;
}
.notice-timeline .notice-timeline__date {
  flex-shrink: 0;
  width: 42px;
  text-align: right;
  font-size: 0.8125rem;
  color: #999;
  line-height: 1.4;
  position: relative;
  inset-block-start: -4px;
  margin-inline-start: 2px;
  margin-inline-end: 10px;
  margin-block-start: 0;
  margin-block-end: 0;
  word-break: break-word;
}
.notice-timeline .notice-timeline__wrapper {
  position: relative;
  padding: 0;
  flex: 1;
  min-width: 0;
}
.notice-timeline .notice-timeline-item {
  position: relative;
  margin: 0;
  font-size: 14px;
  list-style: none;
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  height: 4.2rem;
}
.notice-timeline .notice-timeline-item-head {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  z-index: 1;
}
.notice-timeline .notice-timeline-tail {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 4px;
  height: calc(100% - 10px);
  border-inline-start: 2px solid rgba(5, 5, 5, 0.06);
}
.notice-timeline .notice-timeline-item-content {
  position: relative;
  inset-block-start: -4px;
}
.notice-timeline .notice-timeline-item:last-child .notice-timeline-tail {
  display: none;
}
.notice-timeline-title {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}
.notice-timeline-title:hover {
  color: #d4a847;
}

/* 移动端适配 */
@media (max-width: 640px) {
  .notice-popup {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
  }
  .notice-popup-header {
    padding: 16px 18px;
  }
  .notice-popup-body {
    padding: 14px 18px;
  }
  .notice-timeline-date {
    width: 60px;
    font-size: 0.75rem;
  }
  .notice-timeline-title {
    font-size: 0.875rem;
  }
}

/* ========== Autocomplete 模糊搜索下拉 ========== */
.ac-dropdown {
  /* position/width/top/left 由 JS 动态计算，挂载到 body */
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  max-height: 260px;
  overflow-y: auto;
}
.form-input.ac-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(26, 74, 138, 0.15);
}
.ac-item {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-main);
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s;
}
.ac-item:last-child {
  border-bottom: none;
}
.ac-item:hover,
.ac-item.active {
  background: #f0f5ff;
}
.ac-item-main {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ac-item-sub {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--color-primary);
  background: #e8f0fe;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
}
.ac-highlight {
  background: #fef08a;
  color: inherit;
  padding: 0 1px;
  border-radius: 2px;
  font-weight: 600;
}
.ac-loading,
.ac-empty {
  padding: 16px 12px;
  text-align: center;
  font-size: 0.8125rem;
  color: #999;
}
.ac-loading i,
.ac-empty i {
  margin-right: 4px;
  color: #bbb;
}
.ac-empty i {
  color: #ccc;
}

/* ========== 富文本内容（文章详情） ========== */
.article-content h2 {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-primary);
  margin: 1.5rem 0 0.75rem;
}
.article-content h3 {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--color-text-main);
  margin: 1.25rem 0 0.5rem;
}
.article-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--color-text-main);
}
.article-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-content ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-content li {
  margin-bottom: 0.25rem;
  line-height: 1.8;
}
.article-content blockquote {
  border-left: 4px solid var(--color-gold);
  padding: 1rem;
  margin: 1rem 0;
  color: var(--color-text-sub);
  background: var(--color-bg-section);
  border-radius: 0 4px 4px 0;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.article-content th,
.article-content td {
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  text-align: left;
}
.article-content th {
  background: var(--color-bg-section);
  font-weight: bold;
}

/* ========== 组织架构图（关于页） ========== */
.org-box {
  background: white;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  padding: 12px 20px;
  text-align: center;
  font-weight: bold;
  color: var(--color-primary);
  position: relative;
}
.org-box.gold {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* ========== 首页信息条（已合并到Header内部） ========== */
.schedule-period {
  transition: color 0.2s;
}
/* 浅色背景上的高亮（备用） */
.schedule-period--active {
  color: var(--color-primary);
  font-weight: 600;
}
.schedule-period--inactive {
  color: var(--color-text-sub);
}
/* 深色背景上的高亮（当前使用） */
.schedule-period--active-dark {
  color: white;
  font-weight: 500;
}
.schedule-period--inactive-dark {
  color: rgba(255, 255, 255, 0.45);
}

/* ========== Header 搜索框（新版：蓝底导航栏内） ========== */
.header-scope-select {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px 0 0 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.8125rem;
  outline: none;
  cursor: pointer;
}
.header-scope-select option {
  color: #333;
  background: white;
}
.header-search-input-new {
  width: 200px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  border-right: none;
  background: transparent;
  color: white;
  font-size: 0.8125rem;
  outline: none;
  transition: all 0.2s;
}
.header-search-input-new::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.header-search-input-new:focus {
  width: 280px;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-gold);
}
.header-search-btn-new {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  border-radius: 0 4px 4px 0;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s;
}
.header-search-btn-new:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

/* ========== 文章上下篇导航 ========== */
.nav-prev-next:hover {
  background: var(--color-bg-section);
}

/* ========== 全局 Focus 可见性 ========== */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ========== 办事服务卡片 ========== */
/* PC端：文字渐变叠加在图片底部 */
.banshi-text {
  background: linear-gradient(
    to right,
    rgba(10, 35, 80, 0.85),
    rgba(26, 74, 138, 0.65)
  );
}
/* 移动端：文字在图片下方，独立深色块 */
@media (max-width: 639px) {
  .banshi-text {
    position: relative !important;
    inset: auto !important;
    background: rgba(13, 31, 60, 0.92);
  }
}
.website_info {
  line-height: 0.36rem;
  font-size: 0.14rem;
  padding-top: 0.14rem;
}
.website_info p span {
  margin-right: 0.2rem;
  display: inline-block;
  white-space: nowrap;
}
.website_info p img {
  display: inline;
  vertical-align: middle;
  margin-right: 0.08rem;
}
/* ========== 新版页脚（去 logo / 去快速链接 / 衬线体品牌名） ========== */
.site-footer { position: relative; }
.footer-top-rule {
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold) 0%, rgba(201,169,110,0.18) 55%, transparent 100%);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 1.75rem 0 0.75rem;
  justify-items: center;
  text-align: center;
}
.footer-contact-col {
  width: 100%;
  max-width: 380px;
}
.footer-brand {
  font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1.2;
}
.footer-tagline {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.62);
}
.footer-contact {
  display: inline-grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.82);
}
.footer-contact li { display: flex; gap: 0.65rem; align-items: flex-start; line-height: 1.5; }
.footer-contact i {
  color: var(--color-gold);
  width: 1.1rem;
  text-align: center;
  margin-top: 0.2rem;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.footer-contact-wide { grid-column: 1 / -1; }
.footer-qr-col { display: flex; }
.footer-qr { text-align: center; }
.footer-qr-img {
  display: inline-block;
  background: #fff;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.footer-qr-img img { display: block; width: 120px; height: 120px; object-fit: contain; }
.footer-qr-label { margin-top: 0.6rem; font-size: 0.78rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.7); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.footer-copy { margin-bottom: 4px; }
.footer-beian { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.footer-beian a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-beian a:hover { color: var(--color-gold); }
.footer-beian img { width: 14px; height: 14px; vertical-align: middle; margin-right: 2px; }
@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    text-align: left;
  }
  .footer-brand-col { text-align: left; }
  .footer-contact-col { max-width: none; text-align: center; }
  .footer-qr-col { justify-content: flex-end; }
  .footer-contact { margin-top: 0; }
}
/* ========== 打印样式 ========== */
@media print {
  header,
  footer,
  .float-qr,
  .notice-popup-overlay,
  #mobileMenuBtn,
  nav,
  .breadcrumb {
    display: none !important;
  }
  main {
    padding: 0 !important;
  }
  .article-content {
    font-size: 12pt;
  }
  a {
    color: #000 !important;
    text-decoration: none !important;
  }
}
@media screen and (min-width: 993px) and (max-width: 1366px) {
  .row {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    width: auto;
  }
  .nav_wrap > ul > li {
    margin-left: 10px;
  }
  .daily_schedule,
  .welcome_speech {
    display: none !important;
  }
}
@media screen and (max-width: 992px) {
  .row {
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .daily_schedule,
  .welcome_speech {
    display: none !important;
  }
  .website_info {
    text-align: center;
    line-height: 0.28rem;
  }
  .website_info p span {
    display: block;
    margin-right: 0;
    white-space: normal;
  }
}
@media screen and (max-width: 1024px) {
  .md-hide {
    display: none !important;
  }
}

/* ========== Tab 面板内"查看更多"按钮 ========== */
/* 默认隐藏：PC 端（鼠标精确指向+支持悬停）不显示，点击 Tab 直接跳转 */
.tab-panel-more {
  display: none !important;
}

/* 触控设备 或 窄屏（移动/平板/开发者工具收窄视口）：显示按钮 */
@media (hover: none) and (pointer: coarse),
       (max-width: 1023px) {
  .tab-panel-more {
    display: block !important;
  }
}

/* ========== Tab 面板 - 大屏触控端"与幻灯片等高"模式 ==========
   由 JS 在大屏(≥1024 左右并排) + 触控设备时添加 .tabs-match-slide。
   此时右栏高度 = 左侧幻灯片高度，列表内部滚动，"更多"固定底部。 */
.tabs-match-slide .tab-content.active {
  flex: 1 1 auto;
  min-height: 0; /* 允许收缩到内容之下，使其内部 ul 可滚动 */
  height: auto;
}
.tabs-match-slide .tab-content > div {
  height: 100%;
  overflow: hidden;
}
.tabs-match-slide .tab-content > div > ul {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.tabs-match-slide .tab-panel-more {
  flex-shrink: 0;
}

/* ========== 联系我们 - 信息卡片（去传真后优化版） ========== */
.contact-card {
  position: relative;
  display: flex;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border-light, #e8edf3);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
/* 顶部细金线点缀 */
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold, #c9a96e));
  opacity: 0.85;
}
/* 角落淡淡的图标水印，增加层次、消除空旷感 */
.contact-card::after {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -0.5rem;
  bottom: -1.25rem;
  font-size: 6rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.04;
  pointer-events: none;
}
.contact-card:nth-child(2)::after {
  content: "\f0e0";
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(26, 74, 138, 0.12);
  border-color: rgba(26, 74, 138, 0.25);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold, #c9a96e));
  box-shadow: 0 6px 16px rgba(26, 74, 138, 0.22);
}

.contact-card__body {
  flex: 1 1 auto;
  min-width: 0;
}
.contact-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main, #333);
  margin-bottom: 0.9rem;
}

.contact-card__list {
  list-style: none;
  margin: 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.contact-card__list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.contact-card__label {
  flex-shrink: 0;
  width: 4.5rem;
  color: var(--color-text-sub, #666);
}
.contact-card__value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--color-text-main, #333);
  font-weight: 500;
  word-break: break-word;
}
.contact-card__copy {
  flex-shrink: 0;
  margin-left: 0.5rem;
  border: none;
  background: var(--color-bg-section, #f5f7fa);
  color: var(--color-primary);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-card__copy:hover {
  background: var(--color-primary);
  color: #fff;
}
.contact-card__copy.is-copied {
  background: var(--color-gold, #c9a96e);
  color: #fff;
}

.contact-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}
.contact-card__action:hover {
  gap: 0.7rem;
  color: var(--color-gold, #c9a96e);
}

/* ========== 入会申请 - 文件/图片上传 ========== */
/* 申请表文档上传区（虚线边框 + hover/dragover 高亮） */
.file-upload-area {
  border: 2px dashed var(--color-border);
  background: var(--color-bg-section);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: var(--color-primary);
  background: rgba(30, 86, 160, 0.04);
}

/* 上传进度条 */
.upload-progress {
  display: none;
  margin-top: 1rem;
}
.upload-progress.active {
  display: block;
}
.upload-progress-bar {
  height: 8px;
  background: var(--color-bg-section);
  border-radius: 999px;
  overflow: hidden;
}
.upload-progress-fill {
  height: 100%;
  width: 0;
  background: var(--color-primary);
  border-radius: 999px;
  transition: width 0.2s ease;
}
.upload-progress-fill.done {
  background: #16a34a;
}
.upload-progress-text {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: var(--color-text-sub);
  text-align: center;
}

/* 提交中遮罩（绝对定位覆盖在表单卡片内，父容器为 .relative） */
.submit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
  border-radius: 0.5rem;
}
.submit-overlay.active {
  display: flex;
}

/* 图片上传区 */
.image-upload-area {
  border: 2px dashed var(--color-border);
  background: var(--color-bg-section);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.image-upload-area:hover,
.image-upload-area.dragover {
  border-color: var(--color-primary);
  background: rgba(30, 86, 160, 0.04);
}

/* 图片预览网格（自适应列数） */
.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

/* 单张预览缩略图（方形） */
.image-preview-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
}
.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 预览右上角删除按钮 */
.img-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.img-remove:hover {
  background: #dc2626;
}

/* 上传中的深色进度遮罩 */
.img-progress {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  gap: 0.5rem;
}
.img-progress-bar {
  width: 0;
  height: 4px;
  max-width: 70%;
  background: #fff;
  border-radius: 999px;
}

/* 上传失败遮罩（可点击重试） */
.img-fail {
  position: absolute;
  inset: 0;
  background: rgba(220, 38, 38, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  gap: 0.25rem;
  cursor: pointer;
}

/* 拖拽高亮态（作用于 .file-upload-area / .image-upload-area） */
.dragover {
  border-color: var(--color-primary) !important;
  background: rgba(30, 86, 160, 0.06) !important;
}
.ant-empty{
  margin-inline: 8px;
  font-size: 14px;
  line-height: 1.5714285714285714;
  text-align: center;
}
.ant-empty .ant-empty-image{
  height: 100px;
  margin-bottom: 8px;
  opacity: 1;
}
.ant-empty .ant-empty-image svg{
    height: 100%;
    margin: auto;
}
.ant-empty .ant-empty-description{

}

/* ========== 统一空态（E13） ========== */
.empty-state__icon {
  color: var(--color-primary);
  opacity: 0.65;
}
.empty-state__title {
  font-size: 1rem;
  color: var(--color-text-main);
}
.empty-state__desc {
  color: var(--color-text-sub);
}

/* ========== 图片懒加载占位底色（E14） ========== */
img[loading="lazy"] {
  background-color: var(--color-bg-section);
}

/* ========== 分页加载/禁用态（E12） ========== */
.pagination-btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}
#paginationBar.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.pagination-jump input {
  width: 4rem;
}

/* ========== 移动端补洞（E5）：明确焦点环与禁用态 ========== */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
input[type="number"].form-input {
  -moz-appearance: textfield;
}
input[type="number"].form-input::-webkit-outer-spin-button,
input[type="number"].form-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}