/*==============================================================
  a5 模板补充样式
  在原主题（单页）基础上，为站群多页面（关于/联系/FAQ/资讯/详情）
  提供统一的页面头部、卡片、FAQ、文章与侧栏样式，全部沿用主题配色。
===============================================================*/

/*===== 子页面头部（复用 hero-section 的蓝色背景） =====*/
.page-header {
  padding-bottom: 90px;
}

.page-header .hero-content {
  margin-top: 160px;
  margin-bottom: 0;
}

.page-header .hero-content .breadcrumb-nav {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}

.page-header .hero-content .breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.85);
}

.page-header .hero-content .breadcrumb-nav a:hover {
  color: #fff;
}

.page-header .hero-content .breadcrumb-nav span {
  margin: 0 8px;
}

/* 首屏第二个按钮保持描边样式（主题默认会让 hero 内所有 main-btn 变白底） */
.hero-section .hero-content a.border-btn {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.hero-section .hero-content a.border-btn:hover {
  color: #fff;
}

/*===== 通用小标签 =====*/
.section-tag {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: #286ADE;
  background: rgba(40, 106, 222, 0.08);
  border-radius: 30px;
  padding: 6px 18px;
  margin-bottom: 20px;
}

/*===== 资讯 / 文章卡片 =====*/
.blog-card {
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0px 0px 64px rgba(181, 181, 181, 0.16);
  transition: all .3s;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card .blog-thumb {
  display: block;
  overflow: hidden;
}

.blog-card .blog-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: all .4s;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-card .blog-content {
  padding: 30px;
}

.blog-card .blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 15px;
  font-size: 15px;
  color: #5B657E;
}

.blog-card .blog-meta i {
  color: #286ADE;
  margin-right: 6px;
}

.blog-card .blog-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.blog-card .blog-content h3 a {
  color: #162447;
}

.blog-card .blog-content h3 a:hover {
  color: #286ADE;
}

.blog-card .blog-content p {
  font-size: 16px;
  line-height: 26px;
  color: #5B657E;
  margin-bottom: 0;
}

/*===== FAQ 折叠项（details/summary，无需额外 JS） =====*/
.faq-item {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 0px 64px rgba(181, 181, 181, 0.16);
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 30px;
  font-size: 18px;
  font-weight: 700;
  color: #162447;
  position: relative;
  padding-right: 60px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 700;
  color: #286ADE;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item[open] summary {
  color: #286ADE;
}

.faq-item .faq-answer {
  padding: 0 30px 25px;
  color: #5B657E;
  font-size: 17px;
  line-height: 28px;
}

/*===== 联系信息卡 =====*/
.info-card {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 0px 64px rgba(181, 181, 181, 0.16);
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  transition: all .3s;
}

.info-card:hover {
  transform: translateY(-6px);
}

.info-card .icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 25px;
  background: radial-gradient(#538bec 0%, #1058d6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
}

.info-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.info-card p,
.info-card a {
  font-size: 17px;
  color: #5B657E;
  line-height: 28px;
}

.info-card a:hover {
  color: #286ADE;
}

/*===== 文章详情 =====*/
.article-body {
  color: #5B657E;
  font-size: 18px;
  line-height: 32px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  color: #162447;
  margin: 35px 0 20px;
}

.article-body h2 {
  font-size: 30px;
}

.article-body h3 {
  font-size: 24px;
}

.article-body h4 {
  font-size: 20px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 20px;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px 0 20px;
}

.article-body blockquote {
  border-left: 4px solid #286ADE;
  background: rgba(40, 106, 222, 0.06);
  padding: 20px 25px;
  border-radius: 6px;
  margin: 0 0 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 25px;
  color: #5B657E;
  font-size: 16px;
}

.article-meta i {
  color: #286ADE;
  margin-right: 6px;
}

/*===== 侧栏卡片 =====*/
.sidebar-card {
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 0px 64px rgba(181, 181, 181, 0.16);
  padding: 32px 28px;
  margin-bottom: 30px;
}

.sidebar-card h3 {
  font-size: 22px;
  margin-bottom: 22px;
}

.sidebar-card p {
  font-size: 16px;
  line-height: 27px;
  color: #5B657E;
}

.sidebar-list li {
  padding: 12px 0;
  border-bottom: 1px solid #F0F2F7;
}

.sidebar-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sidebar-list li a {
  color: #162447;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  display: block;
  margin-bottom: 4px;
}

.sidebar-list li a:hover {
  color: #286ADE;
}

.sidebar-list li span {
  color: #9AA3B5;
  font-size: 14px;
}

/*===== 分页 =====*/
.pagination-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.pagination-wrap a,
.pagination-wrap span {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0px 0px 24px rgba(181, 181, 181, 0.22);
  color: #162447;
  font-weight: 700;
  font-size: 16px;
}

.pagination-wrap a:hover {
  color: #286ADE;
}

.pagination-wrap .is-active {
  background: #286ADE;
  color: #fff;
}

.pagination-wrap .is-disabled {
  opacity: .5;
  pointer-events: none;
}

.pagination-summary {
  text-align: center;
  color: #9AA3B5;
  margin-top: 18px;
  font-size: 15px;
}
