/* ------------------------------------------------------------------
 * 今百泉主题 —— 迅睿CMS 补充样式
 *
 * style.css 是设计稿的 Tailwind 构建产物，不能再新增任意值类名，
 * 所以「后台富文本编辑器产出的 HTML」只能靠这里的后代选择器排版。
 * 类名统一挂 .jbq-article（正文）/ .jbq-rich（简介、单页短文）。
 * ------------------------------------------------------------------ */

.jbq-article { color: #262626; }

.jbq-article p {
  margin: 0 0 1.5rem;
  color: #404040;
  font-size: 16px;
  line-height: 1.85;
  text-align: justify;
}
@media (min-width: 640px) { .jbq-article p { font-size: 17px; } }
.jbq-article p:last-child { margin-bottom: 0; }

.jbq-article h2,
.jbq-article h3,
.jbq-article h4 {
  margin: 2rem 0 1rem;
  color: #171717;
  font-weight: 800;
  line-height: 1.4;
}
.jbq-article h2 { font-size: 22px; }
.jbq-article h3 { font-size: 19px; }
.jbq-article h4 { font-size: 17px; }

.jbq-article img,
.jbq-article video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
  border: 1px solid rgba(212, 212, 212, .6);
  border-radius: 1rem;
  background: #f5f5f5;
}

.jbq-article ul,
.jbq-article ol { margin: 0 0 1.5rem 1.5rem; color: #404040; line-height: 1.85; }
.jbq-article ul { list-style: disc; }
.jbq-article ol { list-style: decimal; }
.jbq-article li { margin: .35rem 0; }

.jbq-article a { color: #00a88f; text-decoration: underline; }
.jbq-article blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid #00a88f;
  background: #f8faf9;
  color: #525252;
  border-radius: .5rem;
}
.jbq-article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 14px; }
.jbq-article th,
.jbq-article td { border: 1px solid #e5e5e5; padding: .5rem .75rem; }
.jbq-article th { background: #f5f5f5; font-weight: 700; }

/* 简介 / 单页短文：段落间距小一档，缩进两字 */
.jbq-rich p { margin: 0 0 .75rem; line-height: 1.75; }
.jbq-rich p:last-child { margin-bottom: 0; }
.jbq-rich img { max-width: 100%; height: auto; border-radius: .75rem; }

/* 资质荣誉灯箱：JS 打开时会移到 body，避免被页面 transform 容器限制。 */
.jbq-honor-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

/* 迅睿原生 config/page/pc/page.php 分页。 */
.pagebar {
  padding: 1.5rem 0 0;
  overflow: hidden;
}

.pagebar .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.pagebar .pagination a {
  display: inline-flex;
  min-width: 2rem;
  height: 2rem;
  padding: 0 .5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: .25rem;
  background: #fff;
  color: #404040;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
  transition: all .15s ease;
}

.pagebar .pagination a:hover {
  border-color: #00a88f;
  color: #00a88f;
}

.pagebar .pagination a.page-num-current {
  border-color: #00a88f;
  background: #00a88f;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 168, 143, .2);
}

.pagebar .pagination .st {
  font-family: SimSun, serif;
}
