/* 归档容器 */
.archives-single-col {
    padding: 0px 10px 20px 10px;
}

/* sticky头部容器 */
.sticky-header {
    position: sticky;
    z-index: 10;
    background: transparent;
  width: fit-content;
}

/* 年份sticky - 固定在顶部58px处 */
.sticky-year {
    top: 50px; /* 距离顶部58px处固定 - 桌面端和移动端保持一致 */
    margin-bottom: 0;
    padding-top: 12px;
    background: #25252500;
}

/* 月份sticky - 紧贴在年份下面 */
.sticky-month {
    top: 120px; /* 年份58px + 年份自身高度约70px = 128px - 桌面端和移动端保持一致 */
    margin-bottom: 0;
    background: transparent;
  z-index: -1;

}

/* 年份区块 */
.archive-year {
    margin-bottom: 40px;
      margin-top: -8px;
}

.archive-year:last-child {
    margin-bottom: 0;
}

/* 年份标题 */
.archive-year-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0084ff;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    position: relative;
}

.archive-year-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #0084ff;
    border-radius: 2px;
}

/* 月份区块 */
.month-section {
    margin-bottom: 20px;
}

.month-section:last-child {
    margin-bottom: 0;
}

/* 月份标题 */
.month-title {

    margin: 0 0 10px 0;
    padding-left: 12px;
    position: relative;
}

.month-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #0084ff;
    border-radius: 50%;
}

/* 月份文章列表 */
.month-posts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 70px; /*55*/
}

/* 文章链接 */
.archive-post {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: #2b2b2b;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.archive-post:hover {
    background: #333;
    border-left-color: #0084ff;
    transform: translateX(3px);
}

/* 日期 */
.post-date {
    font-size: 1.2rem;
    color: #0084ff;
    min-width: 24px;
    font-weight: 700;
    text-align: center;
    flex-shrink: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* 标题 */
.post-title {
    font-size: 1rem;
    color: #fff;
    flex: 1;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.archive-post:hover .post-title {
    color: #0084ff;
}

/* 空状态 */
.archives-empty-state {
    text-align: center;
    padding: 60px 20px;
    margin-top: 20px;
}

.archives-empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.archives-empty-state h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.archives-empty-state p {
    font-size: 0.95rem;
    color: #a0a0a0;
}

/* 响应式设计 - 只调整字体大小和布局，不调整sticky位置 */
@media (max-width: 768px) {
    .sticky-year {
top: 58px;
    }
.month-posts {
  margin-left: 60px;/*45*/
}
  .archives-single-col {
    padding: 0px 0px 20px 0px;
}
    .sticky-month {
        top: 120px;
    }
    
    .archive-year {
        margin-bottom: 30px;
    }
    
    .archive-year-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .archive-year-title::after {
        width: 40px;
    }
    
    .month-section {
        margin-bottom: 15px;
    }
    
    .month-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .archive-post {
        padding: 10px 12px;
        gap: 12px;
        flex-direction: row;
        align-items: center;
    }
    
    .post-date {
        font-size: 1.1rem;
        min-width: 22px;
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    .post-title {
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        min-height: 1.4em;
    }
}

























