@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ========== 桌面 Header ========== */
#masthead, .site-header, .main-header-bar,
.ast-primary-header-bar, .main-header-bar-wrap {
  background: #1a2d6b !important;
  border-bottom: 3px solid #C9A84C !important;
}
.custom-logo-link img.custom-logo { max-height: 52px !important; width: auto !important; }
.ast-site-identity { display: flex !important; align-items: center !important; gap: 12px !important; }
.site-title { display: block !important; white-space: nowrap !important; }
.site-title a { color: #fff !important; font-family: 'Playfair Display', serif !important; font-size: 1.05rem !important; font-weight: 600 !important; text-decoration: none !important; white-space: nowrap !important; }
.site-title a::before, .site-title a::after { content: none !important; }
.site-description { display: none !important; }
.main-header-menu > li > a, #ast-hf-menu-1 > li > a { color: rgba(255,255,255,0.92) !important; font-size: 0.82rem !important; font-weight: 500 !important; text-transform: uppercase !important; letter-spacing: 0.05em !important; }
.main-header-menu > li > a:hover { color: #C9A84C !important; }
.ast-header-navigation-arrow svg, .ast-menu-toggle svg { fill: rgba(255,255,255,0.7) !important; }
.main-header-menu .sub-menu, #ast-hf-menu-1 .sub-menu { background: #1a2d6b !important; border-top: 2px solid #C9A84C !important; }
.sub-menu li a { color: rgba(255,255,255,0.85) !important; padding: 10px 18px !important; text-transform: none !important; }
.sub-menu li a:hover { color: #C9A84C !important; }

/* 终极修复 - 用body级别对抗body级别 */
body .ast-mobile-header-content,
body #ast-mobile-header .ast-mobile-header-content,
body #ast-mobile-header .ast-mobile-header-content ul,
body #ast-mobile-header .ast-mobile-header-content li,
body #ast-mobile-header .ast-mobile-header-content nav {
  background: #1a2d6b !important;
  background-color: #1a2d6b !important;
}

body #ast-mobile-header .ast-mobile-header-content a,
body #ast-mobile-header .ast-mobile-header-content .menu-link {
  color: #ffffff !important;
}

body #ast-mobile-header .ast-mobile-header-content .sub-menu,
body #ast-mobile-header .ast-mobile-header-content .children {
  background: #162260 !important;
  background-color: #162260 !important;
}
/* ========== 字体 ========== */
body { font-family: 'Inter', sans-serif !important; }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif !important; color: #1a2d6b !important; }

/* ========== Footer ========== */
.site-footer, footer#colophon { background: #1a2d6b !important; border-top: 3px solid #C9A84C !important; }
.site-footer, .site-footer p { color: rgba(255,255,255,0.55) !important; }
.site-footer a { color: #C9A84C !important; }