/* ==========================================================================
   锐纳检测 - 公共样式
   ========================================================================== */
:root {
  --rn-primary: #0b4da2;
  --rn-primary-dark: #2e3192;
  --rn-primary-light: #2a9cd8;
  --rn-accent: #ff6b1a;
  --rn-dark: #000;
  --rn-gray: #f4f6fa;
  --rn-gray-dark: #666;
  --rn-text: #000;
  --rn-border: #e3e3e3;
  --rn-radius: 18px;
  --rn-radius-x: 8px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--rn-text);
  font-size: 15px;
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--rn-primary); text-decoration: none; }

img { max-width: 100%; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.4; }

.container { max-width: 1630px; }

/* ========== 通用按钮 ========== */
.rn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 34px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
  line-height: 1.4;
}
.rn-btn--primary {
  background: var(--rn-primary-light);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 77, 162, .25);
}
.rn-btn--primary-dark {
  background: var(--rn-primary-dark);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 77, 162, .25);
}
.rn-btn--primary-dark:hover,.rn-btn--primary:hover { background: linear-gradient(135deg, var(--rn-primary), var(--rn-primary-dark)); color: #fff; transform: translateY(-2px); }
.rn-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.rn-btn--ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.rn-btn--outline { background: #fff; color: var(--rn-primary); border-color: var(--rn-primary); }
.rn-btn--outline:hover { background: var(--rn-primary); color: #fff; }
.rn-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.rn-btn--outline-light:hover { background: rgba(255,255,255,.15); color: #fff; }
.rn-btn--block { width: 100%; }

/* ========== 区块标题 ========== */
.rn-section { padding: 80px 0; }
.rn-section__head { text-align: center; margin-bottom: 48px; }
.rn-section__head.text-left { text-align: left; }
.rn-section__title {
  font-size: 34px;
  font-weight: 700;
  color: var(--rn-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.rn-section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--rn-primary-light), var(--rn-primary));
}
.text-left .rn-section__title::after { left: 0; transform: none; }
.rn-section__head--light .rn-section__title { color: #fff; }
.rn-section__head--light .rn-section__title::after { background: #fff; }
.rn-section__subtitle {
  margin-top: 18px;
  color: #7a8494;
  font-size: 15px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.text-left .rn-section__subtitle { margin-left: 0; }

.rn-more {
  color: var(--rn-primary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.rn-more:hover { color: var(--rn-primary-dark); }
.rn-more i { transition: transform .3s ease; }
.rn-more:hover i { transform: translateX(4px); }

/* ========== 顶部导航 ========== */
.rn-header {
  position: fixed;
  top: 20px; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: all .35s ease;
}
.rn-header.scrolled {
  top: 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.rn-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.rn-header__main { display: flex; align-items: center; gap: 40px; }
.rn-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.rn-logo img { height: 52px; width: auto; }
.rn-logo__alt { display: none; }
.rn-header.scrolled .rn-logo__main { display: none; }
.rn-header.scrolled .rn-logo__alt { display: inline-block; }

.rn-nav__list { display: flex; gap: 36px; }
.rn-nav__link {
  color: rgba(255,255,255,.9);
  font-size: 20px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color .25s ease;
}

.rn-nav__item:hover .rn-nav__link,
.rn-nav__item.active .rn-nav__link { color: #fff; }
.rn-nav__item:hover .rn-nav__link::after,
.rn-nav__item.active .rn-nav__link::after { width: 100%; }
.rn-nav__link:hover,.rn-nav__item.active .rn-nav__link { font-weight: 600; color: var(--rn-primary); }

/* 滚动后白底：深色文字 */
.rn-header.scrolled .rn-nav__link { color: rgba(0,0,0,.85); }
.rn-header.scrolled .rn-nav__item:hover .rn-nav__link,
.rn-header.scrolled .rn-nav__item.active .rn-nav__link { color: var(--rn-primary); }

.rn-header__right { display: flex; align-items: center; gap: 20px; }
.rn-header__tel { color: #fff; align-items: center; gap: 8px; text-decoration: none; }
.rn-header__tel:hover { text-decoration: none; }
.rn-header__tel i { font-size: 20px; color: #fff; line-height: 1; transition: color .25s ease; }
.rn-header__tel-num { font-size: 20px;  line-height: 1; letter-spacing: .5px; transition: color .25s ease; }
.rn-header.scrolled .rn-header__tel i { color: #2e3192; }
.rn-header.scrolled .rn-header__tel-num { color: #0a1631; }

.rn-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  padding: 4px;
  line-height: 1;
  transition: color .25s ease;
}
.rn-header__icon:hover { color: rgba(255,255,255,.75); }
.rn-header.scrolled .rn-header__icon { color: rgba(10,22,49,.65); }
.rn-header.scrolled .rn-header__icon:hover { color: var(--rn-primary); }

.rn-search-toggle, .rn-menu-toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color .25s ease;
}
.rn-header.scrolled .rn-search-toggle,
.rn-header.scrolled .rn-menu-toggle { color: var(--rn-dark); }
.rn-menu-toggle { display: flex; flex-direction: column; gap: 5px; }
.rn-menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: background .25s ease; }
.rn-header.scrolled .rn-menu-toggle span { background: var(--rn-dark); }

/* 全屏搜索 */
.rn-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,49,.96);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}
.rn-search-overlay.open { display: flex; }
.rn-search-close {
  position: absolute;
  top: 30px; right: 40px;
  background: none; border: none;
  color: #fff; font-size: 32px;
  cursor: pointer;
}
.rn-search-form { display: flex; width: 100%; max-width: 700px; border-bottom: 2px solid rgba(255,255,255,.4); }
.rn-search-form input,.rn-search-form input:focus {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 22px;
  padding: 16px 0;
}
.rn-search-form input::placeholder { color: rgba(255,255,255,.4); }
.rn-search-submit { background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }

/* 移动端抽屉 */
.rn-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.rn-drawer-overlay.open { opacity: 1; visibility: visible; }
.rn-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  background: var(--rn-dark);
  z-index: 1600;
  transform: translateX(-100%);
  transition: transform .35s ease;
  overflow-y: auto;
  color: #fff;
}
.rn-drawer.open { transform: translateX(0); }
.rn-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.rn-drawer__logo img { height: 40px; }
.rn-drawer__close { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.rn-drawer__menu { padding: 10px 0; }
.rn-drawer__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.rn-drawer__item > a {
  flex: 1;
  display: block;
  padding: 14px 20px;
  color: rgba(255,255,255,.9);
  font-size: 16px;
}
.rn-drawer__toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1;
  padding: 0 20px;
  cursor: pointer;
  transition: color .25s ease;
}
.rn-drawer__toggle .iconfont { transition: transform .3s ease; display: inline-block; }
.rn-drawer__item.open .rn-drawer__toggle { color: #fff; }
.rn-drawer__item.open .rn-drawer__toggle .iconfont { transform: rotate(90deg); }
.rn-drawer__sub {
  display: none;
  background: rgba(255,255,255,.05);
  padding: 4px 0;
}
.rn-drawer__item.open + .rn-drawer__sub { display: block; }
.rn-drawer__sub a { display: block; padding: 10px 32px; color: rgba(255,255,255,.7); font-size: 14px; }
.rn-drawer__contact { padding: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.rn-drawer__contact p { margin: 8px 0; color: rgba(255,255,255,.75); font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }

/* ========== 页脚 ========== */
.rn-footer {
  background: linear-gradient(45deg, #073b6e 0%, #0b1b41 60%, #073b6e 100%);
  color: rgba(255,255,255,.75);
}
.rn-footer__top { padding: 100px 0 40px; }
.rn-footer__brand .rn-footer__logo { height: 52px; width: auto; margin-bottom: 1.0rem; }
.rn-footer__contact-lines li { color: #858da0; font-weight: 600; font-size: 18px;}
.rn-footer__col h4,.rn-footer__col ul li a {
  color: #858da0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 15px;
}

.rn-footer__col ul li a {font-size: 24px; display: block; transition: color .25s ease; }
.rn-footer__col a:hover h4,.rn-footer__col ul li a:hover { color: #fff; }
.rn-footer__qr { display: flex; flex-wrap: wrap; gap: 20px 28px; justify-content: flex-end; }
.rn-footer__qr-item { text-align: center; width: 45%; }
.rn-footer__qr-item img { width: 140px; height: 140px; background: #fff; padding: 10px; display: block; margin-bottom: 10px; }
.rn-footer__qr-item span { font-weight: 600; color: #858da0; }
.rn-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 20px;
  color:#858da0;
}
.rn-footer__copyright { margin: 0; }
.rn-footer__disclaimer { color: rgba(255,255,255,.7); }
.rn-footer__disclaimer:hover { color: #fff; }

@media (max-width: 767px) {
  .rn-footer__qr { justify-content: flex-start; }
}

/* 浮动按钮 */
.rn-float-top {
  position: fixed;
  right: 4px; bottom: 90px;
  width: 44px; height: 44px;
  background: var(--rn-primary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 900;
  box-shadow: 0 4px 14px rgba(11,77,162,.3);
}
.rn-float-top:hover{color: #fff;}
.rn-float-top.show { opacity: 1; visibility: visible; }

/* ========== 内页 Banner ========== */
.rn-inner-banner {
  position: relative;
  color: #fff;
  background-color: #0a1631;
  height: 420px;
  overflow: hidden;
}
.rn-inner-banner > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inner-banner-txt{
  position: absolute;
  bottom: 10%; 
  width: 100%;
}

.rn-inner-banner h1 { font-size: 38px; font-weight: 700;}
.rn-inner-banner p { font-size: 16px; opacity: .85; margin: 0; }

/* 面包屑 */
.rn-crumb { padding: 14px 0;}
.rn-crumb a { color: #fff; }
.rn-crumb i {  margin: 0 0px; color: #fff; }
.rn-crumb span { color: var(--rn-primary); }


/* 侧边栏 */
.rn-sidebar { margin-bottom: 30px; }
.rn-sidebar__nav {
  overflow: hidden;
  border-bottom: 1px solid var(--rn-border);
}
.rn-sidebar__group + .rn-sidebar__group { border-top: 1px solid var(--rn-border); }
.rn-sidebar__title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--rn-dark);
  background: #eef1f7;
}
.rn-sidebar__title i { color: var(--rn-primary); font-size: 18px; }
.rn-sidebar__group.active .rn-sidebar__title { background: var(--rn-primary); color: #fff; }
.rn-sidebar__group.active .rn-sidebar__title i { color: #fff; }
.rn-sidebar__sub { height: 80px;display: flex; align-items: center;}
.rn-sidebar__sub li a {
  display: flex;
  align-items: center;
  padding: 0px 34px 0px 0px;
  font-size: 18px;
  transition: all .25s ease;
  position: relative;
}

.rn-sidebar__sub li a:hover,
.rn-sidebar__sub li.active a { color: var(--rn-primary-dark); font-weight: 600; }


/* 文章 */
.rn-article {
  background: #fff;
  border: 1px solid var(--rn-border);
  border-radius: var(--rn-radius);
  padding: 34px;
  width: 80%;
  margin: 0px auto;
}

.rn-article__meta {
  display: flex;
  gap: 22px;
  color: #8b93a3;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--rn-border);
  margin-bottom: 24px;
}

.rn-article__body h2, .rn-article__body h3, .rn-article__body h4 {
  color: var(--rn-dark);
  margin: 28px 0 14px;
}
.rn-article__body h3 { font-size: 20px; padding-left: 12px; border-left: 4px solid var(--rn-primary); }
.rn-article__body p { margin-bottom: 14px; }
.rn-article__body ul { margin: 10px 0 18px; padding-left: 4px; }
.rn-article__body ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.rn-article__body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rn-primary);
}
.rn-article__body img { border-radius: 6px; margin: 12px 0; }
.rn-article__cta {
  margin-top: 32px;
  background: var(--rn-gray);
  border-radius: var(--rn-radius);
  padding: 24px;
  text-align: center;
}
.rn-article__cta p { font-size: 16px; font-weight: 600; color: var(--rn-dark); margin-bottom: 14px; }
.rn-article__nav { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rn-border); font-size: 14px; color: #7a8494; }
.rn-article__nav p { margin-bottom: 8px; }
.rn-article__nav a { color: var(--rn-primary); }

/* 分页 */
.rn-pagination { margin-top: 40px; text-align: center; }
.rn-pagination .page-status { display: inline-block; margin-right: 12px; color: #55607a; font-size: 14px; }
.rn-pagination .page-index, .rn-pagination .page-pre, .rn-pagination .page-next,
.rn-pagination .page-last, .rn-pagination .page-numbar { display: inline-block; margin: 0 3px; }
.rn-pagination a, .rn-pagination .page-numbar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 3px;
  padding: 0 12px;
  border: 1px solid var(--rn-border);
  border-radius: 6px;
  color: #55607a;
  font-size: 14px;
  background: #fff;
  transition: all .25s ease;
}
.rn-pagination a:hover { border-color: var(--rn-primary); color: var(--rn-primary); }
.rn-pagination .page-numbar span.current { background: var(--rn-primary); border-color: var(--rn-primary); color: #fff; }

/* 响应式 */
@media (max-width: 991px) {
  .rn-section { padding: 56px 0; }
  .rn-section__title { font-size: 26px; }
  .rn-inner-banner { height: 300px; }
  .rn-inner-banner h1 { font-size: 28px; }
  .rn-article { padding: 22px; }
  .rn-article__title { font-size: 21px; }
}

/* ==========================================================================
   响应式字号与布局优化（2026-09-21）
   ========================================================================== */

/* ---------- 顶部导航 ---------- */
@media (max-width: 1199px) {
  .rn-header__main { gap: 18px; }
  .rn-nav__list { gap: 22px; }
  .rn-nav__link { font-size: 17px; }
  .rn-header__tel-num { font-size: 16px; }
  .rn-header__tel i { font-size: 18px; }
}
@media (max-width: 991px) {
  .rn-nav__link { font-size: 15px; }
  .rn-logo img { height: 42px; }
  .rn-header__inner { height: 64px; }
}

/* ---------- 通用区块 ---------- */
@media (max-width: 767px) {
  .rn-section { padding: 48px 0; }
  .rn-section__title { font-size: 24px; padding-bottom: 12px; }
  .rn-section__head { margin-bottom: 32px; }
}
@media (max-width: 575px) {
  .rn-section { padding: 36px 0; }
  .rn-section__title { font-size: 20px; }
  .rn-section__subtitle { font-size: 14px; margin-top: 12px; }
  .rn-more { font-size: 13px; }
}

/* ---------- 内页 Banner ---------- */
@media (max-width: 767px) {
  .rn-inner-banner { height: 220px; }
  .rn-inner-banner h1 { font-size: 24px; }
  .rn-inner-banner p { font-size: 14px; }
}
@media (max-width: 575px) {
  .rn-inner-banner h1 { font-size: 20px; }
}

/* ---------- 文章页 ---------- */
@media (max-width: 991px) {
  .rn-article { width: 100%; }
}
@media (max-width: 575px) {
  .rn-article { padding: 14px; }
  .rn-article__body p { font-size: 14px; line-height: 1.9; }
  .rn-article__body h3 { font-size: 17px; }
  .rn-article__meta { gap: 12px; flex-wrap: wrap; font-size: 13px; }
}

/* ---------- 页脚 ---------- */
@media (max-width: 991px) {
  .rn-footer__top { padding: 60px 0 30px; }
}
@media (max-width: 767px) {
  .rn-footer__col ul li a { font-size: 18px; }
  .rn-footer__col h4 { font-size: 16px; }
}
@media (max-width: 575px) {
  .rn-footer__top { padding: 44px 0 24px; }
  .rn-footer__contact-lines li { font-size: 15px; }
  .rn-footer__qr-item img { width: 110px; height: 110px; }
  .rn-footer__copyright { font-size: 13px; }
}

/* ---------- 侧边栏 ---------- */
@media (max-width: 767px) {
  .rn-sidebar__sub { height: auto; flex-wrap: wrap; padding: 6px 0; }
  .rn-sidebar__sub li a {font-size: 14px; height: 40px; }
}

/* ---------- 搜索 ---------- */
@media (max-width: 575px) {
  .rn-search-form input { font-size: 18px; }
  .rn-search-close { top: 18px; right: 20px; font-size: 26px; }
}

/* ---------- 分页 ---------- */
@media (max-width: 575px) {
  .rn-pagination a, .rn-pagination .page-numbar span { min-width: 34px; height: 34px; font-size: 13px; padding: 0 8px; }
  .rn-pagination .page-status { display: block; margin: 0 0 10px; }
}
