/* #region 基础 */
.module {
    margin-top: 20px;
}

.right .module .title {
    padding-bottom: 10px;
}

.right .module .title span {
    font-size: 20px;
}

.module .content {
    margin-top: 20px;
}

.banners .banner {
    height: 540px;
}

.encyc .left {
    width: 850px;
}

.encyc .right {
    width: 330px;
}

/* #endregion */

/* #region 轮播 */
.banners .banner {
    height: 300px;
}

.banners .box {
    position: relative;
    width: 100%;
    height: 100%;
}

.banners .box .img {
    width: 100%;
    height: 100%;
}

.banners .box .info {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: end;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
}

.banners .box .info a {
    width: 50%;
    height: auto;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.banners .pagination {
    right: 30px;
    bottom: 30px;
    left: auto;
}

.banners .pagination li {
    width: 16px;
    height: 16px;
    background: none;
    border: 1px solid #F1F1F1;
    border-radius: 50%;
}

.banners .pagination .active {
    border: 1px solid #3375e2;
}
/* #endregion */

/* #region 试管 */
.test-tube {
    display: flex;
    gap: 20px;
}

.test-tube .box {
    border: 1px solid #3375e2;
    border-radius: 3px;
}

.test-tube .box:nth-child(2) {
    border: 1px solid #49BFA6;
}

.test-tube .box:nth-child(3) {
    border: 1px solid #49B7BF;
}

.test-tube .box:nth-child(4) {
    border: 1px solid #4996BF;
}

.test-tube .title {
    gap: 2px;
    padding: 6px;
    background: #3375e2;
}

.test-tube .box:nth-child(2) .title {
    background: #49BFA6;
}

.test-tube .box:nth-child(3) .title {
    background: #49B7BF;
}

.test-tube .box:nth-child(4) .title {
    background: #4996BF;
}

.test-tube .title img {
    width: 16px;
    height: 16px;
}

.test-tube .title h3 {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
}

.test-tube .title a {
    color: #fff;
    font-size: 12px;
}

.test-tube .title a:hover {
    color: #fff;
}

.test-tube .title a>img {
    vertical-align: -5px;
    margin-left: 2px;
}

.test-tube .content {
    box-sizing: border-box;
    margin-top: 0;
    padding: 6px;
}

.test-tube .box {
    overflow: hidden;
    flex: 1;
}

.test-tube .list li {
    position: relative;
    padding-left: 18px;
}

.test-tube .list li:not(:first-child) {
    margin-top: 6px;
}

.test-tube .list li::before {
    position: absolute;
    top: 10px;
    left: 6px;
    width: 3px;
    height: 3px;
    content: "";
    background: #999;
    border-radius: 50%;
}

.test-tube .list li>a {
    display: block;
    color: #999;
    font-size: 16px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: .3s;
}

.test-tube .list li>a:hover {
    color: #3375e2;
    transition: .3s;
}
/* #endregion */

/* #region 文章 */
.article .headline {
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.article .headline h1 {
    color: #333;
    font-size: 30px;
    font-weight: 700;
}

.article .headline p {
    margin-top: 20px;
    color: #999;
    font-size: 16px;
    /* overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5; */
}

.article .headline p span {
    color: #3375e2;
}

.article .headline .tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.article .headline .tags span {
    display: inline-block;
    color: #3375e2;
    font-size: 12px;
    border: 1px solid #3375e2;
    border-radius: 5px;
}

.article .headline .tags span a{
    padding: 3px 10px;
    color: #3375e2;
    font-size: 12px;
    display: inline-block;
}

.article .headline .sub {
    display: flex;
    align-items: center;
    margin-top: 20px;
    color: #999;
    font-size: 14px;
}

.article .headline .sub img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.article .headline .sub img:not(:first-child) {
    margin-left: 20px;
}

.article .best {
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 80px;
    margin-top: 15px;
    padding: 10px;
    background: linear-gradient(90deg, rgba(69,116,219, 1) 0%, rgba(0, 164, 196, 1) 100%);
    border-radius: 3px;
}

.article .best::after {
    position: absolute;
    top: 16px;
    right: 20px;
    content: "最佳回答";
    color: rgba(255, 255, 255, 0.3);
    font-size: 60px;
    font-weight: 700;
}

.article .best .img {
    overflow: hidden;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.article .best .name h4 {
    display: inline-block;
    color: #fff;
    font-size: 20px;
}

.article .best .name span {
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.article .best .name span>img {
    vertical-align: -1px;
    width: 12px;
    height: 12px;
    margin-right: 3px;
}

.article .best .name p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.article .content h3 {
    margin: 15px 0;
    padding-left: 5px;
    color: #3375e2;
    font-size: 20px;
    font-weight: 700;
    border-left: 6px solid #3375e2;
}

.article .content p {
    margin: 15px 0;
    color: #333;
    font-size: 16px;
    line-height: 153%;
}

.article .content p>strong {
    font-weight: bold;
}

.article .content p>img {
    max-width: 100%;
}

.article .content p a {
    color: #3375e2;
}

/* #endregion */

/* #region 声明 */
.state {
    box-sizing: border-box;
    padding: 10px;
    background: #F1F1F1;
}

.state p {
    color: #999;
    font-size: 10px;
    line-height: 183%;
}
/* #endregion */

/* #region 上下篇 */
.context {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.context a {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: block;
    padding: 10px;
    border: 1px solid #3375e2;
    border-radius: 2px;
    opacity: 0.5;
    transition: .3s;
}

.context a:hover {
    opacity: 1;
    transition: .3s;
}

.context a:first-child {
    padding-left: 40px;
}

.context a:last-child {
    text-align: right;
    padding-right: 40px;
}

.context a::before {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 30px;
    height: 100%;
    content: "";
    background: #3375e2 url(/static/icon/left.png) no-repeat center center;
}

.context a:last-child::before {
    right: 0;
    left: auto;
    transform: rotate(180deg);
}

.context a>p {
    color: #3375e2;
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
}

.context a>span {
    display: inline-block;
    margin-top: 10px;
    color: #999;
    font-size: 16px;
}

.context i {
    display: inline-block;
    width: 40px;
    height: 3px;
    background: #b2caff;
    transform: rotate(120deg);
}

/* #endregion */

/* #region 相关 */
.relate .list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 26px;
    row-gap: 20px;
}

.relate .list li {
    display: flex;
    gap: 20px;
    width: 48.4%;
}

.relate .list .img {
    overflow: hidden;
    width: 150px;
    height: 150px;
    border-radius: 5px;
}

.relate .list .info {
    overflow: hidden;
    position: relative;
    flex: 1;
}

.relate .list .info::before {
    position: absolute;
    top: 1px;
    z-index: -1;
    display: block;
    width: 24px;
    height: 24px;
    content: "问";
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 24px;
    background: #3375e2;
    border-radius: 5px;
}

.relate .list .info a {
    display: block;
    padding-left: 29px;
    color: #000;
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: .3s;
}

.relate .list .info a:hover {
    color: #3375e2;
    transition: .3s;
}

.relate .list .info p {
    margin-top: 14px;
    color: #999;
    font-size: 16px;
    line-height: 153%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.relate .list .info .sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.relate .list .info .sub a {
    color: #999;
    font-size: 14px;
}

.relate .list .info .doctor {
    display: flex;
    align-items: center;
    gap: 10px;
}

.relate .list .info .doctor h4 {
    color: #3375e2;
    font-size: 16px;
}

.relate .list .info .img {
    overflow: hidden;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
/* #endregion */

/* #region 医院 */
.hospital .content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hospital .box {
    overflow: hidden;
    position: relative;
    width: 47.4%;
    height: 100px;
    border-radius: 3px;
}

.hospital .box .img {
    width: 100%;
    height: 100%;
}

.hospital .box .info {
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 40px;
    padding: 0 10px;
    background: rgba(0, 0, 0, 0.5);
    transition: .3s;
}

.hospital .box:hover .info {
    height: 45px;
    transition: .3s;
}

.hospital .box .info a {
    color: #fff;
    font-size: 14px;
}
/* #endregion */