*, div, span {
    box-sizing: border-box;
}

.department-profile {
    width: 100%;
    height: auto;
    background: url("../img/ksjj/department_profile_bg.png") 100% no-repeat;
    display: none;
}

.department-profile-container {
    width: 1440px;
    height: auto;
    margin: 0 auto;
    /*display: flex;*/
    justify-content: space-between;
    padding: 70px 0px;
}

.department-list {
    width: 268px;
    height: 660px;
}

.introduction {
    width: 1129px;
    height: 660px;
    padding: 45px 54px;
    background-color: #FFFFFF;
}

.introduction-details {
    width: 100%;
    height: auto;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    line-height: 38px;
    text-align: justify;
}

.center-title {
    text-align: center;
    margin-bottom: 47px;
}

.center-title p:first-child {
    font-size: 30px;
    font-weight: 400;
    color: #333333;
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.center-title p:last-child {
    font-size: 16px;
    font-weight: 400;
    color: #CFCFCF;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-top: 17px;
}

.big-department {
    width: 268px;
    height: 60px;
    background: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.big-department.active {
    background: #9F0176;
    color: #FFFFFF;
}

.big-department span:nth-child(1) {
    margin-left: 27px;
}

.big-department span:nth-child(2) {
    margin-right: 28px;
    font-size: 22px;
}

.small-department {
    width: 269px;
    height: 48px;
    background: #FCFCFC;
    font-size: 18px;
    font-weight: 400;
    color: #333333;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.small-department.active {
    background: #F6E6F2;
    color: #9F0176;
}

.small-department span {
    margin-left: 35px;
}

.expert-team {
    width: 100%;
    /*height: 800px;*/
    background: #FFFFFF;

    display: none;
}

.expert-team-container {
    width: 1440px;
    height: auto;
    margin: 0 auto;
    padding: 72px 0px;
}

.expert-list {
    width: max-content;
    height: 425px;
    /*display: flex;*/
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
}

.expert-list::after {
    content: '';
    flex: auto; /* 或者flex: 1 */
}

.expert-item {
    width: 257px;
    height: 420px;
    float: left;
    cursor: pointer;
    /*margin: 0px 23px;*/
}
/*.expert-item:hover .top-image img{
    width: 103%;
    height: 103%;
    object-position: 0px -15px;
}*/
.expert-item:first-child{
    margin-left: 0px;
}
.expert-item .top-image {
    width: 100%;
    height: 300px;
    border: 2px solid #FFFFFF;
    box-shadow: 0px 5px 14px 0px rgba(51, 51, 51, 0.15);
    margin: 0 auto;
    overflow: hidden;
}

.expert-item .top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: none;
    object-position: center;
    transition: all 0.3s;
}

.expert-item p:nth-child(2) {
    height: 17px;
    font-size: 24px;
    font-weight: 400;
    color: #333333;
    line-height: 30px;
    margin-block-start: 12px;
    margin-block-end: 14px;
    text-align: center;
}
.expert-item p:nth-child(2):after{
    content: "";
    display: block;
    width: 27px;
    height: 2px;
    background: #A32674;
    border-radius: 21px;
    margin: 4px auto;
}
.expert-item:hover p:nth-child(2),
.expert-item:hover p:nth-child(3){
    color: #A32674;
}
.expert-item:hover p:nth-child(2):after{
   background: #ffffff;
}
.expert-item p:nth-child(3) {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 20px;
    margin-top: 34px;
    padding: 0px 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.expert-item-box{
    width: 228px;
    height: 100%;
    margin: auto;
    background: #FFFFFF;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
}
.visiting-arrangement {
    width: 100%;
    /*height: 593px;*/
    background: url("../img/ksjj/visiting_arrangement.png") 100% no-repeat;
}

.visiting-arrangement-container {
    width: 1440px;
    height: auto;
    margin: 0 auto;
    padding: 74px 0px 256px;
}

.outpatient-department-list {
    width: 100%;
    height: auto;
    overflow: auto;
}

.outpatient-department-item {
    width: 150px;
    height: 57px;
    background: #F8F9FB;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    text-align: center;
    float: left;
    margin-right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.outpatient-department-item:first-child {
    width: 100px;
    background: rgba(0, 0, 0, 0);
}

.outpatient-department-item.active {
    background: #F6E6F2;
    color: #9F0176;
}

.visiting-arrangement-list {
    width: 100%;
    height: auto;
    margin-top: 43px;
}

.visiting-arrangement-list tr:nth-child(1) td {
    background: #9F0176;
    height: 60px;
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    text-align: center;
}

.visiting-arrangement-list tr:nth-child(2) td {
    width: 108px;
    height: 40px;
    background: #CA48A8;
    opacity: 0.5;
    color: #FFFFFF;
    text-align: center;
}

.visiting-arrangement-list tr:nth-child(n+3) td {
    font-size: 16px;
    color: #333333;
    height: 60px;
    background: #F8F9FB;
    text-align: center;
}

.zj-box{
    width: 1200px;
    overflow-y: hidden;
    overflow-x: hidden;
    margin: 0 auto;
    position: relative;
}
.zj-box-buttons{
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
    top: -280px;
    z-index: 1;
}
.button-left,
.button-right{
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #a32674;
    cursor: pointer;
    background-size: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.ksjj-box{
    width: 200%;
    height: 574px;
    background-color: #FFFFFF;
    border-radius: 0px 0px 0px 80px;
    box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.ksjj-box.text-full{
   height: auto;
}
.ksjj-box.text-full .image-left{
    width: 0;
}
.ksjj-box.text-full .ksjj-text{
    width: 1440px;
    padding-right:0px;
}
.ksjj-box.text-full .ksjj-text .ksjj-detils{
    display: none;
}
.ksjj-box.text-full .ksjj-text .ksjj-detils2{
    display: block;
    height: auto;
    overflow: auto;
}
.ksjj-detils *,.ksjj-detils2 *{
    font-size: 19px !important;
    font-family: 宋体 !important;
}
.dept-list{
    width: 1440px;
    height: auto;
    flex-wrap: wrap;
    margin: auto;
    display: flex;
}
.dept-item{
    width: 220px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: rgba(163,38,116,1);
    cursor: pointer;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
    margin: 10px 10px;
}
.dept-item:hover{
    background:rgba(163,38,116,1);
    color:#ffffff;
}


.image-left{
    width: 755px;
    height: 100%;
    background: url("../img/ksjj/ksjj_left_img.jpg") no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    transition: all 1s;
    overflow: hidden;
}
.image-left p{
    font-weight: 600;
    font-size: 75px;
    line-height: 110px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 40, 142, 0.6);
}
.ksjj-text{
    width: 760px;
    float: left;
    padding: 60px 55px;
    transition: all 0.5s;
}
.ksjj-title{
    font-size: 36px;
    color: rgba(0, 0, 0, 0.9);
}
.ksjj-detils{
    width: 100%;
    margin-top: 42px;
    font-size: 20px;
    line-height: 36px;
    text-align: justify;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    text-overflow: ellipsis;  /* 超出部分省略号 */
    word-break: break-all;  /* break-all(允许在单词内换行。) */
    display: -webkit-inline-box; /* 对象作为伸缩盒子模型显示 */
    -webkit-box-orient: vertical; /* 设置或检索伸缩盒对象的子元素的排列方式 */
    -webkit-line-clamp: 7; /* 显示的行数 */
}
.ksjj-detils p{
    line-height: unset !important;
}
.ksjj-detils2{
    display: none;
    width: 100%;
    height: 348px;
    overflow: scroll;
    padding-right: 20px;
    font-size: 20px;
    line-height: 26px;
    margin-top: 20px;
    text-align: justify;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.8);
}
.btn-more{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 24px;
    gap: 4px;
    width: 148px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 32px;
    float: right;
    margin-top: 20px;
}
.expert-team .btn-more{
    margin-top: 0px;
}
.ksjj-detils2 p img{
    max-width: 500px;
    height: auto;
}


@media (max-width: 1440px) {
    .department-profile-container,
    .expert-team-container,
    .visiting-arrangement-container {
        width: 1200px;
    }

    .expert-item {
        /*width: 170px;*/
    }

    .expert-item .top-image {
        width: 120px;
        height: 120px;
    }

    .introduction-details {
        font-size: 15px;
    }
}
