/* ========== 说说分类｜两栏 · 松弛随笔风 按月分组 ========== */
.category-page-layout {
    display: flex;
    min-height: 100vh;
}

/* 左侧sticky侧边 */
.category-page-header {
    width: var(--sidebar-width);
    flex: 0 0 var(--sidebar-width);
    background: var(--color-bg-sidebar);
    padding: calc(var(--spacing-unit) * 2);
    box-sizing: border-box;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.category-page-logo {
    margin-bottom: calc(var(--spacing-unit) * 3);
}
.category-page-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
}
.category-page-site-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.category-page-title {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text);
    margin: 0 0 1rem;
}
.category-page-desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* 右侧主内容 */
.category-page-content {
    flex: 1;
    width: 100%;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
    overflow-y: auto;
}

.note-simple-list {
    max-width: 860px;
    margin: 0 auto;
}

/* 月份分割：松弛时间标记，不再粗边框 */
.note-month-heading {
    margin: calc(var(--spacing-unit)*3.2) 0 calc(var(--spacing-unit)*1.6);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.note-month-heading::after {
    content: "";
    flex:1;
    height:1px;
    background:rgba(0,0,0,0.09);
}

/* 说说条目：移除卡片底色大圆角，自适应内容宽度 */
.note-simple-item {
    max-width: 72%;
    margin-bottom: calc(var(--spacing-unit)*1.8);
    padding: 0.8rem 1.1rem;
    box-sizing: border-box;
    border-radius: 6px;
    /* 微弱悬浮感，不厚重 */
    background: transparent;
    transition: transform 0.24s ease, background 0.24s ease;
}
.note-simple-item:hover {
    transform: translateY(-2px);
    background: rgba(0,0,0,0.035);
}

/* 奇偶错落：奇数靠左，偶数靠右；宽度由内容撑开max-width限制最大 */
.note-odd {
    margin-right: auto;
    border-bottom-left-radius: 2px;
}
.note-even {
    margin-left: auto;
    border-bottom-right-radius: 2px;
}

.note-simple-time {
    font-size: 0.78rem;
    color: var(--color-text-light);
    margin-bottom: 0.4rem;
}
.note-simple-title {
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    line-height: 1.42;
}
.note-simple-title a {
    color: var(--color-text);
    text-decoration: none;
}
.note-simple-title a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.note-simple-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}
.note-simple-content p {
    margin-bottom: 0.8rem;
}
.note-simple-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 0.8rem 0;
    display: block;
}

.category-empty {
    text-align: center;
    padding: 4rem 0;
    color: var(--color-text-light);
}

/* 响应式 */
@media (max-width:1024px) {
    .category-page-layout {
        flex-direction: column;
    }
    .category-page-header {
        width: 100%;
        flex: none;
        height: auto;
        position: static;
    }
    .category-page-content {
        padding: calc(var(--spacing-unit) * 1.5);
    }
    .category-page-title {
        font-size: 1.4rem;
    }
}

@media (max-width:640px) {
    .note-month-heading {
        font-size:0.9rem;
    }
    .note-odd,
    .note-even {
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius:6px;
    }
    .note-simple-title {
        font-size: 1.05rem;
    }
    .note-simple-content {
        font-size: 0.96rem;
    }
}