/**
 * 全站视觉精修层 — 覆盖低质默认样式
 */
:root {
  --h-primary: #044a8c;
  --h-primary-mid: #1a6bb5;
  --h-primary-light: #3d9ae8;
  --h-gold: #c8a45c;
  --h-text: #1a2b3c;
  --h-text-sub: #5c6f82;
  --h-text-light: #8fa3b5;
  --h-line: #e4edf5;
  --h-bg: #f4f7fb;
  --h-white: #ffffff;
  --h-radius: 8px;
  --h-shadow: 0 8px 32px rgba(4, 74, 140, 0.08);
  --h-font: "Microsoft YaHei UI", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

/* ========== 内页：inner-hero 精修 ========== */
.inner-page .inner-hero {
  height: 220px;
  background: url(/content/main/home/images/rjxq_banner1.png) center top / cover no-repeat;
}

.inner-page .inner-hero::before {
  opacity: 0.9;
}

.inner-page .path-bar {
  background: var(--h-white);
  border-bottom: 1px solid var(--h-line);
}

.inner-page .inner-hero h1 {
  font-weight: 600;
  letter-spacing: 0.1em;
}

.inner-page .inner-hero .en {
  letter-spacing: 0.35em;
  opacity: 0.88;
}

/* 内页不再使用 page-top */
.inner-page .page-top {
  display: none !important;
}

/* ========== 内页整体 ========== */
.inner-page {
  font-family: var(--h-font);
  color: var(--h-text);
  background: var(--h-bg);
}

.page-inner {
  background: var(--h-bg);
  padding-bottom: 72px;
}

.inner-wrap {
  padding-top: 36px;
  gap: 32px;
}

/* ========== 卡片 ========== */
.box-card {
  background: var(--h-white);
  border: none;
  border-radius: var(--h-radius);
  padding: 36px 40px;
  box-shadow: var(--h-shadow);
  margin-bottom: 28px;
}

.box-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--h-primary);
  border-left: none;
  padding-left: 0;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 14px;
}

.box-card h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--h-primary-light), transparent);
  border-radius: 2px;
}

/* ========== Tab ========== */
.tab-module {
  border: none;
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow);
  overflow: hidden;
  background: var(--h-white);
}

.tab-nav {
  background: var(--h-white);
  border-bottom: 1px solid var(--h-line);
  padding: 0 8px;
}

.tab-nav a {
  height: 56px;
  line-height: 56px;
  font-size: 15px;
  font-weight: 500;
  color: var(--h-text-sub);
  border-bottom: 3px solid transparent;
  position: relative;
}

.tab-nav a.active {
  color: var(--h-primary);
  font-weight: 600;
  border-bottom-color: var(--h-primary-light);
  background: transparent;
}

.tab-nav a:hover {
  color: var(--h-primary-light);
  background: transparent;
}

/* ========== 侧边栏 ========== */
.side-box {
  border: none;
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow);
  overflow: hidden;
}

.side-box-title {
  background: var(--h-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  height: 52px;
  line-height: 52px;
}

.side-box-list a.active {
  color: var(--h-primary);
  background: #f0f6fc;
  border-left-color: var(--h-primary-light);
}

/* ========== 数据指标 ========== */
.stat-row {
  gap: 20px;
  margin-top: 32px;
}

.stat-item {
  background: var(--h-white);
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  padding: 28px 16px;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--h-primary), var(--h-primary-light));
}

.stat-item b {
  font-size: 36px;
  font-weight: 700;
  color: var(--h-primary);
}

.stat-item span {
  color: var(--h-text-light);
  font-size: 13px;
  margin-top: 4px;
}

/* ========== 简介区 ========== */
.intro-block .intro-text h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--h-primary);
}

.intro-block .intro-img {
  border-radius: var(--h-radius);
  box-shadow: 0 12px 40px rgba(4, 74, 140, 0.15);
}

.rich-text {
  color: var(--h-text-sub);
  line-height: 2.1;
  font-size: 15px;
}

.rich-text strong {
  color: var(--h-primary);
}

.btn-more {
  background: var(--h-primary);
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-shadow: none;
  height: 42px;
  line-height: 42px;
  padding: 0 32px;
}

.btn-more:hover {
  background: var(--h-primary-mid);
  opacity: 1;
}

/* ========== 荣誉 / 领导 ========== */
.honor-item {
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  background: #fafcfe;
}

.honor-item .img {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  position: relative;
  background: linear-gradient(135deg, var(--h-primary) 0%, var(--h-primary-light) 100%) !important;
}

.tech-item .icon {
  background: linear-gradient(135deg, var(--h-primary), var(--h-primary-light)) !important;
}

.honor-item .img::after {
  content: '★';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--h-gold);
  font-size: 22px;
}

.leader-card {
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  background: var(--h-white);
}

.leader-card .avatar {
  width: 110px;
  height: 146px;
  border-radius: 4px;
  background: #dce8f4 url(/pic/22.jpg) center / cover no-repeat;
  box-shadow: 0 4px 16px rgba(4, 74, 140, 0.12);
}

.leader-card h4 {
  color: var(--h-primary);
  font-weight: 600;
}

.leader-card .role {
  color: var(--h-primary-light);
}

/* ========== 新闻列表 ========== */
.featured-news {
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow);
  height: 360px;
}

.featured-news::after {
  background: linear-gradient(transparent 30%, rgba(4, 74, 140, 0.92));
}

.featured-news h3 {
  font-weight: 600;
  font-size: 22px;
}

.news-list-item {
  padding: 28px 0;
  border-bottom-color: var(--h-line);
}

.news-list-item .thumb {
  border-radius: var(--h-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-list-item .body h3 {
  font-weight: 600;
  font-size: 17px;
}

.news-list-item:hover .body h3 {
  color: var(--h-primary);
}

.date-box b {
  color: var(--h-primary);
  font-weight: 700;
}

/* ========== 专家卡片 ========== */
.expert-card {
  border-radius: var(--h-radius);
  border-color: var(--h-line);
  background: var(--h-white);
}

.expert-card .photo {
  background: #dce8f4 url(/pic/11.jpg) center top / cover no-repeat;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--h-line);
}

.expert-card .name {
  color: var(--h-primary);
  font-weight: 600;
}

.expert-card::after {
  background: var(--h-gold);
  height: 2px;
  width: 20px;
}

.doctor-profile .photo {
  background: #dce8f4 url(/pic/22.jpg) center top / cover no-repeat;
}

.dept-expert-card .photo {
  background: #dce8f4 url(/pic/11.jpg) center top / cover no-repeat;
}

.related-expert .photo {
  background: #dce8f4 url(/pic/11.jpg) center top / cover no-repeat;
}

/* ========== 科室导航 ========== */
.dept-wrap {
  border: none;
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow);
}

.dept-cat-nav {
  background: var(--h-white);
  border-bottom: 1px solid var(--h-line);
}

.dept-cat-nav a.active {
  color: var(--h-primary);
  border-bottom-color: var(--h-primary-light);
}

.dept-links a {
  border-color: var(--h-line);
  border-radius: 4px;
  font-weight: 500;
  background: #fafcfe;
}

.dept-links a:hover {
  background: var(--h-primary);
  border-color: var(--h-primary);
  box-shadow: 0 4px 12px rgba(4, 74, 140, 0.25);
}

.dept-header {
  border: none;
  box-shadow: var(--h-shadow);
  border-radius: var(--h-radius);
}

.dept-header h2 {
  color: var(--h-primary);
  font-weight: 700;
}

/* ========== 重点专科 ========== */
.specialty-banner {
  height: 320px;
  border-radius: 0;
}

.specialty-banner::after {
  background: linear-gradient(135deg, rgba(4, 74, 140, 0.92), rgba(26, 107, 181, 0.78));
}

.specialty-banner h2 {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.specialty-stats .item {
  border: none;
  box-shadow: var(--h-shadow);
  border-radius: var(--h-radius);
}

.specialty-stats b {
  color: var(--h-primary);
  font-weight: 700;
}

.tech-item {
  border-color: var(--h-line);
  border-radius: var(--h-radius);
}

.tech-item .icon {
  background: linear-gradient(135deg, var(--h-primary), var(--h-primary-light)) !important;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  position: relative;
}

.tech-item .icon::after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  height: 100%;
}

/* ========== 文章详情 ========== */
.article-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--h-text);
}

.article-meta {
  color: var(--h-text-light);
  border-bottom-color: var(--h-line);
}

/* ========== 分页 ========== */
.pagination a:hover,
.pagination span.current {
  background: var(--h-primary);
  border-color: var(--h-primary);
}

/* ========== 首页精修 ========== */
.header .top_box .today_date span {
  color: var(--h-primary);
  font-weight: 500;
}

.header .header_content .nav li a {
  font-weight: 500;
}

.banner {
  height: auto;
  min-height: 280px;
  max-height: 520px;
  padding-top: 0;
  background-size: cover;
  background-position: center;
}

.banner .box {
  height: auto;
  min-height: 240px;
  max-height: 480px;
  aspect-ratio: 1334 / 480;
}

.main .key_specialty .mobile_swiper div li p a {
  font-size: 14px;
}

.map {
  background: var(--h-primary);
}

.map #diTuContent {
  background: #2a5a8a url(/content/main/home/images/rjxq_banner1.png) center / cover no-repeat;
  opacity: 0.92;
}

.map ul li:nth-child(1) {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.map ul li:nth-child(6) span {
  cursor: pointer;
  transition: color 0.2s;
}

.map ul li:nth-child(6) span:hover {
  color: var(--h-gold);
}

.footer {
  background: #f8fafc;
}

.side_bar {
  opacity: 0.95;
}

.side_bar li div:nth-child(1),
.side_bar li a:nth-child(1) {
  border-radius: 6px;
}

/* ========== 首页区块精修 ========== */
.main {
  background: #f8fafc;
  padding-bottom: 48px;
}

.main .key_specialty {
  background: #fff;
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow);
  padding: 32px 28px 24px;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}

.main .key_specialty .mobile_swiper div li {
  background: #fafcfe;
  border: 1px solid var(--h-line);
  border-radius: var(--h-radius);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.main .key_specialty .mobile_swiper div li:hover {
  border-color: var(--h-primary-light);
  box-shadow: 0 8px 24px rgba(4, 74, 140, 0.1);
}

.main .key_specialty .mobile_swiper div li span {
  color: var(--h-primary);
  font-weight: 600;
}

.main .key_specialty .mobile_swiper div li p a {
  color: var(--h-text-sub);
  transition: color 0.2s;
}

.main .key_specialty .mobile_swiper div li p a:hover {
  color: var(--h-primary-light);
}

.main .expert_team {
  margin-top: 48px;
}

.main .expert_team .swiper-slide.tit {
  border-radius: var(--h-radius);
  overflow: hidden;
  box-shadow: var(--h-shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.main .expert_team .swiper-slide.tit:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(4, 74, 140, 0.15);
}

.main .expert_team .swiper-slide.tit div img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.main .expert_team .swiper-slide.tit p span:first-child {
  color: var(--h-primary);
  font-weight: 600;
}

.main .technology {
  background: #fff;
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow);
  padding: 28px 32px;
}

.main .technology .title p span {
  color: var(--h-primary);
}

.main .technology ul a:hover span:first-child {
  color: var(--h-primary-light);
}

.main .announcement {
  margin-top: 40px;
}

.main .announcement .announcement_title p {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sub_nav_box {
  margin-top: -24px;
  position: relative;
  z-index: 3;
}

.sub_nav_box .sub_nav a {
  box-shadow: 0 4px 16px rgba(4, 74, 140, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.sub_nav_box .sub_nav a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(4, 74, 140, 0.14);
}

.tab.container {
  background: #fff;
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow);
  padding: 32px 0 40px;
  margin-top: 48px;
}

.tab .tab_title a {
  font-weight: 500;
  transition: color 0.2s;
}

.tab .tab_title a:hover,
.tab .tab_title a.active {
  color: var(--h-primary);
}

.tab .tab_content ul a:hover p {
  color: var(--h-primary);
}

.tab .tab_content ul a div {
  color: var(--h-primary);
  font-weight: 600;
}

.tab .left_img_news .swiper-slide div {
  background: linear-gradient(transparent 20%, rgba(4, 74, 140, 0.88));
}

.tab .left_img_news .swiper-slide div p {
  font-weight: 500;
}

.department_nav {
  margin-top: 48px;
  background: #fff;
  border-radius: var(--h-radius);
  box-shadow: var(--h-shadow);
  overflow: hidden;
}

.department_nav .left_title div span {
  color: var(--h-primary);
  font-weight: 600;
}

.department_nav .N_S_list a:hover {
  color: var(--h-primary-light);
}

.banner .box .swiper-wrapper a div {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(4px);
}

.banner .box .swiper-wrapper a div p {
  color: var(--h-primary);
  font-weight: 600;
  text-shadow: none;
  font-size: 24px;
}

.featured-news {
  background: url(/pic/11.jpg) center / cover no-repeat;
}

.side-box-list.hot-list .num {
  background: var(--h-primary);
  color: #fff;
  border-radius: 3px;
}

.honor-item:hover {
  border-color: var(--h-primary-light);
  box-shadow: 0 4px 16px rgba(4, 74, 140, 0.08);
}

.leader-card:hover {
  border-color: var(--h-primary-light);
  box-shadow: var(--h-shadow);
}

.expert-card:hover {
  border-color: var(--h-primary-light);
  box-shadow: var(--h-shadow);
  transform: translateY(-2px);
}

.specialty-stats .item {
  border-top: 3px solid var(--h-primary-light);
}
