/* 科室详情页样式 */
.dept-detail-page { min-height: calc(100vh - 280px); background: #f8fafc; }

/* 面包屑 */
.dept-detail__breadcrumb { background: #fff; padding: 16px 0; border-bottom: 1px solid #e2e8f0; }
.dept-breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: 14px;
  color: #64748b; margin: 0; padding: 0; list-style: none; flex-wrap: wrap;
}
.dept-breadcrumb a { color: #64748b; text-decoration: none; transition: color 0.3s; }
.dept-breadcrumb a:hover { color: #00B4D8; }
.dept-breadcrumb__sep { color: #cbd5e1; display: inline-flex; }
.dept-breadcrumb__sep i { font-size: 12px; }
.dept-breadcrumb__current { color: #1e293b; font-weight: 500; }

/* 头部信息卡 */
.dept-detail__header { padding: 30px 0; }
.dept-detail__header-card {
  display: flex; align-items: center; gap: 30px;
  background: #fff; border-radius: 12px; padding: 30px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.dept-detail__header-icon {
  flex-shrink: 0; width: 100px; height: 100px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(0,180,216,0.2));
  color: #fff;
  font-size: 44px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.dept-detail__header-icon img { width: 65px; }
.dept-detail__header-info { flex: 1; min-width: 0; }
.dept-detail__header-name { font-size: 28px; font-weight: 700; color: #1e293b; margin: 0 0 10px; }
.dept-detail__header-meta {
  display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: #64748b;
}
.dept-detail__header-meta span { display: flex; align-items: center; gap: 6px; }
.dept-detail__header-meta i { color: #00B4D8; }
.dept-detail__header-actions { display: flex; gap: 12px; flex-shrink: 0; }
.dept-detail__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 8px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all 0.3s; border: none; cursor: pointer;
}
.dept-detail__btn--primary { background: #00B4D8; color: #fff; }
.dept-detail__btn--primary:hover { background: #0096C7; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,180,216,0.3); }
.dept-detail__btn--outline { background: #fff; color: #00B4D8; border: 1px solid #00B4D8; }
.dept-detail__btn--outline:hover { background: rgba(0,180,216,0.06); }

/* 主体布局 */
.dept-detail__body { padding: 0 0 60px; }
.dept-detail__layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start;
}

/* 内容区 */
.dept-detail__main { display: flex; flex-direction: column; gap: 24px; }
.dept-block {
  background: #fff; border-radius: 12px; padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.dept-block__title {
  font-size: 20px; font-weight: 600; color: #1e293b; margin: 0 0 18px;
  padding-left: 12px; border-left: 4px solid #00B4D8; line-height: 1.4;
}
.dept-block__text { font-size: 15px; line-height: 1.85; color: #475569; margin: 0 0 12px; }
.dept-block__text:last-child { margin-bottom: 0; }

/* 特色诊疗 */
.dept-feature__list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.dept-feature__item {
  display: flex; gap: 12px; padding: 16px; background: #f8fafc; border-radius: 8px;
  transition: all 0.3s;
}
.dept-feature__item:hover { background: rgba(0,180,216,0.06); transform: translateX(4px); }
.dept-feature__icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px;
  background: rgba(0,180,216,0.1); color: #00B4D8;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.dept-feature__content h4 { font-size: 15px; font-weight: 600; color: #1e293b; margin: 0 0 6px; }
.dept-feature__content p { font-size: 13px; color: #64748b; line-height: 1.6; margin: 0; }

/* 就诊指南 */
.dept-guide__list { list-style: none; padding: 0; margin: 0; }
.dept-guide__item {
  display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed #e2e8f0;
}
.dept-guide__item:last-child { border-bottom: none; }
.dept-guide__num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: #00B4D8; color: #fff; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.dept-guide__text { flex: 1; font-size: 15px; color: #475569; line-height: 1.7; padding-top: 3px; }

/* 医生列表 */
.dept-doctors__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.doctor-mini-card {
  display: block; text-decoration: none; color: inherit;
  background: #f8fafc; border-radius: 10px; padding: 20px; text-align: center;
  transition: all 0.3s; border: 1px solid transparent;
}
.doctor-mini-card:hover {
  background: #fff; border-color: rgba(0,180,216,0.2);
  box-shadow: 0 8px 20px rgba(0,180,216,0.1); transform: translateY(-4px);
}
.doctor-mini-card__avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 12px; display: block; border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.doctor-mini-card__name { font-size: 16px; font-weight: 600; color: #1e293b; margin: 0 0 4px; }
.doctor-mini-card__title { font-size: 13px; color: #00B4D8; margin: 0 0 8px; }
.doctor-mini-card__desc {
  font-size: 12px; color: #64748b; line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 相关资讯 */
.dept-news__list { list-style: none; padding: 0; margin: 0; }
.dept-news__item {
  padding: 14px 0; border-bottom: 1px dashed #e2e8f0;
}
.dept-news__item:last-child { border-bottom: none; }
.dept-news__item a {
  display: flex; justify-content: space-between; gap: 16px;
  text-decoration: none; color: #334155; transition: color 0.3s;
}
.dept-news__item a:hover { color: #00B4D8; }
.dept-news__title-text { flex: 1; font-size: 14px; line-height: 1.6; }
.dept-news__date { flex-shrink: 0; font-size: 13px; color: #94a3b8; }

/* 侧边栏 */
.dept-detail__sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.sidebar-block {
  background: #fff; border-radius: 12px; padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.sidebar-block__title {
  font-size: 16px; font-weight: 600; color: #1e293b; margin: 0 0 16px;
  padding-bottom: 12px; border-bottom: 1px solid #e2e8f0;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-block__title i { color: #00B4D8; font-size: 18px; }
.sidebar-info__list { list-style: none; padding: 0; margin: 0; }
.sidebar-info__item {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed #f1f5f9; font-size: 14px;
}
.sidebar-info__item:last-child { border-bottom: none; }
.sidebar-info__label { color: #94a3b8; flex-shrink: 0; }
.sidebar-info__value { color: #1e293b; text-align: right; }

/* 错误状态 */
.dept-detail-error { padding: 60px 0; }
.error-box {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 60px 40px;
  /*box-shadow: 0 2px 10px rgba(0,0,0,0.04);*/
}
.error-box__icon { font-size: 64px; color: #cbd5e1; margin-bottom: 20px; }
.error-box__title { font-size: 24px; font-weight: 600; color: #1e293b; margin: 0 0 12px; }
.error-box__desc { font-size: 14px; color: #64748b; margin: 0 0 30px; }
.error-box__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.error-box__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all 0.3s;
}
.error-box__btn--primary { background: #00B4D8; color: #fff; }
.error-box__btn--primary:hover { background: #0096C7; transform: translateY(-2px); }
.error-box__btn--default { background: #f1f5f9; color: #475569; }
.error-box__btn--default:hover { background: #e2e8f0; }

/* 响应式 */
@media (max-width: 1200px) {
  .dept-doctors__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .dept-detail__layout { grid-template-columns: 1fr; }
  .dept-detail__sidebar { position: static; }
  .dept-detail__header-card { flex-wrap: wrap; }
  .dept-detail__header-actions { width: 100%; }
  .dept-doctors__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .dept-detail__header-card { flex-direction: column; text-align: center; padding: 24px; }
  .dept-detail__header-meta { justify-content: center; }
  .dept-block { padding: 20px; }
  .dept-feature__list { grid-template-columns: 1fr; }
  .dept-doctors__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .doctor-mini-card { padding: 14px 10px; }
  .doctor-mini-card__avatar { width: 64px; height: 64px; }
}
@media (max-width: 480px) {
  .dept-doctors__grid { grid-template-columns: 1fr; }
  .dept-detail__header-name { font-size: 22px; }
}
