/* ============================================================
   国康医院 — 共享样式表
   专家页 (zhuanjia.html) + 文章页 (wenzhan.html)
   主色: #9c1f24  辅色: #1a5fa8  文字: #333
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Microsoft YaHei", "微软雅黑", "SimHei", Arial, sans-serif;
  background: #f4f4f4;
  color: #333;
  min-width: 1000px;
  font-size: 14px;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   顶部红色信息栏
   ============================================================ */
.top-bar {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.top-bar img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 80px;
  display: flex;
  align-items: center;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.logo-area img.logo-seal { height: 86px; width: auto; }
.logo-area img.logo-text { height: 78px; width: auto; }

.header-divider {
  width: 1px; height: 62px;
  background: #d5d5d5;
  margin: 0 34px;
  flex-shrink: 0;
}
.hotline-area { flex-shrink: 0; }
.hotline-area img { height: 70px; width: auto; display: block; }

.qr-area {
  display: flex; gap: 12px;
  margin-left: auto; flex-shrink: 0;
}
.qr-area img {
  height: 88px; width: auto;

}

/* ============================================================
   导航栏
   ============================================================ */
.navbar { background: #fff; }
.nav-red-line { height: 2px; background: #9c1f24; }
.navbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  align-items: stretch;
}
.nav-links { display: flex; }
.nav-link {
  display: inline-block;
  padding: 11px 40px;
  font-size: 15px;
  color: #333;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: #9c1f24;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-link:hover, .nav-link.active { color: #9c1f24; }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { font-weight: 500; }

.nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.search-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 2px;
  overflow: hidden;
  height: 30px;
}
.search-ico { padding: 0 7px; flex-shrink: 0; }
.search-wrap input {
  border: none; outline: none;
  font-size: 13px; color: #666;
  width: 210px; font-family: inherit;
  padding: 0 4px; background: #fff;
}
.search-wrap input::placeholder { color: #aaa; }
.search-btn {
  background: #d4820a; color: #fff;
  border: none; padding: 0 16px; height: 30px;
  font-size: 13px; font-family: inherit;
  cursor: pointer; font-weight: 500;
  transition: background 0.2s; white-space: nowrap;
}
.search-btn:hover { background: #b87008; }

/* ============================================================
   页面主体公共布局
   ============================================================ */
.page-main {
  background: #f4f4f4;
  padding: 0 0 30px;
}
.page-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  gap: 0;
  align-items: flex-start;
}

/* ============================================================
   左侧科室导航（两页共用）
   ============================================================ */
.dept-sidebar {
  flex: 0 0 200px;
  background: #fff;
  border: 1px solid #e0e0e0;
  margin-top: 14px;
}
.dept-title {
  background: #9c1f24;
  color: #fff;
  padding: 11px 14px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dept-arrow { font-size: 11px; opacity: 0.85; }
.dept-list li { border-bottom: 1px solid #f0e8e8; }
.dept-list li:last-child { border-bottom: none; }
.dept-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  transition: all 0.15s;
}
.dept-list li a:hover,
.dept-list li.active a {
  background: #fdf5f5;
  color: #9c1f24;
  padding-left: 18px;
}
.dept-list li.active a { font-weight: 600; }
.dept-arr { color: #9c1f24; font-size: 15px; font-weight: bold; }

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb-bar {
  background: #f7f7f7;
  border-bottom: 1px solid #e8e8e8;
  padding: 0;
}
.breadcrumb-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  align-items: stretch;
}
.breadcrumb-tab {
  background: #9c1f24;
  color: #fff;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  display: flex;
  align-items: center;
  min-width: 120px;
}
.breadcrumb-path {
  padding: 9px 16px;
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-path a { color: #666; }
.breadcrumb-path a:hover { color: #9c1f24; }
.breadcrumb-sep {
  color: #999;
  font-size: 12px;
}
.breadcrumb-current { color: #333; font-weight: 500; }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  background: #f9f9f9;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  padding: 18px 20px 22px;
  margin-top: 0;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.footer-links a {
  font-size: 13.5px; color: #444;
  padding: 0 12px;
  transition: color 0.15s;
}
.footer-links a:hover { color: #9c1f24; }
.footer-sep { color: #ccc; font-size: 12px; }
.footer-info, .footer-addr {
  font-size: 12.5px; color: #777; line-height: 1.9;
}

/* ============================================================
   专家页专用样式
   ============================================================ */
.zhuanjia-layout {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding-top: 14px;
}

/* 左侧：科室导航 + 专家子列表 */
.zj-left {
  flex: 0 0 200px;
  position: relative;
}
/* 专家名字列表（浮于科室右侧） */
.expert-submenu {
  position: absolute;
  top: 0;
  left: 200px;
  width: 160px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-left: none;
  z-index: 10;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.08);
}
.expert-submenu li a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.15s;
}
.expert-submenu li:last-child a { border-bottom: none; }
.expert-submenu li a:hover,
.expert-submenu li.active a {
  background: #f0f8ff;
  color: #1a5fa8;
}
.expert-submenu li.active a {
  font-weight: 600;
  color: #9c1f24;
  background: #fdf5f5;
}

/* 右侧主内容 */
.zj-right {
  flex: 1;
  min-width: 0;
  margin-left: 6px;
}

/* 专家详情卡片 */
.expert-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 24px 30px;
  margin-bottom: 16px;
}
.expert-card-top {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
}
.expert-photo-wrap {
  flex-shrink: 0;
  text-align: center;
}
.expert-photo-wrap img {
  display: block;
  width: 150px;
  height: auto;
  border: 1px solid #e8e8e8;
}
.expert-photo-name {
  font-size: 14px;
  color: #1a5fa8;
  text-align: center;
  margin-top: 8px;
  font-weight: 500;
}
.expert-info { flex: 1; }
.expert-name-heading {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.expert-name-line {
  width: 60px;
  height: 2px;
  background: #9c1f24;
  margin: 0 auto 18px;
}
.expert-bio-list {
  font-size: 13.5px;
  color: #444;
  line-height: 2;
}
.expert-bio-list li {
  padding: 1px 0;
  border-bottom: 1px dashed #f0f0f0;
}
.expert-bio-list li:last-child { border-bottom: none; }

/* 专业擅长 */
.section-title-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-title-bar .title-text {
  font-size: 16px;
  font-weight: bold;
  color: #1a5fa8;
  letter-spacing: 1px;
}
.section-title-bar .title-line {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}
.section-block {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 20px 30px;
  margin-bottom: 16px;
}
.expertise-text {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  text-indent: 2em;
}

/* 出诊时间 */
.schedule-block {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 20px 30px;
  margin-bottom: 16px;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.schedule-table th {
  background: #9c1f24;
  color: #fff;
  padding: 10px 8px;
  text-align: center;
  font-weight: 600;
  border: 1px solid #b43030;
  white-space: nowrap;
}
.schedule-table td {
  padding: 9px 8px;
  text-align: center;
  border: 1px solid #e8d8d8;
  color: #555;
  background: #fff;
}
.schedule-table tr:nth-child(even) td { background: #fdf5f5; }
.schedule-table .has-visit {
  color: #9c1f24;
  font-weight: 600;
}
.schedule-table .dept-cell {
  background: #fff5f5;
  font-weight: 500;
  color: #333;
}
.schedule-table .period-cell {
  background: #fff5f5;
  color: #666;
}

/* ============================================================
   文章页专用样式
   ============================================================ */
.wenzhan-layout {
  display: flex;
  gap: 0;
  align-items: flex-start;
  padding-top: 14px;
}
.wz-right {
  flex: 1;
  min-width: 0;
  margin-left: 6px;
   background: #fff;
}

/* 文章内容区 */
.article-card {
  
  padding: 1px 36px 36px;
}
.article-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: 2px;
}
.article-title-line {
  width: 60px; height: 2px;
  background: #9c1f24;
  margin: 0 auto 24px;
}

.article-body {
  font-size: 14.5px;
  color: #444;
  line-height: 2;
}
.article-body p {
  text-indent: 2em;
  margin-bottom: 14px;
}
.article-body h3 {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin: 22px 0 12px;
  padding-left: 10px;
  border-left: 3px solid #9c1f24;
}
.article-img-wrap {
  text-align: center;
  margin: 24px 0;
}
.article-img-wrap img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border: 1px solid #eee;
}


.contentRight {
	width: 1074px;
	padding-top: 35px;
	float:right;
}



.article-card dl{ float:left; width:100%; padding-bottom:20px;border-bottom:1px  solid #d6d6d6;margin-top:30px;}
.article-card dl dt{ float:left; width:100%; font-size:16px; height:40px; line-height:40px;}
.article-card dl dt a{ float:left; width:100%; color:#333333;}
.article-card dl dd{ float:left; width:100%; text-indent:2em; color:#818181; font-size:14px; line-height:180%;}
.article-card dl dd a{ color:#7c340e}
.article-card dl:nth-child(9){ border-bottom:none}
.fy { width:100%; float:left; }
.pagination-wrapper { clear: both; text-align: center; margin: 20px auto; }
.pagination { display: inline-block; *display: inline;*zoom: 1;}
.pagination li { display: inline; float: left; padding: 3px 10px; border: 1px solid #e7e7e7; margin-left: 10px; color: #333; }
.pagination li a { background:#f9f9f9; color: #666; }
.pagination .thisclass { color:#fff; background-color:#7c340e; }
