/*
 * RegCircle Q&A refresh.
 * Loaded only by question/list.html and question/detail.html.
 */

.reg-question-modern {
    background: #f5f8fc;
    padding-bottom: 56px;
}

.reg-question-modern,
.reg-question-modern * {
    box-sizing: border-box;
}

.reg-question-modern .container {
    width: 1320px;
    max-width: calc(100% - 80px);
}

.reg-question-list .answersTop {
    margin: 28px 0 26px;
    padding: 10px;
    background: #fff;
    border: 1px solid #e3edf9;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(7, 108, 224, 0.07);
}

.reg-question-list .answersTop_search {
    display: flex;
    width: 82%;
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #076ce0;
    border-radius: 999px;
    background: #fff;
}

.reg-question-list .answersTop_search input[type="text"] {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 30px;
    color: #31415a;
    border: 0;
    background: transparent;
}

.reg-question-list .answersTop_search input[type="button"] {
    width: 180px;
    height: 46px;
    color: #fff;
    border: 0;
    background: linear-gradient(135deg, #076ce0, #18afe5);
    font-size: 20px;
    font-weight: 700;
}

.reg-question-list .answersImg {
    margin-bottom: 28px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(7, 108, 224, 0.08);
}

.reg-question-modern .materialCon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 365px;
    gap: 34px;
    align-items: start;
}

.reg-question-modern .answersLeft,
.reg-question-modern .materialRight {
    width: auto;
    float: none;
}

.reg-question-list .answersClassify {
    display: flex;
    justify-content: center;
    gap: 90px;
    margin: 0 0 16px;
    padding: 0 22px;
    background: #fff;
    border: 1px solid #e3edf9;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(7, 108, 224, 0.06);
}

.reg-question-list .answersClassify li {
    margin: 0;
}

.reg-question-list .answersClassify a {
    display: block;
    padding: 18px 0 14px;
    color: #4b5b73;
    font-size: 18px;
    border-bottom: 3px solid transparent;
}

.reg-question-list .answersClassify li.on a,
.reg-question-list .answersClassify a:hover {
    color: #076ce0;
    border-bottom-color: #076ce0;
}

.reg-question-list .answersList {
    margin: 0;
    padding: 0;
}

.reg-question-list .answersList li,
.reg-question-detail .articleLeft_box,
.reg-question-detail .articleLeft_box2_title,
.reg-question-modern .articleRight_user,
.reg-question-modern .answersBox {
    background: #fff;
    border: 1px solid #e3edf9;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(7, 108, 224, 0.07);
}

.reg-question-list .answersList li {
    margin-bottom: 16px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.reg-question-list .answersList li:hover {
    border-color: #c7def8;
    box-shadow: 0 16px 34px rgba(7, 108, 224, 0.1);
    transform: translateY(-1px);
}

.reg-question-list .answersList li > a {
    display: block;
    padding: 24px 28px;
    color: inherit;
}

.reg-question-list .answersList_txt h6 {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 16px;
    color: #061b3a;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
}

.reg-question-list .answersList_txt h6 img,
.reg-question-list .answersList_txt p img {
    flex: 0 0 auto;
}

.reg-question-list .answersList_txt p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    color: #64718a;
    line-height: 1.8;
}

.reg-question-list .answersList_bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e8f0fa;
}

.reg-question-list .articleLeft_bottomBox {
    display: flex;
    align-items: center;
    gap: 22px;
}

.reg-question-list .answersList_user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.reg-question-list .answersList_user > img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.reg-question-list .answersList_time {
    margin-left: auto;
    color: #64718a;
}

.reg-question-modern .articleRight_user,
.reg-question-modern .answersBox {
    margin-bottom: 22px;
    padding: 22px;
}

.reg-question-modern .articleRight_userTop p {
    color: #061b3a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.55;
}

.reg-question-modern .articleRight_userBtn,
.reg-question-detail .answersLeft_btn,
.reg-question-detail .articleLeft_box2_more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 20px;
    color: #fff !important;
    background: linear-gradient(135deg, #076ce0, #18afe5) !important;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(7, 108, 224, 0.16);
}

.reg-question-detail .commentNav {
    margin: 24px 0 28px;
    color: #58667d;
    font-size: 15px;
}

.reg-question-detail .commentNav a {
    color: #58667d;
}

.reg-question-detail .commentNav a:hover,
.reg-question-detail .commentNav a:last-child {
    color: #076ce0;
}

.reg-question-detail .articleLeft_box {
    margin-bottom: 16px !important;
    padding: 24px 26px;
}

.reg-question-detail .answersLeft_user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reg-question-detail .answersLeft_user > img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.reg-question-detail .answersLeft_userTxt_top h6 {
    margin: 0;
    color: #061b3a;
    font-size: 18px;
    font-weight: 700;
}

.reg-question-detail .answersLeft_userTxt p {
    color: #7b8799;
}

.reg-question-detail .answersLeft_btn {
    margin-left: auto;
}

.reg-question-detail .answersLeft_title {
    margin-top: 22px;
    color: #061b3a;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.45;
}

.reg-question-detail .answersLeft_txt {
    margin-top: 16px;
    color: #31415a;
    line-height: 1.9;
}

.reg-question-detail .answersLeft_txt .articleLeft_con,
.reg-question-detail .answersLeft_txt > div {
    padding: 16px 18px;
    background: #f8fbff;
    border: 1px solid #e8f0fa;
    border-radius: 10px;
}

.reg-question-detail .articleLeft_bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e8f0fa;
}

.reg-question-detail .articleLeft_bottomBox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.reg-question-detail .articleLeft_bottomBox p,
.reg-question-detail #reward {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 12px;
    color: #4b5b73;
    background: #f5f9ff;
    border-radius: 999px;
}

.reg-question-detail .articleLeft_box2_title {
    margin: 18px 0 14px !important;
    padding: 16px 22px;
    color: #061b3a;
    font-size: 22px;
    font-weight: 700;
}

.reg-question-detail .answersBox h6 {
    color: #061b3a;
    font-size: 22px;
    font-weight: 700;
}

.reg-question-detail .answersRelated li {
    padding: 14px 0;
    border-bottom: 1px solid #e8f0fa;
}

.reg-question-detail .answersRelated li:last-child {
    border-bottom: 0;
}

.reg-question-detail .answersRelated h6 {
    color: #31415a;
    line-height: 1.6;
}

.reg-question-detail .answersRelated p {
    color: #7b8799;
}

@media (max-width: 991px) {
    .reg-question-modern .container {
        max-width: calc(100% - 28px);
    }

    .reg-question-modern .materialCon {
        display: block;
    }

    .reg-question-modern .materialRight {
        margin-top: 22px;
    }

    .reg-question-list .answersTop_search {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .reg-question-list .answersTop,
    .reg-question-list .answersList li > a,
    .reg-question-detail .articleLeft_box,
    .reg-question-modern .articleRight_user,
    .reg-question-modern .answersBox {
        padding: 16px;
    }

    .reg-question-list .answersTop_search input[type="button"] {
        width: 96px;
    }

    .reg-question-list .answersClassify {
        gap: 36px;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .reg-question-list .answersList_txt h6 {
        font-size: 18px;
    }

    .reg-question-list .articleLeft_bottomBox {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .reg-question-list .answersList_time {
        margin-left: 0;
    }

    .reg-question-detail .answersLeft_user {
        flex-wrap: wrap;
    }

    .reg-question-detail .answersLeft_btn {
        margin-left: 0;
    }

    .reg-question-detail .answersLeft_title {
        font-size: 22px;
    }
}
