/* ============================================
 * 专家详情页面样式
 * 版本: 1.0.3
 * 最后更新: 2025-12-28
 * 更新内容：移除顶部栏，添加提示信息样式
 ============================================ */

/* ============================================
   1. 专家信息区域
 ============================================ */
.expert-detail-container {
  max-width: 1230px;
  margin: 0 auto;
  position: relative;
}

.expert-image-container {
  width: 237px;
  height: 347px;
  overflow: hidden;
  float: left;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.expert-image-container img {
  max-width: 100%;
  border: none;
  vertical-align: middle;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.expert-info-container {
  margin-left: 306px;
}

.expert-info-header {
  background: url(/kfsybyy/assets/images/app-img1.png) repeat-x left bottom;
  padding-bottom: 60px;
  margin-bottom: 45px;
  padding-top: 38px;
}

.expert-name {
  font-size: 28px;
  color: var(--text-color);
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.expert-name::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--theme-color);
}

.expert-title {
  font-size: 16px;
  color: var(--secondary-color);
  margin-top: 20px;
  line-height: 1.6;
  font-weight: 500;
}

.expert-description {
  font-size: 14px;
  color: var(--text-color);
  margin-top: 20px;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* 查看科室更多医生按钮 */
.expert-department-link {
  padding: 0 15px;
  font-size: 12px;
  color: var(--theme-color);
  line-height: 22px;
  height: 22px;
  border: 1px solid var(--theme-color);
  display: inline-block;
  text-align: center;
  border-radius: 10px;
  float: right;
  margin-top: -4px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  white-space: nowrap;
}

.expert-department-link:hover {
  background-color: var(--theme-color);
  color: white;
  border-color: var(--theme-color);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 131, 182, 0.2);
}

/* ============================================
   2. 出诊信息区域
 ============================================ */
.expert-visit-section {
  margin-top: 60px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(0, 131, 182, 0.1);
}

.expert-visit-header {
  margin-bottom: 30px;
  position: relative;
}

.expert-visit-title {
  font-size: 24px;
  color: var(--text-color);
  font-weight: bold;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.expert-visit-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--theme-color);
}

.expert-visit-more-link {
  font-size: 12px;
  color: var(--theme-color);
  line-height: 22px;
  height: 22px;
  border: 1px solid var(--theme-color);
  display: inline-block;
  text-align: center;
  border-radius: 10px;
  float: right;
  margin-top: -4px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  white-space: nowrap;
  padding: 0 15px;
}

.expert-visit-more-link:hover {
  background-color: var(--theme-color);
  color: white;
  border-color: var(--theme-color);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 131, 182, 0.2);
}

/* 出诊信息表格 */
.expert-visit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.expert-visit-table th {
  background: linear-gradient(90deg, var(--theme-color) 0%, #0096cc 100%);
  color: #fff;
  font-size: 16px;
  height: 66px;
  font-weight: 500;
  text-align: center;
  padding: 0;
  border: none;
}

.expert-visit-table th:nth-child(1) { width: 212px; }
.expert-visit-table th:nth-child(2) { width: 218px; }
.expert-visit-table th:nth-child(3) { width: 575px; }
.expert-visit-table th:nth-child(4) { width: 220px; }

.expert-visit-table td {
  font-size: 14px;
  color: #333333;
  border: 1px solid rgba(236, 236, 236, 0.8);
  padding: 0;
  transition: background-color 0.2s ease;
}

.expert-visit-table .table-cell {
  padding: 24px;
  text-align: center;
  line-height: 1.4;
}

.expert-visit-table .table-cell-left {
  padding: 26px;
  text-align: left;
  line-height: 24px;
}

.expert-visit-table tr:hover {
  background-color: rgba(0, 131, 182, 0.05);
}

/* 提示信息样式 */
.tip {
  background: #f8f8f8;
  padding: 15px 20px;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 6px;
  border-left: 4px solid var(--theme-color);
}

.tip div {
  font-size: 14px;
  color: #333333;
  position: relative;
  background: url(/kfsybyy/assets/images/weixian.png) no-repeat left center;
  padding: 8px 0;
  padding-left: 40px;
  float: left;
  line-height: 1.5;
}

/* ============================================
   3. 详细介绍区域
 ============================================ */
.expert-detail-section {
  padding-top: 68px;
  margin-bottom: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 131, 182, 0.1);
}

.expert-detail-title {
  font-size: 24px;
  color: var(--text-color);
  font-weight: bold;
  margin-bottom: 26px;
  position: relative;
  padding-bottom: 8px;
}

.expert-detail-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--theme-color);
}

.expert-detail-content {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.8;
}

.expert-detail-content p {
  text-indent: 2em;
  margin-bottom: 1.5em;
}

.expert-detail-content span {
  font-size: 15px;
  line-height: 1.8;
}

/* ============================================
   4. 通用辅助类
 ============================================ */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* 重置表格元素默认样式 */
.expert-detail-table table,
.expert-detail-table tr,
.expert-detail-table td,
.expert-detail-table th {
  padding: 0;
  margin: 0;
}

/* ============================================
   5. 响应式设计
 ============================================ */
@media (max-width: 1200px) {
  .expert-detail-container {
    width: 100%;
    padding: 0 15px;
  }
  
  .expert-info-container {
    margin-left: 250px;
  }
}

@media (max-width: 992px) {
  .expert-image-container {
    float: none;
    margin: 0 auto 30px;
  }
  
  .expert-info-container {
    margin-left: 0;
    clear: both;
  }
  
  .expert-visit-table {
    overflow-x: auto;
    display: block;
  }
  
  .expert-visit-table th,
  .expert-visit-table td {
    white-space: nowrap;
  }
  
  .tip div {
    float: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .expert-name {
    font-size: 22px;
  }
  
  .expert-visit-title,
  .expert-detail-title {
    font-size: 20px;
  }
  
  .expert-visit-table th,
  .expert-visit-table td {
    font-size: 13px;
  }
  
  .expert-visit-table .table-cell,
  .expert-visit-table .table-cell-left {
    padding: 12px 8px;
  }
  
  .expert-department-link,
  .expert-visit-more-link {
    float: none;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    width: auto !important;
  }
}

@media (max-width: 576px) {
  .expert-image-container {
    width: 100%;
    height: auto;
    max-width: 280px;
  }
  
  .expert-info-header {
    padding-bottom: 40px;
    padding-top: 20px;
  }
  
  .expert-visit-section {
    margin-top: 40px;
  }
  
  .expert-detail-section {
    padding-top: 40px;
  }
  
  .expert-title {
    font-size: 14px;
  }
  
  .expert-description {
    font-size: 13px;
  }
  
  .tip {
    padding: 12px 15px;
  }
  
  .tip div {
    font-size: 13px;
    padding-left: 35px;
    background-size: 25px;
  }
}