/* NLR 159 Analysis - Shared Style */
:root {
  --bg: #fafaf8;
  --bg2: #f0ede5;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #d4d0c8;
  --accent: #8b1a1a;
  --accent2: #2c5f7c;
  --highlight: #f5f0e0;
}

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

body {
  font-family: 'Noto Serif SC', 'Noto Serif', Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  font-size: 16px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* Header */
.report-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--accent);
}
.report-header .journal-info {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.report-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.report-header .author {
  font-size: 1.1rem;
  color: var(--accent);
  font-style: italic;
}
.report-header .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Section headings */
h2.section-title {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

h3.subsection-title {
  font-size: 1.2rem;
  color: var(--accent2);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Paragraph analysis blocks */
.para-block {
  margin-bottom: 2.5rem;
  padding: 0;
}

.para-number {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.para-english {
  background: #fff;
  border-left: 3px solid var(--accent2);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-family: 'Noto Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2a2a2a;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.para-chinese {
  background: var(--highlight);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
  border-radius: 0 4px 4px 0;
}

.para-analysis {
  background: var(--bg2);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.8;
}
.para-analysis .analysis-label {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

/* Commentary section */
.commentary {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.commentary h2 {
  color: var(--accent);
  margin-bottom: 1rem;
}
.commentary p {
  margin-bottom: 1rem;
  text-align: justify;
}

/* Intellectual context */
.context {
  background: var(--bg2);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
}
.context h2 {
  color: var(--accent2);
  margin-bottom: 1rem;
}
.context h3 {
  color: var(--accent);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.context p {
  margin-bottom: 1rem;
  text-align: justify;
}

/* Navigation */
.nav-bar {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
}
.nav-bar a {
  color: var(--accent2);
  text-decoration: none;
  font-size: 0.9rem;
}
.nav-bar a:hover { text-decoration: underline; }

/* Footnotes */
.footnotes {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  color: var(--muted);
}
.footnotes h3 { color: var(--ink); margin-bottom: 0.5rem; }

/* Responsive */
@media (max-width: 768px) {
  .container { padding: 1rem; }
  .report-header h1 { font-size: 1.5rem; }
  .para-english, .para-chinese, .para-analysis { padding: 0.75rem 1rem; }
}
