/**
 * KNN-归档时间轴 页面样式（自包含）
 */

/* 月份分组 */
.knn-archives .archives-group {
    padding: 10px 0 20px;
}

/* 分组标题（居中短下划线） */
.knn-archives .title-h-center {
    position: relative;
    padding-bottom: 8px;
    margin: 0 0 15px;
    font-weight: 600;
}

.knn-archives .title-h-center:before {
    transition: 0.4s;
    position: absolute;
    content: '';
    width: 40px;
    height: 3px;
    background: var(--knn-color-primary);
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transform-origin: center;
    border-radius: 3px;
}

.knn-archives .title-h-center:hover:before {
    width: 60px;
}

.knn-archives .text-center {
    text-align: center;
}

/* 文章列表（左日期 + 右标题） */
.knn-archives .list-inline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.knn-archives .author-set-left,
.knn-archives .author-set-right {
    display: inline-block;
    vertical-align: top;
}

.knn-archives .author-set-left {
    width: 20%;
    margin-right: 20px;
    text-align: right;
    padding-top: 6px;
    color: var(--knn-text-color-grey, #999);
    font-size: 13px;
}

.knn-archives .author-set-right {
    width: calc(80% - 25px);
    overflow: hidden;
    padding: 4px 0;
    font-size: 14px;
}

.knn-archives .author-set-right > a {
    color: inherit;
    font-size: 14px;
}

.knn-archives .author-set-right > a:hover {
    color: var(--knn-color-primary);
}

/* 统计（阅读/评论/点赞） */
.knn-archives .author-set-right .muted-2-color {
    color: var(--knn-text-color-grey, #999);
    font-size: 12px;
}

.knn-archives .ml6 {
    margin-left: 6px;
}

.knn-archives .author-set-right svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
    margin-right: 3px;
}

/* 移动端 */
@media (max-width: 767px) {
    .knn-archives .author-set-left {
        width: 30px;
        text-align: left;
        margin-right: 10px;
    }

    .knn-archives .author-set-right {
        width: calc(100% - 60px);
    }
}
