/*
Theme Name: RUBBISH Academic Journal
Theme URI: https://rubbish.world
Author: RUBBISH Editorial Office
Author URI: https://rubbish.world
Description: The definitive, publication-grade academic journal theme for RUBBISH. Features academic grid background, masthead with official logo, modern stat cards, multi-column paper stream, high-end manuscript submission form, citation copy drawers, and Highwire Press SEO tags. Fully customizable via WordPress Theme Editor.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rubbish-v2
*/

/* ==========================================================================
   TABLE OF CONTENTS (目录导引 - 方便在后台主题编辑器中快速查找修改):
   1. Design Tokens & CSS Variables (全局变量与颜色规范)
   2. Global Typography & Academic Grid Background (全局字体与学术背景底纹)
   3. Header & Publication Masthead with Logo (报头、LOGO与微型顶栏)
   4. Sticky Navigation Bar (吸顶导航栏)
   5. Magazine Editorial Homepage & Cards (杂志首页、焦点论文与网格卡片)
   6. Metrics Strip Banner (横向学术指标带)
   7. Single Article Reading Layout (单篇论文专业详情页与侧边栏)
   8. Manuscript Submission Form (全新高端投稿页面表单系统)
   9. Footer & Licensing (页脚与版权声明)
   10. Responsive Utilities (自适应移动端适配)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-light: #64748b;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-dark: #0f172a;
  --primary-color: #1e3a8a;
  --primary-hover: #172554;
  --accent-orange: #f05023;
  --accent-amber: #b45309;
  --pill-bg: #e0e7ff;
  --pill-text: #3730a3;
  --font-serif: "Newsreader", "Source Serif 4", "Charter", "Songti SC", "SimSun", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, Menlo, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 12px -1px rgba(0, 0, 0, 0.06), 0 2px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
}

/* --------------------------------------------------------------------------
   2. Global Typography & Academic Grid Background
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f3f6f9;
  /* 学术微米方格纹理底纹 (Academic Engineering Graph Background) */
  background-image: 
    linear-gradient(to right, rgba(203, 213, 225, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(203, 213, 225, 0.5) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.site-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. Header & Publication Masthead with Logo
   -------------------------------------------------------------------------- */
.top-micro-bar {
  background: #090d16;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
  letter-spacing: 0.02em;
}

.micro-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.micro-tag {
  background: #1e293b;
  color: #cbd5e1;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  margin-right: 10px;
}

.sep {
  margin: 0 8px;
  opacity: 0.4;
}

.micro-right a {
  color: #cbd5e1;
}

.micro-right a:hover {
  color: #fff;
}

.masthead-header {
  background: #ffffff;
  border-bottom: 2px solid var(--text-main);
  padding: 28px 0 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.masthead-meta-left {
  display: flex;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.journal-seal {
  border: 1px solid var(--border-medium);
  padding: 4px 8px;
  border-radius: 3px;
}

.journal-indexing {
  background: var(--bg-surface-subtle);
  padding: 4px 8px;
  border-radius: 3px;
}

.masthead-branding {
  text-align: center;
}

.brand-link-flex {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.official-journal-logo {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(240, 80, 35, 0.28);
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-link-flex:hover .official-journal-logo {
  transform: scale(1.05);
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--text-main);
  text-transform: uppercase;
  text-align: left;
}

.site-motto {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 5px;
  text-align: left;
}

.masthead-action-right {
  display: flex;
  justify-content: flex-end;
}

.btn-top-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-main);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-top-submit:hover {
  background: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   4. Sticky Navigation Bar
   -------------------------------------------------------------------------- */
.main-nav-strip {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.nav-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
}

.nav-brand-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-mini-logo {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

.nav-mini-title a {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-menu li a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li.active a {
  color: var(--text-main);
  border-bottom-color: var(--text-main);
}

/* --------------------------------------------------------------------------
   5. Magazine Editorial Homepage & Cards
   -------------------------------------------------------------------------- */
.editorial-lead-section {
  padding: 36px 0 32px;
}

.editorial-lead-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.featured-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.featured-top-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.badge-featured-pill {
  background: #1e293b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-section-pill {
  background: var(--pill-bg);
  color: var(--pill-text);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-date-sub {
  font-size: 12px;
  color: var(--text-light);
}

.featured-headline {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 12px;
}

.featured-headline a:hover {
  color: var(--primary-color);
}

.featured-byline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.byline-aff {
  color: var(--text-light);
  font-size: 13px;
  margin-left: 6px;
}

.featured-abstract-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--text-main);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px;
  margin-bottom: 28px;
}

.abstract-deck-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.abstract-deck-body {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}

.featured-footer-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-main);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-primary-action:hover {
  background: var(--primary-color);
  transform: translateY(-1px);
}

.featured-sub-actions {
  display: flex;
  gap: 8px;
}

.btn-sub-pill {
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

.btn-sub-pill:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

/* Dispatch Right Column */
.editorial-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dispatch-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dispatch-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.dispatch-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
}

.dispatch-h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #f8fafc;
}

.dispatch-p {
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.dispatch-criteria {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-dispatch-submit {
  display: block;
  text-align: center;
  background: #ffffff;
  color: #0f172a !important;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-dispatch-submit:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.quick-stats-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.qs-label {
  color: var(--text-light);
  font-weight: 600;
}

.qs-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   6. Metrics Strip Banner
   -------------------------------------------------------------------------- */
.metrics-strip-banner {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.metrics-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.strip-item {
  border-right: 1px solid var(--border-light);
  padding: 0 16px;
}

.strip-item:last-child {
  border-right: none;
}

.strip-num {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 4px;
}

.strip-desc {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. Single Article Reading Layout
   -------------------------------------------------------------------------- */
.articles-archive-section {
  padding-bottom: 80px;
}

.archive-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--text-main);
}

.head-title {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.head-subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

.articles-magazine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.article-magazine-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.article-magazine-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 11px;
}

.card-section-tag {
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-doi-text {
  font-family: var(--font-mono);
  color: var(--text-light);
  font-size: 10px;
}

.card-article-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text-main);
}

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

.card-authors-line {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 14px;
}

.card-excerpt-body {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.card-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.card-link-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.card-link-read:hover {
  color: var(--primary-color);
  gap: 8px;
}

.card-btn-pills {
  display: flex;
  gap: 6px;
}

.mini-pill {
  background: var(--bg-surface-subtle);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.mini-pill:hover {
  background: #e2e8f0;
}

/* Single Article Layout */
.single-layout-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 52px;
  padding: 40px 0 80px;
}

.single-reading-column {
  min-width: 0;
  background: #ffffff;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.single-header-block {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.single-badge-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 12px;
  flex-wrap: wrap;
}

.badge-doi-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg-surface-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--text-light);
}

.badge-open-access {
  color: #15803d;
  font-weight: 600;
  font-size: 11px;
}

.single-article-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 18px;
}

.single-author-mast {
  margin-bottom: 20px;
}

.primary-authors {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.author-affiliation-line {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

.timeline-status-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.single-abstract-deck {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--text-main);
  border-radius: 0 8px 8px 0;
  padding: 24px;
  margin: 32px 0;
}

.deck-title-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.deck-content-body {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.75;
  color: #1e293b;
}

.single-prose-content {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.85;
  color: #1e293b;
}

.single-prose-content h2 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 800;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.single-prose-content h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 12px;
}

.single-prose-content p {
  margin-bottom: 22px;
}

.supp-materials-box {
  display: flex;
  gap: 16px;
  background: #f8fafc;
  border: 1px dashed var(--border-medium);
  border-radius: 8px;
  padding: 20px;
  margin: 40px 0;
  font-size: 14px;
}

.reviewer-report-card {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  padding: 24px;
  margin: 40px 0;
}

.reviewer-card-tag {
  font-size: 11px;
  font-weight: 800;
  color: #b45309;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.reviewer-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: #78350f;
  line-height: 1.7;
}

/* Sidebar Utilities */
.sidebar-sticky-inner {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.side-card-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.btn-side-download-pdf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text-main);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.btn-side-download-pdf:hover {
  background: var(--primary-color);
}

.apa-preview {
  font-size: 11px;
  margin-bottom: 14px;
}

.apa-text {
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

.cite-drawer-item {
  margin-top: 12px;
}

.cite-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
}

.btn-copy-chip {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.btn-copy-chip:hover {
  background: #e2e8f0;
}

.cite-textarea {
  width: 100%;
  height: 80px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 8px;
  color: #334155;
  resize: vertical;
}

.metric-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #f8fafc;
}

/* --------------------------------------------------------------------------
   8. Manuscript Submission Form (全新现代化投稿系统样式)
   -------------------------------------------------------------------------- */
.submission-wrapper {
  padding: 48px 0 80px;
}

.submission-card {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 48px 56px;
}

.submission-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--text-main);
}

.submission-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--text-main);
  text-transform: uppercase;
}

.submission-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color);
  margin: 28px 0 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
}

.form-step-num {
  background: var(--primary-color);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-help {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

/* 关键修复：强制输入框占满并保持高质感 */
.form-control,
.submission-card input[type="text"],
.submission-card input[type="email"],
.submission-card select,
.submission-card textarea {
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
  padding: 12px 16px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  color: var(--text-main) !important;
  background: #f8fafc !important;
  border: 1.5px solid var(--border-medium) !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

.form-control:focus,
.submission-card input[type="text"]:focus,
.submission-card input[type="email"]:focus,
.submission-card select:focus,
.submission-card textarea:focus {
  outline: none !important;
  background: #ffffff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12) !important;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 上传框美化 */
.file-upload-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-upload-dropzone:hover {
  border-color: var(--primary-color);
  background: #f1f5f9;
}

.upload-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.upload-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

/* 提交按钮 */
.form-submit-row {
  margin-top: 36px;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.btn-transmit-manuscript {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--text-main);
  color: #ffffff !important;
  border: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}

.btn-transmit-manuscript:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-transmit-manuscript:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submission-alert {
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 24px;
  display: none;
}

.submission-alert.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  display: block;
}

.submission-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  display: block;
}

/* --------------------------------------------------------------------------
   9. Footer & Licensing
   -------------------------------------------------------------------------- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 56px 0 40px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-column-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-bottom {
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   10. Responsive Utilities
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .editorial-lead-grid {
    grid-template-columns: 1fr;
  }
  .single-layout-wrapper {
    grid-template-columns: 1fr;
  }
  .metrics-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .submission-card {
    padding: 32px 24px;
  }
}

@media (max-width: 720px) {
  .masthead-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .masthead-meta-left, .masthead-action-right {
    justify-content: center;
  }
  .brand-link-flex {
    flex-direction: column;
    text-align: center;
  }
  .site-logo, .site-motto {
    text-align: center;
  }
  .nav-strip-inner {
    flex-direction: column;
    height: auto;
    padding: 12px 0;
    gap: 10px;
  }
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}
/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Polish (手机与移动端全适配)
   ========================================================================== */

/* 1. Header & Navigation on Mobile */
@media (max-width: 768px) {
  .top-micro-bar {
    font-size: 10px;
  }
  .micro-bar-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .masthead-header {
    padding: 16px 0 14px;
  }
  .masthead-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .masthead-meta-left {
    display: none; /* Hide minor stamps on narrow phones */
  }
  .official-journal-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }
  .site-logo {
    font-size: 28px !important;
    letter-spacing: 0.08em;
  }
  .site-motto {
    font-size: 9px !important;
    letter-spacing: 0.1em;
  }
  .masthead-action-right {
    justify-content: center;
  }
  .btn-top-submit {
    padding: 8px 16px;
    font-size: 11px;
  }

  /* Horizontal swipeable mobile navigation bar */
  .main-nav-strip {
    height: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .main-nav-strip::-webkit-scrollbar {
    display: none;
  }
  .nav-strip-inner {
    height: 46px;
    width: max-content;
    padding: 0 12px;
    gap: 16px;
  }
  .nav-brand-mini {
    display: none;
  }
  .nav-search-quick {
    display: none;
  }
  .nav-menu {
    gap: 18px;
  }
  .nav-menu li a {
    font-size: 12px;
    white-space: nowrap;
  }
}

/* 2. Metrics Strip Banner on Mobile (2x2 Grid) */
@media (max-width: 768px) {
  .metrics-strip-banner {
    padding: 18px 0;
    margin-bottom: 28px;
  }
  .metrics-strip-inner {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }
  .strip-item {
    border-right: none;
    padding: 6px 8px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--border-light);
  }
  .strip-num {
    font-size: 20px;
  }
  .strip-desc {
    font-size: 11px;
    line-height: 1.35;
  }
}

/* 3. Editorial Lead & Articles on Mobile */
@media (max-width: 768px) {
  .editorial-lead-section {
    padding: 20px 0;
  }
  .featured-card {
    padding: 22px 18px;
  }
  .featured-headline {
    font-size: 22px !important;
  }
  .featured-abstract-card {
    padding: 14px;
    margin-bottom: 18px;
  }
  .abstract-deck-body {
    font-size: 14px;
  }
  .featured-footer-action {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-primary-action {
    justify-content: center;
  }
  .featured-sub-actions {
    justify-content: space-between;
  }
  .featured-sub-actions .btn-sub-pill {
    flex: 1;
    text-align: center;
  }
  .articles-magazine-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .article-magazine-card {
    padding: 20px 16px;
  }
}

/* 4. Single Article Reading & Form on Mobile */
@media (max-width: 768px) {
  .single-layout-wrapper {
    grid-template-columns: 1fr;
    padding: 20px 0 60px;
    gap: 32px;
  }
  .single-reading-column {
    padding: 24px 18px;
    border-radius: 12px;
  }
  .single-article-title {
    font-size: 26px !important;
  }
  .timeline-status-pill {
    font-size: 10px;
    gap: 6px;
    padding: 8px 12px;
  }
  .single-prose-content {
    font-size: 16px;
    line-height: 1.8;
  }

  /* Form */
  .submission-wrapper {
    padding: 24px 0 60px;
  }
  .submission-card {
    padding: 24px 16px;
    border-radius: 12px;
  }
  .submission-title {
    font-size: 24px !important;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .btn-transmit-manuscript {
    width: 100%;
    padding: 12px 20px;
    font-size: 13px;
  }

  /* Prevent iOS zoom on focus */
  .submission-card input[type="text"],
  .submission-card input[type="email"],
  .submission-card select,
  .submission-card textarea {
    font-size: 16px !important;
  }
}
/* ==========================================================================
   Featured Image & Thumbnail Styling (特色图片与缩略图展示体系)
   ========================================================================== */

/* 1. 刊首焦点文章大图 (Featured Lead Hero Image) */
.featured-image-box {
  width: 100%;
  max-height: 380px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 22px;
  border: 1px solid var(--border-light);
  background: #f1f5f9;
}

.featured-hero-img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.featured-image-box:hover .featured-hero-img {
  transform: scale(1.02);
}

/* 2. 论文网格卡片缩略图 (Magazine Grid Card Thumbnails) */
.card-thumb-container {
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.article-magazine-card:hover .card-thumb-img {
  transform: scale(1.05);
}

/* 3. 单篇论文内页配图 (Single Article Hero Thumbnail) */
.single-featured-image-wrapper {
  margin: 28px 0 32px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #f8fafc;
  text-align: center;
}

.single-hero-thumb {
  max-width: 100%;
  height: auto;
  max-height: 480px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.single-thumb-caption {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-light);
  padding: 8px 16px;
  background: #f1f5f9;
  border-top: 1px solid var(--border-light);
  text-transform: uppercase;
}

/* ==========================================================================
   Original Manuscript Viewer Styling (作者原始格式高保真展示)
   ========================================================================== */
.original-manuscript-frame iframe {
  width: 100%;
  height: 850px;
  border: none;
}

@media (max-width: 768px) {
  .original-manuscript-frame iframe {
    height: 520px;
  }
}

/* ==========================================================================
   Clean & Borderless Editorial Polish (彻底消除难看边框与多层嵌套)
   ========================================================================== */

/* 1. 彻底改造时间线：纯净点分隔学术标记，无生硬边框 */
.timeline-clean-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-light);
  margin: 16px 0 20px;
  flex-wrap: wrap;
  padding: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.timeline-clean-strip .tl-dot {
  opacity: 0.35;
  font-size: 10px;
}

.timeline-clean-strip .tl-item {
  color: var(--text-muted);
}

/* 2. 彻底改造图表框：无外层灰框、无黑框，纯净学术居中插图 */
.paper-figure-clean {
  margin: 28px 0 36px;
  padding: 0;
  border: none !important;
  background: transparent !important;
  text-align: center;
}

.paper-figure-img-wrap {
  display: inline-block;
  background: #ffffff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  max-width: 100%;
}

.paper-figure-img {
  max-width: 100%;
  height: auto;
  max-height: 480px;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

.paper-figure-caption {
  font-size: 12px;
  font-style: italic;
  color: var(--text-light);
  margin-top: 10px;
  line-height: 1.5;
}

.paper-figure-caption strong {
  font-style: normal;
  color: var(--text-main);
  font-weight: 700;
  margin-right: 4px;
}

/* 3. 彻底改造摘要卡：去掉四周围死边框，采用高雅左侧单细线 */
.single-abstract-deck {
  background: rgba(248, 250, 252, 0.75) !important;
  border: none !important;
  border-left: 3px solid var(--text-main) !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 20px 24px !important;
  margin: 28px 0 32px !important;
  box-shadow: none !important;
}

/* 4. 全新轻盈原版手稿阅览通道卡片 (Sleek Clean Banner) */
.clean-manuscript-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 32px 0;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  flex-wrap: wrap;
  gap: 16px;
}

.cmb-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cmb-icon {
  font-size: 30px;
  line-height: 1;
}

.cmb-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.cmb-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 3px;
}

.cmb-actions {
  display: flex;
  gap: 10px;
}

.btn-read-orig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-main);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.btn-read-orig:hover {
  background: var(--primary-color);
  transform: translateY(-1px);
}

.btn-download-orig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-subtle);
  color: var(--text-main) !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.btn-download-orig:hover {
  background: #e2e8f0;
}

/* 5. 改造侧边栏引用文本域：深色极客代码块，告别系统默认灰框 */
.cite-textarea,
.cite-textarea-box {
  width: 100% !important;
  height: 84px !important;
  background: #0f172a !important;
  color: #e2e8f0 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
  resize: vertical !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.cite-textarea:focus,
.cite-textarea-box:focus {
  outline: 1.5px solid #38bdf8 !important;
}

/* 6. 美化 WordPress 默认评论表单，去除生硬黑直角 */
#respond {
  margin-top: 48px;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 14px !important;
  border: 1.5px solid var(--border-medium) !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  font-family: inherit !important;
  font-size: 14px !important;
}

#respond input:focus,
#respond textarea:focus {
  outline: none !important;
  border-color: var(--text-main) !important;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08) !important;
}

#respond input[type="submit"] {
  background: var(--text-main) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 10px 24px !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  transition: all 0.2s ease !important;
}

#respond input[type="submit"]:hover {
  background: var(--primary-color) !important;
  transform: translateY(-1px) !important;
}

/* ==========================================================================
   Side Buttons for Original Manuscript (两边宽敞区域悬浮小按钮 + 侧边栏按钮)
   ========================================================================== */

/* 1. 两边大空白处的固定悬浮小按钮 (Floating Side Button) */
.floating-orig-pill {
  position: fixed;
  right: 28px;
  bottom: 80px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--text-main);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.25);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.floating-orig-pill:hover {
  background: var(--primary-color);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
}

.floating-orig-pill .f-icon {
  font-size: 15px;
}

/* 2. 侧边栏小巧精致的手稿原件卡片 */
.orig-side-card {
  border-top: 3px solid var(--text-main);
}

.btn-side-orig-read {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text-main);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-side-orig-read:hover {
  background: var(--primary-color);
  transform: translateY(-1px);
}

.btn-side-orig-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-surface-subtle);
  color: var(--text-main) !important;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.btn-side-orig-dl:hover {
  background: #e2e8f0;
}

@media (max-width: 768px) {
  .floating-orig-pill {
    right: 16px;
    bottom: 24px;
    padding: 10px 14px;
    font-size: 12px;
  }
}
