
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #f5f5f0;          /* 页面背景：淡米白 */
    --panel: #fdfdf8;       /* 左侧栏背景 */
    --text-main: #111111;   /* 主文本色 */
    --text-sub: #6b6b6b;    /* 次要文本 */
    --accent: #111111;      /* 强调色（标题、hover等） */
    --border: #d4d4c8;      /* 分隔线颜色 */
    --hover-bg: #ece9dd;    /* 列表 hover 背景 */
    --font-cn: -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               system-ui, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: var(--font-cn);
    -webkit-font-smoothing: antialiased;
}

/* ============================
   Layout: 左侧导航 + 右侧内容
============================ */
.page {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 100vh;
}

/* ============================
   左
============================ */
.sidebar {
    border-right: 1px solid var(--border);
    background: var(--panel);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.logo a {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--accent);
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    font-size: 14px;
    color: var(--text-sub);
    text-decoration: none;
    padding: 4px 0;
}

.nav-item:hover,
.nav-item.is-active {
    color: var(--accent);
    font-weight: 500;
}

.small-text {
    margin-top: auto;
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.6;
}

/* ============================
   右
============================ */
.content {
    padding: 24px 32px 40px;
    position: relative;
    
}

.content::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        rgba(56, 189, 248, 0.35),
        rgba(129, 140, 248, 0)
    );
    top: -40px;
    right: -40px;
    pointer-events: none;
    z-index: -1;
}



/* --- Intro 区块 --- */
.intro {
    max-width: 640px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.intro p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-sub);
}

.intro-tagline {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 10px;
    color: var(--accent);
}

.intro p + p {
    margin-top: 8px;
}

.list-section {
    position: relative;
    padding-left: 16px;         /* 给小圆点留一点空间 */
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-sub);
    margin: 16px 0 6px;
}

/* 小圆点 */
.list-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
}


.list {
    margin-top: 4px;
}

.list-item {
    display: flex;
    position: relative; 
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding: 14px 12px 14px 16px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background 0.16s ease-out, transform 0.12s ease-out;
}

.list-item::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-radius: 999px;
    background: transparent;
    transition: background 0.16s ease-out;
}

.list-item:hover::before {
    background: var(--accent); 
}

.list-item:hover {
    background: var(--hover-bg);
    transform: translateX(3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}


/* --- 左 --- */
.list-main h2 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 6px;
    line-height: 1.35;
}

.list-main h2 {
    position: relative;
    padding-left: 12px;
}

.list-main h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 1px;
    background: var(--accent);
}

.desc {
    font-size: 13.5px;
    color: var(--text-sub);
    max-width: 580px;
    line-height: 1.65;
    letter-spacing: 0.005em;
}

/* --- 右侧 meta 区（更规整） --- */
.list-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 110px;
    gap: 3px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--text-sub);
}


@media (max-width: 768px) {
    .page {
        grid-template-columns: 1fr;
    }

    .sidebar {
        flex-direction: row;
        align-items: center;
        border-right: none;
        border-bottom: 1px solid var(--border);
        gap: 16px;
    }

    .small-text {
        margin-top: 0;
        margin-left: auto;
        text-align: right;
    }

    .content {
        padding: 18px 16px 32px;
    }

    .list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .list-meta {
        flex-direction: row;
        gap: 8px;
        margin-top: 4px;
        align-items: center;
    }
}





