/* ========================================
   赣州谱空科技有限公司 - 全局公共样式
   全站公共页面默认采用“微软雅黑”字体栈，不加载体积庞大的外部公文字体包，消除首屏渲染阻塞。
   特殊公文字体（方正公文黑体/仿宋公文体等）仅在后台发文勾选后由静态编译器单篇按需注入。
   ======================================== */

/* CSS 变量 - 全局默认字体固定使用 微软雅黑 */
:root {
  --primary-blue: #005ea5;
  --primary-blue-dark: #00599a;
  --primary-blue-light: #e6f5ff;
  --text-color: #000;
  --text-secondary: #333;
  --text-muted: #666;
  --text-light: #999;
  --link-color: #000;
  --link-hover: #005ea5;
  --border-color: #dfdfdf;
  --border-dark: #ccc;
  --bg-white: #fff;
  --bg-light: #f5f5f5;
  --bg-footer: #2c3e50;
  --bg-footer-dark: #1a252f;
  --footer-text: #ccc;
  --wrapper-width: 1200px;
  --font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 基础重置 */
html { -webkit-text-size-adjust: none; zoom: 1; }
html * { outline: 0; zoom: 1; }
body, div, ul, li, h1, h2, h3, h4, p, input, dl, dt, dd { margin: 0; padding: 0; }
a img { border: 0; }
li { list-style: none; }
h1, h2, h3, h4 { font-weight: normal; }
body, button, input, select, textarea {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
}
body {
  color: var(--text-color);
  font-size: 14px;
  background: var(--bg-white);
  overflow-x: hidden;
  min-width: 320px;
}
a { color: var(--link-color); text-decoration: none; }
a:hover { text-decoration: none; color: var(--link-hover); }

/* 工具类 */
.clearfix::after { content: ""; display: block; clear: both; }
.clear { clear: both; }
.fl { float: left; display: inline; }
.fr { float: right; display: inline; }
.wrapper { width: var(--wrapper-width); margin: 0 auto; }
.bk20 { clear: both; font-size: 0; overflow: hidden; height: 20px; }

/* ========== 页眉 Header ========== */
.header {
  height: 136px;
  position: relative;
  z-index: 100;
}
.header .wrapper {
  position: relative;
  height: 133px;
}
.header .logo {
  float: left;
  margin-top: 30px;
}
.header .logo img {
  height: 60px;
}
.header .lan {
  height: 25px;
  padding-top: 25px;
}
.header .lan a {
  color: var(--text-secondary);
  margin-left: 34px;
  display: block;
  line-height: 25px;
  height: 25px;
  float: left;
}
.header .lan a:hover { color: var(--link-hover); }
.header .searchBar {
  height: 32px;
  line-height: 32px;
  margin-top: 25px;
}
.header .search {
  height: 30px;
  line-height: 30px;
  width: 350px;
  border: 1px solid var(--border-color);
  float: right;
}
.header .search .txt {
  height: 20px;
  line-height: 20px;
  padding: 5px 25px;
  padding-right: 0;
  width: 250px;
  border: none;
  font-size: 14px;
  font-family: var(--font-family);
}
.header .search .btn {
  height: 30px;
  line-height: 30px;
  width: 75px;
  background: var(--primary-blue);
  border: none;
  font-size: 16px;
  font-family: var(--font-family);
  cursor: pointer;
  color: #fff;
}
.header .search .btn:hover {
  background: var(--primary-blue-dark);
}

/* ========== 导航栏 Naver ========== */
.naver {
  width: 100%;
  margin: 0 auto;
  height: 48px;
  line-height: 48px;
  color: var(--text-color);
  position: relative;
  z-index: 120;
}
.naver .wrapper {
  border-top: 3px solid var(--primary-blue);
  position: relative;
}
.naver ul {
  padding-left: 15px;
  position: relative;
}
.naver li {
  float: left;
  height: 48px;
  line-height: 48px;
  position: relative;
  margin: 0 5px;
}
.naver li strong a {
  float: left;
  height: 48px;
  line-height: 48px;
  padding: 0 25px;
  display: block;
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
  border-bottom: none !important;
  outline: none;
}
.naver li strong a:hover,
.naver li.active strong a {
  color: var(--primary-blue);
  text-decoration: none;
}
.naver li.active strong a {
  font-weight: bold;
}
/* 彻底清除旧版导航伪元素/下边框动画，全站唯一保留 .nav-slider 蓝色滑块 */
.naver li::before,
.naver li::after,
.naver li strong a::before,
.naver li strong a::after {
  content: none !important;
  display: none !important;
}

/* 导航横杠滑块指示条 */
.nav-slider {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px 2px 0 0;
  pointer-events: none;
  opacity: 0;
  z-index: 10;
  transition: left 0.28s cubic-bezier(0.25, 0.8, 0.25, 1), width 0.28s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.2s ease;
}

/* ========== 通用关于我们与模态框 Modals ========== */
.app-modal-mask {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.app-modal-mask.show {
  opacity: 1;
  visibility: visible;
}
.app-modal-dialog {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 540px;
  max-width: 90vw;
  overflow: hidden;
  transform: translateY(-20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.app-modal-mask.show .app-modal-dialog {
  transform: translateY(0) scale(1);
}
.app-modal-header {
  padding: 16px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.app-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0;
}
.app-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}
.app-modal-close:hover {
  color: #333;
}
.app-modal-body {
  padding: 24px;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

/* ========== 页脚 Footer ========== */
.footer {
  background: var(--bg-white);
  color: var(--text-secondary);
  padding: 40px 0 0;
  margin-top: 40px;
}
.footer .wrapper {
  border-top: 3px solid var(--primary-blue);
  padding-top: 40px;
}
.footer .footer-main {
  display: flex;
  flex-direction: column; /* 改为垂直排列 */
  justify-content: center;
  align-items: center;
  padding-bottom: 30px;
}
.footer .footer-info {
  text-align: center;
  margin-bottom: 20px; /* 添加底部间距 */
}
.footer .footer-info p {
  line-height: 28px;
  font-size: 14px;
  color: var(--text-secondary);
}
.footer .footer-info a {
  color: var(--text-secondary);
}
.footer .footer-info a:hover {
  color: var(--primary-blue);
}
.footer .footer-links {
  display: flex;
  justify-content: center; /* 居中图片 */
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}
.footer .footer-links a {
  margin: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  outline: none;
}
.footer .footer-links a:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
.footer .footer-links a:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 3px;
}
.footer .footer-links img {
  height: 40px; /* 三张图片统一高度，比例适中协调 */
  width: auto;
  max-width: 140px;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .footer .footer-links {
    gap: 12px;
  }
  .footer .footer-links a {
    margin: 0 2px;
  }
  .footer .footer-links img {
    height: 36px;
  }
}

/* ========================================
   无障碍浏览辅助系统与适老化关怀版样式
   ======================================== */

/* 顶部固定无障碍工具栏（契合谱空科技门户科技蓝视觉风格） */
.acc-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  background: linear-gradient(90deg, #00284d 0%, #004b97 42%, #005ea5 100%);
  color: #fff;
  z-index: 999999;
  box-shadow: 0 4px 16px rgba(0, 46, 91, 0.28);
  border-bottom: 2px solid #38bdf8;
  box-sizing: border-box;
  font-family: var(--font-family);
  user-select: none;
}

body.acc-active {
  padding-top: 48px !important;
}

.acc-toolbar-inner {
  width: var(--wrapper-width);
  max-width: 98%;
  margin: 0 auto;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.acc-label {
  font-size: 13px;
  font-weight: bold;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 3px 12px;
  border-radius: 14px;
  margin-right: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.acc-btn {
  height: 32px;
  line-height: 30px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.acc-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #004b97;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.acc-btn:active {
  transform: translateY(1px);
}

.acc-btn.active {
  background: #ffb800 !important;
  border-color: #f59e0b !important;
  color: #00284d !important;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.6);
}

.acc-btn.acc-exit {
  background: rgba(239, 68, 68, 0.9);
  border-color: #ef4444;
  color: #fff;
  margin-left: auto;
  font-weight: 500;
}

.acc-btn.acc-exit:hover {
  background: #dc2626;
  border-color: #b91c1c;
  color: #fff;
}

/* 屏幕十字线辅助对齐 */
.acc-crosshair-h,
.acc-crosshair-v {
  position: fixed;
  pointer-events: none;
  z-index: 999998;
  display: none;
}

.acc-crosshair-h {
  height: 2px;
  width: 100vw;
  left: 0;
  top: 0;
  background: rgba(239, 68, 68, 0.75);
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.85);
}

.acc-crosshair-v {
  width: 2px;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(239, 68, 68, 0.75);
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.85);
}

body.acc-crosshair-on .acc-crosshair-h,
body.acc-crosshair-on .acc-crosshair-v {
  display: block;
}

/* 超大高对比度鼠标指针 */
body.acc-big-cursor,
body.acc-big-cursor * {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'><polygon points='2,2 2,36 12,26 22,42 28,38 18,22 32,22' fill='%23000000' stroke='%23ffffff' stroke-width='3'/></svg>") 2 2, auto !important;
}

/* 正在朗读文本的高亮定位框 */
.acc-reading-target {
  outline: 3px solid #ffb800 !important;
  outline-offset: 3px !important;
  background-color: rgba(255, 184, 0, 0.22) !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
}

/* 操作状态浮动提示 (Toast) */
.acc-toast {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0, 40, 77, 0.95);
  color: #fff;
  border: 1px solid #38bdf8;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000000;
  box-shadow: 0 8px 25px rgba(0, 40, 77, 0.45);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.acc-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 适老化长辈关怀版（蓝白色系，契合网站整体风格） */
.acc-care-banner {
  background: #eef6ff;
  border-bottom: 2px solid var(--primary-blue);
  padding: 12px 20px;
  text-align: center;
  font-size: 16px;
  color: var(--primary-blue-dark);
  font-weight: bold;
  display: none !important;
  position: relative;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0, 94, 165, 0.08);
}

body.acc-care-mode .acc-care-banner {
  display: block !important;
}

body.acc-care-mode {
  font-size: 18px !important;
  line-height: 2 !important;
}

body.acc-care-mode p,
body.acc-care-mode li,
body.acc-care-mode a,
body.acc-care-mode span,
body.acc-care-mode input,
body.acc-care-mode button {
  font-size: 17px !important;
  line-height: 1.9 !important;
}

body.acc-care-mode h1,
body.acc-care-mode h2,
body.acc-care-mode h3 {
  font-size: 24px !important;
  line-height: 1.5 !important;
}

body.acc-care-mode .naver li strong a {
  font-size: 18px !important;
  padding: 0 28px !important;
}

body.acc-care-mode .footer .footer-links img {
  height: 48px !important;
}
body.acc-care-mode .footer .footer-links {
  gap: 20px !important;
}

/* 适老化文章详情专属特化排版（字体放大、行距加大、对比度清晰） */
body.acc-care-mode .article-detail {
  max-width: 960px !important;
}
body.acc-care-mode .article-header h1 {
  font-size: 32px !important;
  line-height: 1.5 !important;
  color: #00284d !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
}
body.acc-care-mode .article-meta,
body.acc-care-mode .article-meta span,
body.acc-care-mode .article-meta .time {
  font-size: 16px !important;
  color: #555555 !important;
}
body.acc-care-mode .article-body {
  font-size: 21px !important;
  line-height: 2.2 !important;
  color: #1a1a1a !important;
}
body.acc-care-mode .article-body p {
  font-size: 21px !important;
  line-height: 2.2 !important;
  margin-bottom: 26px !important;
  color: #1a1a1a !important;
}
body.acc-care-mode .breadcrumb,
body.acc-care-mode .breadcrumb a,
body.acc-care-mode .breadcrumb span {
  font-size: 16px !important;
  line-height: 24px !important;
}

/* 高对比度配色方案 1：黑底黄字 (视弱首选 WCAG AAA) */
body.acc-theme-by {
  background-color: #000000 !important;
}
body.acc-theme-by :not(.acc-toolbar):not(.acc-toolbar *):not(.acc-toast) {
  background-color: #000000 !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
}
body.acc-theme-by a:not(.acc-btn),
body.acc-theme-by a:not(.acc-btn) * {
  color: #00ffff !important;
  text-decoration: underline !important;
}
body.acc-theme-by img {
  filter: brightness(0.9) contrast(1.2);
}

/* 高对比度配色方案 2：黑底白字 (护眼夜间高对比) */
body.acc-theme-bw {
  background-color: #050505 !important;
}
body.acc-theme-bw :not(.acc-toolbar):not(.acc-toolbar *):not(.acc-toast) {
  background-color: #050505 !important;
  color: #ffffff !important;
  border-color: #4b5563 !important;
}
body.acc-theme-bw a:not(.acc-btn),
body.acc-theme-bw a:not(.acc-btn) * {
  color: #60a5fa !important;
  text-decoration: underline !important;
}

/* 高对比度配色方案 3：白底黑字强对比 */
body.acc-theme-wb {
  background-color: #ffffff !important;
}
body.acc-theme-wb :not(.acc-toolbar):not(.acc-toolbar *):not(.acc-toast) {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #000000 !important;
  font-weight: 500 !important;
}
body.acc-theme-wb a:not(.acc-btn),
body.acc-theme-wb a:not(.acc-btn) * {
  color: #0000ee !important;
  text-decoration: underline !important;
}

/* 高对比度配色方案 4：蓝底黄字 */
body.acc-theme-by2 {
  background-color: #0f172a !important;
}
body.acc-theme-by2 :not(.acc-toolbar):not(.acc-toolbar *):not(.acc-toast) {
  background-color: #0f172a !important;
  color: #fde047 !important;
  border-color: #38bdf8 !important;
}
body.acc-theme-by2 a:not(.acc-btn),
body.acc-theme-by2 a:not(.acc-btn) * {
  color: #ffffff !important;
  text-decoration: underline !important;
}


