@charset "UTF-8";
/*
Theme Name: RV Newspaper 报纸头版
Theme URI: about:blank
Author: Revive Templates
Description: 日报头版风：居中报头、日期刊号线、双细线分隔、三栏新闻流、衬线正文与首行缩进。新闻纸底+墨黑+报红，信息密度高、气质严肃。适合资讯站、行业媒体、政策解读。
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rv-newspaper
Tags: business, newspaper, editorial, serif
*/

:root {
  --rv-primary: #141414;
  --rv-primary-dark: #000000;
  --rv-accent: #a3231f;
  --rv-text: #141414;
  --rv-text-2: #4a4741;
  --rv-text-3: #77716a;
  --rv-line: #c9c3b4;
  --rv-line-2: #ddd7c8;
  --rv-bg: #f4f1e8;
  --rv-bg-2: #ebe7db;
  --rv-bg-3: #e2ddcf;
  --rv-container: 1200px;

  --np-ink: #141414;
  --np-accent: #a3231f;
  --np-bg: #f4f1e8;
  --np-bg-2: #ebe7db;
  --np-line: #c9c3b4;
  --np-line-2: #ddd7c8;
  --np-text-2: #4a4741;
  --np-text-3: #77716a;

  --np-s1: 4px;
  --np-s2: 8px;
  --np-s3: 12px;
  --np-s4: 16px;
  --np-s5: 24px;
  --np-s6: 32px;
  --np-s7: 48px;
  --np-s8: 64px;

  --np-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --np-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
  --np-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --np-ease: cubic-bezier(.2, 0, 0, 1);
  --np-dur: 220ms;
}

.np-wrap { max-width: var(--rv-container); margin: 0 auto; padding: 0 28px; }
.np-shell { background: var(--np-bg); color: var(--np-ink); }
body { background: var(--rv-bg); }

/* ================= 报头 ================= */
.np-dateline {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 14px 0 10px;
  font-family: var(--np-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--np-text-3);
}
.np-dateline .np-mid { text-align: center; color: var(--np-accent); }
.np-dateline .np-right { text-align: right; }

.np-masthead { text-align: center; padding: 6px 0 14px; }
.np-masthead h1 { font-family: var(--np-serif); font-size: clamp(34px, 5.4vw, 64px); line-height: 1.06; letter-spacing: .02em; font-weight: 700; }
.np-masthead h1 a { color: var(--np-ink); }
.np-masthead .np-deck { margin-top: 10px; font-size: 13px; letter-spacing: .3em; color: var(--np-text-3); text-transform: uppercase; }
.np-rule { border-top: 3px solid var(--np-ink); border-bottom: 1px solid var(--np-ink); height: 4px; }
.np-rule--thin { border-top: 1px solid var(--np-ink); border-bottom: 0; height: 0; }

/* ================= 栏目导航 ================= */
.np-nav { display: flex; justify-content: center; flex-wrap: wrap; padding: 11px 0; border-bottom: 1px solid var(--np-line); }
.np-nav a {
  padding: 0 18px; font-size: 13.5px; letter-spacing: .06em; color: var(--np-text-2);
  border-right: 1px solid var(--np-line); transition: color var(--np-dur) var(--np-ease);
}
.np-nav a:last-child { border-right: 0; }
.np-nav a:hover { color: var(--np-accent); }

/* ================= 头条区 ================= */
.np-lead { display: grid; grid-template-columns: 1.45fr .55fr; gap: 0; padding: 28px 0 30px; border-bottom: 3px solid var(--np-ink); }
.np-lead-main { padding-right: 32px; }
.np-kicker {
  display: inline-block; font-family: var(--np-mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--np-accent);
}
.np-lead-main h2 { margin: 10px 0 12px; font-family: var(--np-serif); font-size: clamp(26px, 3.4vw, 42px); line-height: 1.28; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.np-lead-main h2 a { color: var(--np-ink); }
.np-lead-main h2 a:hover { color: var(--np-accent); }
.np-lead-main p { font-family: var(--np-serif); font-size: 15.5px; line-height: 1.95; color: var(--np-text-2); }
.np-lead-main .np-figure { margin-top: 18px; }
.np-lead-main .np-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.np-byline { display: flex; gap: 14px; margin-top: 14px; padding-top: 9px; border-top: 1px solid var(--np-line); font-family: var(--np-mono); font-size: 10.5px; color: var(--np-text-3); }

.np-briefs { border-left: 1px solid var(--np-line); padding-left: 26px; }
.np-brief { padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--np-line); }
.np-brief:last-child { border-bottom: 0; margin-bottom: 0; }
.np-brief h3 { font-family: var(--np-serif); font-size: 16.5px; line-height: 1.55; font-weight: 600; }
.np-brief h3 a { color: var(--np-ink); }
.np-brief h3 a:hover { color: var(--np-accent); }
.np-brief p { margin-top: 7px; font-size: 13px; line-height: 1.8; color: var(--np-text-2); }
.np-brief .np-date { display: block; margin-top: 8px; font-family: var(--np-mono); font-size: 10px; color: var(--np-text-3); }

/* ================= 版块 ================= */
.np-section { padding: 26px 0 34px; border-bottom: 1px solid var(--np-line); }
.np-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.np-section-head h2 {
  font-family: var(--np-serif); font-size: 19px; letter-spacing: .04em; font-weight: 700;
  padding-left: 12px; border-left: 4px solid var(--np-accent);
}
.np-section-head a { font-family: var(--np-mono); font-size: 10.5px; letter-spacing: .14em; color: var(--np-text-3); }
.np-section-head a:hover { color: var(--np-accent); }

.np-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.np-item { padding-top: 14px; border-top: 1px solid var(--np-line); }
.np-item:first-child, .np-cols .np-item:nth-child(3n+1) { }
.np-item .np-kicker { font-size: 10px; }
.np-item h3 { margin: 7px 0 8px; font-family: var(--np-serif); font-size: 19px; line-height: 1.5; font-weight: 600; }
.np-item h3 a { color: var(--np-ink); }
.np-item h3 a:hover { color: var(--np-accent); }
.np-item p { font-size: 13.5px; line-height: 1.85; color: var(--np-text-2); }
.np-item .np-date { display: block; margin-top: 9px; font-family: var(--np-mono); font-size: 10px; color: var(--np-text-3); }

/* 双栏图片条 */
.np-band { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 26px 0 34px; border-bottom: 1px solid var(--np-line); }
.np-band figure { margin: 0; }
.np-band img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.np-band h3 { margin-top: 12px; font-family: var(--np-serif); font-size: 18px; line-height: 1.5; }
.np-band p { margin-top: 6px; font-size: 13.5px; line-height: 1.8; color: var(--np-text-2); }

/* ================= 分页 / 页脚 ================= */
.np-pager { display: flex; justify-content: center; gap: 6px; padding: 28px 0 54px; font-family: var(--np-mono); font-size: 12px; }
.np-pager a, .np-pager span { padding: 6px 12px; border: 1px solid var(--np-line); color: var(--np-text-2); }
.np-pager .current { background: var(--np-ink); color: var(--np-bg); border-color: var(--np-ink); }
.np-pager a:hover { border-color: var(--np-ink); color: var(--np-ink); }

.np-foot { padding: 26px 0 40px; }
.np-foot-top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 16px; border-bottom: 3px solid var(--np-ink); }
.np-foot-brand { font-family: var(--np-serif); font-size: 26px; font-weight: 700; }
.np-foot-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--np-text-2); }
.np-foot-copy { display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--np-mono); font-size: 10.5px; color: var(--np-text-3); }

/* ================= 文章页 ================= */
.np-post-shell { padding: 26px 0 60px; }
.np-post { max-width: 720px; margin: 0 auto; }
.np-crumb { display: flex; gap: 8px; font-family: var(--np-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--np-text-3); margin-bottom: 20px; }
.np-crumb a { color: var(--np-text-3); border-bottom: 1px solid var(--np-line); }
.np-crumb a:hover { color: var(--np-accent); }
.np-post-head h1 { font-family: var(--np-serif); font-size: clamp(28px, 3.8vw, 42px); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.np-post-dek { margin-top: 14px; font-family: var(--np-serif); font-size: 16px; line-height: 1.9; color: var(--np-text-2); }
.np-post-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; padding: 10px 0; border-top: 1px solid var(--np-ink); border-bottom: 1px solid var(--np-line); font-family: var(--np-mono); font-size: 10.5px; color: var(--np-text-3); }

.np-prose { margin-top: 30px; font-family: var(--np-serif); font-size: 16.5px; line-height: 2.0; color: #1c1a16; }
.np-prose p { margin: 0 0 1.05em; text-indent: 2em; }
.np-prose h2 { margin: 40px 0 14px; font-size: 24px; font-weight: 700; text-indent: 0; }
.np-prose h3 { margin: 30px 0 10px; font-size: 19px; font-weight: 700; text-indent: 0; }
.np-prose ul, .np-prose ol { margin: 0 0 1.2em 2em; }
.np-prose li { list-style: square; margin-bottom: .45em; text-indent: 0; }
.np-prose ol li { list-style: decimal; }
.np-prose a { color: var(--np-accent); border-bottom: 1px solid rgba(163,35,31,.3); }
.np-prose img { margin: 24px 0; }
.np-prose blockquote { margin: 28px 0; padding: 2px 0 2px 22px; border-left: 3px solid var(--np-accent); font-size: 17px; color: var(--np-text-2); text-indent: 0; }
.np-prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.np-prose th, .np-prose td { border: 1px solid var(--np-line); padding: 9px 12px; text-indent: 0; }
.np-prose th { background: var(--np-bg-2); }

.np-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.np-tags a { padding: 4px 10px; border: 1px solid var(--np-line); font-family: var(--np-sans); font-size: 12px; color: var(--np-text-2); }

.np-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 38px; border-top: 1px solid var(--np-ink); }
.np-pn a { padding: 16px 0; border-bottom: 1px solid var(--np-line); }
.np-pn a + a { padding-left: 20px; border-left: 1px solid var(--np-line); }
.np-pn span { display: block; font-family: var(--np-mono); font-size: 10px; letter-spacing: .14em; color: var(--np-text-3); margin-bottom: 6px; }
.np-pn b { font-family: var(--np-serif); font-size: 15px; font-weight: 600; line-height: 1.55; }

.np-related { margin-top: 46px; padding-top: 22px; border-top: 3px solid var(--np-ink); }
.np-related h2 { font-family: var(--np-serif); font-size: 17px; padding-left: 12px; border-left: 4px solid var(--np-accent); margin-bottom: 16px; }
.np-related ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.np-related li { padding: 11px 0; border-bottom: 1px solid var(--np-line); }
.np-related a { font-family: var(--np-serif); font-size: 15px; line-height: 1.6; }
.np-related span { display: block; margin-top: 4px; font-family: var(--np-mono); font-size: 10px; color: var(--np-text-3); }


/* ================= 内页：归档 / 404 ================= */
.np-arch-head { padding: 30px 0 22px; border-bottom: 3px solid var(--np-ink); }
.np-arch-head h1 { margin-top: 12px; font-family: var(--np-serif); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.25; font-weight: 700; }
.np-arch-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; font-size: 13.5px; color: var(--np-text-2); }
.np-cols--arch { padding: 24px 0 8px; }
.np-empty { max-width: 560px; padding: 70px 0 110px; }
.np-empty h2 { font-family: var(--np-serif); font-size: 24px; }
.np-empty p { margin: 10px 0 18px; color: var(--np-text-2); }
.np-empty a { border-bottom: 1px solid var(--np-ink); font-size: 14px; }
.np-404 { max-width: 640px; padding: 68px 0 100px; }
.np-404-code { font-family: var(--np-serif); font-size: 110px; line-height: .9; color: var(--np-accent); letter-spacing: -.03em; }
.np-404 h1 { margin-top: 8px; font-family: var(--np-serif); font-size: 30px; }
.np-404 p { margin: 12px 0 22px; color: var(--np-text-2); font-family: var(--np-serif); }
.np-404-btn { display: inline-block; padding: 9px 18px; border: 1px solid var(--np-ink); font-size: 13.5px; }
.np-404-btn:hover { background: var(--np-ink); color: var(--np-bg); }
.np-404-cats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; font-size: 13px; }
.np-404-cats a { color: var(--np-text-2); border-bottom: 1px solid var(--np-line); }
@media (max-width: 640px) {
  .np-404 { padding: 44px 0 70px; }
  .np-404-code { font-size: 78px; }
}

/* ================= 响应式 ================= */
@media (max-width: 980px) {
  .np-lead { grid-template-columns: 1fr; }
  .np-lead-main { padding-right: 0; padding-bottom: 20px; }
  .np-briefs { border-left: 0; padding-left: 0; border-top: 1px solid var(--np-line); padding-top: 18px; }
  .np-cols { grid-template-columns: 1fr 1fr; }
  .np-band { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .np-wrap { padding: 0 18px; }
  .np-dateline { grid-template-columns: 1fr; text-align: center; gap: 4px; }
  .np-dateline .np-right { text-align: center; }
  .np-nav a { padding: 4px 12px; border-right: 0; }
  .np-cols { grid-template-columns: 1fr; gap: 20px; }
  .np-masthead h1 { font-size: 30px; }
  .np-lead-main h2 { font-size: 25px; }
  .np-prose { font-size: 16px; line-height: 1.95; }
  .np-prose p { text-indent: 2em; }
  .np-pn { grid-template-columns: 1fr; }
  .np-pn a + a { padding-left: 0; border-left: 0; }
  .np-related ul { grid-template-columns: 1fr; }
  .np-foot-top { flex-direction: column; }
}
