@import url(./main.less);

// PC
@media (min-width:@screen-sm-min){
    .banner{
        // 940px
        height: 48.9583vw;
        background: url('../images/robot/answers_banner.png') no-repeat;
        background-size: 100% 100%;
        display: flex;
        align-items: center;
        position: relative;

        .text{
            font-size: 4.6875vw;
            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
            font-weight: 500;
            color: #424242;
            line-height: 7.0313vw;
            margin-left: 13.5417vw;
        }

        img{
            width: 44.5833vw;
            height: 37.1354vw;
            position: absolute;
            right: 13.5417vw;
            bottom: 0;
        }
    }

    .main_area{
        padding: 5.2083vw 0;
       
        .title{
            font-size: 3.125vw;
            font-family: SourceHanSansCN-Bold, SourceHanSansCN;
            font-weight: bold;
            color: #FF5A09;
            line-height: 3.125vw;
            margin-bottom: 3.125vw;
        }

        .list{
            margin-bottom: 6.5104vw;

            .item{
                padding-bottom: 2.3438vw;
                padding-right: 1.6667vw;
                border-bottom: .0521vw solid #979797;
                // box-sizing: border-box;
                margin-bottom: 1.3021vw;
                cursor: pointer;
                transition: 0.1s;


                .question_box{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;

                    .question{
                        font-size: 2.0833vw;
                        font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                        font-weight: 500;
                        color: #333333;
                        line-height: 3.125vw;
                        // margin-bottom: 1.6667vw;
                    }

                    .icon{
                        width: .7292vw;
                        height: .7292vw;
                        border-top: .1563vw solid #444444;
                        border-right: .1563vw solid #444444;
                        transform: rotate(135deg);
                    }
                }

                .answer_box{
                    height: 0;
                    overflow: hidden;
                    // display: none;
                    // transition: 1s;
                }
                
            }

            .active{
                padding: 1.0417vw 1.875vw;
                border-bottom: .0521vw solid transparent;
                background: rgba(255, 90, 9, 0.04);
                border-radius: .7813vw;
                // transition: 1s;

                .question_box{

                    .question{
                        margin-bottom: 1.6667vw;
                    }
                    .icon{
                        // width: .7292vw;
                        // height: .7292vw;
                        // border-top: .1563vw solid #444444;
                        // border-right: .1563vw solid #444444;
                        transform: rotate(-45deg);
                    }
                }

                .answer_box{
                    height: auto;
                    overflow: auto;
                    // transition: 1s;
                    // display: block;
                    font-size: 1.25vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 1.875vw;
                }
            }
        } 
    }
}

// H5
@media (max-width:@screen-xs-max){
    .banner{
        height: 125.8667vw;
        background: url('../images/robot/h5/answers_banner.png') no-repeat;
        background-size: 100% 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;

        .text{
            font-size: 7.4667vw;
            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
            font-weight: 500;
            color: #333333;
            line-height: 11.2vw;
            margin-bottom: 6.6667vw;
        }

        img{
            width: 91.7333vw;
            height: 77.6vw;
        }
    }

    .main_area{
        padding: 4vw 0;

        .title{
            font-size: 6.4vw;
            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
            font-weight: 500;
            color: #FF7C00;
            line-height: 16vw;
            margin-bottom: 2.1333vw;
        }

        .list{
            margin-bottom: 0;

            .item{
                padding-bottom: 6.1333vw;
                padding-right: .8vw;
                border-bottom: .2667vw solid #DADADA;
                // box-sizing: border-box;
                margin-bottom: 5.3333vw;
                cursor: pointer;
                transition: 0.1s;


                .question_box{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;

                    .question{
                        max-width: 79.4667vw;
                        font-size: 4.2667vw;
                        font-family: SourceHanSansCN-Regular, SourceHanSansCN;
                        font-weight: 400;
                        color: #333333;
                        line-height: 6.4vw;
                        // margin-bottom: 1.6667vw;
                    }

                    .icon{
                        width: 1.8667vw;
                        height: 1.8667vw;
                        border-top: .5333vw solid #444444;
                        border-right: .5333vw solid #444444;
                        transform: rotate(135deg);
                    }
                }

                .answer_box{
                    height: 0;
                    overflow: hidden;
                    // display: none;
                    // transition: 1s;
                }
            }

            .active{
                padding: 5.3333vw 4vw 5.8667vw;
                border-bottom: none;
                background: rgba(255, 90, 9, 0.04);
                border-radius: 4vw;
                // transition: 1s;

                .question_box{

                    .question{
                        margin-bottom: 3.7333vw;
                    }
                    .icon{
                        // width: .7292vw;
                        // height: .7292vw;
                        // border-top: .1563vw solid #444444;
                        // border-right: .1563vw solid #444444;
                        transform: rotate(-45deg);
                    }
                }

                .answer_box{
                    height: auto;
                    overflow: auto;
                    // transition: 1s;
                    // display: block;
                    font-size: 3.7333vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 5.6vw;
                }
            }
        }
    }
}