/* ===== CSS 变量定义 (颜色主题) ===== */
:root {
  /* 主色系 */
  --color-primary: #019fe9;
  --color-primary-dark: #0683bd;
  --color-primary-light: #d4e9ff;

  /* 中性色 */
  --color-white: #ffffff;
  --color-black: #333333;
  --color-gray: #7e7f80;
  --color-gray-light: #f5f6f7;
  --color-gray-lighter: #f8fafc;
  --color-border: #e9ecef;
  --color-border-light: #eef1f4;
  --color-border-lighter: #f0f2f5;

  /* 功能色 */
  --color-shadow: rgba(0, 0, 0, 0.03);
  --color-shadow-light: rgba(0, 0, 0, 0.08);
  --color-shadow-medium: rgba(0, 0, 0, 0.12);
  --color-shadow-dark: rgba(0, 0, 0, 0.15);
  --color-overlay: rgba(0, 0, 0, 0.4);

  /* 渐变背景 */
  --gradient-slide-1: linear-gradient(145deg, #d4e9ff, #b7daf9);
  --gradient-slide-2: linear-gradient(145deg, #ffe5d0, #fcd5b8);
  --gradient-slide-3: linear-gradient(145deg, #d5f0e5, #b8e0d0);
  --gradient-slide-4: linear-gradient(145deg, #f0dff5, #e6c9ed);
  --gradient-slide-5: linear-gradient(145deg, #fce6d6, #fad5c0);

  /* 文字颜色 */
  --text-primary: #333333;
  --text-secondary: #555555;
  --text-muted: #7e7f80;
  --text-light: #b0b3b8;
  --text-white: #ffffff;

  /* 背景色 */
  --bg-body: #f8f9fa;
  --bg-white: #ffffff;
  --bg-toolbar: #f5f6f7;
  --bg-submenu: #f8fafc;
  --bg-hover: #f5f9ff;
  --bg-hover-light: #eaf3fc;
  --bg-hover-item: #f0f7fe;

  /* 边框色 */
  --border-color: #e9ecef;
  --border-light: #eef1f4;
  --border-lighter: #f0f2f5;

  /* 品牌色扩展 */
  --brand-orange: #c5612b;
  --brand-green: #156b4f;
  --brand-purple: #7b4b8c;
  --brand-brown: #b3512b;

  /* 查询 */
  --query-red: #d81e06;
  --query-gray-text: #999;
  --query-border: #ddd;
  --bg-light-gray: #f5f5f5;

  --purple-main: #7526a2;
  --orange-main: #f01d00;
  --pink-main: #cc238e;
  --red-main: #d81e06;
  --text-dark: #333;
  --text-white: #fff;
  --viewport-padding: 30px;
  --scroll-duration: 60s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* background-color: var(--bg-body); */
  font-family: 'Microsoft YaHei', '微软雅黑', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 容器宽度1200px */
.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

@media (min-width: 1200px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1224px;
  }
}

/* ===== 隐藏Bootstrap的.dropdown-toggle::after ===== */
.dropdown-toggle::after {
  display: none !important;
}

/* ===== 快捷工具栏 (PC显示, 移动端隐藏) ===== */
.top-toolbar {
  background-color: #eff7fa;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 35px;
}

.top-toolbar .left-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.top-toolbar .left-links a:hover {
  color: var(--color-primary);
}

.top-toolbar .right-datetime {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.3px;
}

@media (max-width: 991.98px) {
  .top-toolbar {
    display: none;
  }
}

/* ===== 中间区域: logo + 搜索 + 汉堡按钮 ===== */
.head-middle-area {
  position: relative;
  height: 200px;
  padding: 16px 0;
  background-color: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.logo-wrapper img {
  max-height: 100%;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo-wrapper img {
    max-height: 56px;
  }
}

@media (max-width: 369px) {
  .logo-wrapper img {
    max-height: 50px;
  }
}

.search-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.search-box {
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  max-width: 320px;
  width: 100%;
  position: relative;
}

.search-box input {
  background: var(--bg-white);
  border: none;
  outline: none;
  padding: 8px 8px 8px 40px;
  font-size: 15px;
  color: var(--text-primary);
  flex: 1;
}

.search-box input::placeholder {
  color: var(--text-light);
  font-weight: 300;
}

.search-box button {
  background-color: #db0202;
  border: none;
  color: var(--text-white);
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-box .search-icon {
  color: var(--text-light);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* .search-box button:hover {
  background-color: var(--color-primary-dark);
} */

/* 汉堡按钮 (移动端显示) */
.menu-toggle-btn {
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--color-primary);
  padding: 0 6px;
  cursor: pointer;
  transition: color 0.2s;
  display: none;
}

.menu-toggle-btn:hover {
  color: var(--color-primary-dark);
}

/* ===== 移动端布局: Logo和汉堡两端对齐, 搜索框在下面 ===== */
@media (max-width: 991.98px) {
  .menu-toggle-btn {
    display: block;
  }

  /* 第一行: Logo + 汉堡按钮 两端对齐 */
  .head-middle-area .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .head-middle-area .logo-wrapper {
    flex: 0 0 auto;
  }

  .head-middle-area .menu-toggle-btn {
    flex: 0 0 auto;
  }

  /* 第二行: 搜索框独立一行 */
  .head-middle-area .search-row {
    width: 100%;
    margin-top: 12px;
  }

  .head-middle-area .search-wrapper {
    justify-content: center;
  }

  .head-middle-area .search-box {
    max-width: 100%;
  }

  /* 隐藏Bootstrap的col类在移动端的干扰 */
  .head-middle-area .row .col-md-4,
  .head-middle-area .row .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .search-box button {
    padding: 5px 12px;
    font-size: 13px;
  }

  .search-box input {
    font-size: 13px;
  }
}

/* ===== 轮播图区域 (Swiper) ===== */
.carousel-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 750px;
  height: 200px;
}

.carousel-wrapper .swiper-area {
  width: 100%;
  height: 100%;
}

.carousel-wrapper .swiper {
  width: 100%;
  height: 100%;
}

.carousel-wrapper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .head-middle-area {
    height: auto;
  }

  .carousel-wrapper {
    display: none;
  }
}

/* ===== PC端导航栏 (flex两端对齐, 悬停展开) ===== */
.main-nav {
  background-color: var(--color-primary);
}

.main-nav .navbar-nav {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav .nav-item {
  position: relative;
  list-style: none;
}

.main-nav .nav-link {
  color: var(--text-white) !important;
  font-weight: 600;
  padding: 18px 26px;
  font-size: 17px;
  transition: background 0.2s;
  border-radius: 0;
  white-space: nowrap;
  display: block;
  text-decoration: none;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  background-color: var(--color-primary-dark);
  color: var(--text-white) !important;
}

/* 二级下拉菜单 - 悬停展开 (PC) */
.main-nav .dropdown-menu {
  background-color: var(--color-primary);
  border: none;
  border-radius: 0;
  padding: 10px 0;
  min-width: 170px;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}

.main-nav .dropdown-item {
  color: var(--text-white);
  padding: 12px 24px;
  font-size: 17px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  display: block;
  text-decoration: none;
}

.main-nav .dropdown-item:hover {
  background-color: inherit;
  color: var(--text-white);
}

/* PC端悬停展开 */
@media (min-width: 992px) {
  .main-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ===== 移动端独立菜单 (从左侧滑出) ===== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  max-width: 80%;
  height: 100%;
  background-color: var(--bg-white);
  z-index: 10000;
  box-shadow: 4px 0 20px var(--color-shadow-dark);
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 20px 0;
}

.mobile-menu-panel.open {
  left: 0;
}

/* 移动端菜单头部 (关闭按钮) */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu-header .close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0 4px;
}

.mobile-menu-header .close-btn:hover {
  color: var(--color-primary);
}

.mobile-menu-header .menu-logo img {
  max-height: 40px;
}

/* 移动端菜单导航列表 */
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list>li {
  border-bottom: 1px solid var(--border-lighter);
}

.mobile-nav-list>li>a {
  display: block;
  padding: 14px 24px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s;
}

.mobile-nav-list>li>a:hover {
  background-color: var(--bg-hover);
  color: var(--color-primary);
}

/* 移动端二级菜单 (折叠) */
.mobile-nav-list .mobile-sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: var(--bg-submenu);
  display: none;
}

.mobile-nav-list .mobile-sub-menu.open {
  display: block;
}

.mobile-nav-list .mobile-sub-menu li a {
  display: block;
  padding: 10px 24px 10px 36px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  border-top: 1px solid var(--border-light);
}

.mobile-nav-list .mobile-sub-menu li a:hover {
  background-color: var(--bg-hover-light);
  color: var(--color-primary);
}

/* 移动端二级菜单的展开/折叠指示器 (用+/-符号, 无小箭头图标) */
.mobile-nav-list .has-sub>a {
  position: relative;
  padding-right: 44px;
}

.mobile-nav-list .has-sub>a::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.25s;
}

.mobile-nav-list .has-sub>a.active::after {
  content: '−';
  transform: translateY(-50%) rotate(0deg);
}

/* PC端隐藏移动菜单相关 */
@media (min-width: 992px) {

  .mobile-menu-overlay,
  .mobile-menu-panel,
  .menu-toggle-btn {
    display: none !important;
  }
}

/* 移动端: 显示汉堡按钮, 隐藏PC导航 */
@media (max-width: 991.98px) {
  .main-nav .navbar-nav {
    display: none !important;
  }

  .main-nav {
    background: transparent !important;
    box-shadow: none !important;
    margin: 0;
    padding: 0;
  }
}

/* 小屏优化 */
@media (max-width: 575.98px) {
  .mobile-menu-panel {
    width: 260px;
  }
}











.news-swiper-wrapper {
  overflow: hidden;
}

.news-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.news-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
}

.news-title-overlay a {
  width: calc(100% - 84px);
  height: 50px;
  line-height: 50px;
  margin: 0;
  padding: 0 15px;
  color: #ffffff;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Swiper 分页器（圆点）样式 */
.newsSwiper .swiper-pagination {
  width: auto;
  position: absolute;
  bottom: 16px !important;
  right: 15px !important;
  left: auto !important;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 4px 0;
}

.newsSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-white);
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 !important;
  cursor: pointer;
}

.newsSwiper .swiper-pagination-bullet-active {
  background: #FD0101;
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* ===== 通知公告样式 ===== */
.notice-wrapper {
  max-height: 100%;
  /* min-height: 400px; */
  display: flex;
  flex-direction: column;
  border: solid 1px var(--border-color);
  border-top: none;
}

.notice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  border-bottom: 2px solid #f0f2f5;
  flex-shrink: 0;
  margin-bottom: 0;
}

.notice-title {
  color: var(--text-white);
  font-size: 18px;
  line-height: 35px;
  margin-bottom: 0;
}

.notice-title img {
  width: 30px;
  animation: blink 2s ease-in-out infinite;
  margin-right: 10px
}

.notice-title span {
  width: 4px;
  height: 20px;
  background: #019fe9;
  border-radius: 2px;
}

.notice-more {
  color: var(--text-white);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  white-space: nowrap;
}

/* .notice-more:hover {
  color: #019fe9;
} */

.notice-list {
  list-style: none;
  padding: 0 15px;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.notice-list li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f5f6f7;
  transition: background 0.15s;
  gap: 8px;
}

.notice-list li:hover {
  background: #f8faff;
  margin: 0 -8px;
  padding: 10px 8px;
  border-radius: 6px;
}

.notice-list li:last-child {
  border-bottom: none;
}

/* 蓝色方形小图标 */
.notice-icon {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: #05467e;
  display: inline-block;
}

.notice-list li a {
  flex: 1;
  color: #333333;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice-list li a:hover {
  color: #006eb9;
}

.notice-date {
  flex-shrink: 0;
  color: #b0b3b8;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .notice-date {
    font-size: 12px;
  }

  .news-title-overlay a {
    font-size: 14px;
  }

  .newsSwiper .swiper-pagination {
    bottom: 40px;
    padding: 3px 10px;
    gap: 6px;
  }

  .newsSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}










/* 标题栏样式 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header-2 {
  background-color: #F7F7F7;
}

.section-title {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: var(--color-primary);
  padding: 10px;
}

.section-title::before {
  content: "";
  width: 5px;
  height: 24px;
  background-color: var(--color-primary);
  margin-right: 10px;
}

.section-title-2 {
  font-weight: 600;
}

.section-title-2::before {
  display: none;
}

.section-title-2 img {
  width: 20px;
  margin-right: 10px;
}

.more-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  margin-right: 10px;
}

.section-title-3,
.section-title-3+.more-link {
  color: var(--text-white);
}

.section-title-3::before {
  background-color: var(--bg-white);
}

.more-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* 分割线 */
.divider-line {
  height: 1px;
  background-color: var(--border-color);
  margin-bottom: 10px;
}

/* 新闻列表 */
.news-list {
  list-style: none;
  padding: 0 15px;
  margin: 0;
}

.news-list li {
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 左侧蓝色圆点 */
.news-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #05467e;
  flex-shrink: 0;
}

.news-list a {
  flex: 1;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 17px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list span {
  flex-shrink: 0;
  white-space: nowrap;
}

.news-list-3 li::before {
  display: none;
}

.news-list-2 a {
  color: #000;
  font-size: 14px;
}

.news-list-3 li i {
  color: var(--color-primary);
}

.news-list-3 a,
.news-list-3 span {
  font-size: 15px;
  color: var(--text-primary);
}

.news-list a:hover {
  color: var(--color-primary);
}


/* 底部 */
footer {
  background-color: #333333;
  color: var(--text-white);
}

.footer-list li {
  padding: 6px 0;
}

.footer-list li a {
  color: var(--text-white);
}

.footer-text p,
.footer-text a {
  padding: 6px 0;
  color: var(--text-white);
  margin: 0;
}


/* 页面内容 */
.sidebar-card {
  /* background: var(--bg-white);
  border: 1px solid var(--border-color); */
}

.sidebar-banner {
  background: var(--color-primary-dark);
  padding: 30px 20px;
  text-align: center;
  background-image: url("../images/use_column.jpg");
  background-size: cover;
  background-position: center;
}

.sidebar-banner h2 {
  color: var(--text-white);
  font-size: 35px;
  font-weight: bold;
  margin: 0;
}

.sidebar-menu-block {
  margin: 0;
}

.menu-title {
  background-color: var(--color-primary-dark);
  color: var(--text-white);
  font-size: 18px;
  font-weight: 600;
  padding: 14px 22px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.menu-title img {
  width: 20px;
}

.menu-sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-sub-list li a {
  display: block;
  padding: 8px 24px;
  color: var(--text-primary);
  text-decoration: none;
  background: var(--bg-white);
  transition: 0.2s;
  font-size: 14px;
}

.menu-sub-list li a:hover {
  background-color: var(--bg-hover);
  color: var(--color-primary);
}

.contact-block p {
  padding: 8px 22px;
  margin: 0;
  font-size: 14px;
}

/* 右侧文章主区域 */
.article-wrap {
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  border-radius: 6px;
}

/* 面包屑 */
.breadcrumb-bar {
  background-color: var(--color-gray-lighter);
  padding: 16px 28px;
  color: var(--text-muted);
}

.breadcrumb-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumb-bar ul li,
.breadcrumb-bar ul li a {
  font-size: 14px;
  color: #595757;
}

/* 文章标题 */
.article-title {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary-dark);
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  margin: 0;
}

/* 文章元信息：时间来源 */
.article-meta {
  text-align: right;
  padding: 20px 20px 0 20px;
  color: var(--text-muted);
  font-size: 15px;
}

/* 文章正文 */
.article-content {
  padding: 20px;
  line-height: 26px;
  font-size: 15px;
  color: #595757;
  min-height: 600px;
}

.article-content p {
  margin-bottom: 20px;
  text-indent: 2em;
}




/* 查询板块 */
/* 外层模块背景 */
.cert-query-wrap {
  padding: 60px 0;
  background: linear-gradient(160deg, #f8f8f8 0%, #ffffff 100%);
  /* 六边形浅灰纹理占位背景 */
  background-image: radial-gradient(#eeeeee 10%, transparent 11%), radial-gradient(#eeeeee 10%, transparent 11%);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
}

/* Tab外层容器居中约束 */
.cert-tab-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.cert-tab-list {
  display: flex;
  width: 100%;
}

.cert-tab-item {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  cursor: pointer;
}

/* Tab文字基础样式 */
.cert-tab-item span {
  font-size: 15px;
  font-weight: 500;
  color: var(--query-gray-text);
  transition: color 0.25s ease;
}

/* 激活Tab文字红色 */
.cert-tab-item.active span {
  color: var(--color-primary);
}

.cert-tab-item:hover span {
  color: var(--color-primary);
}

/* 底部红色分割线 */
.tab-bottom-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  left: 0;
  bottom: 0;
}

/* 三角指示器核心修复：精准居中 */
.tab-arrow {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 11px solid var(--color-primary);
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateX(-50%);
  transition: left 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

/* 表单整体居中 */
.form-wrapper {
  max-width: 320px;
  margin: 50px auto 0;
}

.form-item {
  margin-bottom: 24px;
}

/* 下拉框、输入框自定义样式（脱离Bootstrap原生form） */
.form-select-custom,
.form-input-custom {
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 15px;
  border: 1px solid var(--color-primary);
  background: #fff;
  outline: none;
  padding: 0 16px;
  border-radius: 2px;
}

.form-select-custom:focus,
.form-input-custom:focus {
  box-shadow: 0 0 0 3px rgba(216, 30, 6, 0.15);
}

/* 隐藏面板 */
.panel-hide {
  display: none;
}

/* 查询按钮区域 */
.submit-box {
  text-align: center;
}

.search-btn {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  width: 120px;
  height: 36px;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.2s;
  border-radius: 4px;
}

.search-btn:hover {
  opacity: 0.9;
}

/* ========== 移动端媒体查询（解决文字过大问题） ========== */
@media (max-width: 768px) {
  .cert-query-wrap {
    padding: 40px 0;
  }

  .cert-tab-item {
    padding: 12px 4px;
  }

  .submit-box {
    margin-top: 30px;
  }

  .search-btn {
    width: 100px;
    height: 40px;
    font-size: 14px;
  }

  /* 三角尺寸微调适配移动端 */
  .tab-arrow {
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 9px solid var(--color-primary);
  }
}

@media (max-width: 480px) {
  .form-wrapper {
    margin-top: 30px;
    padding: 0 15px;
  }
}



.institution-section {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}



/* 联系我们卡片独立样式，类名全部带contact-card前缀 */
.contact-card-box {
  width: 100%;
}

.contact-card-inner {
  background-color: #f7f9ff;
  border-radius: 16px;
  padding: 25px 20px;
}

/* 头部图标+标题 */
.contact-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-card-icon {
  font-size: 18px;
  color: var(--color-primary, #019fe9);
}

.contact-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary, #019fe9);
  margin: 0;
}

/* 分割线 */
.contact-card-divider {
  width: 100%;
  height: 1px;
  background-color: #cccccc;
  margin-bottom: 20px;
}

.contact-card-list {
  display: flex;
  flex-direction: column;
}

.contact-card-item {
  line-height: 32px;
  color: #666666;
  font-size: 15px;
}

.thumb-news-wrap {
  margin: 10px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.thumb-news-wrap img {
  width: calc(50% - 5px);
  /* width: 100%; */
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.thumb-news-wrap a {
  width: calc(50% - 5px);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px;
  color: var(--color-primary-dark);
}

.news-list-3 {
  padding: 0;
}

.news-list-3 a {
  font-size: 16px;
  color: var(--color-gray);
}








.honor-card-wrap {
  width: 100%;
}

.honor-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== 边框外层容器 ===== */
.honor-frame-box {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.honor-frame-box::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 40px;
  background: #ffffff;
}

/* ===== 底层边框图片 ===== */
.honor-border-img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 21;
  pointer-events: none;
  /* 防止边框干扰点击 */
}

/* ===== 滚动可视窗口 ===== */
.honor-scroll-viewport {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 40px 32px;
  overflow: hidden;
  z-index: 2;
  /* 确保在边框上方 */
  ;
}

/* ===== 滚动内层容器 ===== */
.honor-scroll-inner {
  animation: scrollUp var(--scroll-duration) linear infinite;
  will-change: transform;
}

/* ===== 鼠标悬浮暂停滚动 ===== */
/* .honor-scroll-viewport:hover .honor-scroll-inner {
  animation-play-state: paused;
} */

/* ===== 滚动动画（自适应高度） ===== */
@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    /* 移动总高度的一半（因为复制了相同内容） */
    transform: translateY(-50%);
  }
}

/* ===== 单个人物卡片 ===== */
.honor-person-card {
  padding: 10px 0;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
}

/* ===== 卡片链接（包裹整个卡片） ===== */
.card-link {
  display: flex;
  gap: 12px;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: var(--text-dark);
  align-items: center;
}

/* ===== 左侧文字区域 ===== */
.person-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  /* 防止flex溢出 */
  ;
}

/* ===== 姓名标签（圆形徽章） ===== */
.person-name-tag {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--purple-main);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.card-link:hover .person-name-tag {
  transform: scale(1.08);
}

.person-name-tag.tag-orange {
  background: var(--orange-main);
}

.person-name-tag.tag-pink {
  background: var(--pink-main);
}

.person-name-tag .name {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.2;
}

.person-name-tag .en {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* ===== 个人简介 ===== */
.person-desc {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.card-link:hover .person-desc {
  color: var(--color-primary);
}

/* ===== 右侧头像 ===== */
.person-avatar {
  width: 136px;
  flex-shrink: 0;
  overflow: hidden;
}

.person-avatar img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  display: block;
}

/* ===== 底部more按钮 ===== */
.honor-more-btn {
  display: block;
  width: 100%;
  height: 38px;
  line-height: 38px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 2px;
}

.honor-more-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--text-white);
}

.more-purple {
  background: var(--purple-main);
}

.more-orange {
  background: var(--orange-main);
}

.more-pink {
  background: var(--pink-main);
}

/* ===== 响应式适配 ===== */

/* 平板 */
@media (max-width: 991.98px) {
  .person-name-tag {
    width: 70px;
    height: 70px;
  }

  .person-name-tag .name {
    font-size: 16px;
  }

  .person-name-tag .en {
    font-size: 10px;
  }

  .person-desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .person-avatar {
    width: 120px;
  }
}

/* 手机 */
@media (max-width: 767.98px) {
  .honor-person-card {
    padding: 6px 0;
  }

  .honor-person-card:hover {
    margin: 0 -4px;
    padding: 6px 4px;
  }

  .card-link {
    gap: 8px;
  }

  .person-name-tag {
    width: 60px;
    height: 60px;
  }

  .person-name-tag .name {
    font-size: 14px;
  }

  .person-name-tag .en {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .person-desc {
    font-size: 12px;
    -webkit-line-clamp: 2;
    line-height: 1.5;
  }

  .person-avatar {
    width: 120px;
  }

  .honor-more-btn {
    height: 40px;
    line-height: 40px;
    font-size: 16px;
  }

  .honor-frame-box::before {
    height: 58px;
  }

  .honor-scroll-viewport {
    padding: 40px 40px 40px 32px;
  }
}

/* 小屏手机 */
@media (max-width: 399.98px) {
  .person-name-tag {
    width: 50px;
    height: 50px;
  }

  .person-name-tag .name {
    font-size: 12px;
  }

  .person-name-tag .en {
    font-size: 8px;
  }

  .person-desc {
    font-size: 11px;
    -webkit-line-clamp: 2;
  }

  .person-avatar {
    width: 90px;
  }

  .honor-frame-box::before {
    height: 48px;
  }

  .honor-scroll-viewport {
    padding: 40px 32px;
  }
}





/* 证书 */
@media (min-width: 1400px) {
  .certificate-container {
    max-width: 1324px;
  }
}

.certificate-wrap {
  position: absolute;
  width: 1300px;
  left: -9999px;
  /* 屏幕左侧超大偏移，完全看不见 */
  top: 0;
  visibility: visible !important;
  pointer-events: none;
}

.cert-bg {
  display: block;
}

.certificate-info {
  padding: 0 140px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.certificate-info.hide-text {
  opacity: 0;
  pointer-events: none;
}

.certificate-title {
  width: 700px;
  margin: 0 auto;
}

.certificate-title img {
  width: 100%;
}

.certificate-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.certificate-thumb {
  width: 180px;
}

.certificate-info .certificate-no {
  margin-bottom: 1rem;
}

.certificate-qrcode {
  width: 110px;
}

.certificate-center {
  flex: 1;
}

.certificate-left {
  text-align: center;
}

.certificate-left,
.certificate-right {
  flex-shrink: 0;
}

.certificate-info p {
  margin-bottom: 2rem;
  font-family: '宋体';
}

.field-name {
  font-weight: 500;
}

.official-seal .official-seal-img {
  width: 200px;
}

/* ========== 页面正常展示区域：自适应手机/电脑 ========== */
.certificate-template {
  margin-bottom: 40px;
  position: relative;
}

.cert-preview-box {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.cert-final-img {
  width: 100%;
  height: auto;
  display: none;
}

/* 预览盒子基础 */
.cert-preview-box {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cert-final-img {
  width: 100%;
  height: auto;
}

/* 加载提示样式 */
.cert-loading-tip {
  padding: 20px 0;
}

/* 失败提示样式 */
.cert-error-tip {
  padding: 20px 0;
}



/* 空数据、无查询结果通用提示组件 */
.empty-tips-box {
  text-align: center;
  padding: 60px 20px;
  margin: 30px auto;
  /* background: var(--color-gray-lighter); */
  border-radius: 12px;
}

.empty-tips-icon {
  font-size: 48px;
  color: var(--color-primary);
  margin-bottom: 16px;
  display: inline-block;
}

.empty-tips-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-gray);
  margin: 0;
  line-height: 1.7;
}

.empty-tips-desc {
  font-size: 16px;
  color: var(--color-gray);
  opacity: 0.8;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .empty-tips-icon {
    font-size: 28px;
  }

  .empty-tips-text {
    font-size: 18px;
  }
}



/* 分页 */
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.pagination>li {
  display: inline;
}

.pagination>li>a,
.pagination>li>span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857;
  text-decoration: none;
  color: #019fe9;
  background-color: #fff;
  border: 1px solid #ddd;
  margin-left: -1px;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}

.pagination>li>a:hover,
.pagination>li>a:focus,
.pagination>li>span:hover,
.pagination>li>span:focus {
  z-index: 2;
  color: #019fe9;
  background-color: #eeeeee;
  border-color: #ddd;
}

.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
  z-index: 3;
  color: #fff;
  background-color: #019fe9;
  border-color: #019fe9;
  cursor: default;
}


.modal-certificate {
  max-width: 1200px;
  width: 100%;
}

/* 屏幕小于1200px时 */
@media (max-width: 1199.98px) {
  .modal-certificate {
    max-width: 95%;
  }
}

.modal-certificate .modal-content {
  max-height: 90vh;
  border-radius: 12px;
}

.modal-certificate .modal-header {
  border-bottom: 2px solid #019fe9;
  flex-shrink: 0;
}

.modal-certificate .modal-header .modal-title {
  color: #019fe9;
  font-weight: 600;
}

.modal-certificate #resultModalBody {
  max-height: calc(90vh - 140px);
  height: auto;
  overflow-y: auto;
  padding: 20px;
}

.modal-certificate #resultLoading i {
  font-size: 2rem;
  color: #019fe9;
}

.modal-certificate #resultLoading p {
  color: #999;
}

/* ===== 弹窗提示信息样式 ===== */
.modal-message-box {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}

.modal-message-box .message-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
  color: #ffc107;
}

.modal-message-box .message-text {
  font-size: 16px;
  color: #666;
  font-weight: 600;
  margin: 0;
}

.certificate-result .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
  border: 1px solid #e9ecef;
  background: #fff;
}

.certificate-result table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}

.certificate-result table thead th {
  padding: 12px 14px;
  background: #f8f9fa;
  color: #333;
  font-weight: 600;
  /* border-bottom: 2px solid #019fe9; */
  text-align: left;
  white-space: nowrap;
}

.certificate-result table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #f0f2f5;
  color: #555;
}

.certificate-result table tbody tr:hover {
  background: #f5f9ff;
}

.certificate-result table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== 空状态 ===== */
.certificate-result .empty-tips-box {
  text-align: center;
  padding: 50px 20px;
  color: #999;
}

.certificate-result .empty-tips-box .empty-tips-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

.certificate-result .empty-tips-box .empty-tips-text {
  font-size: 16px;
  color: #666;
}

.certificate-result .empty-tips-box .empty-tips-desc {
  font-size: 14px;
  color: #bbb;
  margin-top: 4px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .certificate-result table {
    font-size: 13px;
    min-width: 600px;
  }

  .certificate-result table thead th,
  .certificate-result table tbody td {
    padding: 8px 10px;
  }
}