/* ============================================================
   shanghai-light style.css — 上海登报网轻量主题
   视觉：红金主色（上海红）+ 信息列表/表格风格
   零框架，移动端自适应
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #2b2b2b;
    background: #f7f5f2;
}
a { color: #a61c1c; text-decoration: none; }
a:hover { color: #c9302c; text-decoration: underline; }
img { max-width: 100%; height: auto; }

.sh-wrap { max-width: 1080px; margin: 0 auto; background: #fff; min-height: 100vh; }
.sh-shell { max-width: 1020px; margin: 0 auto; padding: 0 16px; }
.sh-body { max-width: 1020px; margin: 0 auto; padding: 20px 16px 40px; }

/* ---------- 头部 ---------- */
.sh-head { background: #8f1414; color: #fff; }
.sh-head .sh-shell { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.sh-brand a { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.sh-brand a:hover { text-decoration: none; }
.sh-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.sh-nav a { color: #f5d9a8; font-size: 15px; }
.sh-nav a:hover { color: #fff; text-decoration: none; }
.sh-menu-btn { display: none; background: none; border: 1px solid #f5d9a8; color: #fff; font-size: 18px; padding: 4px 10px; border-radius: 4px; cursor: pointer; }

/* ---------- 面包屑 ---------- */
.sh-crumb { font-size: 14px; color: #888; margin-bottom: 14px; }
.sh-crumb a { color: #a61c1c; }

/* ---------- 文章页 ---------- */
.sh-article h1 { font-size: 26px; line-height: 1.4; margin-bottom: 10px; color: #8f1414; }
.sh-meta { font-size: 13px; color: #999; margin-bottom: 20px; border-bottom: 2px solid #f0e3d0; padding-bottom: 10px; }
.sh-article h2 { font-size: 21px; margin: 26px 0 12px; color: #8f1414; border-left: 4px solid #c9302c; padding-left: 10px; }
.sh-article h3 { font-size: 18px; margin: 20px 0 10px; color: #a61c1c; }
.sh-article p { margin: 10px 0; }
.sh-article ul, .sh-article ol { margin: 10px 0 10px 24px; }
.sh-article table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.sh-article th, .sh-article td { border: 1px solid #e5dccf; padding: 8px 10px; font-size: 15px; }
.sh-article th { background: #f8eee0; color: #8f1414; }
.sh-trust { margin-top: 30px; padding: 14px 16px; background: #faf6ef; border: 1px solid #eee0cc; border-radius: 6px; font-size: 14px; color: #777; }

/* ---------- 列表页 ---------- */
.sh-list-item { padding: 16px 0; border-bottom: 1px dashed #e5dccf; }
.sh-list-title { font-size: 18px; }
.sh-list-title a { color: #2b2b2b; }
.sh-list-title a:hover { color: #a61c1c; }
.sh-list-desc { font-size: 14px; color: #777; margin-top: 6px; }

/* ---------- 城市页 ---------- */
.sh-city-hero { background: #fdf8f0; border: 1px solid #f0e3d0; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
.sh-city-hero h1 { font-size: 24px; color: #8f1414; margin-bottom: 10px; }
.sh-city-lead { font-size: 16px; margin-bottom: 8px; }
.sh-city-desc { font-size: 14px; color: #666; }
.sh-city-section { margin: 24px 0; }
.sh-city-section h2 { font-size: 20px; color: #8f1414; border-left: 4px solid #c9302c; padding-left: 10px; margin-bottom: 12px; }
.sh-paper-table { border: 1px solid #e5dccf; border-radius: 6px; overflow: hidden; }
.sh-paper-row { display: flex; border-bottom: 1px solid #eee4d4; }
.sh-paper-row:last-child { border-bottom: none; }
.sh-paper-name { width: 180px; flex-shrink: 0; padding: 10px 14px; font-weight: 600; background: #faf6ef; color: #8f1414; }
.sh-paper-facts { padding: 10px 14px; font-size: 14px; color: #555; }
.sh-city-flow { background: #faf6ef; padding: 14px 18px; border-radius: 6px; font-size: 15px; }
.sh-city-flow ol { padding-left: 22px; }
.sh-faq-row { border-bottom: 1px dashed #e5dccf; padding: 10px 0; }
.sh-faq-q { font-weight: 600; color: #333; margin-bottom: 4px; }
.sh-faq-a { font-size: 15px; color: #555; }

/* ---------- 报纸官网式页面 ---------- */
.sh-paper-hero { background: linear-gradient(135deg, #8f1414, #c9302c); color: #fff; border-radius: 8px; padding: 24px; margin-bottom: 20px; }
.sh-paper-hero h1 { font-size: 24px; margin-bottom: 10px; color: #fff; }
.sh-paper-lead { font-size: 15px; color: #f5d9a8; }
.sh-paper-arch { background: #fdf8f0; border: 1px solid #f0e3d0; border-radius: 8px; padding: 16px 20px; }
.sh-arch-list { margin: 0; }
.sh-arch-list dt { font-weight: 700; color: #8f1414; margin-top: 8px; font-size: 14px; }
.sh-arch-list dt:first-child { margin-top: 0; }
.sh-arch-list dd { margin: 2px 0 0; font-size: 15px; color: #444; }
.sh-arch-business { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e5dccf; font-size: 15px; color: #555; }
.sh-paper-biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
.sh-biz-item { background: #faf6ef; border: 1px solid #eee0cc; border-radius: 6px; padding: 14px; }
.sh-biz-item h3 { font-size: 16px; color: #8f1414; margin-bottom: 6px; }
.sh-biz-item p { font-size: 14px; color: #666; margin: 0; }
@media (max-width: 768px) {
    .sh-paper-biz { grid-template-columns: 1fr; }
}

/* ---------- 分页 ---------- */
.sh-pager { margin: 24px 0; text-align: center; }
.sh-pager a, .sh-pager span { display: inline-block; padding: 5px 12px; margin: 0 3px; border: 1px solid #e5dccf; border-radius: 4px; font-size: 14px; }
.sh-pager .now-page { background: #8f1414; color: #fff; border-color: #8f1414; }

/* ---------- 页脚 ---------- */
.sh-foot { background: #2b2b2b; color: #ccc; margin-top: 30px; padding: 24px 0 18px; }
.sh-city-matrix h3 { color: #f5d9a8; font-size: 16px; margin-bottom: 10px; }
.sh-city-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 16px; margin-bottom: 18px; }
.sh-city-list a { color: #bbb; font-size: 14px; }
.sh-city-list a:hover { color: #f5d9a8; }
.sh-foot-info { border-top: 1px solid #444; padding-top: 14px; font-size: 13px; color: #999; }
.sh-foot-info p { margin: 4px 0; }
.sh-foot-info a { color: #ccc; }

/* ---------- 404 ---------- */
.sh-404 { text-align: center; padding: 60px 20px; }
.sh-404 h1 { font-size: 30px; color: #8f1414; margin-bottom: 16px; }
.sh-404 p { margin: 8px 0; color: #666; }
.sh-btn { display: inline-block; margin: 14px 0; padding: 10px 28px; background: #8f1414; color: #fff; border-radius: 6px; }
.sh-btn:hover { background: #c9302c; text-decoration: none; }
.sh-city-404 { margin-top: 18px; font-size: 14px; line-height: 2; }
.sh-city-404 a { margin: 0 6px; }

/* ---------- 移动端 ---------- */
@media (max-width: 768px) {
    .sh-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #8f1414; flex-direction: column; padding: 10px 16px; gap: 10px; }
    .sh-nav.open { display: flex; }
    .sh-menu-btn { display: block; }
    .sh-head .sh-shell { position: relative; }
    .sh-city-list { grid-template-columns: repeat(2, 1fr); }
    .sh-paper-row { flex-direction: column; }
    .sh-paper-name { width: 100%; }
    .sh-article h1 { font-size: 22px; }
}
