/* #region 基础 */
html {
    font-size: 16px;
}

@media screen and (min-width: 375px) {
    html {
        /* iPhone6的375px尺寸作为16px基准，414px正好18px大小, 600 20px */
        font-size: calc(100% + 2 * (100vw - 375px) / 39);
        font-size: calc(16px + 2 * (100vw - 375px) / 39);
    }
}

@media screen and (min-width: 414px) {
    html {
        /* 414px-1000px每100像素宽字体增加1px(18px-22px) */
        font-size: calc(112.5% + 4 * (100vw - 414px) / 586);
        font-size: calc(18px + 4 * (100vw - 414px) / 586);
    }
}

@media screen and (min-width: 600px) {
    html {
        /* 600px-1000px每100像素宽字体增加1px(20px-24px) */
        font-size: calc(125% + 4 * (100vw - 600px) / 400);
        font-size: calc(20px + 4 * (100vw - 600px) / 400);
    }
}

@media screen and (min-width: 1000px) {
    html {
        /* 1000px往后是每100像素0.5px增加 */
        font-size: calc(137.5% + 6 * (100vw - 1000px) / 1000);
        font-size: calc(22px + 6 * (100vw - 1000px) / 1000);
    }
}

.wrapper {
    box-sizing: border-box;
    width: 1400px;
    margin: 0 auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.clearfix {
    zoom: 1;
}

.clearfix::before,
.clearfix::after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0;
}

.img {
    font-size: 0;
}

.img a {
    display: block;
    width: 100%;
    height: 100%;
}

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

/* #endregion */

/* #region 头部 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 3rem;
    background: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.header .logo {
    width: 6.5rem;
}

.header .logo a {
    display: block;
    width: 100%;
    height: 100%;
}

.header .logo a>img {
    width: 100%;
    height: 100%;
}

.header .sidebar-btn {
    position: absolute;
    right: 1rem;
    width: 2rem;
    height: 2rem;
}

.header .sidebar-btn img {
    width: 100%;
    height: 100%;
}

/* #endregion */

/* #region 主体 */
.main {
    overflow: hidden;
    margin-top: 3rem;
    margin-bottom: 4.625rem;
    font-size: 0;
}

.module .title {
    display: flex;
    align-items: flex-end;
    gap: 0.3rem;
}

.module .title img {
    width: 1.2rem;
    height: 1.2rem;
}

.module .title h2 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 700;
}

.module .title h2>strong {
    color: #4574DB;
}

.module .title span {
    color: #b2caff;
    font-size: 0.06rem;
    font-weight: 700;
}

.module .title a {
    margin-left: auto;
    color: #b2caff;
    font-size: 0.06rem;
}

.main .content {
    font-size: 14px;
}

/* #endregion */

/* #region 底部 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 101;
    width: 100%;
    height: 3rem;
    background: #FCFCFC;
    padding: .8rem 0;
    /* box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2); */
}

.footer .footer-list {
    display: flex;
    width: 100%;
    height: 100%;
}

.footer .footer-list li {
    flex: 1;
    height: 100%;
}

.footer .footer-list a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.footer .footer-list a>img {
    width: 1.8rem;
    height: 1.8rem;
}

.footer .footer-list a>span {
    color: #4574DB;
    font-size: .8rem;
    margin-top: .3rem;
}

/* #endregion */

/* #region 轮播 */
.banner {
    width: 100%;
    height: 9rem;
}

.banner img {
    width: 100%;
    height: 100%;
}

.banner .pagination {
    position: absolute;
    bottom: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    gap: 0.3rem;
}

.banner .pagination li {
    width: 1.2rem;
    height: 0.3rem;
    background: #e5e5e5;
    border-radius: 5px;
}

.banner .pagination .active {
    background: #4574DB;
}

/* #endregion */

/* #region 横幅广告 */
.advertise {
    overflow: hidden;
    width: 100%;
    border-radius: 3px;
}

.advertise a {
    display: block;
    width: 100%;
    height: 100%;
}

.advertise a>img {
    width: 100%;
    height: 100%;
}

/* #endregion */

/* #region 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    margin: 0.6rem 1rem 0;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb .lead {
    display: flex;
    align-items: center;
    gap: 0.12rem;
}

.breadcrumb .lead img {
    width: 1.08rem;
    height: 1.08rem;
}

.breadcrumb .lead span {
    color: #999;
    font-size: 0.72rem;
}

.breadcrumb .list {
    overflow: hidden;
    flex: 1;
    display: flex;
    gap: 1.08rem;
}

.breadcrumb .list li {
    position: relative;
    max-width: 40%;
   font-size: 0.7rem;
}

.breadcrumb .list li:not(:last-child):after {
    position: absolute;
    top: -0.04rem;
    right: -0.9rem;
    content: ">";
    color: #999;
    font-size: 0.72rem;
}

.breadcrumb .list li>a {
    display: inline-block;
    width: 100%;
    color: #999;
    font-size: 0.72rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: 0.3s;
}

.breadcrumb .list li>a:hover {
    color: #4574DB;
    transition: 0.3s;
}

.breadcrumb .list .active a {
    color: #4574DB;
}

/* #endregion */

/* #region 分页 */
.pages {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1.8rem;
}

.pages a {
    display: inline-block;
    padding: 0.48rem 0.6rem;
    color: #999;
    font-size: 0.6rem;
    border: 1px solid #999;
    border-radius: 2px;
    transition: 0.3s;
}

.pages a:hover {
    color: #fff;
    background: #4574DB;
    border: 1px solid #4574DB;
    transition: 0.3s;
}

.pages .pagination {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.pages .pagination .active span {
    color: #fff;
    background: #4574DB;
    border: 1px solid #4574DB;
}

.pages .pagination li>span {
    display: inline-block;
    padding: 0.48rem 0.6rem;
    color: #999;
    font-size: 0.6rem;
    border: 1px solid #999;
    border-radius: 2px;
}

/* #endregion */

/* #region 精选头条 */
.hot {
    overflow: hidden;
}

.hot .list {
    position: relative;
}

.hot .list::after {
    position: absolute;
    top: 0.66rem;
    left: 11.76rem;
    z-index: -1;
    width: 17.76rem;
    height: 17.76rem;
    content: "";
    background: #ECEFF8;
    border-radius: 50%;
}

.hot .list li {
    position: relative;
    padding-left: 1.02rem;
}

.hot .list li::before {
    position: absolute;
    top: 0.18rem;
    left: 0;
    width: 0.72rem;
    height: 0.72rem;
    content: "";
    background: #b2caff;
}

.hot .list li:not(:first-child) {
    margin-top: 0.6rem;
}

.hot .list li:last-child {
    margin-bottom: 0.12rem;
}

.hot .list li>a {
    display: block;
    color: #333;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: 0.3s;
}

.hot .list li>a:hover {
    color: #4574DB;
    transition: 0.3s;
}

/* #endregion */

/* #region 热门话题 */
.topic .links {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.2rem;
    row-gap: 0.6rem;
}

.topic .links a {
    padding: 0.18rem 0.6rem;
    color: #4574DB;
    font-size: 0.84rem;
    border: 1px solid #4574DB;
    border-radius: 0.9rem;
}

/* #endregion */

/* #region 精选问答 */
.questions {
    overflow: hidden;
}

.questions .list {
    position: relative;
    counter-reset: section;
}

.questions .list::after {
    position: absolute;
    top: 1.66rem;
    left: 9.76rem;
    z-index: -1;
    width: 17.76rem;
    height: 17.76rem;
    content: "";
    background: #ECEFF8;
    border-radius: 50%;
}

.questions .list li {
    position: relative;
    padding-left: 1.38rem;
}

.questions .list li::before {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: .25rem;
    display: inline-block;
    width: 1.08rem;
    height: 1.08rem;
    counter-increment: section;
    content: counter(section);
    color: #4574DB;
    font-size: 0.6rem;
    text-align: center;
    border: 1px solid #4574DB;
    border-radius: 2px;
}

.questions .list li:first-child::before {
    color: #fff;
    background: #ff8578;
    border: 1px solid #ff8578;
}

.questions .list li:nth-child(2)::before {
    color: #fff;
    background: #ffa96b;
    border: 1px solid #ffa96b;
}

.questions .list li:nth-child(3)::before {
    color: #fff;
    background: #ffc773;
    border: 1px solid #ffc773;
}

.questions .list li:not(:first-child) {
    margin-top: 1rem;
}

.questions .list li:last-child {
    margin-bottom: 0;
}

.questions .list li>a {
    display: block;
    color: #333;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: 0.3s;
}

.questions .list li>a:hover {
    color: #4574DB;
    transition: 0.3s;
}

/* #endregion */

/* #region 更多精彩 */
.more .box {
    display: flex;
    gap: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e5e5e5;
}

.more .box:not(:first-child) {
    margin-top: 0.6rem;
}

.more .box:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.more .box .left {
    box-sizing: border-box;
    overflow: hidden;
    width: 3.6rem;
    padding: 0.6rem;
    border-radius: 2px;
}

.more .first .left {
    background: url(../images/tongcheng.png);
    background-size: 100% 100%;
}

.more .second .left {
    background: url(../images/tongyuan.png);
    background-size: 100% 100%;
}

.more .third .left {
    background: url(../images/tongxuqiu.png);
    background-size: 100% 100%;
}

.more .box .left span {
    color: #999;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.66rem;
    writing-mode: vertical-lr;
}

.more .box .right {
    flex: 1;
    text-align: right;
}

.more .box .links {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    column-gap: 0.84rem;
    row-gap: 0.6rem;
    min-height: 8.76rem;
}

.more .box .links a {
    color: #999;
    font-size: 1rem;
    transition: 0.3s;
}

.more .box .links a:hover {
    color: #4574DB;
    transition: 0.3s;
}

.more .box .right>a {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.18rem 1rem;
    color: #4574DB;
    font-size: 1rem;
    border: 1px solid #4574DB;
    border-radius: 0.72rem;
    transition: 0.3s;
}

.more .box .right>a:hover {
    color: #fff;
    background: #4574DB;
    transition: 0.3s;
}

/* #endregion */

/* #region */

/* #endregion */

/* #region 友情链接 */
.blogroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-top: 2.4rem !important;
}

.blogroll .logo {
    width: 7.2rem;
    height: 2.4rem;
}

.blogroll .logo a {
    display: block;
    width: 100%;
    height: 100%;
}

.blogroll .logo a>img {
    width: 100%;
    height: 100%;
}

.blogroll .links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.blogroll .links li>a {
    color: #333;
    font-size: 1rem;
    transition: 0.3s;
}

.blogroll .links li>a:hover {
    color: #4574DB;
    transition: 0.3s;
}

.blogroll .copyright {
    width: 100%;
    text-align: center;
}

.blogroll .copyright p {
    color: #999;
    font-size: 0.84rem;
    line-height: 1.5rem;
}

/* #endregion */

/* #region 遮罩 */
.mask {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* #endregion */

/* #region 侧边栏 */
.sidebar {
    box-sizing: border-box;
    overflow-y: auto;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 70%;
    height: 100%;
    padding: 1.8rem 0;
    background: #fff;
    transition: 0.3s;
}

.sidebar-checked {
    right: 0;
    transition: 0.3s;
}

.sidebar .logo {
    width: 8.4rem;
    height: 2.4rem;
}

.sidebar .logo img {
    width: 100%;
    height: 100%;
}

.sidebar .box {
    box-sizing: border-box;
    width: 100%;
    padding: 0 1rem;
}

.sidebar .box .title img {
    vertical-align: -0.24rem;
    width: 1.2rem;
    height: 1.2rem;
}

.sidebar .box .title span {
    color: #000;
    font-size: 0.84rem;
}

.sidebar .box .content {
    margin-top: 1.2rem;
}

.sidebar .box .list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.sidebar .box .list li {
    width: 45.8%;
}

.sidebar .box .list li>a {
    color: #333;
    font-size: 0.84rem;
    transition: 0.3s;
}

.sidebar .box .list li>a:hover {
    color: #4574DB;
    transition: 0.3s;
}

.sidebar .close {
    position: absolute;
    z-index: 1002;
    top: 1.2rem;
    left: 1.2rem;
    width: 1.8rem;
    height: 1.8rem;
    background: url(../images/close.png) no-repeat;
    background-size: 100% 100%;
}

/* #endregion */

.popups-mask {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.popups {
    box-sizing: border-box;
    position: fixed;
    bottom: -100%;
    z-index: 1002;
    width: 100%;
    max-height: 70%;
    padding: 1rem 1.8rem 0.6rem;
    text-align: center;
    background: #fff;
    border-radius: 20px 20px 0 0;
    transition: 0.3s;
}

.popups-show {
    bottom: 0;
}

.popups .title {
    color: #333;
    font-size: 20px;
}

.popups .list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.2rem;
    row-gap: 0.6rem;
    margin-top: 1.2rem;
}

.popups .list li {
    width: 20.4%;
    color: #999;
    font-size: 1rem;
    text-align: start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: 0.3s;
}

.popups .list li:hover {
    color: #4574DB;
    transition: 0.3s;
}

.popups .close {
    width: 100%;
    height: 3rem;
    color: #4574DB;
    font-size: 1rem;
    line-height: 3rem;
}

/* #region */
.article {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.article table tr:first-child td {
    min-width: 1.25rem;
    font-size: 0.75rem;
    color: #333;
    background: #edf7fb;
    border: #4574DB 1px solid;
    text-align: center;
    padding: 0.125rem 0.1875rem;
}

.article table tr td {
    font-size: 0.75rem;
    border: #ddd 1px solid;
    border-left: #ddd 1px solid;
    border-top: none;
    background: #FAFAFA;
    text-align: center;
    vertical-align: middle;
    padding: 0.3125rem;
}

.article .content .tips {
    background-color: #fdf3f3;
    border: 1px solid #4574DB;
    border-radius: 3px;
    padding: 0.3125rem;
}

.article .content .tips .tips-title {
    color: #4574DB;
    margin: 0;
}

.article .content .cite {
    border-left: 4px solid #4574DB;
    color: #4574DB;
    padding: 0.1875rem 0.1875rem 0.1875rem 0.3125rem;
    text-align: left;
    text-indent: 2em;
    background-color: #F1F1F1;
}

.article .content p {
    text-align: left;
}


.article .custom-tb {
    text-align: left;
}

.article .align-tr {
    height: 1rem;
    color: #999;
    font-size: 0.75rem;
}

.article .left-th {
    vertical-align: middle;
    width: 0.875rem;
    padding: 0.3125rem;
    text-align: center;
    background-color: #4574DB;
}


.article .top-th {
    vertical-align: middle;
    padding-left: 1rem;
    color: #333;
    font-size: 0.875rem;
    font-weight: bold;
    background-color: #FAFAFA;
}

.article .content-td {
    box-sizing: border-box;
    padding: 1rem;
    color: #666;
    font-size: 0.625rem;
    vertical-align: baseline;
    background-color: #FAFAFA;
}

.article .custom-tb .content-td {
    border-top: 1px solid #f0f0f0;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

/*问答样式*/
.article .dialogue li {
    margin-top: 1rem;
    list-style: none;
}

.article .dialogue li:first-child {
    margin-top: 0;
}

.article .dialogue li>div {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.article .dialogue .user {
    flex-direction: row-reverse;
}

.article .dialogue .name {
    color: #666;
    font-size: 0.75rem;
    text-align: center;
}

.article .dialogue .img {
    overflow: hidden;
    width: 2rem;
    height: 2rem;
    margin: 0 auto;
    margin-bottom: 0.3125rem;
    border-radius: 50%;
}

.article .dialogue .doctor .img {
    background-image: url("https://img-pgd.qm120.com/doctor-avatar.png");
    background-size: 100% 100%;
}

.article .dialogue .user .img {
    background-image: url("https://img-pgd.qm120.com/patient-avatar.png");
    background-size: 100% 100%;
}

.article .dialogue p {
    margin: 0 !important;
    text-indent: 0 !important;
    line-height: 130% !important;
    display: inline-block;
    max-width: 50%;
    padding: 0.3125rem 0.625rem;
    color: #333;
    font-size: 0.875rem;
    border-radius: 4px;
}

.article .dialogue .answer {
    background: #edf7fb;
}

.article .dialogue .question {
    background: #f5f5f5;
}

.content p img {
    max-width: 80%;
}

/* #endregion */

/* #region 其他城市 */
.neighbor-cities {
    flex: 1;
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem !important;
}

.neighbor-cities li>a {
    display: inline-block;
    padding: 0.125rem 0.75rem;
    color: #999;
    font-size: 0.875rem;
    background: #edf7fb;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
    transition: 0.3s;
}

.neighbor-cities li>a:hover {
    color: #3375e2;
    background: #edf7fb;
    border: 1px solid #3375e2;
    transition: 0.3s;
}

/* #endregion */