﻿.department-page main {
  background: #fff;
}

.department-banner {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: url('../首页.png') center 42% / cover no-repeat;
}

.department-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, .08);
}

.department-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 1;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.department-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: .9;
}

.department-list-section {
  padding-bottom: 260px;
}

.department-category {
  display: grid;
  grid-template-columns: 350px 1fr;
  width: 1500px;
  max-width: calc(100% - 40px);
  height: 590px;
  margin: 0 auto 78px;
  background: #fff;
  box-shadow: 0 3px 18px rgba(0, 0, 0, .12);
}

.department-category-side {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.department-category-clinical .department-category-side {
  background-image: linear-gradient(rgba(0, 73, 154, 0), rgba(0, 73, 154, 0)), url('../images/ksdh/ksdh_1.png');
}

.department-category-platform .department-category-side {
  background-image: linear-gradient(rgba(0, 73, 154, 0), rgba(0, 73, 154, 0)), url('../images/ksdh/ksdh_2.png');
}

.department-category-special .department-category-side {
  background-image: linear-gradient(rgba(0, 73, 154, 0), rgba(0, 73, 154, 0)), url('../images/ksdh/ksdh_3.png');
}

.department-category-side img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.department-category-side h2 {
  width: 38px;
  margin: 0;
  padding-top: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 4px;
}

.department-category-body {
  height: 590px;
  max-height: 590px;
  margin: 0 24px 0 0;
  padding: 70px 42px 56px 46px;
  overflow-y: auto;
  box-sizing: border-box;
  scrollbar-color: #00499a #dcdcdc;
  scrollbar-width: thin;
}

.department-category-body::-webkit-scrollbar {
  width: 6px;
}

.department-category-body::-webkit-scrollbar-track {
  border-radius: 999px;
  background: linear-gradient(to right, transparent 2px, #dcdcdc 2px, #dcdcdc 4px, transparent 4px);
}

.department-category-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #00499a;
  border: 2px solid #fff;
}

.department-tag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  align-items: start;
}

.department-tag-grid a {
  display: block;
  width: 90%;
  max-width: none;
  height: 34px;
  color: #333;
  font-size: 18px;
  line-height: 34px;
  text-align: center;
  border-radius: 999px;
  background: #eef3fb;
}

.department-tag-grid a.active,
.department-tag-grid a:hover {
  color: #fff;
  background: #00499a;
}

.department-detail-section {
  overflow: hidden;
  padding-bottom: 90px;
}

.department-intro-card {
  position: relative;
  display: grid;
  grid-template-columns: 390px 1fr;
  width: 1060px;
  min-height: 420px;
  margin: 0 auto;
  background: transparent;
}

.department-intro-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 240px;
  right: calc((1060px - 100vw) / 2);
  z-index: 0;
  content: "";
  background: #eef4ff;
}

.department-intro-photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 510px;
  height: 330px;
  min-height: 330px;
  margin-top: 45px;
  background: url('../ksdh/ksbg.png') -122px -678px / 1040px auto no-repeat;
  transform: translateX(-150px);
}

.department-intro-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.department-intro-text {
  position: relative;
  z-index: 1;
  padding: 66px 48px 52px 0;
}

.department-intro-text h1 {
  margin: 0 0 32px;
  color: #00499a;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
}

.department-intro-text p {
  margin: 0 0 8px;
  color: #333;
  font-size: 15px;
  line-height: 1.75;
  text-align: justify;
  text-indent: 2em;
}

.department-intro-content {
  max-height: 196px;
  overflow: hidden;
  color: #333;
  font-size: 15px;
  line-height: 1.75;
  text-align: justify;
  transition: max-height .35s ease;
}

.department-intro-text.is-expanded .department-intro-content {
  max-height: 3000px;
}

.department-intro-content p {
  margin: 0 0 8px;
}

.department-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 104px;
  height: 26px;
  margin-top: 14px;
  padding: 0 14px;
  border: 0;
  color: #fff;
  font-size: 12px;
  line-height: 26px;
  text-align: center;
  border-radius: 999px;
  background: #00499a;
  cursor: pointer;
}

.department-more[hidden] {
  display: none;
}

.department-more-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
}

.department-intro-text.is-expanded .department-more-arrow {
  border-top: 0;
  border-bottom: 5px solid #fff;
}

.department-expert-section {
  padding: 74px 0 84px;
}

.department-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 72px;
  color: #00499a;
}

.department-section-title img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.department-section-title h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 4px;
}

.department-expert-band {
  position: relative;
  background: #00499a;
}

.department-expert-wrap {
  position: relative;
  box-sizing: border-box;
  width: 1500px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding: 0 60px 44px;
}

.department-expert-window {
  overflow: hidden;
  transform: translateY(-52px);
}

.department-expert-list {
  display: flex;
  transition: transform .35s ease;
}

.department-expert-card {
  flex: 0 0 25%;
  padding: 0 14px;
  color: #fff;
  text-align: center;
}

.department-expert-card a {
  display: block;
  color: inherit;
}

.department-expert-photo {
  overflow: hidden;
  height: 280px;
  margin-bottom: 22px;
  background: #2c91df;
}

.department-expert-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.department-expert-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 400;
}

.department-expert-card span {
  display: block;
  margin-bottom: 14px;
  font-size: 20px;
  opacity: .86;
}

.department-expert-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
  opacity: .92;
}

.department-arrow {
  position: absolute;
  top: 86px;
  z-index: 2;
  width: 28px;
  height: 28px;
  color: #fff;
  font-size: 24px;
  line-height: 25px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: transparent;
}

.department-arrow.prev {
  left: 0;
}

.department-arrow.next {
  right: 0;
}

.department-arrow:disabled {
  opacity: .4;
  cursor: default;
}
