.faq {
    padding: 60px 0 120px;
    background: #F3F3F3;
}

.faq .box1 .box-c {
    display: flex;
    justify-content: space-between;
}

.faq-details .box1 .box-c .l,
.faq .box2 .box-c .l,
.faq .box2 .box-t,
.faq .box1 .box-c .l {
    width: 68.57%;
}

.faq .box1 .box-c .l form {
    display: flex;
    align-items: center;
    height: 60px;
    background: #FFFFFF;
    border-radius: 5px;
    padding-left: 20px;
}

.faq .box1 .box-c .l form .icon-sousuo {
    font-size: 20px;
    color: #CCCCCC;
}

.faq .box1 .box-c .l form input {
    flex: 1;
    margin: 0 14px;
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: #333;
    line-height: 30px;
}

.faq .box1 .box-c .l form input::placeholder {
    color: #CCCCCC;
}

.faq .box1 .box-c .l form .submit {
    width: 100px;
    line-height: 60px;
    background: #E00011;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
}

.faq .box1 .box-c .l .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0 31px;
    margin-top: 17px;
}

.faq .box1 .box-c .l .tags a {
    font-size: 16px;
    color: #666666;
    line-height: 30px;
    transition: all .6s;
}

.faq .box1 .box-c .l .tags a:hover {
    color: #E00011;
}

.faq-details .box1 .box-c .r,
.faq .box2 .box-c .r,
.faq .box1 .box-c .r {
    width: 28.57%;
}

.ask-question-btn {
    display: block;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 60px;
    background: #E00011;
    border-radius: 5px;
    text-align: center;
    width: 100%;
}

.faq .box2 {
    margin-top: 35px;
}

.faq .box2 .box-t {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.faq .box2 .box-t a {
    min-width: 120px;
    line-height: 40px;
    padding: 0 28px;
    font-size: 16px;
    color: #999999;
    background: #FFFFFF;
    border-radius: 5px;
    transition: all .6s;
    text-align: center;
}

.faq .box2 .box-t a.active,
.faq .box2 .box-t a:hover {
    background: #E00011;
    color: #fff;
}

.faq .box2 .box-c {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.faq .box2 .box-c .l .pagination {
    margin-top: 60px;
}

.related-recommend-container {
    padding: 27px 30px 24px;
    background: #FFFFFF;
    border-radius: 10px;
}

.related-recommend-container .title {
    font-family: MiSans-Bold;
    font-size: 18px;
    color: #222222;
    line-height: 1;
    padding-bottom: 22px;
    border-bottom: 1px solid #DEDEDE;
}

.related-recommend-container .items {
    padding-top: 23px;
}

.related-recommend-container .items .item {
    display: flex;
    font-size: 16px;
    color: #222222;
    line-height: 24px;
    transition: all .6s;
}

.related-recommend-container .items .item:not(:last-child) {
    margin-bottom: 17px;
}

.related-recommend-container .items .item-l {
    width: 22px;
    font-family: MiSans-Bold;
    color: #999999;
    transition: all .6s;
}

.related-recommend-container .items .item:nth-child(1) .item-l {
    color: #E05A00;
}

.related-recommend-container .items .item:nth-child(2) .item-l {
    color: #E09E00;
}

.related-recommend-container .items .item:nth-child(3) .item-l {
    color: #E0D800;
}

.related-recommend-container .items .item:hover,
.related-recommend-container .items .item:hover .item-l {
    color: #E00011 !important;
}

.related-recommend-container .items .item-r {
    flex: 1;
}

.qa-ranking-container {
    padding: 27px 31px 20px;
    background: linear-gradient(to bottom, #E00011, #F3F3F3);
    border-radius: 10px;
    margin-top: 20px;
}

.qa-ranking-container .r-box2-t {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qa-ranking-container .r-box2-t .title {
    font-family: MiSans-Bold;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 1;
}

.qa-ranking-container .r-box2-nav {
    display: flex;
    gap: 27px;
}

.qa-ranking-container .r-box2-nav a {
    position: relative;
    font-family: MiSans;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 24px;
}

.qa-ranking-container .r-box2-nav a.active {
    font-family: MiSans-Bold;
}

.qa-ranking-container .r-box2-nav a::before {
    position: absolute;
    content: "";
    left: 50%;
    bottom: -7px;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all .6s;
}

.qa-ranking-container .r-box2-nav a.active::before {
    width: 100%;
}

.qa-ranking-container .items {
    margin-top: 20px;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 25px 14px 43px;
}

.qa-ranking-container .item {
    display: flex;
    align-items: center;
}

.qa-ranking-container .item:not(:last-child) {
    margin-bottom: 29px;
}

.qa-ranking-container .item .number {
    font-family: MiSans-Bold;
    font-size: 18px;
    color: #999999;
    height: 30px;
    width: 47px;
    text-align: center;
}

.qa-ranking-container .list .items {
    display: none;
}

.qa-ranking-container .list .items.active {
    display: block;
}

.qa-ranking-container .item:nth-child(1) .number,
.qa-ranking-container .item:nth-child(2) .number,
.qa-ranking-container .item:nth-child(3) .number {
    color: #fff;
    background-size: cover;
}

.qa-ranking-container .item:nth-child(1) .number {
    background-image: url(../img/number-1.png);
}

.qa-ranking-container .item:nth-child(2) .number {
    background-image: url(../img/number-2.png);
}

.qa-ranking-container .item:nth-child(3) .number {
    background-image: url(../img/number-3.png);
}

.qa-ranking-container .item-c {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0 14px;
}

.qa-ranking-container .item-c img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.qa-ranking-container .item-c .text-box {
    flex: 1;
    margin-left: 8px;
}

.qa-ranking-container .item-c .text-title {
    font-family: MiSans-Bold;
    font-size: 16px;
    color: #222222;
    line-height: 24px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qa-ranking-container .item-c .text-des {
    font-family: MiSans;
    font-weight: 400;
    font-size: 14px;
    color: #999999;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qa-ranking-container .item-c .text-des span {
    font-family: MiSans-Bold;
}

.qa-ranking-container .item-r {
    width: 50px;
    line-height: 30px;
    background: #F1D6D8;
    border-radius: 5px;
    font-size: 14px;
    color: #E00011;
    text-align: center;
}

.faq-details {
    padding: 102px 0 120px;
    background-color: #F3F3F3;
}

.faq-details .box1 .box-c {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.faq-details .box1 .box-c .l {
    padding: 30px 30px 100px;
    background: #FFFFFF;
    border-radius: 10px;
}

.faq-details .box1 .box-c .user-info-container {
    display: flex;
    align-items: center;
}

.faq-details .box1 .box-c .user-info-container .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.faq-details .box1 .box-c .user-info-container .username {
    font-family: MiSans-Bold;
    font-size: 18px;
    color: #222222;
    line-height: 30px;
    flex: 1;
    margin: 0 13px;
}

.faq-details .box1 .box-c .user-info-container .timestamp {
    font-size: 16px;
    color: #999999;
    line-height: 30px;
}

.faq-details .box1 .box-c .article-title {
    font-size: 16px;
    color: #222222;
    line-height: 1.8;
    min-height: 148px;
    background: #F8F8F8;
    border-radius: 5px;
    padding: 23px 28px;
    margin-top: 17px;
}

.faq-details .box1 .box-c .comment-input-container {
    margin-top: 22px;
    display: flex;
}

.faq-details .box1 .box-c .commentItem .comment .user-avatar,
.faq-details .box1 .box-c .comment-input-container .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.faq-details .box1 .box-c .comment-input-container .comment-textarea {
    flex: 1;
    margin-left: 17px;
}

.comment-textarea {
    border-radius: 5px;
    border: 1px solid #DEDEDE;
    padding: 10px 18px;
}

.comment-textarea textarea {
    display: block;
    width: 100%;
    height: auto;
    min-height: 86px;
    resize: none;
    border: none;
    outline: none;
    font-family: MiSans;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333;
}

.comment-textarea textarea::placeholder {
    color: #CCCCCC;
}

.comment-textarea .comment-controls {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.comment-textarea .comment-controls .char-counter {
    font-family: MiSans;
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    line-height: 40px;
    margin-right: 20px;
}

.comment-textarea .comment-controls .char-counter.error {
    color: rgba(224, 0, 17, 1);
}

.comment-textarea .comment-controls .submitBtn {
    background: rgba(224, 0, 17, .4);
    font-size: 16px;
    color: #FFFFFF;
    line-height: 40px;
    width: 100px;
    border-radius: 5px;
    text-align: center;
    cursor: not-allowed;
    transition: all .6s;
}

.comment-textarea .comment-controls .submitBtn.active {
    background: rgba(224, 0, 17, 1);
    cursor: pointer;
}

.faq-details .box1 .box-c .comments-container {
    margin-top: 26px;
}

.faq-details .box1 .box-c .commentItem:not(:last-child) {
    margin-bottom: 10px;
}

.faq-details .box1 .box-c .commentItem .comment {
    display: flex;
}

.faq-details .box1 .box-c .commentItem .comment-content {
    flex: 1;
    padding-top: 6px;
    margin-left: 14px;
}

.faq-details .box1 .box-c .commentItem .username {
    font-family: MiSans-Bold;
    font-size: 18px;
    color: #222222;
    line-height: 30px;
}

.faq-details .box1 .box-c .commentItem .timestamp,
.faq-details .box1 .box-c .commentItem .username span {
    color: #999999;
    font-family: MiSans;
    font-size: 16px;
    line-height: 30px;
}

.faq-details .box1 .box-c .commentItem .username span {
    padding: 0 7px;
}

.faq-details .box1 .box-c .commentItem .timestamp {
    padding-left: 31px;
}

.faq-details .box1 .box-c .commentItem .replyList .timestamp {
    padding-left: 14px;
}

.faq-details .box1 .box-c .commentItem .comment-content-container {
    display: flex;
    font-size: 16px;
    color: #222222;
    line-height: 30px;
}

.faq-details .box1 .box-c .commentItem .comment-content-container .text {
    flex: 1;
    margin-right: 30px;
}

.faq-details .box1 .box-c .commentItem .comment-content-container .text ol li {
    list-style: inherit !important;
}

.faq-details .box1 .box-c .commentItem .comment-content-container .text ul {
    list-style: inherit !important;
}

.faq-details .box1 .box-c .commentItem .comment-content-container .text ul li {
    list-style: inherit !important;
}

.faq-details .box1 .box-c .commentItem .comment-content-container .text a {
    color: blue !important;
    text-decoration: underline;
}

.faq-details .box1 .box-c .commentItem .icon-zan- {
    font-size: 18px;
    color: #999999;
    line-height: 30px;
    transition: all 0.2s;
    cursor: pointer;
}

.faq-details .box1 .box-c .commentItem .icon-zan-.active {
    color: #E00011;
}

.faq-details .box1 .box-c .commentItem .icon-zan-::before {
    color: #CBCBCB;
    padding-right: 5px;
    font-size: 20px;
    transition: all 0.2s;
}

.faq-details .box1 .box-c .commentItem .icon-zan-.active::before {
    color: #E00011;
}

.faq-details .box1 .box-c .commentItem .replyBtn {
    display: inline-block;
    line-height: 30px;
    background: #F3F3F3;
    border-radius: 3px;
    font-size: 14px;
    color: #222222;
    padding: 0 12px;
    transition: all .2s;
    margin-top: 12px;
}

.BtnConnon{
    display: inline-block;
    line-height: 30px;
    background: #F3F3F3;
    border-radius: 3px;
    font-size: 14px;
    color: #222222;
    padding: 0 12px!important;
    transition: all .2s;
    margin-top: 12px;
    margin-left: 10px;
}
.BtnConnon:hover,
.BtnConnon:active{
    background: #E00011;
    color: #fff;
}

.faq-details .box1 .box-c .commentItem .delBtn {
    display: inline-block;
    line-height: 30px;
    background: #F3F3F3;
    border-radius: 3px;
    font-size: 14px;
    color: #222222;
    padding: 0 12px ;
    transition: all .2s;
    margin-top: 12px;
    margin-left: 10px;
}

.faq-details .box1 .box-c .commentItem .replyBtn.active,
.faq-details .box1 .box-c .commentItem .replyBtn:hover,
.faq-details .box1 .box-c .commentItem .delBtn:hover,
.faq-details .box1 .box-c .commentItem .delBtn:active
{
    background: #E00011;
    color: #fff;
}

.faq-details .box1 .box-c .commentItem .replyList {
    margin-top: 25px;
}

.faq-details .box1 .box-c .commentItem .replyList .comment:not(:last-child) {
    margin-bottom: 25px;
}

.faq-details .box1 .box-c .ask-question-btn {
    margin-bottom: 21px;
}

.faq-question {
    padding: 102px 0 120px;
}

.faq-question .box1 form {
    margin: 0 auto;
    width: 960px;
    max-width: 100%;
}

.faq-question .box1 form .input {
    display: flex;
    height: 60px;
    background: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #DEDEDE;
    line-height: 60px;
    padding: 0 27px;
}

.faq-question .box1 form .input.select {
    width: 400px;
    max-width: 100%;
}

.faq-question .box1 form .input:not(:last-child) {
    margin-bottom: 10px;
}

.faq-question .box1 form .input label {
    font-size: 18px;
    color: #222222;
}

.faq-question .box1 form .input label span {
    color: #E00011;
}

.faq-question .box1 form .input input,
.faq-question .box1 form .input select {
    flex: 1;
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    color: #222222;
    line-height: 40px;
}

.faq-question .box1 form .input input:placeholder {
    color: #999999;
}

.faq-question .box1 form .input select {
    font-family: MiSans-Bold;
    font-size: 18px;
    color: #E00011;
}

.faq-question .box1 form .des {
    margin-top: 39px;
}

.faq-question .box1 form .des-title {
    font-size: 18px;
    color: #222222;
    line-height: 30px;
    margin-bottom: 14px;
}

.faq-question .box1 form .submit {
    display: inline-block;
    background: #E00011;
    border-radius: 5px;
    line-height: 60px;
    padding: 0 44px;
    font-family: MiSans;
    font-weight: 400;
    font-size: 18px;
    color: #FFFFFF;
    margin-top: 20px;
    cursor: pointer;
}

@media (max-width:1440px) {

    .qa-ranking-container,
    .related-recommend-container {
        padding: 25px 20px;
    }
}

@media (max-width:1199px) {
    .faq-details .box1 .box-c {
        flex-direction: column;
    }

    .faq-details {
        padding: 80px 0;
    }

    .faq {
        padding-bottom: 80px;
    }

    .faq-details .box1 .box-c .l,
    .faq .box2 .box-c .l,
    .faq .box2 .box-t,
    .faq .box1 .box-c .l {
        width: 100%;
    }

    .faq-details .box1 .box-c .r,
    .faq .box2 .box-c .r,
    .faq .box1 .box-c .r {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .faq-details .box1 .box-c .ask-question-btn {
        width: 100%;
    }

    .qa-ranking-container {
        margin-top: 0;
    }

    .qa-ranking-container,
    .related-recommend-container {
        width: 48.5%;
    }

    .faq-details .box1 .box-c .r, .faq .box2 .box-c .r {
        margin-top: 45px;
    }
    .faq-details .box1 .box-c .l{
        padding-bottom: 45px;
    }
    .faq-question{
        padding: 80px 0;
    }
    .faq .box1 .box-c{
        flex-direction: column-reverse;
    }
    .faq .box2 .box-c{
        flex-direction: column;
    }
    .faq .box1 .box-c .r{
        margin-bottom: 20px;
    }
    .faq .box2 .box-c .l .pagination{
		margin-top: 45px;
	}
}

@media (max-width:1024px) {
    .faq-details .box1 .box-c .l{
        padding-bottom: 40px;
    }
    .faq-details .box1 .box-c .r, .faq .box2 .box-c .r {
        margin-top: 40px;
    }

    .faq-details {
        padding: 70px 0;
    }

    .faq {
        padding-bottom: 70px;
    }
    .faq-details .box1 .box-c .article-title{
        font-size: 20px;
    }
    .faq-details .box1 .box-c .commentItem:not(:last-child){
        margin-bottom: 30px;
    }
    .faq-question{
        padding: 70px 0;
    }
    .faq .box2 .box-c .l .pagination{
		margin-top: 40px;
	}
}

@media (max-width: 768px) {
    .faq .box1 .box-c .l form input{
        margin: 0 10px;
    }
    .faq .box1 .box-c .l form{
        height: 50px;
    }
    .faq .box1 .box-c .l form .submit{
        line-height: 50px;
    }
    .faq-question .box1 form .des{
        margin-top: 35px;
    }
    .faq-question .box1 form .input{
        height: 50px;
        line-height: 48px;
        padding: 0 19px;
        align-items: center;
    }
    .faq-question .box1 form .input input, .faq-question .box1 form .input select{
        font-size: 14px;
    }
    .faq-question .box1 form .input select{
        font-size: 16px;
    }
    .faq-question .box1 form .input label{
        font-size: 16px;
    }
    .faq-details .box1 .box-c .article-title{
        font-size: 18px;
        padding: 18px;
    }
    .qa-ranking-container{
        margin-top: 21px;
    }
    .qa-ranking-container, .related-recommend-container{
        width: 100%;
    }
    .faq-details .box1 .box-c .l{
        padding-bottom: 35px;
    }
    .faq-details .box1 .box-c .r, .faq .box2 .box-c .r {
        margin-top: 35px;
    }

    .faq-details {
        padding: 60px 0;
    }

    .faq {
        padding-bottom: 60px;
    }
    .ask-question-btn{
        line-height: 50px;
        font-size: 16px;
    }
    .faq-question{
        padding: 60px 0;
    }
    .faq-question .box1 form .des-title{
        font-size: 16px;
    }
    .faq-question .box1 form .submit{
        line-height: 50px;
        font-size: 16px;
    }
	.faq .box2 .box-t a{
		padding: 0 19px;
		min-width: 100px;
	}
    .faq .box2 .box-c .l .pagination{
		margin-top: 30px;
	}
}

@media (max-width: 500px) {
    .faq .box1 .box-c .l form{
        height: 45px;
        padding-left: 14px;
    }
    .faq .box1 .box-c .l form .submit{
        line-height: 45px;
        width: 80px;
    }
    .faq .box2 .box-c .l .pagination{
		margin-top: 25px;
	}
    .faq-question .box1 form .input{
        padding: 0 14px;
    }
    .faq-question .box1 form .submit{
        line-height: 45px;
    }
    .faq-question .box1 form .des{
        margin-top: 30px;
    }
    .faq-question{
        padding: 50px 0;
    }
    .related-recommend-container .title{
        padding-bottom: 15px;
    }
    .related-recommend-container .items{
        padding-top: 15px;
    }
    .ask-question-btn{
        line-height: 45px;
    }
    .faq-details .box1 .box-c .commentItem .comment-content{
        padding-top: 0;
        margin-left: 8px;
    }
    .faq-details .box1 .box-c .commentItem .timestamp{
        font-size: 12px;
        line-height: 24px;
        padding-left: 15px;
    }
    .faq-details .box1 .box-c .commentItem .username span{
        padding: 0 3px;
        font-size: 14px;
        line-height: 24px;
    }
    .faq-details .box1 .box-c .commentItem .replyList .timestamp{
        padding-left: 6px;
    }
    .faq-details .box1 .box-c .commentItem .comment-content-container{
        font-size: 12px;
        line-height: 18px;
    }
    .faq-details .box1 .box-c .commentItem .comment-content-container .text{
        margin-right: 20px;
    }
    .faq-details .box1 .box-c .commentItem .icon-zan-,
    .faq-details .box1 .box-c .commentItem .username{
        font-size: 14px;
        line-height: 24px;
    }
    .faq-details .box1 .box-c .comment-input-container .comment-textarea{
        margin-left: 10px;
    }
    .faq-details .box1 .box-c .comments-container{
        margin-top: 20px;
    }
    .faq-details .box1 .box-c .commentItem .comment .user-avatar, .faq-details .box1 .box-c .comment-input-container .user-avatar{
        width: 30px;
        height: 30px;
    }
    .comment-textarea{
        padding: 10px;
    }
    .comment-textarea textarea{
        font-size: 14px;
    }
    .faq-details .box1 .box-c .article-title{
        padding: 9px 14px;
        font-size: 16px;
        min-height: 94px;
    }
    .comment-textarea .comment-controls .submitBtn,
    .comment-textarea .comment-controls .char-counter{
        font-size: 14px;
        line-height: 30px;
    }
    .comment-textarea .comment-controls .submitBtn{
        width: 80px;
    }
    .faq-details .box1 .box-c .user-info-container .user-avatar{
        width: 40px;
        height: 40px;
    }
    .faq-details .box1 .box-c .user-info-container .username{
        font-size: 16px;
    }
    .faq-details .box1 .box-c .user-info-container .timestamp{
        font-size: 14px;
    }
    .faq-details .box1 .box-c .l{
        padding: 20px 20px 30px;
    }
    .faq-details .box1 .box-c .r, .faq .box2 .box-c .r {
        margin-top: 30px;
    }

    .faq-details {
        padding: 50px 0;
    }

    .faq {
        padding-bottom: 50px;
    }
    .faq-details .box1 .box-c .commentItem .replyBtn{
        font-size: 12px;
        line-height: 24px;
        padding: 0 10px;
    }
    .faq .box2 .box-t a{
        font-size: 14px;
        min-width: 80px;
        padding: 0 10px;
        line-height: 32px;
    }
}