/* ==============================================================================
   未知表演 · WordPress 博客统一视觉外壳（方案 A：暗房顶栏/页脚 + 典藏暖棉纸白阅读区）
   与总站首页（/）及大厂口述史（/oral-history/）保持 100% 品牌统一，同时护眼适合长文阅读
============================================================================== */

:root {
  --up-dark: #071310;
  --up-dark-surface: #0D1E19;
  --up-dark-line: rgba(255, 255, 255, 0.11);
  --up-green: #1F7A63;
  --up-gold: #C6A85E;
  --up-paper: #F8F7F2;
  --up-paper-elev: #FFFFFF;
  --up-paper-strip: #EFECE3;
  --up-ink: #1F2220;
  --up-ink-mid: #4F5652;
  --up-ink-faint: #7A827E;
  --up-border: #E5E1D6;
}

/* 顶部绿金细线 */
.up-top-hairline {
  height: 2px;
  background: linear-gradient(90deg, var(--up-green), var(--up-gold), var(--up-green));
}

/* 典藏暖棉纸白正文底色（柔和护眼，与大厂口述史阅读器一致） */
body {
  background: var(--up-paper) !important;
  color: var(--up-ink);
}

.site-main,
main#main-content {
  background: var(--up-paper);
}

/* ── 统一深墨绿暗房顶栏 ── */
.site-header {
  background: rgba(7, 19, 16, 0.94) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--up-dark-line) !important;
}

.site-header .site-name {
  color: #F5F3EC !important;
  font-weight: 600;
}

.site-header .site-name:hover {
  color: var(--up-gold) !important;
}

.site-header .site-slogan {
  color: #799087 !important;
}

.site-header .brand-logo,
.site-header .custom-logo-link img,
.site-header .custom-logo {
  width: 32px !important;
  height: 32px !important;
  opacity: 0.96;
}

.site-header .nav-menu a {
  color: #A4B5AE !important;
  font-size: 13.5px;
  border-bottom-width: 1.5px;
}

.site-header .nav-menu a:hover,
.site-header .nav-menu .current-menu-item > a,
.site-header .nav-menu .current_page_item > a {
  color: var(--up-gold) !important;
  border-bottom-color: var(--up-gold) !important;
}

.site-header .nav-toggle-bar {
  background: #DCE5E1 !important;
}

.header-gold-line {
  height: 1px !important;
  opacity: 0.32 !important;
}

/* 顶栏主推按钮：直达大厂口述史 */
.up-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  padding: 8px 15px;
  background: var(--up-gold);
  color: #091713 !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  white-space: nowrap;
  border: none;
  transition: filter 0.18s ease;
}

.up-header-cta:hover {
  filter: brightness(1.08);
  color: #091713 !important;
}

/* 移动端暗房下拉菜单 */
@media (max-width: 768px) {
  .site-header .nav-menu {
    background: #0A1B16 !important;
    border-top: 1px solid var(--up-dark-line) !important;
    border-bottom: 1px solid rgba(198, 168, 94, 0.28) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45) !important;
  }

  .site-header .nav-menu a {
    color: #DCE5E1 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  }

  .site-header .nav-menu .current-menu-item > a,
  .site-header .nav-menu .current_page_item > a {
    color: var(--up-gold) !important;
  }

  .up-header-cta {
    margin-left: 0;
    margin-right: 6px;
    padding: 6px 11px;
    font-size: 12px;
  }
}

/* ── 暖棉纸面细节统一（面包屑、卡片、分割线） ── */
.breadcrumb {
  background: var(--up-paper-strip) !important;
  border-bottom: 1px solid var(--up-border) !important;
}

.breadcrumb a { color: var(--up-ink-mid) !important; }
.breadcrumb a:hover { color: var(--up-green) !important; }

.post-item,
.article-item,
.archive-item {
  border-color: var(--up-border) !important;
}

.entry-content,
.post-content {
  color: #242624;
}

/* ── 统一深墨绿暗房合规页脚 ── */
.site-footer {
  background: var(--up-dark) !important;
  color: #93A79F !important;
  border-top: 1px solid var(--up-dark-line) !important;
}

.site-footer .footer-gold-line {
  background: linear-gradient(90deg, var(--up-green), var(--up-gold), var(--up-green)) !important;
  height: 2px !important;
  opacity: 0.72 !important;
}

.site-footer .footer-site-name {
  color: #F5F3EC !important;
}

.site-footer .footer-slogan {
  color: #7B9188 !important;
}

.site-footer .footer-menu a,
.site-footer .footer-topics a,
.site-footer .footer-social a {
  color: #A4B5AE !important;
}

.site-footer .footer-menu a:hover,
.site-footer .footer-topics a:hover,
.site-footer .footer-social a:hover {
  color: var(--up-gold) !important;
}

.site-footer .footer-label {
  color: var(--up-gold) !important;
}

.site-footer .footer-copy {
  color: #778B83 !important;
  border-top-color: var(--up-dark-line) !important;
}

.site-footer .footer-copy a {
  color: #A4B5AE !important;
}

.site-footer .footer-copy a:hover {
  color: var(--up-gold) !important;
}
