/* 覆盖通用内容样式配色 */
:root {
    --content-primary: #059669;
    --content-primary-dark: #047857;
    --content-primary-light: #10b981;
}

/* ============================================================
   分站模板3 - 清新绿松风
   特点：绿色主色、顶部细条、下划线导航、浅灰页脚
   ============================================================ */

:root {
    --tpl3-primary: #059669;
    --tpl3-primary-dark: #047857;
    --tpl3-primary-light: #10b981;
    --tpl3-text: #1f2937;
    --tpl3-text-light: #6b7280;
    --tpl3-bg: #ffffff;
    --tpl3-bg-gray: #f0fdf4;
    --tpl3-footer-bg: #f3f4f6;
    --tpl3-border: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--tpl3-text);
    background: var(--tpl3-bg);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.tpl3-container { max-width: 1400px; width: 95%; margin: 0 auto; }

/* 顶部细条 */
.tpl3-topbar {
    background: var(--tpl3-primary);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}
.tpl3-topbar .tpl3-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tpl3-topbar-right { display: flex; gap: 12px; align-items: center; }
.tpl3-topbar-divider { opacity: 0.5; }

/* 导航 */
.tpl3-header {
    background: #fff;
    border-bottom: 1px solid var(--tpl3-border);
    position: relative;
    z-index: 100;
}
.tpl3-header .tpl3-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.tpl3-logo { display: flex; align-items: center; gap: 10px; }
.tpl3-logo-icon {
    width: 42px; height: 42px;
    background: var(--tpl3-primary);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; font-weight: 800;
}
.tpl3-logo-text { font-size: 19px; font-weight: 700; }
.tpl3-logo-text span { color: var(--tpl3-primary); }

.tpl3-nav { display: flex; align-items: center; gap: 4px; }
.tpl3-nav > a, .tpl3-nav-dropdown > a {
    padding: 28px 18px;
    color: var(--tpl3-text);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}
.tpl3-nav > a::after, .tpl3-nav-dropdown > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 3px;
    background: var(--tpl3-primary);
    transition: all 0.3s;
    transform: translateX(-50%);
}
.tpl3-nav > a:hover, .tpl3-nav-dropdown > a:hover { color: var(--tpl3-primary); }
.tpl3-nav > a:hover::after, .tpl3-nav-dropdown > a:hover::after,
.tpl3-nav > a.active::after, .tpl3-nav-dropdown > a.active::after { width: 60%; }
.tpl3-nav > a.active, .tpl3-nav-dropdown > a.active { color: var(--tpl3-primary); }

.tpl3-nav-dropdown { position: relative; }
.tpl3-dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: #fff;
    border: 1px solid var(--tpl3-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-width: 160px; padding: 8px;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s; z-index: 100;
}
.tpl3-nav-dropdown:hover .tpl3-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.tpl3-dropdown-menu a {
    display: block; padding: 10px 14px;
    color: var(--tpl3-text); font-size: 14px;
    border-radius: 6px; transition: all 0.2s;
}
.tpl3-dropdown-menu a:hover { background: var(--tpl3-bg-gray); color: var(--tpl3-primary); }

.tpl3-header-btn {
    background: var(--tpl3-primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.tpl3-header-btn:hover { background: var(--tpl3-primary-dark); }

.tpl3-mobile-toggle {
    display: none;
    background: none; border: none;
    font-size: 24px; cursor: pointer;
}

/* Banner */
.page-banner {
    background: var(--tpl3-bg-gray);
    padding: 50px 0;
    border-bottom: 1px solid var(--tpl3-border);
}
.page-banner h1 {
    font-size: 32px; font-weight: 700;
    color: var(--tpl3-text); margin-bottom: 10px;
}
.page-banner p { color: var(--tpl3-text-light); font-size: 15px; }
.breadcrumb { font-size: 13px; color: var(--tpl3-text-light); margin-bottom: 12px; }
.breadcrumb a { color: var(--tpl3-primary); }

/* 通用 */
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.section-title p { color: var(--tpl3-text-light); }

/* 按钮 */
.tpl3-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px; font-weight: 600;
    transition: all 0.3s; cursor: pointer; border: none;
}
.tpl3-btn-primary { background: var(--tpl3-primary); color: #fff; }
.tpl3-btn-primary:hover { background: var(--tpl3-primary-dark); }
.tpl3-btn-secondary { background: #fff; color: var(--tpl3-primary); border: 1px solid var(--tpl3-primary); }
.tpl3-btn-secondary:hover { background: var(--tpl3-primary); color: #fff; }

/* CTA */
.tpl3-cta { padding: 60px 0; background: var(--tpl3-bg-gray); }
.tpl3-cta-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.tpl3-cta-box h2 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.tpl3-cta-box p { color: var(--tpl3-text-light); margin-bottom: 24px; }
.tpl3-cta-buttons { display: flex; gap: 16px; justify-content: center; }

/* 页脚（深绿色背景） */
.tpl3-footer { background: #064e3b; padding: 50px 0 0; color: #d1fae5; }
.tpl3-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.tpl3-footer-brand p {
    font-size: 14px; color: #a7f3d0;
    line-height: 1.8; margin-top: 16px;
}
.tpl3-footer-col h4 {
    font-size: 15px; font-weight: 600;
    margin-bottom: 18px; color: #fff;
}
.tpl3-footer-col ul li { margin-bottom: 10px; }
.tpl3-footer-col ul li a {
    font-size: 14px; color: #a7f3d0;
    transition: color 0.2s;
}
.tpl3-footer-col ul li a:hover { color: #6ee7b7; }
.tpl3-contact-list li {
    font-size: 14px; color: #d1fae5;
    margin-bottom: 10px;
}

.tpl3-footer-notice {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-left: 4px solid #34d399;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 30px 0;
    font-size: 13px;
    line-height: 1.8;
    color: #a7f3d0;
}
.tpl3-footer-notice strong { color: #6ee7b7; }

.tpl3-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 13px;
    color: #6ee7b7;
}
.tpl3-footer-bottom a { color: #6ee7b7; }
.tpl3-footer-bottom a:hover { color: #a7f3d0; }
.tpl3-footer-links { display: flex; gap: 20px; }

/* 响应式 */
@media (max-width: 1024px) {
    .tpl3-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .tpl3-topbar { display: none; }
    .tpl3-nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; flex-direction: column;
        padding: 10px 20px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 99;
        align-items: stretch;
    }
    .tpl3-nav.show { display: flex; }
    .tpl3-nav > a, .tpl3-nav-dropdown > a {
        padding: 14px 0;
        border-bottom: 1px solid var(--tpl3-border-light);
        text-align: center;
        width: 100%;
    }
    .tpl3-nav-dropdown {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .tpl3-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 10px 0;
        min-width: 100%;
        display: flex;
        flex-direction: column;
        background: var(--tpl3-bg-light);
        margin-top: -1px;
    }
    .tpl3-dropdown-menu a {
        padding: 10px 0;
        text-align: center;
        font-size: 14px;
        color: var(--tpl3-text-light);
        border-bottom: 1px solid var(--tpl3-border-light);
    }
    .tpl3-mobile-toggle { display: block; color: var(--tpl3-primary); font-size: 28px; }
    .tpl3-header-btn { display: none; }
    .tpl3-footer-grid { grid-template-columns: 1fr; }
    .tpl3-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .tpl3-cta-buttons { flex-direction: column; }
}




/* Footer Logo 颜色修复（深绿色背景上使用浅色文字） */
.tpl3-footer .tpl3-logo-text { color: #fff; }
.tpl3-footer .tpl3-logo-text span { color: #6ee7b7; }
.tpl3-footer .tpl3-logo-icon { background: rgba(255,255,255,0.15); color: #6ee7b7; }


/* Page Banner 文字颜色修复（确保文字和背景对比度） */
.page-banner h1 { color: #065f46 !important; }
.page-banner p { color: #047857 !important; }
.page-banner .breadcrumb { color: #059669 !important; }
.page-banner .breadcrumb a { color: #047857 !important; }
