/* ===== 产品经理沉浮录 · 系列样式 =====
   基础令牌、页头页脚、按钮等均来自 ../style.css，这里只写本系列特有的排版。
   焦点元素：年份（--font-num），列表卡与详情页共用一套卡片语言。 */

/* ===== 页面骨架 ===== */
.st-main {
    padding-top: 72px; /* 与全站一致：面包屑距顶 104（列表）/ 144（详情） */
}

.st-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #9a9a9a;
    margin-bottom: 40px;
}

.st-crumb a {
    color: #6b6b6b;
}

.st-crumb a:hover {
    color: #000;
}

/* ===== 系列头 ===== */
.st-hero {
    padding: 32px 0 56px;
}

.st-eyebrow {
    font-family: var(--font-num);
    font-size: 12px;
    letter-spacing: 0.16em;
    color: #9a9a9a;
    margin: 0 0 16px;
}

.st-hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: #000;
    margin: 0 0 20px;
}

.st-hero-sub {
    font-size: 17px;
    line-height: 1.85;
    color: #4a4a4a;
    max-width: 640px;
    margin: 0 0 32px;
}

.st-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #6b6b6b;
}

.st-hero-meta strong {
    font-family: var(--font-num);
    font-size: 20px;
    font-weight: 400;
    color: #000;
    margin-right: 4px;
}

/* ===== 篇目时间轴 ===== */
.st-list {
    padding: 0 0 96px;
}

.st-timeline {
    position: relative;
    margin: 0 0 64px;
    padding: 0;
    list-style: none;
}

/* 中轴竖线 */
.st-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 200px;
    width: 1px;
    background: rgba(0, 0, 0, 0.12);
}

.st-node {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0 48px;
    align-items: baseline; /* 年份与卡片内的篇号同一基线 */
    padding-bottom: 28px;
}

.st-node:last-child {
    padding-bottom: 0;
}

/* 轴左：年份（系列的时间刻度，也是视觉焦点）
   时间跨度拆两行：首行起始年，次行「– 结束年」 */
.st-node-focus {
    font-family: var(--font-num);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #000;
    text-align: right;
    padding-right: 48px;
    margin: 0;
}

.st-node-focus-end {
    display: block;
}

/* 轴上的节点圆点：对齐卡片首行（篇号）的视觉中心
   top = 卡片内边距 26px + 篇号行盒半高 9.6px − 圆点半径 4.5px */
.st-node-dot {
    position: absolute;
    left: 200px;
    top: 31px;
    width: 9px;
    height: 9px;
    margin-left: -4px;
    border-radius: 50%;
    background: #000;
    transition: box-shadow 0.25s ease;
}

.st-node:hover .st-node-dot {
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.07);
}

/* 轴右：整块内容做成卡片 */
.st-node-body {
    display: block;
    padding: 26px 30px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.st-node:hover .st-node-body {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.st-node-no {
    display: block;
    font-family: var(--font-num);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #9a9a9a;
    margin-bottom: 8px;
}

.st-node-title {
    display: block;
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 600;
    line-height: 1.6;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.st-node:hover .st-node-title {
    color: #000;
}

/* ===== 微信公众号同步发布 ===== */
.st-wechat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
}

.st-list .st-wechat {
    margin-top: 24px;
}

.st-issue .st-wechat {
    max-width: 760px;
    margin-top: 64px;
}

.st-wechat-text {
    font-size: 14px;
    line-height: 1.8;
    color: #4a4a4a;
    margin: 0;
}

.st-wechat-text strong {
    color: #000;
    font-weight: 600;
}

.st-wechat-link {
    font-family: var(--font-num);
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    padding-bottom: 2px;
    white-space: nowrap;
}

.st-wechat-link:hover {
    border-bottom-color: #000;
}

/* ===== 单篇（详情页） ===== */
.st-issue {
    padding: 72px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* 篇头：篇号 + 年份，直接落在页面上（无卡片） */
.st-issue-head {
    max-width: 760px;
}

.st-issue-no {
    font-family: var(--font-num);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #9a9a9a;
    margin: 0 0 20px;
}

.st-focus {
    font-family: var(--font-num);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #000;
    margin: 0;
    word-break: break-word;
}

.st-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: #000;
    margin: 24px 0 0;
}

/* 正文：小说体排版，段内保留原文换行 */
.st-body {
    max-width: 720px;
    padding-top: 56px;
    font-size: 17px;
    line-height: 1.95;
    color: #1a1a1a;
}

.st-body p {
    margin: 0 0 24px;
}

.st-body p:last-child {
    margin-bottom: 0;
}

.st-body strong {
    font-weight: 700;
    color: #000;
}

/* 小节标题 */
.st-h {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: #000;
    margin: 56px 0 24px;
    padding-left: 14px;
    border-left: 3px solid #000;
}

.st-body > .st-h:first-child {
    margin-top: 0;
}

/* 加载与失败提示 */
.st-status {
    font-size: 15px;
    line-height: 1.9;
    color: #6b6b6b;
    margin: 0;
}

.st-status code {
    font-family: var(--font-num);
    font-size: 13px;
    color: #000;
}

.st-status a {
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 1px;
}

.st-status-error {
    color: #4a4a4a;
}

/* ===== 篇目导航 ===== */
.st-issue-nav {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    max-width: 760px;
    margin-top: 72px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.st-issue-back {
    font-size: 14px;
    color: #6b6b6b;
}

.st-issue-back:hover {
    color: #000;
}

.st-issue-next {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.st-issue-nav-label {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #9a9a9a;
}

.st-issue-nav-num {
    font-family: var(--font-num);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #000;
}

.st-issue-next:hover .st-issue-nav-num {
    color: #000;
}

/* ===== 响应式 ===== */
@media (max-width: 968px) {
    .st-timeline::before {
        left: 132px;
    }

    .st-node {
        grid-template-columns: 132px 1fr;
        gap: 0 32px;
    }

    .st-node-focus {
        font-size: clamp(24px, 4vw, 32px);
        padding-right: 32px;
    }

    .st-node-dot {
        left: 132px;
    }

    .st-hero {
        padding: 24px 0 48px;
    }
}

@media (max-width: 600px) {
    /* 窄屏：轴线贴左，年份落到标题上方 */
    .st-timeline::before {
        left: 4px;
    }

    .st-node {
        display: block;
        padding-left: 32px;
        padding-bottom: 24px;
    }

    .st-node-focus {
        font-size: 26px;
        text-align: left;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .st-node-dot {
        left: 4px;
        top: 9px;
    }

    .st-node-body {
        padding: 22px 20px;
    }

    .st-hero {
        padding: 24px 0 32px;
    }

    .st-issue {
        padding: 48px 0;
    }

    .st-body {
        padding-top: 40px;
        font-size: 16px;
        line-height: 1.9;
    }

    .st-h {
        margin: 40px 0 20px;
    }

    .st-issue-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-top: 56px;
    }

    .st-issue-next {
        align-items: flex-start;
        text-align: left;
    }

    .st-wechat {
        flex-direction: column;
        align-items: flex-start;
    }
}
