/* ==========================================================================
   飞猴云官方机场 (feihouyun.cyou) - 文章专栏专用原生样式表
   极简秒开 · 深度阅读排版 · 响应式代码与表格 · 转化导流组件
   ========================================================================== */

:root {
  --article-bg: #070c18;
  --article-card: #0d1527;
  --article-border: rgba(56, 189, 248, 0.16);
  --article-text: #f1f5f9;
  --article-muted: #94a3b8;
  --article-accent: #fb923c;
  --article-code-bg: #04070d;
}

body.article-body {
  background-color: transparent;
  color: var(--article-text);
  font-size: 1.05rem;
  line-height: 1.85;
  position: relative;
  min-height: 100vh;
}

/* 文章页面微调炎柱背景，保持气势磅礴的同时增加深邃感，让视觉重心完全聚焦在内容上 */
body.article-body .flame-bg-layer {
  opacity: 0.82;
  filter: contrast(1.15) brightness(0.96) saturate(1.20);
}

/* 文章主阅读容器：深色黑曜石毛玻璃面板，形成高对比度护眼阅读区，彻底解决背景动态火柱导致的阅读辨识度问题 */
body.article-body main.container {
  background: rgba(8, 14, 26, 0.92) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  border: 1px solid rgba(251, 146, 60, 0.32) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.90), 0 0 40px rgba(251, 146, 60, 0.12) !important;
  padding: 48px 42px 70px !important;
  margin-top: 35px !important;
  margin-bottom: 70px !important;
}

/* 移动端自适应内边距与圆角 */
@media (max-width: 768px) {
  body.article-body main.container {
    padding: 28px 20px 48px !important;
    margin-top: 15px !important;
    margin-bottom: 40px !important;
    border-radius: 16px !important;
  }
}

/* 面包屑导航 */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--article-muted);
  margin-bottom: 25px;
  flex-wrap: wrap;
  background: rgba(13, 21, 39, 0.75);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb a {
  color: var(--article-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--article-accent);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.25);
}

/* 文章头部 */
.article-header {
  border-bottom: 1px solid rgba(251, 146, 60, 0.25);
  padding-bottom: 25px;
  margin-bottom: 35px;
}

.article-main-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.3;
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
  margin-bottom: 18px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: #cbd5e1 !important;
  flex-wrap: wrap;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-tags-wrap {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.article-keyword-badge {
  background: rgba(251, 146, 60, 0.12) !important;
  border: 1px solid rgba(251, 146, 60, 0.35) !important;
  color: #fb923c !important;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* 文章正文排版 */
.article-content {
  color: #f1f5f9 !important;
}

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin: 45px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(251, 146, 60, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-content h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  background: var(--article-accent);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(251, 146, 60, 0.6);
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  margin: 30px 0 14px;
}

.article-content p {
  color: #f1f5f9 !important;
  font-size: 1.06rem;
  line-height: 1.95;
  margin-bottom: 22px;
  text-align: justify;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.article-content strong {
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content li {
  color: #f1f5f9 !important;
  font-size: 1.04rem;
  line-height: 1.85;
  margin-bottom: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 提示警示框 */
.article-alert {
  background: rgba(13, 21, 39, 0.92) !important;
  border: 1px solid rgba(251, 146, 60, 0.35) !important;
  border-left: 5px solid var(--article-accent) !important;
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  color: #fed7aa !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.article-alert strong {
  color: #ffffff !important;
}

.article-alert.success {
  background: rgba(6, 30, 24, 0.92) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  border-left-color: #10b981 !important;
  color: #a7f3d0 !important;
}

.article-alert.warning {
  background: rgba(35, 23, 7, 0.92) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  border-left-color: #f59e0b !important;
  color: #fde68a !important;
}

/* 表格排版 */
.table-wrap {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
  background: rgba(11, 18, 33, 0.95);
}

.article-table th {
  background: rgba(15, 29, 53, 0.98);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(251, 146, 60, 0.3);
}

.article-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.article-table tr:hover {
  background: rgba(251, 146, 60, 0.08);
}

/* 内部转化呼吁横幅 (Article CTA Banner) */
.article-cta-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.35) 0%, rgba(251, 146, 60, 0.30) 100%);
  border: 1px solid rgba(251, 146, 60, 0.45);
  border-radius: 18px;
  padding: 36px 30px;
  text-align: center;
  margin: 45px 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(251, 146, 60, 0.15);
}

.article-cta-box h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.article-cta-box p {
  color: #e2e8f0;
  max-width: 650px;
  margin: 0 auto 22px;
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* 上下篇与相关推荐阅读 */
.article-nav-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 45px 0 35px;
  padding-top: 30px;
  border-top: 1px solid rgba(251, 146, 60, 0.25);
}

.article-nav-card {
  background: rgba(13, 21, 39, 0.90) !important;
  border: 1px solid rgba(251, 146, 60, 0.28) !important;
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  display: block;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.article-nav-card:hover {
  border-color: var(--article-accent) !important;
  background: rgba(22, 34, 60, 0.95) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(251, 146, 60, 0.2);
}

.article-nav-card .nav-direction {
  font-size: 0.78rem;
  color: var(--article-accent);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}

.article-nav-card .nav-target-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
}

.related-articles-box {
  background: rgba(13, 21, 39, 0.90) !important;
  border: 1px solid rgba(251, 146, 60, 0.28) !important;
  border-radius: 18px;
  padding: 30px 26px;
  margin: 40px 0 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.related-articles-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  border-left: 4px solid var(--article-accent);
  padding-left: 12px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.related-links-list {
  list-style: none;
  padding: 0;
}

.related-links-list li {
  margin-bottom: 14px;
}

.related-links-list a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.related-links-list a:hover {
  color: var(--article-accent);
  transform: translateX(4px);
}

/* 文章专栏页脚紧凑适配 */
body.article-body .site-footer {
  padding: 30px 0;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .article-nav-row {
    grid-template-columns: 1fr;
  }
}
