@charset "UTF-8";

/* 容器与布局 */
.article-main-container {
    background: #f6f8fa;
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.article-main-row {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-wrap: wrap;
    padding-top: 6rem;
}

.article-main-content {
    flex: 1 1 0;
    min-width: 0
}

/* 卡片与内容 */
.article-card {
    background-color: #fff;
    min-width: 0;
    margin: 0 0 1rem;
    border-radius: 3px;
    box-shadow: 3px 3px 20px #d7ceff38;
    display: flex;
    flex-direction: column;
    position: relative
}

.article-card-body {
    padding: 1.25rem;
    flex: 1 1 auto
}

.article-card-footer {
    padding: 0 1rem .5rem 1rem;
    background-color: transparent;
    line-height: 1
}

.article-card-nav {
    margin: 0 5px 0 5px;
    margin-bottom: -1.5rem;
    display: flex;
    align-items: center
}

.article-card-nav-home {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px
}

.article-flex-fill {
    flex: 1 1 auto
}

.article-d-flex {
    display: flex !important
}

.article-align-items-center {
    align-items: center !important
}

.article-justify-content-between {
    justify-content: space-between !important
}

.article-justify-content-md-start {
    justify-content: flex-start !important
}

.article-text-center {
    text-align: center !important
}

.article-text-md-left {
    text-align: left !important
}

.article-pt-0 {
    padding-top: 0 !important
}

.article-border-0 {
    border: 0 !important
}

.article-mt-075 {
    margin-top: -.75rem
}

.article-mb-3 {
    margin-bottom: 1rem !important
}

.article-mb-05 {
    margin-bottom: 0.5rem !important
}

/* 标题与元信息 */
.article-h3 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: .5rem
}

.article-meta {
    display: flex;
    align-items: center;
    font-size: .75rem;
    color: #9ca0ad;
    margin-bottom: 1rem
}

.article-splitdots:before {
    content: "";
    width: 4px;
    height: 4px;
    margin: 0 0.5em;
    border-radius: 50%;
    display: inline-block;
    background: #435eeb;
    opacity: .3;
    vertical-align: 0.2em
}

.article-text-xs {
    font-size: .75rem !important
}

.article-text-muted {
    color: #9ca0ad !important
}

.article-pc-none {
    display: none
}

@media (max-width: 768px) {
    .article-pc-none {
        display: none
    }
}

/* 文章内容 */
.article-post-header {
    position: relative;
    border-bottom: 1px solid #dee2e6 !important
}

.article-post-header:after {
    content: "";
    background-color: #6f88ff;
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 8%;
    height: 2px;
    z-index: 2;
    transition: 0.5s
}

.article-post-header:hover:after {
    width: 100%
}

.article-post-content {
    margin-top: 1.5rem
}

.article-post-content img {
    max-width: 100%;
    border-radius: 8px
}

.article-post-content p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.8;
    color: #393E46
}

.article-post-content ul, .article-post-content ol {
    padding-left: 20px;
    line-height: 1.725;
    margin-bottom: 16px
}

/*.article-post-content h1, .article-post-content h2, .article-post-content h3, .article-post-content h4, .article-post-content h5, .article-post-content h6 {*/
/*    margin-bottom: 1rem;*/
/*    display: inline-block;*/
/*    color: #666 !important;*/
/*    background: linear-gradient(180deg, transparent 75%, rgba(0, 0, 0, .2) 0) !important;*/
/*    font-weight: bold*/
/*}*/

.article-post-content h1 {
    font-size: 28px
}

.article-post-content h2 {
    font-size: 24px
}

.article-post-content h3 {
    font-size: 20px
}

.article-post-content h4 {
    font-size: 18px
}

.article-post-content h5 {
    font-size: 16px
}

.article-post-content h6 {
    font-size: 14px
}

.article-post-content blockquote {
    padding: 10px 20px;
    margin: 1em 0;
    color: #819198;
    border-left: 5px solid #dce6f0;
    background: #f2f6fc
}

/* 版权声明 */
.article-entry-copyright {
    margin-top: 15px;
    padding: 10px 15px 10px;
    font-size: 12px;
    line-height: 1.6;
    color: #999;
    background: #ebf0f6;
    border-radius: 4px
}

.article-entry-copyright .article-bqdiv {
    line-height: 24px
}

.article-entry-copyright a {
    color: #9ca0ad
}

/* 标签与分享 */
.article-tag-text {
    background: #ebf0f6;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    color: #203656
}

.article-card-share {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px
}

.article-card-share-son {
    position: relative;
    width: 100%;
    padding-right: 15px;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%
}

.article-item-share {
    display: inline-block;
    margin: 0 4px;
    font-size: 18px
}

.article-weibo {
    color: #ff0000
}

.article-qq {
    color: #435eeb
}

.article-iconfont {
    display: inline-block;
    vertical-align: middle;
    line-height: normal
}

.article-text-lg {
    font-size: 1.125rem !important
}

/* 相关文章 */
.article-mt-3 {
    margin-top: 1rem
}

.article-title-h3 {
    color: #666;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 10px;
    height: 40px
}

.article-article-body {
    flex: 1 1 auto;
    padding: 1.25rem;
    margin-top: -0.75rem
}

.article-related-list {
    display: flex;
    flex-wrap: wrap
}

.article-related-list li {
    width: 100%;
    position: relative;
    text-align: justify;
    list-style: none;
    padding-left: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 5px 0
}

.article-related-list li a {
    overflow: hidden;
    width: 100%;
    color: #333;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .875rem
}

.article-related-list li:before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 10px;
    background-color: #6f88ff
}

@media (min-width: 992px) {
    .article-w50 {
        flex: 0 0 50%;
        max-width: 50%
    }
}

.article-my-n2 {
    margin-bottom: -0.5rem !important;
    margin-top: -0.5rem !important
}

/* 评论区 */
.article-comments .article-card {
    margin-bottom: 1rem
}

.article-commentform {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 1rem
}

.article-comment-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.article-comment-info input {
    flex: 1 1 0;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px
}

.article-textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    height: 120px;
    overflow: auto
}

.article-com_submit_p {
    text-align: right;
    margin-top: 10px
}

#article-comment_submit {
    background-color: #6f88ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 8px 24px
}

#article-comment_submit:hover {
    background-color: #3548a1
}

@media (max-width: 768px) {
    .article-comment-info input, #article-comment_submit {
        flex-basis: 100%
    }
}

.article-comment-list.article-card {
    margin-bottom: 1rem
}

.article-text-sm {
    font-size: .875rem !important
}

.article-text-muted {
    color: #9ca0ad !important
}

.article-p-1 {
    padding: 1rem
}

/* 兼容原有标签、评论、相关文章等旧class，防止错乱 */
.tag-text, .article-tag-text {
    background: #ebf0f6;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-block;
    color: #203656;
}

.commentform, .article-commentform {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 1rem;
}

.comment-info, .article-comment-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-info input, .article-comment-info input {
    flex: 1 1 0;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.comment-list, .article-comment-list {
    margin-bottom: 1rem;
}

.text-muted, .article-text-muted {
    color: #9ca0ad !important;
}

.text-sm, .article-text-sm {
    font-size: .875rem !important;
}

.p-1, .article-p-1 {
    padding: 1rem;
}

.related-list, .article-related-list {
    display: flex;
    flex-wrap: wrap;
}

.related-list li, .article-related-list li {
    width: 100%;
    position: relative;
    text-align: justify;
    list-style: none;
    padding-left: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 5px 0;
}

.related-list li a, .article-related-list li a {
    overflow: hidden;
    width: 100%;
    color: #333;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .875rem;
}

.related-list li:before, .article-related-list li:before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 10px;
    background-color: #6f88ff;
}

@media (min-width: 992px) {
    .w50, .article-w50 {
        flex: 0 0 50%;
        max-width: 50%
    }
}

.my-n2, .article-my-n2 {
    margin-bottom: -0.5rem !important;
    margin-top: -0.5rem !important
}

.article-main-col {
    width: 100%;
    box-sizing: border-box;
}

.article-post.article-card {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 950px) {
    .article-main-col {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.article-tags {
    margin: 10px 0;
    font-size: 14px;
}

.article-tags .article-tag {
    display: inline-block;
    background: #f3f3f3;
    color: #666;
    border-radius: 3px;
    padding: 2px 10px;
    margin-right: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.article-tags .article-tag:hover {
    background: #e0e0e0;
    color: #222;
}

.article-author {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 15px;
}

.article-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid #eee;
}

.article-author a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.article-neighbor {
    display: flex;
    justify-content: space-between;
    margin: 30px 0 10px 0;
}

.article-neighbor .article-neighbor-item {
    width: 48%;
    background: #FFFFFF;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
}

.article-neighbor .article-neighbor-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-neighbor .article-neighbor-link {
    display: block;
    padding: 16px;
    color: #333;
    text-decoration: none;
}

.article-neighbor .article-neighbor-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
}

.article-neighbor .article-neighbor-meta {
    font-size: 13px;
    color: #888;
}

.article-comments {
    margin: 40px 0 0 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    padding: 20px;
}

.article-comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-comment {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.article-comment:last-child {
    border-bottom: none;
}

.article-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 12px;
    border: 1px solid #eee;
}

.article-comment-body {
    flex: 1;
}

.article-comment-author {
    font-weight: bold;
    color: #3498db;
    margin-right: 8px;
}

.article-comment-time {
    color: #aaa;
    font-size: 12px;
}

.article-comment-content {
    margin: 6px 0 0 0;
    font-size: 15px;
    color: #333;
}

.article-comment-reply {
    margin-top: 4px;
}

.article-comment-reply-btn {
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
}

.article-comment-children {
    margin-left: 40px;
    margin-top: 10px;
}

.article-comment-form {
    margin-top: 30px;
    background: #fafbfc;
    border-radius: 6px;
    padding: 18px 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.article-comment-form textarea {
    width: 100%;
    min-height: 80px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 10px;
    font-size: 15px;
    resize: vertical;
}

.article-comment-form input[type="text"],
.article-comment-form input[type="email"],
.article-comment-form input[type="url"] {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 8px;
    font-size: 15px;
    margin-bottom: 10px;
}

.article-comment-form input[type="submit"] {
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 24px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.article-comment-form input[type="submit"]:hover {
    background: #217dbb;
}



/*图标*/
i {
  font-style: normal
}

#font-adjust .iconfont {
  color: #898787;
  background: #f2f2f5
}
.iconfont {
  line-height: 1;
  display: inline-block;
  vertical-align: middle
}

a {
    text-decoration: none;
}
