:root {
    /* 主色调 */
    --primary-color: #e70012;
    --nomal-color: #111E36;
    --orange-color: #FF8300
}

.main-bg {
    width: 100%;
    margin: 0 auto;
    background-color: #FAFAFC;
}

.main-bgbg {
    max-width: 1540px;
    padding-top: 20px;
    padding-bottom: 60px;
    margin: 0 auto;
}

.main-top {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    max-width: 1540px;
    margin: 0 auto;
}

.top-search {
    width: 40%;
    height: 40px;
    background-color: #fff;
    border-radius: 20px;
    padding-left: 20px;
    border: 1px solid #D9D9D9;
    box-sizing: content-box;
    display: flex;
    justify-content: space-between;
    overflow: hidden;

    input {
        width: calc(100% - 90px);
        height: 100%;
        border: 0;
        outline: none;

    }

    input:focus::placeholder,
    input:not(:placeholder-shown)::placeholder {
        color: transparent;
    }

    .search-icon {
        width: 70px;
        height: 100%;
        cursor: pointer;
        background-color: #e8e9eb;
        display: flex;
        justify-content: center;
        align-items: center;

        &:hover {
            background-color: #dddee0;
        }

        img {
            width: 17.5px;
            height: 27px;
        }
    }
}

.list-title {
    height: 40px;
    z-index: 999;
    position: relative;
    cursor: pointer;
    margin-right: 20px;

    a {
        display: flex;
        align-items: center;
        width: 100%;
        height: 100%
    }

    .title-icon {
        width: 30px;
        display: inline-block;
        vertical-align: middle;
        height: 30px;
        margin-right: 6px;
        background: url(../img/title-icon.png) 100% / 100% 100%;
    }

    span {
        font-size: 18px;
        font-weight: bold;
        display: inline-block;
        vertical-align: middle;
        color: #222;
    }
}

.main-mid {
    position: relative;
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;

    .main-mlt {
        width: calc(100% - 385px);
        height: 100%;

        .video-body {
            width: 100%;
            height: 680px;
            background-color: #000;
            margin-bottom: 20px;
            border-radius: 16px;
            overflow: hidden;

            video {
                width: 100%;
                height: 100%;
            }
        }

        .answer-rt {
            width: 100%;
            height: 100%;
            background-color: #fff;
            padding: 20px 30px;
            border-radius: 12px;

            .answer-rtbg {
                width: 100%;

                .answer-title {
                    width: 100%;
                    margin-bottom: 10px;

                    h3 {
                        font-size: 24px;
                        color: var(--nomal-color);
                        font-weight: bold;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        line-height: 35px;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        margin: 0;
                        cursor: pointer;
                    }
                }

                .answer-cz {
                    width: 100%;
                    height: 20px;
                    margin-bottom: 20px;

                    ul {
                        width: 100%;
                        height: 100%;
                        display: flex;

                        li {
                            display: flex;
                            align-items: center;
                            margin-right: 20px;

                            .czeye-icon {
                                width: 20px;
                                height: 20px;
                                background: url(../img/eyes.png) no-repeat center 100%/ 100% 100%;
                            }

                            .czawn-icon {
                                width: 20px;
                                height: 20px;
                                background: url(../img/anw.png) no-repeat center 100%/ 100% 100%;
                            }

                            p {
                                margin: 0;
                                font-size: 14px;
                                line-height: 20px;
                                color: #6B7280;
                                display: -webkit-box;
                                -webkit-box-orient: vertical;
                                line-height: 35px;
                                -webkit-line-clamp: 1;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                margin: 0;
                            }
                        }
                    }
                }

                /* .answer-container {
                    margin-bottom: 20px;
                } */
            }
        }
    }

    .main-mrt {
        width: 365px;
        height: 100%;
    }
}

.main-qyde {
    .answer-bg {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;

        .answer-rt {
            width: calc(100% - 310px);
            height: 100%;
            background-color: #fff;
            padding: 30px;

            .answer-rtbg {
                width: 100%;

                .answer-title {
                    width: 100%;
                    margin-bottom: 10px;

                    h3 {
                        font-size: 24px;
                        color: var(--nomal-color);
                        font-weight: bold;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        line-height: 35px;
                        -webkit-line-clamp: 2;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        margin: 0;
                        cursor: pointer;
                    }
                }

                .answer-cz {
                    width: 100%;
                    height: 20px;
                    margin-bottom: 20px;

                    ul {
                        width: 100%;
                        height: 100%;
                        display: flex;

                        li {
                            display: flex;
                            align-items: center;
                            margin-right: 20px;

                            .czeye-icon {
                                width: 20px;
                                height: 20px;
                                background: url(../img/eyes.png) no-repeat center 100%/ 100% 100%;
                            }

                            .czawn-icon {
                                width: 20px;
                                height: 20px;
                                background: url(../img/anw.png) no-repeat center 100%/ 100% 100%;
                            }

                            p {
                                margin: 0;
                                font-size: 14px;
                                line-height: 20px;
                                color: #6B7280;
                                display: -webkit-box;
                                -webkit-box-orient: vertical;
                                line-height: 35px;
                                -webkit-line-clamp: 1;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                margin: 0;
                            }
                        }
                    }
                }

                .answer-container {
                    margin-bottom: 20px;
                }

                .report-bg {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    width: 100%;
                    height: 50px;
                    background-color: #FAFAFA;
                    padding: 0 20px;

                    .report-lt {
                        display: flex;
                        align-items: center;

                        .report-icon {
                            width: 16px;
                            height: 16px;
                            background: url(../img/report.png) no-repeat center 100% / 100% 100%;
                            margin-right: 8px;

                        }

                        p {
                            color: #9E9E9E;
                            font-size: 14px;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 1;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            line-height: 35px;
                            margin: 0;
                        }
                    }

                    .report-rt {
                        cursor: pointer;
                        font-size: 14px;
                        color: var(--nomal-color);
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 1;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        color: var(--nomal-color);

                        &:hover {
                            color: var(--primary-color);
                        }
                    }
                }
            }
        }
    }
}


&::after {
    content: "";
    display: block;
    clear: both;
}

.czpost-wz {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #6B7280;

    &>p {
        margin: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        line-height: 60px;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
    }

    span {
        margin: 0 6px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        line-height: 60px;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    i {
        font-style: normal;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        line-height: 60px;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
    }
}

.comment-per {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-top: 20px;

    .comment-rt {
        width: 100%;
        height: 100%;
        background-color: #fff;
        border-radius: 12px;
        overflow: hidden;

        .coet-rttop {
            display: flex;
            align-items: center;
            width: 100%;
            height: 60px;
            border-bottom: 1px solid #eee;
            padding: 0 30px;

            .czpost-person {

                margin-right: 8px;

                a {
                    display: flex;
                    align-items: center;
                }

                img {
                    width: 28px;
                    height: 28px;
                    border-radius: 50%;
                    border: 1px solid rgba(0, 0, 0, 0.1);
                    margin-right: 10px;
                }

                p {
                    margin: 0;
                    line-height: 60px;
                    font-size: 13px;
                    color: var(--nomal-color);
                }
            }
        }

        .czpost-contain {
            width: 100%;
            padding: 20px 30px;
        }
    }
}

.comment-cz {
    width: 100%;
    height: 30px;
    margin-bottom: 20px;
    display: flex;

    ul {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: flex-end;

        li {
            margin-left: 24px;
            cursor: pointer;
            margin-left: 8px;

            .com-czbg {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .com-czbg-like {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            img {
                width: 30px;
                height: 30px;
                margin-right: 3px;
            }

            p {
                margin: 0;
                font-size: 14px;
                color: #666D7F;
                line-height: 30px;
            }
        }
    }
}

.comment-czaw {
    width: 100%;
    background-color: #FAFAFA;
    padding: 20px 20px;

    >ul {
        width: 100%;
        height: 100%;

        >li {
            width: 100%;
            display: flex;
            padding-bottom: 20px;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;

            &:last-child {
                border: 0;
                margin-bottom: 0;
                padding-bottom: 0;
            }

            .czaw-lt {
                width: 28px;
                margin-right: 10px;

                img {
                    width: 28px;
                    height: 28px;
                    border-radius: 50%;
                    cursor: pointer;
                    border: 1px solid #eee;
                }
            }

            .czaw-mid {
                width: calc(100% - 38px);

                .czaw-midt {
                    width: 100%;
                    height: 28px;
                    margin-bottom: 6px;

                    .midt-name {
                        display: flex;
                        align-items: center;

                        p {
                            color: var(--nomal-color);
                            margin: 0;
                            font-size: 14px;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 1;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            max-width: 400px;
                            line-height: 28px;
                        }

                        >ul {
                            width: auto;
                            height: 100%;
                            margin-left: 8px;
                            display: flex;

                            >li {
                                margin-right: 6px;

                                p {
                                    margin: 0;
                                    color: #0055FF;
                                    padding: 0 4px;
                                    background-color: rgba(0, 85, 255, 0.1);
                                    line-height: 28px;
                                    border-radius: 4px 0 4px 0;
                                }
                            }
                        }
                    }
                }

                .czaw-midm {
                    width: 100%;
                }

                .czaw-midb {
                    width: 100%;
                    height: 26px;
                    margin-bottom: 6px;

                    >.czpost-wz {
                        color: #AFB4BE;

                        p {
                            color: #AFB4BE;
                        }
                    }
                }

                .btom-pl {
                    width: 100%;
                    height: 20px;

                    ul {
                        width: 100%;
                        height: 100%;
                        display: flex;
                        justify-content: flex-end;

                        li {
                            margin-left: 10px;
                            cursor: pointer;

                            .com-czbg {
                                display: flex;
                                align-items: center;
                                justify-content: center;
                            }

                            .com-czbg-like {
                                display: flex;
                                align-items: center;
                                justify-content: center;

                            }

                            img {
                                width: 20px;
                                height: 20px;
                                margin-right: 3px;
                            }

                            p {
                                margin: 0;
                                font-size: 14px;
                                color: #666D7F;
                                line-height: 20px;
                            }
                        }
                    }
                }
            }
        }
    }
}

.post-response {
    width: 100%;
    background-color: #fff;
    margin-top: 10px;
    padding: 10px 10px 40px 10px;
    display: flex;
    justify-content: space-between;

    .response-lt {
        width: 290px;
        height: 300px;
        background-color: #FAFAFA;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;

        .response-bg {
            width: 100%;
            text-align: center;

            img {
                width: 100px;
                height: 100px;
                margin-bottom: 10px;
                border-radius: 50%;
                border: 1px solid #eee;
            }

            p {
                line-height: 26px;
                font-size: 18px;
                color: var(--nomal-color);
                margin: 0;
                font-weight: bold;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 1;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
    }

    .response-rt {
        width: calc(100% - 300px);
        display: flex;
        align-items: center;
        padding-right: 20px;
        padding-left: 30px;
    }
}

.post-reply {
    width: 100%;
    margin-top: 20px;

    .post-reply-title {
        margin-bottom: 14px;

        p {
            line-height: 26px;
            font-size: 18px;
            font-weight: bold;
            color: var(--nomal-color);
            margin: 0;
        }
    }

    textarea {
        width: 100%;
        padding: 16px 20px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        min-height: 134px;
        margin-bottom: 4px;

        &::placeholder {
            font-size: 14px;
            color: #999CAB;
            line-height: 26px;
        }
    }

    .post-reply-bottom {
        width: 100%;
        height: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .prt-lt {
            display: flex;
            align-items: center;

            .image-icon {
                width: 20px;
                height: 20px;
                background: url(../img/image.png) no-repeat center 100% / 100% 100%;
                cursor: pointer;
            }

            .smile-icon {
                width: 20px;
                height: 20px;
                background: url(../img/smile.png) no-repeat center 100% / 100% 100%;
                margin-left: 18px;
                margin-right: 8px;
                cursor: pointer;
            }

            p {
                line-height: 20px;
                font-size: 14px;
                color: var(--nomal-color);
                margin: 0;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 1;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }

        .prt-rt {
            width: 90px;
            height: 40px;
            background-color: var(--orange-color);
            border-radius: 4px;
            font-size: 14px;
            color: #fff;
            line-height: 42px;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.2s ease;

            &:hover {
                background-color: #ffa800;
            }
        }
    }
}

.bg-right-one {
    float: none;
    width: 100%;
    height: max-content;
    background-color: #fff;
    border-radius: 6px;
    padding: 24px 24px 4px 24px;
    margin-bottom: 20px;

    .br-title {
        /* margin-bottom: 20px; */

        p {
            font-size: 18px;
            line-height: 18px;
            color: #111E36;
            font-weight: bold;
            white-space: nowrap;
        }
    }

    ul {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

        li {
            position: relative;
            width: 47%;
            margin-bottom: 10px;
            text-align: center;
            overflow: hidden;
            cursor: pointer;

            &:hover {
                i {
                    color: var(--primary-color);
                }

                img {
                    transform: scale(1.1);
                }
            }

            a {
                position: absolute;
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                z-index: 999;
            }

            .ccle-bg {
                overflow: hidden;
                border-radius: 8px;
                border: 1px solid rgba(0, 0, 0, 0.1);
            }

            img {
                object-fit: cover;
                background-color: #F2F2F2;
                border-radius: 8px;
                transition: transform 0.2s ease-in-out;
            }

            i {
                width: 100%;
                color: #111E36;
                font-size: 14px;
                line-height: 36px;
                font-style: normal;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 1;
                overflow: hidden;
                text-overflow: ellipsis;
                font-style: normal;
            }
        }
    }

    &::after {
        content: "";
        display: block;
        clear: both;
    }
}

.bg-right-two {
    float: none;
    width: 100%;
    height: max-content;
    background-color: #fff;
    border-radius: 6px;
    padding: 24px 24px 24px 24px;
    margin-bottom: 20px;

    .rt-person {
        width: 100%;
        height: 44px;
        margin-bottom: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .rp-lt {
            height: 100%;
            display: flex;

            a {
                display: flex;
                justify-content: space-between;
            }

            img {
                width: 44px;
                height: 44px;
                border-radius: 10px;
                overflow: hidden;
                margin-right: 8px;
                cursor: pointer;
            }

            span {
                width: 170px;
                color: var(--nomal-color);
                font-size: 18px;
                line-height: 22px;
                white-space: normal;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                overflow: hidden;
                text-overflow: ellipsis;
                font-weight: bold;
                cursor: pointer;
            }
        }

        .rp-rt {
            cursor: pointer;
            width: 84px;
            height: 30px;
            border-radius: 15px;
            border: 1px solid #CED3D9;
            text-align: center;
            line-height: 30px;
            font-size: 14px;
            color: var(--nomal-color);

            &:hover {
                background-color: var(--primary-color);
                color: #fff;
                border: 0;
            }
        }
    }

    .br-title {
        /* margin-bottom: 20px; */

        p {
            font-size: 18px;
            line-height: 18px;
            color: #111E36;
            font-weight: bold;
            white-space: nowrap;
        }
    }

    ul {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;

        li {
            .more-topbg {
                width: 160px;
                height: 160px;
                border: 1px solid rgba(0, 0, 0, 0.1);
                overflow: hidden;
                border-radius: 10px;

                &:hover {
                    border: 1px solid rgba(0, 0, 0, 0.3);
                }

                .more-top {
                    position: relative;
                    padding: 6%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }
            }


            height: 160px;
            width: 100%;
            margin-bottom: 16px;
            cursor: pointer;
            position: relative;
            display: flex;
            justify-content: space-between;

            a {
                display: flex;
                justify-content: space-between;
                position: relative;
            }

            &:last-child {
                margin-bottom: 0;
            }

            img {
                border-radius: 10px;
                overflow: hidden;
            }

            .li-rig {
                width: calc(100% - 170px);
                height: 100%;

                p {
                    font-size: 16px;
                    line-height: 22px;
                    color: var(--nomal-color);
                    white-space: normal;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 5;
                    overflow: hidden;
                    text-overflow: ellipsis;

                    &:hover {
                        color: var(--primary-color);
                    }
                }
            }

        }
    }

    &::after {
        content: "";
        display: block;
        clear: both;
    }
}

.product-list {
    width: 100%;
    background-color: #fff;
    margin-top: 20px;
    padding: 30px;
    border-radius: 12px;

    .product-titles {
        width: 100%;
        position: relative;
        height: 44px;
        margin-bottom: 20px;

        .icon {
            width: 44px;
            height: 44px;
            position: absolute;
            top: 0;
            left: 0;
            background: url(../img/hp.png) 100% / 100% 100%;
        }

        h3 {
            line-height: 44px;
            color: #000;
            position: absolute;
            left: 45px;
            font-size: 24px;
            font-weight: bold;
            margin: 0;
            top: 0;
        }
    }

    ul {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-between;

        li {
            width: 18%;

            a {
                width: 100%;
                overflow: hidden;
            }

            .pro-list {
                border-radius: 12px;
                max-width: 190px;
                max-height: 194px;
                border: 1px solid rgba(0, 0, 0, 0.1);
                box-sizing: content-box;
                overflow: hidden;
                padding: 8%;

                &:hover {
                    border: 1px solid rgba(0, 0, 0, 0.3);
                }

                img {
                    width: 100%;
                    cursor: pointer;
                }
            }

            .pro-words {
                line-height: 0;

                span {
                    color: var(--nomal-color);
                    font-size: 14px;
                    margin-top: 8px;
                    line-height: 22px;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }

                p {
                    margin: 0;
                    font-size: 17px;
                    line-height: 28px;
                    color: var(--nomal-color);
                    font-weight: bold;
                    margin-top: 8px;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                    text-overflow: ellipsis;

                    i {
                        color: var(--primary-color);
                        font-style: normal;
                    }
                }
            }
        }
    }
}

.li-time {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 2px 6px;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .75);
    z-index: 999;
}

.zoom-element {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.zoom-element:hover {
    transform: scale(1.12);
    @apply scale-105 shadow-xl transition-all duration-400 ease-in
}

.play-btn {
    position: absolute;
    width: 48px;
    z-index: 9999;
    height: 48px;
    background: url(../img/paly-btn.png) 100% /100% 100%;
}

.quick-reply {
    margin-left: 24px;

    p {
        transition: background-color 0.2s ease;
    }

    &:hover {
        p {
            background-color: #ffa800 !important;
        }
    }

    p {
        color: #fff;
        font-size: 12px;
        border-radius: 4px;
        line-height: 28px;
        border: 4px;
        background-color: var(--orange-color);
        margin: 0;
        padding: 0 10px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        /* 限制行数为1 */
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
    }
}

.Post-xl {
    position: relative;
    width: 64px;
    height: 28px;
    background-color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;

    &:hover {
        p {
            background-color: red !important;
            border-radius: 4px;
        }
    }

    a {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 999;

    }

    p {
        color: #fff;
        font-size: 12px;
        line-height: 28px;
        margin: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .xl-icon {
        width: 12px;
        height: 6px;
        background: url(../img/post-xl.png) no-repeat center 100% / 100% 100%;
        margin-left: 6px;
    }
}

.quick-reply {
    margin-left: 24px;

    p {
        transition: background-color 0.2s ease;
    }

    &:hover {
        p {
            background-color: #ffa800 !important;
        }
    }

    p {
        color: #fff;
        font-size: 12px;
        border-radius: 4px;
        line-height: 28px;
        border: 4px;
        background-color: var(--orange-color);
        margin: 0;
        padding: 0 10px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        /* 限制行数为1 */
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
    }
}

.btn-bg {
    display: flex;
    position: absolute;
    left: calc(100% - 564px);
}

.zl-lt {
    display: flex;
    position: relative;
}