/***********************************************************************************
  深空间时光轴 - 中文与人物列表补充样式
***********************************************************************************/

/* 中文字体回退（模板默认的 Source Sans Pro 未内嵌） */
body {
    font-family: 'Source Sans Pro', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

#timeline article .content .copy h2 {
    word-break: break-word;
}

#timeline article .content .copy p {
    white-space: pre-wrap;
    word-break: break-word;
}

/***********************************************************************************
  人物列表页
***********************************************************************************/

#persons {
    min-height: 100vh;
    padding: 90px 20px 120px;
}

.persons-head {
    text-align: center;
    margin-bottom: 54px;
}

.persons-head img {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.persons-head h1 {
    font-size: 34px;
    margin-top: 20px;
    color: #404040;
}

.persons-head p {
    margin-top: 10px;
    color: #9a9a9a;
    font-size: 15px;
}

.person-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}

.person-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 32px 24px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-transition-duration: 0.15s;
    transition-duration: 0.15s;
}

.person-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
}

.person-card img {
    border-radius: 50%;
    width: 84px;
    height: 84px;
    object-fit: cover;
}

.person-card h2 {
    font-size: 20px;
    margin-top: 18px;
}

.person-card p {
    margin-top: 8px;
    font-size: 14px;
    color: #9a9a9a;
    min-height: 20px;
}

.person-card .go {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: #404040;
}

.person-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #9a9a9a;
    padding: 50px 0;
}

.person-empty a {
    font-weight: 600;
}

/* 列表页页脚改为常规流式布局 */
#persons ~ #footer {
    position: static;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 0;
}

#persons ~ #footer blockquote strong {
    color: #404040;
}
