/* ============================================
   SLF Press - Academic Journal Theme
   光速流学术出版集团 官网样式
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #1a365d;
  --color-primary-light: #2c5282;
  --color-accent: #c53030;
  --color-gold: #b7791f;
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-text: #1a202c;
  --color-text-secondary: #4a5568;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e0;
  --font-serif: 'Crimson Pro', 'Noto Serif SC', 'Georgia', serif;
  --font-sans: 'Inter', 'Noto Serif SC', system-ui, sans-serif;
  --max-width: 1200px;
  --header-height: 100px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary-light);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Header --- */
.site-header {
  background: var(--color-surface);
  border-bottom: 3px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.header-top {
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  text-align: center;
}

.navbar {
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-primary);
  text-decoration: none;
}

.brand-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
}

.brand-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.15em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(26, 54, 93, 0.06);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d3748 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.4rem 1.5rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.8);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.hero-desc {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: #9b2c2c;
  border-color: #9b2c2c;
  color: white;
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

.section .btn-outline {
  color: var(--color-primary);
  border-color: var(--color-border-dark);
}

.section .btn-outline:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* --- Sections --- */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.section-more {
  text-align: center;
  margin-top: 2rem;
}

/* --- Journal Cards --- */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.journal-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--accent, var(--color-primary));
  border-radius: 6px;
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border-top-color: var(--accent, var(--color-primary));
  color: var(--color-text);
}

.journal-card-header {
  margin-bottom: 1rem;
}

.journal-tier {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(183, 121, 31, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.journal-abbr {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent, var(--color-primary));
  margin-bottom: 0.25rem;
}

.journal-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.journal-name-cn {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.journal-focus {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.journal-game {
  font-size: 0.75rem;
  color: var(--accent, var(--color-primary));
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* --- Paper List --- */
.paper-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.paper-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  transition: box-shadow 0.2s;
}

.paper-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.paper-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  align-items: center;
}

.paper-journal {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.paper-tier,
.item-tier {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.paper-tier.q1,
.item-tier.q1 {
  background: rgba(197, 48, 48, 0.1);
  color: var(--color-accent);
}

.paper-tier.q2,
.item-tier.q2 {
  background: rgba(183, 121, 31, 0.1);
  color: var(--color-gold);
}

.paper-item h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.paper-item h3 a {
  color: var(--color-text);
}

.paper-item h3 a:hover {
  color: var(--color-primary);
}

.paper-authors {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.25rem;
}

.paper-doi {
  font-size: 0.8rem;
  color: var(--color-primary-light);
  font-family: monospace;
  margin-bottom: 0.5rem;
}

.paper-abstract {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --- Stats --- */
.stats-section {
  background: var(--color-primary);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* --- CTA --- */
.cta-section {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Page Content --- */
.page-section {
  padding: 3rem 0;
}

.page-header {
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--color-text-secondary);
}

.content-body {
  max-width: 800px;
  font-size: 1rem;
  line-height: 1.8;
}

.content-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.content-body h2:first-child {
  margin-top: 0.5rem;
}

.content-body h3 {
  font-size: 1.25rem;
  color: var(--color-primary-light);
  margin: 2rem 0 0.75rem;
}

.content-body h4 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.content-body p {
  margin-bottom: 1rem;
}

.content-body ul, .content-body ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.content-body li {
  margin-bottom: 0.35rem;
}

.content-body blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(26, 54, 93, 0.04);
  font-style: italic;
  color: var(--color-text-secondary);
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.content-body th {
  background: var(--color-primary);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.content-body td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.content-body tr:hover td {
  background: rgba(26, 54, 93, 0.03);
}

.content-body code {
  background: #edf2f7;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.88em;
}

.content-body pre {
  background: #1a202c;
  color: #e2e8f0;
  padding: 1.25rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.content-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.content-body strong {
  font-weight: 600;
}

.content-body em {
  font-style: italic;
}

/* --- Paper Detail --- */
.paper-detail .paper-header {
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.paper-meta-top {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.paper-journal-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  background: var(--accent, var(--color-primary));
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.paper-tier-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
}

.paper-tier-badge.q1 {
  background: rgba(197, 48, 48, 0.1);
  color: var(--color-accent);
}

.paper-tier-badge.q2 {
  background: rgba(183, 121, 31, 0.1);
  color: var(--color-gold);
}

.paper-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  background: rgba(56, 161, 105, 0.1);
  color: #276749;
}

.paper-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.paper-title-cn {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-text-secondary);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.paper-info {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.paper-info p {
  margin-bottom: 0.25rem;
}

.paper-abstract {
  background: rgba(26, 54, 93, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.paper-abstract h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.paper-abstract p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.paper-keywords {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.keyword {
  display: inline-block;
  background: #edf2f7;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin: 0.2rem 0.25rem;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.paper-body {
  max-width: 800px;
}

.paper-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-border);
}

.cite-box {
  background: #f7fafc;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.5rem;
}

.cite-box h4 {
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cite-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* --- Journal Detail --- */
.journal-detail .journal-header {
  text-align: center;
  padding: 3rem 0;
  border-bottom: 2px solid var(--accent, var(--color-primary));
  margin-bottom: 2rem;
}

.journal-detail .journal-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(183, 121, 31, 0.1);
  padding: 0.3rem 1rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.journal-detail .journal-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent, var(--color-primary));
  margin-bottom: 0.5rem;
}

.journal-detail h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.journal-detail .journal-desc {
  max-width: 600px;
  margin: 1rem auto;
  color: var(--color-text-secondary);
}

.journal-meta-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.journal-papers {
  margin-top: 3rem;
}

.journal-papers h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.journal-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

/* --- List Items --- */
.page-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.list-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.2s;
}

.list-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.list-item h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.list-item h3 a {
  color: var(--color-text);
}

.list-item h3 a:hover {
  color: var(--color-primary);
}

.item-authors {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.item-doi {
  font-size: 0.8rem;
  color: var(--color-primary-light);
  font-family: monospace;
}

.item-summary {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0.5rem 0;
  line-height: 1.5;
}

.item-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.item-journal {
  font-weight: 600;
  color: var(--color-primary);
}

/* --- Footer --- */
.site-footer {
  background: #1a202c;
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-note {
  font-style: italic;
  color: rgba(255,255,255,0.5);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-disclaimer {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* --- Journal Hero --- */
.journal-hero {
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.journal-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.journal-hero-tier {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.15);
  padding: 0.3rem 1rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.journal-hero-abbr {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.journal-hero-name-full {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.journal-hero-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.25rem;
}

.journal-hero-name-cn {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.journal-hero-focus {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.journal-hero-meta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

.journal-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Journal Nav --- */
.journal-nav {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 60px;
  z-index: 50;
}

.journal-nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  overflow-x: auto;
}

.journal-nav-list li a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.journal-nav-list li a:hover,
.journal-nav-list li a.active {
  color: var(--accent, var(--color-primary));
  border-bottom-color: var(--accent, var(--color-primary));
}

.journal-content {
  padding-top: 0;
}

.journal-empty {
  text-align: center;
  padding: 3rem 0;
  color: var(--color-text-secondary);
}

.journal-empty p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* --- Journal Card Large (矩阵页) --- */
.journal-grid-large {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.journal-card-large {
  padding: 2.5rem 2rem;
}

.journal-card-large .journal-abbr {
  font-size: 2.5rem;
}

.journal-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.journal-card-stats {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.journal-enter {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent, var(--color-primary));
  margin-top: auto;
}

/* --- Journal Hero Compact --- */
.journal-hero-compact {
  padding: 2rem 0;
}

/* --- Paper Breadcrumb --- */
.paper-breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
}

.paper-breadcrumb a {
  color: var(--color-text-secondary);
}

.paper-breadcrumb a:hover {
  color: var(--accent, var(--color-primary));
}

/* --- Journal Home (New Design) --- */
.jh-hero {
  color: white;
  padding: 50px 0;
  border-bottom: 5px solid #d88027;
}

.jh-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.jh-hero-left {
  max-width: 70%;
}

.jh-hero-tag {
  display: inline-block;
  color: white;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 2px;
}

.jh-hero-title {
  color: white;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 2.4rem;
  font-family: 'Times New Roman', var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.jh-hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.6;
}

.jh-hero-right {
  text-align: right;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 30px;
  flex-shrink: 0;
}

.jh-metric {
  margin-bottom: 15px;
}

.jh-metric:last-child {
  margin-bottom: 0;
}

.jh-metric-value {
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1;
}

.jh-metric-value-sm {
  font-size: 1.8rem;
}

.jh-metric-label {
  font-size: 0.85rem;
  opacity: 0.7;
  text-transform: uppercase;
  margin-top: 2px;
}

/* 核心功能分栏 */
.jh-split {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 80px;
  margin-top: 40px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.jh-split-left {
  flex: 1 1 50%;
}

.jh-split-left h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #333;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
  font-family: var(--font-sans);
}

.jh-split-left p {
  color: #444;
  line-height: 1.6;
  font-size: 0.95rem;
}

.jh-scope-link {
  color: #006699;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.jh-scope-link:hover {
  text-decoration: underline;
}

.jh-split-right {
  flex: 1 1 38%;
  padding-left: 100px;
}

.jh-split-right h2 {
  margin-top: 0;
  font-size: 1.5rem;
  color: #333;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
  font-family: var(--font-sans);
}

.jh-submit-btn {
  display: block;
  color: white;
  text-align: center;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 25px;
  transition: opacity 0.2s;
}

.jh-submit-btn:hover {
  opacity: 0.9;
  color: white;
}

.jh-review-mode {
  margin-bottom: 20px;
}

.jh-review-mode h3 {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 5px;
}

.jh-review-mode p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* 关键指标条 */
.jh-stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
  gap: 1rem;
}

.jh-stat {
  border-left: 3px solid #006699;
  padding-left: 15px;
  margin-bottom: 15px;
}

.jh-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.jh-stat-label {
  font-size: 0.9rem;
  color: #555;
  font-weight: 600;
  margin-top: 5px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 2px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .journal-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .paper-title {
    font-size: 1.5rem;
  }

  .journal-detail .journal-title {
    font-size: 2.5rem;
  }

  .journal-meta-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .jh-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .jh-hero-left {
    max-width: 100%;
  }

  .jh-hero-right {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-left: 0;
    padding-top: 20px;
    text-align: center;
    display: flex;
    gap: 2rem;
    justify-content: center;
  }

  .jh-split {
    flex-direction: column;
  }

  .jh-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* --- All Papers Page --- */
.ap-header {
  margin-bottom: 2rem;
}

.ap-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}

.ap-title-en {
  font-weight: 400;
  color: #888;
  font-size: 1.4rem;
}

.ap-desc {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

.ap-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e2e2e2;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #555;
}

.ap-select-all {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #666;
  cursor: pointer;
}

.ap-select-all input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.ap-list {
  display: flex;
  flex-direction: column;
}

.ap-card {
  display: flex;
  padding: 25px 0;
  border-bottom: 1px solid #e2e2e2;
}

.ap-card-check {
  padding-top: 2px;
  margin-right: 15px;
  flex-shrink: 0;
}

.ap-card-check input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.ap-card-body {
  flex: 1;
}

.ap-card-tags {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 8px;
}

.ap-tag-sep {
  margin: 0 8px;
}

.ap-access-open {
  color: #28a745;
  font-weight: bold;
}

.ap-access-closed {
  color: #888;
  font-weight: bold;
}

.ap-card-title {
  margin: 0 0 10px 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  font-family: var(--font-serif);
}

.ap-card-title a {
  color: #222;
  text-decoration: none;
}

.ap-card-title a:hover {
  color: var(--color-primary);
}

.ap-card-authors {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.5;
}

.ap-card-id {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 15px;
}

.ap-card-actions {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 600;
}

.ap-action-link {
  color: #006699;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.ap-action-link:hover {
  text-decoration: underline;
  color: #006699;
}

.ap-action-icon {
  margin-right: 5px;
  font-size: 1.1rem;
}

.ap-action-pdf .ap-action-icon {
  color: #d90000;
}

.ap-action-lock .ap-action-icon {
  color: #555;
}

.ap-arrow {
  margin-left: 4px;
  font-size: 0.8rem;
}

.ap-footer-note {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.95rem;
  color: #666;
}

.ap-footer-note a {
  color: #006699;
  font-weight: 600;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}