@font-face {
    font-family: 'Source Han Serif CN';
    src: url('/font/SourceHanSerifCN-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Source Han Serif CN';
    src: url('/font/SourceHanSerifCN-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

:root {
    /* 主题色 */
    --index-main-color: #dccfc7;
    --index-main-bg-color: #dccfc7;
    --index-main-font-size: 1rem;
    --index-main-border-color: #dadada;
    --index-main-btn-bg-color: linear-gradient(180deg, #c77110 0%, #a15a0a 100%);
    --index-main-btn-color: #c77110;
}

* {
    padding: 0;
    margin: 0;
    font-size: .875rem;
    font-family: 'Source Han Serif CN', serif !important;
}

body {
    max-width: 46.875rem;
    margin: 0 auto;
}

a {
    color: var(--index-main-btn-color);
    text-decoration: none;
}

a:visited {
    color: var(--index-main-btn-color);
}

/* 轮播图 */
.index-top-swiper {
    position: relative;
    width: 100%;
    /* height: 15rem; */
    --swiper-theme-color: var(--index-main-color);
    --swiper-pagination-color: var(--index-main-color);
    overflow: hidden;
}

.index-top-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.index-top-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 视频区 */
.index-video-box {
    position: relative;
    width: 100%;
    padding: 2.0625rem .625rem 0;
    box-sizing: border-box;
    background-image: url('/image/index/index-bg.png');
    background-repeat: repeat;
}

.index-video-card {
    width: 100%;
    background-image: url('/image/index/index-video-card-bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 2.5rem 1.5rem 2.5rem;
    box-sizing: border-box;
}

.index-video-card-title {
    display: block;
    width: 100%;
    margin-bottom: .625rem;
}

.mt25 {
    margin-top: 1.5625rem;
}

.index-video-card-video {
    padding-top: 1.0625rem;
}

.index-video-desc-box .index-video-desc-title {
    line-height: 1.5625rem;
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.index-video-desc-sub-title-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.index-video-desc-sub-title-box .index-video-desc-sub-title {
    width: 50%;
    line-height: 1.25rem;
    font-size: .875rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.index-video-desc-sub-title::before {
    content: '·';
    color: #bf2d27;
    font-size: 1.125rem;
}

.index-small-video-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .3125rem;
    margin-top: 1.5625rem;
}

.index-small-video-box .index-small-video {
    width: 50%;
    flex-shrink: 0;
}

.index-small-video-title {
    line-height: 1.5625rem;
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.index-small-video-sub-title {
    line-height: 1.25rem;
    font-size: .875rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.index-small-video-sub-title::before {
    content: '·';
    color: #bf2d27;
    font-size: 1.125rem;
}

.pt17 {
    margin-top: 1.0625rem;
}

.index-video-small-bg {
    width: 100%;
    position: absolute;
    right: 0;
    top: 3.75rem;
    z-index: 0;
    /* transform: scale(0.6); */
}

.index-big-video-box {
    width: 100%;
    position: relative;
}

.index-big-video-poster {
    width: 100%;
    display: block;
    margin-bottom: .625rem;
}

.video-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
}

.icon-bofang {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.125rem;
    color: #fff;
}

/* 医生介绍 */
.doctor-intr-box {
    width: 100%;
    padding: 1.1875rem .625rem 2.5rem;
    box-sizing: border-box;
    background-image: url('/image/index/index-bg.png');
    background-repeat: repeat;
}

.doctor-intr-title {
    width: 100%;
    display: block;
}

.mt10 {
    margin-top: .625rem;
}

.mt20 {
    margin-top: 1.25rem;
}

.doctor-info-box {
    width: 100%;
    background-image: url('/image/index/doctor-image.png');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right;
    margin-top: 1.25rem;
    font-weight: bold;
}

.doctor-base-info .doctor-name {
    font-size: 1.625rem;
}

.doctor-base-info .doctor-title {
    color: #7b0303;
}

.doctor-intr-item {
    position: relative;
    width: 55%;
    font-size: .875rem;
    margin: .625rem 0;
    padding-left: .3125rem;
}

.doctor-intr-item::before {
    position: absolute;
    top: .4375rem;
    left: 0;
    content: '';
    display: inline-block;
    width: .125rem;
    height: .5rem;
    background-color: #e80000;
    border-radius: .125rem;
}

/* 社会学术任职及聘书 */
.w100 {
    width: 100%;
}

/* 擅长治疗 */
.card-bg-top {
    display: block;
    width: 100%;
    margin-top: .625rem;
}

.index-scly-box {
    width: 100%;
    background-image: url('/image/index/card-bg-middle.png');
    background-repeat: repeat;
    background-size: 100% auto;
    padding: .125rem 1.25rem;
    box-sizing: border-box;
    text-align: justify;
    font-weight: bold;
}

.card-bg-bottom {
    display: block;
    width: 100%;
}

/* 个人课题 */
.index-grkt-box {
    width: 100%;
    background-image: url('/image/index/card-bg-middle.png');
    background-repeat: repeat;
    background-size: 100% auto;
    padding: .125rem 1.25rem;
    box-sizing: border-box;
    text-align: justify;
    font-weight: bold;
    text-indent: 2rem;
}

/* 个人论著 */
.index-grlz-box {
    width: 100%;
    background-image: url('/image/index/card-bg-middle.png');
    background-repeat: repeat;
    background-size: 100% auto;
    padding: .125rem 1.25rem;
    box-sizing: border-box;
    text-align: justify;
    font-weight: bold;
}

.index-grlz-box div::before {
    content: '';
    display: inline-block;
    width: .125rem;
    height: .5rem;
    background-color: #e80000;
    border-radius: .375rem;
    margin-right: .25rem;
}

/* 出诊时间 */
.doctor-visit-box {
    width: 100%;
    background-image: url('/image/index/czsj-bg.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 1.875rem 1.25rem;
    box-sizing: border-box;
    font-weight: bold;
    font-size: .875rem;
    display: flex;
    gap: .3125rem;
}

.doctor-visit-card-box {
    width: 50%;
}

.doctor-visit-card {
    border: .0625rem solid #d78112;
    border-radius: .25rem;
    margin-bottom: .3125rem;
}

.doctor-visit-hospital {
    background-image: linear-gradient(to right, #b91b19, #d96c1d);
    color: #fff;
    padding: .625rem .3125rem;
}

.doctor-visit-time,
.doctor-visit-address {
    padding: .625rem .3125rem;
}

.doctor-visit-address {
    padding-top: 0;
}

.doctor-visit-gray {
    color: #888888;
    flex-shrink: 0;
}

.doctor-visit-type {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.875rem;
}

.doctor-visit-address {
    display: flex;
}

/* 视频播放区弹层 */
#index-video-box {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
}

#index-video-box .mask {
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.8;
}

#index-video-box .video-box {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

#index-video-box .icon-guanbi {
    color: #fff;
    font-size: 2.5rem;
}

.small-title {
    width: 80%;
}

.title-center {
    display: flex;
    justify-content: center;
}


/* 底部 */
.index-title-card .index-footer-bottom {
    width: 100%;
    font-size: .875rem;
    text-align: center;
}