/* ===== /submission/ 投稿引导页增强样式 ===== */
/* 主题色：紫 #4A3A6B + 金 #D4AF37，与 doodle.css 基础样式配合使用 */

/* ---------- 任务2：CTA 按钮 ---------- */
.sub-hero-actions { margin-top: 26px; }
.sub-cta-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #D4AF37 0%, #E3C55A 100%); color: #4A3A6B;
  padding: 14px 34px; border-radius: 999px; font-size: 16px; font-weight: 800;
  text-decoration: none; box-shadow: 0 8px 24px rgba(212,175,55,.4);
  transition: all .25s ease;
}
.sub-cta-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212,175,55,.5); color: #3D3A52; }
.sub-cta-row { display: flex; justify-content: center; margin: -10px 0 22px; }
.sub-cta-plain {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #4A3A6B 0%, #6B5A8B 100%); color: #fff;
  padding: 12px 30px; border-radius: 999px; font-size: 15px; font-weight: 800;
  text-decoration: none; box-shadow: 0 6px 18px rgba(74,58,107,.3);
  transition: all .25s ease;
}
.sub-cta-plain:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(74,58,107,.42); color: #fff; }

/* ---------- 任务6：卡片封面色块 + 领域标签 ---------- */
.sub-card-cover {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  margin: -24px -24px 0; padding: 20px 24px 18px;
  border-radius: 6px 6px 0 0; color: #fff;
}
.sub-card-cover::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: 0;
  height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, rgba(212,175,55,0), rgba(212,175,55,.9), rgba(212,175,55,0));
}
.sub-card-cover .sub-journal-code {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
}
.sub-card-cover .sub-cover-year {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.85);
  letter-spacing: .03em;
}
.cover-acdm { background: linear-gradient(135deg, #4A3A6B 0%, #6B5A8B 100%); }
.cover-fimh { background: linear-gradient(135deg, #14532D 0%, #2E8B57 100%); }
.cover-jiil { background: linear-gradient(135deg, #1E3A8A 0%, #3B62C4 100%); }
.cover-jdei { background: linear-gradient(135deg, #9A4A1E 0%, #C96A2E 100%); }

.sub-field-tag {
  display: inline-flex; align-items: center; width: fit-content;
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .02em; margin: 0 0 10px;
}
.tag-acdm { background: #ECE6F5; color: #4A3A6B; border: 1px solid #D8CCEC; }
.tag-fimh { background: #DCEFE8; color: #14532D; border: 1px solid #BBDECF; }
.tag-jiil { background: #DEE8F5; color: #1E3A8A; border: 1px solid #C3D4EF; }
.tag-jdei { background: #F3E3DA; color: #9A4A1E; border: 1px solid #E8C9B8; }

/* ---------- 任务3：期刊信息折叠面板 ---------- */
.sub-journal-details {
  margin: 4px 0 14px; border: 1px solid #E4DDF0; border-radius: 8px;
  background: #FBF9FE; overflow: hidden;
}
.sub-journal-details summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; color: #4A3A6B; font-size: 13px; font-weight: 800;
  transition: background .2s ease;
}
.sub-journal-details summary:hover { background: #F4F0FA; }
.sub-journal-details summary::-webkit-details-marker { display: none; }
.sub-journal-details[open] summary { border-bottom: 1px solid #E4DDF0; }
.sub-journal-details summary::after {
  content: "▾"; margin-left: auto; color: #D4AF37; font-weight: 900;
  transition: transform .2s ease;
}
.sub-journal-details[open] summary::after { transform: rotate(180deg); }
.sub-detail-summary { text-decoration: underline dotted rgba(212,175,55,.8); text-underline-offset: 3px; }
/* 锚点滚动偏移（避免被吸顶导航遮挡） */
#journals, #benefit { scroll-margin-top: 110px; }
.sub-journal-meta { margin: 0; padding: 12px 14px; display: grid; gap: 8px; }
.sub-journal-meta div { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.5; }
.sub-journal-meta dt { color: #9A93AC; font-weight: 700; flex-shrink: 0; width: 64px; }
.sub-journal-meta dd { margin: 0; color: #4A3A6B; font-weight: 600; }
.sub-journal-meta .meta-note {
  font-size: 11px; color: #A8A0B8; font-weight: 500;
}

/* ---------- 任务5：限时福利说明卡片 ---------- */
.sub-benefit-card {
  margin: 34px 0 10px; padding: 26px 30px;
  border: 2px solid #D4AF37; border-radius: 12px;
  background: linear-gradient(135deg, rgba(212,175,55,.14), rgba(255,255,255,.96) 55%);
  box-shadow: 0 10px 30px rgba(212,175,55,.18);
  position: relative; overflow: hidden;
}
.sub-benefit-card::before {
  content: "🎁"; position: absolute; right: 22px; top: 18px;
  font-size: 44px; opacity: .35; transform: rotate(12deg);
}
.sub-benefit-card h3 { margin: 0 0 6px; color: #4A3A6B; font-size: 19px; font-weight: 800; }
.sub-benefit-deadline {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 14px; padding: 6px 14px; border-radius: 999px;
  background: #D4AF37; color: #4A3A6B; font-size: 13px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(212,175,55,.35);
}
.sub-benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sub-benefit-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: #4A3A6B; line-height: 1.6;
}
.sub-benefit-list li::before { content: "★"; color: #D4AF37; font-weight: 900; flex-shrink: 0; }

/* ---------- 任务4：投稿指南 + FAQ ---------- */
.sub-guide-faq { margin-top: 44px; }
.sub-guide-faq .sub-section-head { margin-top: 0; }
.sub-guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sub-guide-panel {
  background: #fff; border: 2px solid #E4DDF0; border-radius: 10px;
  padding: 24px 26px; box-shadow: 0 6px 20px rgba(74,58,107,.06);
}
.sub-guide-panel h3 {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 16px; color: #4A3A6B; font-size: 17px; font-weight: 800;
}
.sub-guide-panel h3::before {
  content: ""; width: 10px; height: 22px; border-radius: 3px;
  background: linear-gradient(135deg, #D4AF37, #E3C55A);
}
.sub-guide-panel ol, .sub-guide-panel ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 12px; }
.sub-guide-panel li { display: flex; gap: 10px; font-size: 13.5px; color: #4A4A5A; line-height: 1.65; }
.sub-guide-panel li::before {
  content: "✓"; flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px;
  border-radius: 50%; background: #F0EDF5; color: #8A5A00;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900;
}
.sub-guide-panel .guide-item b { color: #3D3A52; }
.sub-guide-panel li .sub-ai-tip {
  background: #FFFBF0; border: 1.5px dashed #D4AF37; border-radius: 8px;
  padding: 10px 12px; color: #4A3A6B; font-size: 13.5px; line-height: 1.6;
}
.sub-guide-panel li .sub-ai-tip a {
  color: #4A3A6B; text-decoration: underline; text-decoration-color: #D4AF37; font-weight: 700;
}

.sub-faq-panel {
  background: #fff; border: 2px solid #E4DDF0; border-radius: 10px;
  padding: 24px 26px; box-shadow: 0 6px 20px rgba(74,58,107,.06);
}
.sub-faq-title {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 16px; color: #4A3A6B; font-size: 17px; font-weight: 800;
}
.sub-faq-title::before {
  content: ""; width: 10px; height: 22px; border-radius: 3px;
  background: linear-gradient(135deg, #D4AF37, #E3C55A);
}
.sub-faq-item { border-bottom: 1px solid #EFEAF6; }
.sub-faq-item:last-child { border-bottom: none; }
.sub-faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px;
  padding: 13px 4px; color: #3D3A52; font-size: 14px; font-weight: 800;
  transition: color .2s ease;
}
.sub-faq-item summary:hover { color: #4A3A6B; }
.sub-faq-item summary::-webkit-details-marker { display: none; }
.sub-faq-item summary::before {
  content: "Q"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, #4A3A6B, #6B5A8B); color: #E3C55A;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900;
}
.sub-faq-item summary::after {
  content: "+"; margin-left: auto; color: #D4AF37; font-size: 18px; font-weight: 900;
  transition: transform .2s ease;
}
.sub-faq-item[open] summary::after { transform: rotate(45deg); }
.sub-faq-item .sub-faq-a {
  padding: 0 4px 14px 32px; color: #6B6882; font-size: 13px; line-height: 1.7;
}
.sub-faq-item .sub-faq-a::before {
  content: "A"; color: #8A5A00; font-weight: 900; margin-right: 6px;
}

/* ---------- 任务2：流程步骤操作入口 ---------- */
.flow-step .flow-action {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 12px; padding: 7px 14px; border-radius: 999px;
  background: rgba(212,175,55,.14); border: 1.5px solid rgba(212,175,55,.5);
  color: #8A5A00; font-size: 12.5px; font-weight: 800; text-decoration: none;
  transition: all .2s ease;
}
.flow-step .flow-action:hover { background: #D4AF37; color: #3D3A52; }

/* ---------- 任务2：底部提交稿件按钮 ---------- */
.sub-cta .sub-cta-gold { margin-bottom: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .sub-guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sub-benefit-card { padding: 22px 20px; }
}

/* ============================================================
   /submission/ 页面重写增强（2026-08-19）
   ============================================================ */

/* 锚点平滑滚动（立即投稿 → #journals） */
html { scroll-behavior: smooth; }
#journals, #benefit { scroll-margin-top: 110px; }

/* 任务1：Hero 立即投稿按钮（金色）由 .sub-cta-gold 提供，保持现有 */

/* 任务2：期刊卡片结构 */
.sub-journal-card h3.sub-journal-name {
  margin: 0 0 4px; color: #4A3A6B;
  font-size: 24px; font-weight: 800; letter-spacing: .03em;
}
.sub-journal-full { margin: 0 0 12px; color: #6B6882; font-size: 13px; line-height: 1.5; font-weight: 600; }
.sub-field-tag {
  background: #F1EFF6 !important; color: #6B6882 !important;
  border: 1px solid #E4DDF0 !important;
}
.sub-founded { margin: 0 0 12px; color: #9A93AC; font-size: 12px; }
.sub-issn {
  margin: 8px 0 4px; color: #4A3A6B; font-size: 12.5px; font-weight: 700;
  letter-spacing: .2px;
}
.sub-detail-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: #4A3A6B; font-size: 13px; font-weight: 700;
  text-decoration: underline dotted rgba(212,175,55,.85); text-underline-offset: 3px;
  transition: color .2s ease;
}
.sub-detail-link:hover { color: #8A6A10; }

/* 任务2：进入投稿系统按钮 —— 金色边框 + 深紫文字（覆盖 doodle.css 紫色渐变） */
.sub-submit-btn {
  background: #fff !important; color: #4A3A6B !important;
  border: 2px solid #D4AF37 !important;
}
.sub-submit-btn:hover {
  background: #D4AF37 !important; color: #4A3A6B !important;
  box-shadow: 0 6px 16px rgba(212,175,55,.4); transform: translateY(-2px);
}
.sub-card-actions { align-items: center; }
.sub-card-actions .sub-detail-link { margin-left: auto; }

/* 任务3：福利区备注说明（金色内嵌提示） */
.sub-benefit-note {
  margin-top: 18px; padding: 12px 16px; border-radius: 8px;
  background: rgba(212,175,55,.16); border: 1px solid #D4AF37;
  color: #4A3A6B; font-size: 13.5px; font-weight: 700; line-height: 1.6;
}

/* 任务4：流程步骤图标 */
.flow-step .flow-icon { display: block; font-size: 26px; line-height: 1; margin-bottom: 8px; }
