* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f8fc;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: #0f2b3d;
    line-height: 1.5;
    padding: 10px;
    word-break: break-word;
}

a {
    color: #2c7da0;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color: #2c7da0;
    text-decoration: none;
}

/* 单栏容器，最大宽度880px，优雅阅读 */
.container {
    max-width: 880px;
    margin: 0 auto;
    width: 100%;
}

/* ========= 面包屑导航 ========= */
.breadcrumb-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: #EBEEF2;
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* 面包屑列表 - 限制宽度880px并左对齐 */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    font-size: 0.9rem;
    color: #5f7f9e;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 10px;
    box-sizing: border-box;
}

.breadcrumb-current {
    color: #1e3a5f;
    font-weight: 500;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 40px;
    max-width: 500px;
}

/* 卡片组件 */
.card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #eef2f8;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.card-title {
    padding-bottom: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5f7f9e;
    border-bottom: 1px solid #eff3f9;
    background: #ffffff;
}

/* 文章页头部 */
.post-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eff3f9;
    padding-bottom: 1rem;
}

.post-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0a2942;
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: #6f8eaa;
}

/* 文章正文 (紧凑但可读) */
.post-content {
    font-size: 0.96rem;
    color: #1e2f3e;
    line-height: 1.65;
    margin-bottom: 22px;
}

.post-content p {
    margin-bottom: 1.2rem;
}

.post-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.4rem 0 0.6rem;
}

.post-content blockquote {
    border-left: 3px solid #bdd4e4;
    background: #f9fbfe;
    padding: 0.6rem 1rem;
    margin: 1rem 0;
    font-style: normal;
    color: #2c4c6c;
    font-size: 0.92rem;
}

.post-content img {
    display: block;
    margin: 10px 0;
    max-width: 100%;
    border-radius: 20px;
}

/* 上下篇导航: 紧凑双栏 */
.navigation {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-prev, .nav-next {
    flex: 1;
    min-width: 160px;
}

.nav-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8aa4c0;
    margin-bottom: 0.2rem;
}

.nav-next {
    text-align: right;
}

.post-link {
    color: #0f2b3d;
}

.post-link:hover {
    color: #2c7da0;
    text-decoration: none;
}

/* 扩展阅读模块 */
.extend-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.extend-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-bottom: 1px solid #f0f4fa;
    padding: 0.8rem 0;
}

/* 文章列表容器 */
.articles-list {
    display: flex;
    flex-direction: column;
}

/* 单篇文章卡片样式 */
.article-item {
    padding: 1.1rem 0;
    border-bottom: 1px solid #f0f4fa;
    transition: background 0.2s;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    background: #fbfdff;
}

/* 标题行：标题与时间在同一行紧凑显示 */
.article-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.article-title {
    font-size: 1rem;
    font-weight: 650;
    color: #0f2b3d;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
}

.article-title:hover {
    color: #1f6392;
    text-decoration: underline;
}

.post-date {
    font-size: 0.75rem;
    color: #7f9bb5;
}

/* 摘要区域: 简洁两行截断 */
.article-summary {
    font-size: 0.82rem;
    color: #4a627a;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 页脚 */
.footer-note {
    margin-top: 1.8rem;
    text-align: center;
    font-size: 0.7rem;
    color: #7f9bb5;
    border-top: 1px solid #e2eaf0;
    padding-top: 1.2rem;
}

/* 博主头部区域 */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #d9e6f2, #c2d6e8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #2c5a7a;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.profile-info {
    flex: 1;
}

.blogger-name {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0a2942;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.blogger-bio {
    font-size: 0.9rem;
    color: #4a627a;
    margin-bottom: 0.5rem;
    max-width: 90%;
}

.blogger-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: #5f7f9e;
    margin-top: 0.2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ---------- 极简分页 ---------- */
.pagination-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 32px 0;
    padding: 18px 0;
    border-top: 0px solid #e9f0f5;
    border-bottom: 0px solid #e9f0f5;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 16px;
    background: #ffffff;
    border: 1px solid #cbdde9;
    border-radius: 60px;
    text-decoration: none;
    color: #2c5a74;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 0.8rem;
}

.page-btn:hover {
    background-color: #ecf5f9;
    border-color: #9bb7d0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.page-count {
    font-size: 0.8rem;
    background: #f2f6fa;
    padding: 2px 10px;
    border-radius: 40px;
    color: #1f5a77;
    font-weight: 500;
}

/* 每个博主条目 */
.blogger-entry {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid #e8edf2;
    overflow: hidden;
    margin-bottom: 20px;
}

.blogger-entry:hover {
    background: #fefefe;
    border-color: #cddfe8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* 条目内部布局 */
.entry-content {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.9rem 1.2rem;
}

.blog-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #eef3fc;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c7da0;
    font-size: 1.2rem;
    transition: 0.1s;
    font-weight: 800;
}

.entry-info {
    flex: 1;
    min-width: 0;
}

.blog-name-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f2b3d;
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: -0.2px;
    margin-bottom: 0.2rem;
}

.entry-info i {
    font-size: 0.6rem;
    color: #4f8db0;
    margin-left: 4px;
}

.latest-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: #1e3a5f;
    text-decoration: none;
    line-height: 1.35;
    margin: 0.2rem 0;
    transition: color 0.2s;
}

.latest-title:hover {
    color: #2c7da0;
    text-decoration: underline;
}

/* 标签列表 */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 1.2rem 0;
}

.tag-item {
    display: inline-block;
    background: #eff3f9;
    padding: 6px 18px;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    color: #26648b;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.tag-item:hover {
    background: #e2ecf5;
    color: #0a5a5a;
    border-color: #bdd1e4;
    transform: scale(1.02);
}

/* 标签展示页 */
.tag-header {
    background: #ffffff;
    border-radius: 28px;
    padding: 28px 30px;
    margin-bottom: 1.8rem;
    text-align: center;
}

.tag-badge {
    display: inline-block;
    background: #e8f0fe;
    padding: 8px 28px;
    border-radius: 60px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f6392;
    letter-spacing: -0.3px;
    margin-bottom: 18px;
}

.tag-description {
    font-size: 1rem;
    color: #2c5575;
    max-width: 560px;
    margin: 0 auto;
    background: #fafcff;
    padding: 12px 20px;
    border-radius: 60px;
}



/* 响应式调整 */
@media (max-width: 640px) {
    .post-card {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .related-reads {
        padding: 1.2rem;
    }

    .navigation {
        padding: 0.8rem 1.2rem;
        flex-direction: column;
    }

    .nav-prev, .nav-next {
        flex: auto;
        text-align: left;
    }

    .nav-next {
        text-align: left;
        margin-top: 0.5rem;
    }

    .article-header {
        flex-direction: column;
        gap: 0.2rem;
    }

    .article-date {
        white-space: normal;
        font-size: 0.68rem;
    }

    .article-title {
        font-size: 0.95rem;
    }

    .section-title {
        padding: 0.8rem 1.2rem;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .avatar {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }

    .blogger-name {
        font-size: 1.5rem;
    }

    .blogger-bio {
        max-width: 100%;
    }

    .blogger-profile {
        padding: 1.4rem 1.5rem;
    }
}