/* 覆盖通用内容样式配色 */
:root {
    --content-primary: #065f46;
    --content-primary-dark: #064e3b;
    --content-primary-light: #10b981;
}

/* 分站模板8 - 深邃墨绿风 */
:root {
    --tpl8-primary: #065f46;
    --tpl8-primary-dark: #064e3b;
    --tpl8-primary-light: #10b981;
    --tpl8-gold: #d4af37;
    --tpl8-text: #1f2937;
    --tpl8-text-light: #6b7280;
    --tpl8-bg: #f0fdf4;
    --tpl8-bg-white: #ffffff;
    --tpl8-footer-bg: #022c22;
    --tpl8-border: #d1fae5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--tpl8-text);
    background: var(--tpl8-bg-white);
    line-height: 1.8;
    letter-spacing: 0.3px;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.tpl8-container { max-width: 1400px; width: 95%; margin: 0 auto; }

/* 导航 */
.tpl8-header {
    background: var(--tpl8-primary-dark);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 20px rgba(6,78,59,0.2);
}
.tpl8-header .tpl8-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 84px;
}
.tpl8-logo { display: flex; align-items: center; gap: 14px; }
.tpl8-logo-icon {
    width: 50px; height: 50px;
    background: var(--tpl8-gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--tpl8-primary-dark); font-size: 22px; font-weight: 800;
}
.tpl8-logo-text { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.tpl8-logo-text span { color: var(--tpl8-gold); }

.tpl8-nav { display: flex; align-items: center; gap: 0; }
.tpl8-nav > a, .tpl8-dropdown > a {
    padding: 32px 24px;
    color: rgba(255,255,255,0.8);
    font-size: 15px; font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s;
}
.tpl8-nav > a::after, .tpl8-dropdown > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 3px;
    background: var(--tpl8-gold);
    transition: all 0.3s;
    transform: translateX(-50%);
}
.tpl8-nav > a:hover, .tpl8-dropdown > a:hover,
.tpl8-nav > a.active, .tpl8-dropdown > a.active {
    color: var(--tpl8-gold);
}
.tpl8-nav > a:hover::after, .tpl8-dropdown > a:hover::after,
.tpl8-nav > a.active::after, .tpl8-dropdown > a.active::after {
    width: 60%;
}
.tpl8-dropdown { position: relative; }
.tpl8-dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--tpl8-primary-dark);
    border-top: 2px solid var(--tpl8-gold);
    min-width: 180px; padding: 10px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s; z-index: 100;
}
.tpl8-dropdown:hover .tpl8-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tpl8-dropdown-menu a {
    display: block; padding: 12px 20px;
    color: rgba(255,255,255,0.8); font-size: 14px;
    transition: all 0.2s;
}
.tpl8-dropdown-menu a:hover { background: rgba(212,175,55,0.1); color: var(--tpl8-gold); padding-left: 28px; }

.tpl8-phone {
    color: var(--tpl8-gold);
    font-size: 16px; font-weight: 600;
    padding: 10px 20px;
    border: 1px solid var(--tpl8-gold);
    transition: all 0.3s;
    letter-spacing: 1px;
}
.tpl8-phone:hover { background: var(--tpl8-gold); color: var(--tpl8-primary-dark); }
.tpl8-toggle { display: none; background: none; border: none; font-size: 24px; color: #fff; cursor: pointer; }

/* Banner */
.page-banner {
    background: linear-gradient(135deg, var(--tpl8-primary-dark), var(--tpl8-primary));
    padding: 70px 0;
    color: #fff;
}
.page-banner h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; letter-spacing: 2px; }
.page-banner p { color: rgba(255,255,255,0.8); font-size: 16px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.breadcrumb a { color: var(--tpl8-gold); }

/* 通用 */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; letter-spacing: 2px; color: var(--tpl8-primary-dark); }
.section-title p { color: var(--tpl8-text-light); font-size: 16px; }

/* CTA */
.tpl8-cta {
    background: var(--tpl8-primary-dark);
    padding: 70px 0;
    text-align: center;
    color: #fff;
    border-top: 3px solid var(--tpl8-gold);
}
.tpl8-cta h2 { font-size: 30px; margin-bottom: 10px; letter-spacing: 2px; }
.tpl8-cta p { color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.tpl8-btn {
    display: inline-block;
    background: var(--tpl8-gold);
    color: var(--tpl8-primary-dark);
    padding: 16px 40px;
    font-size: 16px; font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s;
}
.tpl8-btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }

/* 页脚 */
.tpl8-footer { background: var(--tpl8-footer-bg); color: #d1d5db; padding: 60px 0 0; }
.tpl8-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}
.tpl8-footer-brand p { font-size: 14px; color: #9ca3af; margin-top: 20px; line-height: 2; }
.tpl8-footer-col h4 { font-size: 16px; color: var(--tpl8-gold); margin-bottom: 24px; letter-spacing: 2px; }
.tpl8-footer-col ul li { margin-bottom: 14px; }
.tpl8-footer-col ul li a { font-size: 14px; color: #9ca3af; transition: all 0.2s; }
.tpl8-footer-col ul li a:hover { color: var(--tpl8-gold); padding-left: 6px; }
.tpl8-footer-notice {
    background: rgba(212,175,55,0.05);
    border: 1px solid rgba(212,175,55,0.15);
    border-left: 3px solid var(--tpl8-gold);
    padding: 20px 24px;
    margin: 40px 0;
    font-size: 13px; line-height: 2;
    color: #9ca3af;
}
.tpl8-footer-notice strong { color: var(--tpl8-gold); }
.tpl8-footer-bottom {
    display: flex; justify-content: space-between;
    padding: 24px 0; font-size: 13px; color: #6b7280;
}
.tpl8-footer-bottom a { color: #9ca3af; }
.tpl8-footer-bottom a:hover { color: var(--tpl8-gold); }

/* 响应式 */
@media (max-width: 1024px) { .tpl8-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .tpl8-nav {
        display: none;
        position: absolute; top: 84px; left: 0; right: 0;
        background: var(--tpl8-primary-dark);
        flex-direction: column; padding: 10px 0;
        border-top: 1px solid rgba(212,175,55,0.2);
    }
    .tpl8-nav.show { display: flex; }
    .tpl8-nav > a, .tpl8-dropdown > a { padding: 16px 24px; }
    .tpl8-nav > a::after, .tpl8-dropdown > a::after { display: none; }
    .tpl8-toggle { display: block; }
    .tpl8-phone { display: none; }
    .tpl8-footer-grid { grid-template-columns: 1fr; }
    .tpl8-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}




/* Footer Logo 颜色修复（深色背景上使用浅色文字） */
.tpl8-footer .tpl8-logo-text { color: #fff; }
.tpl8-footer .tpl8-logo-text span { color: #d4af37; }
.tpl8-footer .tpl8-logo-icon { background: rgba(255,255,255,0.15); color: #d4af37; }


/* Page Banner 文字颜色修复（确保文字和背景对比度） */
.page-banner h1 { color: #fff !important; }
.page-banner p { color: rgba(255,255,255,0.9) !important; }
.page-banner .breadcrumb { color: rgba(255,255,255,0.8) !important; }
.page-banner .breadcrumb a { color: #fff !important; }
