* {
    padding: 0;
    box-sizing: border-box;
    margin: 0;
}

.main-bg {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    background-color: #fafafc;
}

a {
    text-decoration: none;
}

@font-face {
    font-family: 'TimesCustom';
    src: url('./times.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'TimesCustom', serif;
}

.top-list {
    background-color: #f6f6f6 !important;
}

.main-body {
    width: 100%;
    padding: 0 0.3rem;
    margin-bottom: 0.3rem;
    position: absolute;
    top: 0.8rem;
    background-color: #fafafc;
    overflow-x: hidden;

    .top-banner {
        position: relative;
        left: -0.3rem;
        width: calc(100% + 0.6rem);
        height: 4rem;
        background: url(../img/top-banner.png) no-repeat center 100%/ 100% 100%;
        padding: 0 0.3rem;
        display: flex;
        align-items: center;
        margin-bottom: 0.3rem;

        .banner-words {
            p {
                font-size: 0.38rem;
                color: #FFFFFF;
                line-height: 0.52rem;
            }

            a {
                width: 2.6rem;
                height: 0.52rem;
                background-color: #E70012;
                border-radius: 0.24rem;
                display: block;
                color: #FFFFFF;
                text-align: center;
                line-height: 0.52rem;
                font-size: 0.24rem;
                margin-top: 0.16rem;
            }
        }
    }

    .three-parts {
        display: flex;
        justify-content: space-between;

        a {
            display: block;
            width: 2.16rem;
            height: 1.6rem;
            background-color: #f5f5f7;
            border-radius: 4px;
            border: 1px solid #ddd;
            display: flex;
            justify-content: center;
            align-items: center;

            .tp-bg {
                .tp-img {
                    width: 0.64rem;
                    height: 0.64rem;
                    background-color: #ccc;
                    margin: 0 auto;
                    margin-bottom: 0.12rem;
                }

                p {
                    font-size: 0.24rem;
                    line-height: 0.22rem;
                    color: #000;
                }
            }
        }
    }
}

.li-active {
    p {
        color: #E70012 !important;
        font-weight: bold !important;
    }
}

.list-container {
    width: calc(100% + 0.6rem);
    position: relative;
    left: -0.3rem;
}

/* 通用列表样式重置 */
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


.top-list::-webkit-scrollbar {
    height: 6px;
}

.top-list::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

/* 底部菜单容器 */
.bottom-container {
    position: relative;
}

/* 底部菜单切换按钮 */
.toggle-btn {
    background: url(../img/rt-fl.png) no-repeat center 100%/ 100% 100%;
    position: absolute;
    z-index: 9999;
    right: 0.3rem;
    width: 1.17rem;
    height: 0.9rem;
    top: 0;
    border: 0;
}

/* 底部列表样式 */
.gd-list {
    position: absolute;
    width: 100%;
    top: 0;
    display: none;
    left: -0.3rem;
    overflow: hidden;
    padding: 0 0.3rem;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.gd-list.show {
    display: block;
}

.gd-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    left: 0;
}

.gd-list ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

.selected {
    p {
        color: #E70012 !important;
        font-weight: bold !important;
    }

}

.gd-zkk {
    flex-wrap: wrap;
    padding: 0.3rem 0;
    position: relative;
    z-index: 10;
    border-bottom: rgba(0, 0, 0, 0.1);

    li {
        text-align: center;
        width: 2.1rem !important;
        background-color: #eee;
        border-radius: 4px;
        margin-bottom: 0.2rem;

        &:last-child {
            margin-right: 0 !important;
        }

        p {
            padding: 0 !important;
            line-height: 0.6rem !important;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            padding: 0 0.1rem !important;
        }
    }
}

.bottom-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.1);
}

.top-list-placeholder {
    height: 2.7rem;
}

.nomal-title {
    width: 100%;
    height: 0.34rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.3rem 0;

    i {
        display: inline-block;
        vertical-align: middle;
        width: 2px;
        height: 0.24rem;
        background-color: #e70012;
        margin-right: 0.16rem;
    }

    p {
        font-size: 0.3rem;
        color: #000;
        display: inline-block;
        vertical-align: middle;
        line-height: 0.34rem;
        font-weight: bold;
        text-transform: uppercase;
    }

    span {
        display: block;
        width: 0.24rem;
        height: 0.24rem;
        background: url(../img/jt.png) no-repeat center 100% / 100% 100%;
    }
}

.pa-body {
    width: 100%;
    margin-bottom: 0.3rem;

    ul {
        li {
            width: 100%;
            height: 2rem;
            margin-bottom: 0.2rem;
            background-color: #fff;
            border-radius: 4px;
            overflow: hidden;

            a {
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: space-between;

                img {
                    width: 2rem;
                    height: 2rem;
                    background-color: #000;
                }

                .pa-lt {
                    width: calc(100% - 2rem);
                    height: 100%;
                    padding: 0.2rem;

                    .pb-bq {
                        display: inline-block;
                        font-size: 0.22rem;
                        line-height: 0.36rem;
                        padding: 0 0.2rem;
                        background-color: #f5f5f7;
                        border-radius: 0.18rem;
                        color: #333;
                    }

                    /* p {
                        font-size: 0.24rem;
                        line-height: 0.32rem;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        color: #333;
                        margin: 0.16rem 0;
                    } */

                    p {
                        font-size: 0.26rem;
                        line-height: 0.32rem;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        color: #333;
                        margin: 0.08rem 0;
                        margin-bottom: 0.66rem;
                        height: 0.64rem;
                    }

                    span {
                        font-size: 0.24rem;
                        color: #999;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 1;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        color: #999;
                    }
                }
            }
        }
    }
}

.fv-body {
    position: relative;
    left: -0.3rem;
    width: calc(100% + 0.6rem);
    background-color: #f0f1f3;
    margin-bottom: 0.3rem;
    padding: 0.3rem;

    .nomal-title {
        margin: 0;
    }

    ul {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-top: 0.3rem;

        li {
            width: 3.35rem;
            height: 3.2rem;
            border-radius: 4px;
            overflow: hidden;

            a {
                display: block;
                width: 100%;
                height: 100%;

                .img-bg {
                    position: relative;

                    .img-maskk {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 1.8rem;
                        background: rgba(0, 0, 0, 0.2);
                        z-index: 5;
                    }

                    img {
                        width: 100%;
                        height: 1.8rem;
                        object-fit: cover;
                    }

                    .icon-play {
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        display: block;
                        width: 0.6rem;
                        height: 0.6rem;
                        z-index: 9;
                        background: url(../img/icon-play.png) no-repeat center 100%/100% 100%;
                    }
                }

                .fv-bom {
                    width: 100%;
                    height: 1.4rem;
                    background-color: #fff;
                    padding: 0.16rem;

                    p {
                        font-size: 0.24rem;
                        line-height: 0.28rem;
                        margin-bottom: 0.27rem;
                        color: #333;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }

                    .bom-wrods {
                        display: flex;
                        justify-content: space-between;

                        .bw-lt {
                            display: flex;
                            align-items: center;

                            .time-icon {
                                width: 0.2rem;
                                height: 0.2rem;
                                background: url(../img/time-icon.png) no-repeat center 100% /100% 100%;
                                margin-right: 0.08rem;
                            }
                        }


                        span {
                            font-size: 0.22rem;
                            color: #999;
                        }
                    }
                }
            }
        }
    }
}

.bottom-block {
    width: 100%;
    height: 1.32rem;
}

.faq-body {
    position: relative;
    left: -0.3rem;
    width: calc(100% + 0.6rem);
    height: 6.8rem;
    background-color: #fff;
    margin-bottom: 0.6rem;

    ul {
        li {
            width: 100%;
            height: 1.7rem;
            border-bottom: 1px solid #eee;
            padding: 0 0.3rem;

            &:first-child {
                border-top: 1px solid #eee;
            }

            a {
                width: 100%;
                height: 100%;
                display: flex;
                align-items: center;

                .faq-top {
                    display: flex;
                    /* justify-content: space-between; */
                    margin-bottom: 0.2rem;

                    img {
                        width: 0.64rem;
                        height: 0.64rem;
                        margin-right: 0.2rem;
                    }

                    p {
                        font-size: 0.24rem;
                        line-height: 0.32rem;
                        color: #333;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }
                }

                span {
                    position: relative;
                    left: 0.84rem;
                    font-size: 0.24rem;
                    color: #999;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 1;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }
        }
    }
}