/*
 * RegCircle article-only refresh.
 * Loaded only by article/list.html and article/detail.html.
 */

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

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

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

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

.reg-article-modern .commentNav a {
    color: #58667d;
}

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

.reg-article-modern .articleCon {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    overflow: visible;
}

.reg-article-list .articleCon {
    min-height: 520px;
}

.reg-article-modern .articleClassify {
    position: sticky;
    top: 20px;
    width: 210px;
    height: auto;
    max-height: calc(100vh - 160px);
    margin: 0;
    padding: 8px 0;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e3edf9;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(7, 108, 224, 0.08);
}

.reg-article-modern .articleClassify.ab {
    position: sticky;
    top: 20px !important;
}

.reg-article-modern .articleClassify a {
    display: block;
    color: #35445c;
}

.reg-article-modern .articleClassify li {
    height: auto;
    margin: 0;
    padding: 14px 20px;
    color: #35445c;
    line-height: 1.4;
    text-align: left;
    border-left: 4px solid transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.reg-article-modern .articleClassify li:hover {
    color: #076ce0;
    background: #f2f7ff;
}

.reg-article-modern .articleClassify li.on {
    color: #fff;
    background: linear-gradient(135deg, #076ce0, #18afe5);
    border-left-color: #073f9c;
}

.reg-article-modern .articleListBox {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.reg-article-modern .articleClassify2Box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    margin-bottom: 16px;
    padding: 0 20px;
    background: #fff;
    border: 1px solid #e3edf9;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(7, 108, 224, 0.07);
}

.reg-article-modern .articleClassify2 {
    display: flex;
    align-items: center;
    gap: 28px;
}

.reg-article-modern .articleClassify2 li {
    margin: 0;
}

.reg-article-modern .articleClassify2 li a {
    display: block;
    padding: 17px 0 14px;
    color: #4b5b73;
    font-size: 18px;
    border-bottom: 3px solid transparent;
}

.reg-article-modern .articleClassify2 li.on a,
.reg-article-modern .articleClassify2 li a:hover {
    color: #076ce0;
    border-bottom-color: #076ce0;
}

.reg-article-modern .articleClassify2_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 34px;
    color: #fff;
    background: linear-gradient(135deg, #076ce0, #18afe5);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(7, 108, 224, 0.18);
}

.reg-article-modern .articleList {
    margin: 0;
    padding: 0;
}

.reg-article-modern .articleList li {
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3edf9;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(7, 108, 224, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.reg-article-modern .articleList li:hover {
    border-color: #c7def8;
    box-shadow: 0 14px 32px rgba(7, 108, 224, 0.1);
    transform: translateY(-1px);
}

.reg-article-modern .articleList li > a {
    display: block;
    min-height: 96px;
    padding: 14px 18px;
    color: inherit;
}

.reg-article-modern .articleImg {
    display: none;
}

.reg-article-modern .articleImgBox {
    width: 100%;
    height: 100%;
    transition: transform 0.24s ease;
}

.reg-article-modern .articleList li:hover .articleImgBox {
    transform: scale(1.03);
}

.reg-article-modern .articleTxt {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px 124px;
    grid-template-areas:
        "title author more"
        "abstract meta meta";
    column-gap: 22px;
    row-gap: 8px;
    align-items: center;
    min-width: 0;
}

.reg-article-modern .articleTxt h6 {
    grid-area: title;
    margin: 0;
    overflow: hidden;
    color: #061b3a;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.34;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reg-article-modern .articleTxt .line {
    display: none;
    width: 0;
    height: 0;
    margin: 0;
    background: #076ce0;
}

.reg-article-modern .articleTxt p,
.reg-article-modern .articleList_bottom {
    color: #64718a;
}

.reg-article-modern .articleTxt .abstract {
    grid-area: abstract;
    margin: 0;
    overflow: hidden;
    color: #4b5b73;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reg-article-modern .articleList_bottom {
    grid-area: meta;
    min-width: 0;
    margin-top: 0;
}

.reg-article-modern .articleLeft_bottomBox {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
}

.reg-article-modern .articleTxt > p.title {
    grid-area: author;
    margin: 0;
    overflow: hidden;
    color: #58667d;
    line-height: 1.4 !important;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reg-article-modern .articleList_user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.reg-article-modern .articleList_user img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.reg-article-modern .articleList_time {
    margin-left: 0;
    white-space: nowrap;
}

.reg-article-modern .articleTxt .more {
    grid-area: more;
    justify-self: end;
    margin-left: 0;
    width: auto;
    min-width: 108px;
    height: 32px;
    padding: 0 15px;
    color: #076ce0;
    font-size: 14px;
    line-height: 32px;
    background: #eef6ff;
    border-radius: 999px;
}

.reg-article-modern .pagination {
    margin-top: 24px;
}

.reg-article-modern .pagination > li > a,
.reg-article-modern .pagination > li > span {
    margin: 0 3px;
    color: #076ce0;
    border-color: #d7e6f7;
    border-radius: 6px !important;
}

.reg-article-modern .pagination > .active > a,
.reg-article-modern .pagination > .active > span {
    color: #fff;
    background: #076ce0;
    border-color: #076ce0;
}

.reg-article-detail .articleCon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 365px;
    gap: 30px;
}

.reg-article-detail .articleLeft,
.reg-article-detail .articleRight {
    width: auto;
    float: none;
}

.reg-article-detail .articleLeft_box,
.reg-article-detail .articleLeft_eval,
.reg-article-detail .articleRight_user,
.reg-article-detail .articleRight_recommend {
    background: #fff;
    border: 1px solid #e3edf9;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(7, 108, 224, 0.06);
}

.reg-article-detail .articleLeft_box {
    padding: 24px 26px;
}

.reg-article-detail .articleLeft_top h6 {
    color: #061b3a;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.38;
}

.reg-article-detail .articleLeft_top p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #7b8799;
}

.reg-article-detail .articleLeft_con {
    margin-top: 16px;
    padding: 18px 20px;
    color: #1b2a41;
    background-color: #fff !important;
    border: 1px solid #e8f0fa;
    border-radius: 8px;
    line-height: 1.95;
}

.reg-article-detail .articleLeft_con img {
    max-width: 100%;
    border-radius: 6px;
}

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

.reg-article-detail .articleLeft_eval {
    margin-top: 20px;
    padding: 20px;
}

.reg-article-detail .articleRight_user,
.reg-article-detail .articleRight_recommend {
    padding: 20px;
}

.reg-article-detail .articleRight_userBtn {
    color: #fff;
    background: linear-gradient(135deg, #076ce0, #18afe5);
    border-radius: 999px;
}

.reg-article-detail .articleRight_recommend h6,
.reg-article-detail .articleLeft_evalTitle {
    color: #061b3a;
    font-size: 22px;
    font-weight: 700;
}

.reg-article-detail .articleRight_recommendBox a {
    display: block;
    padding: 13px 0;
    color: #35445c;
    line-height: 1.65;
    border-bottom: 1px solid #e8f0fa;
}

.reg-article-detail .articleRight_recommendBox a:hover {
    color: #076ce0;
}

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

    .reg-article-modern .articleCon,
    .reg-article-detail .articleCon {
        display: block;
    }

    .reg-article-modern .articleClassify {
        position: relative;
        top: auto !important;
        display: flex;
        width: 100%;
        max-height: none;
        margin-bottom: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .reg-article-modern .articleClassify a {
        flex: 0 0 auto;
    }

    .reg-article-modern .articleClassify li {
        border-left: 0;
        border-bottom: 3px solid transparent;
    }

    .reg-article-modern .articleListBox {
        width: 100%;
    }

    .reg-article-detail .articleRight {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .reg-article-modern {
        padding-bottom: 34px;
    }

    .reg-article-modern .articleClassify2Box {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .reg-article-modern .articleClassify2 {
        gap: 18px;
    }

    .reg-article-modern .articleClassify2_btn {
        align-self: flex-start;
    }

    .reg-article-modern .articleList li > a {
        display: block;
        min-height: 0;
        padding: 14px;
    }

    .reg-article-modern .articleTxt {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .reg-article-modern .articleTxt h6,
    .reg-article-modern .articleTxt .abstract,
    .reg-article-modern .articleTxt > p.title {
        white-space: normal;
        text-align: left;
    }

    .reg-article-modern .articleImg {
        width: 100%;
        height: 150px;
        margin: 0 0 14px;
    }

    .reg-article-modern .articleLeft_bottomBox {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .reg-article-modern .articleList_time {
        margin-left: 0;
    }

    .reg-article-detail .articleLeft_box,
    .reg-article-detail .articleLeft_eval,
    .reg-article-detail .articleRight_user,
    .reg-article-detail .articleRight_recommend {
        padding: 16px;
    }

    .reg-article-detail .articleLeft_top h6 {
        font-size: 23px;
    }
}
