* {
    box-sizing: border-box;
    --themeColor: #ff2100;
    --themeColorYellow: #ffb400;
    --themeColorBlue: #0093fe;
}

body {
    margin: 0 auto;
    line-height: 1.5;
    background-color: #f4f4f5;
}

h2 {
    font-size: 0.26rem;
    color: #fff;
}

.swiper-container {
    width: 7.5rem;
    height: 3.5rem;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

header {
    width: 7.5rem;
    height: 1.78rem;
    background-color: #0591f9;
}

    header .header-title {
        padding-top: 0.28rem;
        text-align: center;
        width: 100%;
        height: 1rem;
        font-size: 0.32rem;
        color: #ffffff;
    }

    header .header-bottom-wrap {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 0.68rem;
    }

        header .header-bottom-wrap .gohome,
        header .header-bottom-wrap .login {
            color: #ffffff;
            font-size: 0.28rem;
        }

        header .header-bottom-wrap .keywords-search-wrap {
            display: flex;
            height: 0.66rem;
            border-radius: 0.3rem;
            background-color: #fff;
        }

            header .header-bottom-wrap .keywords-search-wrap .keywords-input {
                outline: none;
                padding: 0.08rem 0;
                width: 3.48rem;
                border-top-left-radius: 0.3rem;
                border-bottom-left-radius: 0.3rem;
                text-indent: 0.25rem;
                font-size: 0.26rem;
            }

            header .header-bottom-wrap .keywords-search-wrap .line {
                width: 0.01rem;
                background-color: #b2b2b2;
            }

            header .header-bottom-wrap .keywords-search-wrap .keywords-button {
                width: 1rem;
                line-height: 0.66rem;
                border-top-right-radius: 0.3rem;
                border-bottom-right-radius: 0.3rem;
                background-color: #fff;
                text-align: center;
                font-size: 0.26rem;
            }

/* 轮播图部分 start */
.carousel-wrap img {
    width: 100%;
    height: 100%;
}

/* 轮播图部分 end */
.recent-hot-wrap {
    padding: 0rem 0.2rem;
    background-color: #fff;
}

    .recent-hot-wrap .title {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        height: 0.72rem;
        font-size: 0.26rem;
    }

        .recent-hot-wrap .title .hot-title {
            display: flex;
        }

            .recent-hot-wrap .title .hot-title .hot-icon {
                margin-right: 0.22rem;
                width: 0.42rem;
                height: 0.42rem;
                background: url(../images/hot.png) no-repeat center / 100%;
            }

        .recent-hot-wrap .title .all {
            font-size: 0.26rem;
        }

    .recent-hot-wrap .content {
        margin-top: 0.28rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

        .recent-hot-wrap .content a {
            margin-bottom: 0.3rem;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 2.02rem;
            height: 0.5rem;
            border-radius: 0.2rem;
            color: #666666;
            background-color: #f1f1f1;
            font-size: 0.26rem;
        }

/* 提问部分 start */
.quiz-wrap {
    padding: 0 0.2rem;
    display: flex;
    justify-content: space-around;
    background-color: #fff;
}

    .quiz-wrap img {
        width: 2.2rem;
        height: 2.2rem;
        margin-bottom: 0.4rem;
    }

/* 提问部分 end */
/* 每周精选问答 start */
.week-faqs-wrap {
    padding: 0.2rem;
}

    .week-faqs-wrap .faqs-title {
        display: flex;
        padding: 0 0.2rem;
        justify-content: space-between;
        align-items: center;
        background-color: #fa614a;
        height: 0.8rem;
        border-radius: 0.2rem 0.2rem 0 0;
    }

        .week-faqs-wrap .faqs-title .title-left {
            display: flex;
            font-size: 0.26rem;
            color: #fff;
        }

            .week-faqs-wrap .faqs-title .title-left .crown-icon {
                width: 0.42rem;
                height: 0.42rem;
                background: url(../images/crown_icon.png) no-repeat center / 100%;
                margin-right: 0.2rem;
            }

        .week-faqs-wrap .faqs-title .title-right a {
            font-size: 0.26rem;
            color: #fff;
        }

    .week-faqs-wrap .faqs-content {
        background-color: #fff;
    }

        .week-faqs-wrap .faqs-content .tab-wrap {
            display: flex;
            justify-content: space-around;
            align-items: center;
            height: 1.08rem;
        }

            .week-faqs-wrap .faqs-content .tab-wrap span {
                font-size: 0.28rem;
            }

            .week-faqs-wrap .faqs-content .tab-wrap .current {
                color: var(--themeColor);
                border-bottom: 0.02rem solid var(--themeColor);
            }

        .week-faqs-wrap .faqs-content .faqs-item {
            margin-bottom: 0.3rem;
            display: flex;
            padding: 0 0.2rem;
        }

            .week-faqs-wrap .faqs-content .faqs-item .faqs-item-left img {
                width: 1.2rem;
                height: 1.2rem;
                margin-right: 0.2rem;
            }

            .week-faqs-wrap .faqs-content .faqs-item .faqs-item-right {
                display: flex;
                flex-direction: column;
                justify-content: space-around;
            }

                .week-faqs-wrap .faqs-content .faqs-item .faqs-item-right .faqs-issue {
                    font-size: 0.3rem;
                    display: -webkit-box;
                    overflow: hidden;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                }

                .week-faqs-wrap .faqs-content .faqs-item .faqs-item-right .faqs-issue-info {
                    display: flex;
                    font-size: 0.26rem;
                    color: #959595;
                }

                    .week-faqs-wrap .faqs-content .faqs-item .faqs-item-right .faqs-issue-info .faqs-time {
                        padding-right: 0.28rem;
                    }

/* 每周精选问答 end */
/* 最新问答 start */
.newest-faqs-wrap {
    padding: 0.2rem;
}

    .newest-faqs-wrap .faqs-title {
        display: flex;
        padding: 0 0.2rem;
        justify-content: space-between;
        align-items: center;
        background-color: var(--themeColorYellow);
        height: 0.8rem;
        border-radius: 0.2rem 0.2rem 0 0;
    }

        .newest-faqs-wrap .faqs-title .title-left {
            display: flex;
            font-size: 0.26rem;
            color: #fff;
        }

            .newest-faqs-wrap .faqs-title .title-left .crown-icon {
                width: 0.42rem;
                height: 0.42rem;
                background: url(../images/new_icon.png) no-repeat center / 100%;
                margin-right: 0.2rem;
            }

        .newest-faqs-wrap .faqs-title .title-right a {
            font-size: 0.26rem;
            color: #fff;
        }

    .newest-faqs-wrap .faqs-content {
        background-color: #fff;
    }

        .newest-faqs-wrap .faqs-content .tab-wrap {
            display: flex;
            justify-content: space-around;
            align-items: center;
            height: 1.08rem;
        }

            .newest-faqs-wrap .faqs-content .tab-wrap span {
                font-size: 0.28rem;
            }

            .newest-faqs-wrap .faqs-content .tab-wrap .current {
                color: var(--themeColorYellow);
                border-bottom: 0.02rem solid var(--themeColorYellow);
            }

        .newest-faqs-wrap .faqs-content .faqs-item {
            margin-bottom: 0.3rem;
            display: flex;
            padding: 0 0.2rem;
        }

            .newest-faqs-wrap .faqs-content .faqs-item .faqs-item-left img {
                width: 1.2rem;
                height: 1.2rem;
                margin-right: 0.2rem;
            }

            .newest-faqs-wrap .faqs-content .faqs-item .faqs-item-right {
                display: flex;
                flex-direction: column;
                justify-content: space-around;
            }

                .newest-faqs-wrap .faqs-content .faqs-item .faqs-item-right .faqs-issue {
                    font-size: 0.3rem;
                    display: -webkit-box;
                    overflow: hidden;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                }

                .newest-faqs-wrap .faqs-content .faqs-item .faqs-item-right .faqs-issue-info {
                    display: flex;
                    font-size: 0.26rem;
                    color: #959595;
                }

                    .newest-faqs-wrap .faqs-content .faqs-item .faqs-item-right .faqs-issue-info .faqs-time {
                        padding-right: 0.28rem;
                    }

/* 最新问答 end */
/* 精选药品推荐 start */
.selection-drugs-wrap {
    padding: 0.2rem;
}

    .selection-drugs-wrap .wrap-title {
        display: flex;
        padding: 0 0.2rem;
        justify-content: space-between;
        align-items: center;
        background-color: var(--themeColorBlue);
        height: 0.8rem;
        border-radius: 0.2rem 0.2rem 0 0;
    }

        .selection-drugs-wrap .wrap-title .title-left {
            display: flex;
            font-size: 0.26rem;
            color: #fff;
        }

            .selection-drugs-wrap .wrap-title .title-left .crown-icon {
                width: 0.42rem;
                height: 0.42rem;
                background: url(../images/start_icon.png) no-repeat center / 100%;
                margin-right: 0.2rem;
            }

        .selection-drugs-wrap .wrap-title .title-right a {
            font-size: 0.26rem;
            color: #fff;
        }

    .selection-drugs-wrap .wrap-content {
        overflow: hidden;
        background-color: #fff;
    }

        .selection-drugs-wrap .wrap-content .carousel-wrap {
            width: 100%;
            height: 3.4rem;
        }

            .selection-drugs-wrap .wrap-content .carousel-wrap img {
                width: 100%;
                height: 100%;
            }

        .selection-drugs-wrap .wrap-content .product-item {
            margin-bottom: 0.3rem;
            display: flex;
            padding: 0 0.2rem;
        }

            .selection-drugs-wrap .wrap-content .product-item:nth-child(2) {
                margin-top: 0.48rem;
            }

            .selection-drugs-wrap .wrap-content .product-item .product-item-left img {
                width: 1.82rem;
                height: 1.8rem;
                margin-right: 0.2rem;
            }

            .selection-drugs-wrap .wrap-content .product-item .product-item-right {
                display: flex;
                flex-direction: column;
                justify-content: space-around;
            }

                .selection-drugs-wrap .wrap-content .product-item .product-item-right .product-name {
                    font-size: 0.3rem;
                    display: -webkit-box;
                    overflow: hidden;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                }

                .selection-drugs-wrap .wrap-content .product-item .product-item-right .product-effect {
                    color: #818181;
                    display: -webkit-box;
                    overflow: hidden;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 1;
                }

                .selection-drugs-wrap .wrap-content .product-item .product-item-right .view-detail {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 1.44rem;
                    height: 0.4rem;
                    background-color: var(--themeColorBlue);
                    color: #fff;
                    font-size: 0.26rem;
                    border-radius: 0.2rem;
                }

        .selection-drugs-wrap .wrap-content .view-more {
            padding-top: 0.4rem;
            padding-bottom: 0.6rem;
            display: flex;
            justify-content: center;
            align-items: center;
        }

            .selection-drugs-wrap .wrap-content .view-more a {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 3.84rem;
                height: 0.72rem;
                background-color: var(--themeColorBlue);
                color: #fff;
                font-size: 0.32rem;
                border-radius: 1.2rem;
            }

/* 精选药品推荐 end */
/* footer start */
footer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 1.9rem;
}

    footer .footer-nav {
        display: flex;
    }

        footer .footer-nav:nth-child(2) {
            margin-top: 0.3rem;
        }

        footer .footer-nav li {
            padding: 0 0.28rem;
            border-right: 0.02rem solid #a4a4a5;
        }

            footer .footer-nav li a {
                color: #666666;
                font-size: 0.28rem;
            }

            footer .footer-nav li:nth-last-child(1) {
                border-right: none;
            }

            footer .footer-nav li .gotop-icon {
                display: inline-block;
                margin-right: 0.1rem;
                width: 0.34rem;
                height: 0.34rem;
                background: url(../images/gotop_icon.png) no-repeat center / 100%;
            }

        footer .footer-nav .current {
            border-right: none;
        }

        footer .footer-nav .gotop {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-left: 0.72rem;
            padding-right: 0;
            color: #666666;
            font-size: 0.28rem;
        }

    footer .footer-copyright {
        margin-top: 0.26rem;
        color: #a4a4a5;
        font-size: 0.28rem;
    }

    footer .service {
        position: fixed;
        width: 0.84rem;
        height: 0.84rem;
        background: url(../images/service.png) no-repeat center / 100%;
        bottom: 12%;
        right: 1%;
        z-index: 999;
    }

/* footer end */
.active {
    background-color: #cceafd !important;
    color: #0992f8 !important;
}
