/* 覆盖通用内容样式配色 */
:root {
    --content-primary: #dc2626;
    --content-primary-dark: #991b1b;
    --content-primary-light: #ef4444;
}

/* 分站模板10 - 经典红黑风 */
:root {
    --tpl10-primary: #dc2626;
    --tpl10-primary-dark: #991b1b;
    --tpl10-primary-light: #ef4444;
    --tpl10-black: #0a0a0a;
    --tpl10-text: #171717;
    --tpl10-text-light: #737373;
    --tpl10-bg: #fafafa;
    --tpl10-bg-white: #ffffff;
    --tpl10-footer-bg: #0a0a0a;
    --tpl10-border: #e5e5e5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
    color: var(--tpl10-text);
    background: var(--tpl10-bg-white);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.tpl10-container { max-width: 1400px; width: 95%; margin: 0 auto; }

/* 顶部条 */
.tpl10-topbar {
    background: var(--tpl10-black);
    color: #d4d4d4;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid var(--tpl10-primary);
}
.tpl10-topbar .tpl10-container {
    display: flex;
    justify-content: space-between;
}

/* 导航 */
.tpl10-nav-wrap {
    background: var(--tpl10-black);
}
.tpl10-nav-wrap .tpl10-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.tpl10-logo { display: flex; align-items: center; gap: 10px; }
.tpl10-logo-icon {
    width: 44px; height: 44px;
    background: var(--tpl10-primary);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; font-weight: 800;
    border: 2px solid #fff;
}
.tpl10-logo-text { font-size: 20px; font-weight: 700; color: #fff; }
.tpl10-logo-text span { color: var(--tpl10-primary-light); }

.tpl10-header {
    position: relative;
    z-index: 100;
}

.tpl10-nav { display: flex; align-items: center; gap: 0; }
.tpl10-nav > a, .tpl10-dropdown > a {
    padding: 24px 20px;
    color: #d4d4d4;
    font-size: 15px; font-weight: 500;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}
.tpl10-nav > a:hover, .tpl10-dropdown > a:hover,
.tpl10-nav > a.active, .tpl10-dropdown > a.active {
    color: #fff;
    background: var(--tpl10-primary);
    border-bottom-color: var(--tpl10-primary-light);
}
.tpl10-dropdown { position: relative; }
.tpl10-dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--tpl10-black);
    border-top: 3px solid var(--tpl10-primary);
    min-width: 160px; padding: 0;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s; z-index: 100;
}
.tpl10-dropdown:hover .tpl10-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tpl10-dropdown-menu a {
    display: block; padding: 12px 18px;
    color: #d4d4d4; font-size: 14px;
    transition: all 0.2s;
    border-bottom: 1px solid #262626;
}
.tpl10-dropdown-menu a:last-child { border-bottom: none; }
.tpl10-dropdown-menu a:hover { background: var(--tpl10-primary); color: #fff; padding-left: 24px; }

.tpl10-toggle { display: none; background: none; border: none; font-size: 24px; color: #fff; cursor: pointer; }

/* Banner */
.page-banner {
    background: var(--tpl10-black);
    padding: 50px 0;
    border-bottom: 4px solid var(--tpl10-primary);
    color: #fff;
}
.page-banner h1 { font-size: 32px; font-weight: 700; margin-bottom: 10px; }
.page-banner p { color: #a3a3a3; }
.breadcrumb { font-size: 13px; color: #a3a3a3; margin-bottom: 12px; }
.breadcrumb a { color: var(--tpl10-primary-light); }

/* 通用 */
.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(--tpl10-text-light); }

/* CTA */
.tpl10-cta {
    background: var(--tpl10-primary);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}
.tpl10-cta h2 { font-size: 28px; margin-bottom: 8px; }
.tpl10-cta p { opacity: 0.9; margin-bottom: 24px; }
.tpl10-btn {
    display: inline-block;
    background: #fff;
    color: var(--tpl10-primary);
    padding: 14px 36px;
    font-size: 16px; font-weight: 700;
    transition: all 0.3s;
    border: 2px solid #fff;
}
.tpl10-btn:hover { background: transparent; color: #fff; }

/* 页脚 */
.tpl10-footer { background: var(--tpl10-footer-bg); color: #d4d4d4; padding: 50px 0 0; border-top: 4px solid var(--tpl10-primary); }
.tpl10-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #262626;
}
.tpl10-footer-brand p { font-size: 14px; color: #737373; margin-top: 16px; line-height: 1.8; }
.tpl10-footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--tpl10-primary); display: inline-block; }
.tpl10-footer-col ul li { margin-bottom: 10px; }
.tpl10-footer-col ul li a { font-size: 14px; color: #737373; transition: all 0.2s; }
.tpl10-footer-col ul li a:hover { color: var(--tpl10-primary-light); padding-left: 4px; }
.tpl10-footer-notice {
    background: #171717;
    border: 1px solid #262626;
    border-left: 4px solid var(--tpl10-primary);
    padding: 16px 20px;
    margin: 30px 0;
    font-size: 13px; line-height: 1.8;
    color: #737373;
}
.tpl10-footer-notice strong { color: var(--tpl10-primary-light); }
.tpl10-footer-bottom {
    display: flex; justify-content: space-between;
    padding: 20px 0; font-size: 13px; color: #525252;
}
.tpl10-footer-bottom a { color: #737373; }
.tpl10-footer-bottom a:hover { color: var(--tpl10-primary-light); }

/* 响应式 */
@media (max-width: 1024px) { .tpl10-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .tpl10-topbar { display: none; }
    .tpl10-nav {
        display: none;
        position: absolute; top: 70px; left: 0; right: 0;
        background: var(--tpl10-black);
        flex-direction: column; padding: 0;
        border-top: 2px solid var(--tpl10-primary);
    }
    .tpl10-nav.show { display: flex; }
    .tpl10-nav > a, .tpl10-dropdown > a { padding: 14px 20px; border-bottom: 1px solid #262626; }
    .tpl10-toggle { display: block; }
    .tpl10-footer-grid { grid-template-columns: 1fr; }
    .tpl10-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}




/* Footer Logo 颜色修复（深色背景上使用浅色文字） */
.tpl10-footer .tpl10-logo-text { color: #fff; }
.tpl10-footer .tpl10-logo-text span { color: #ef4444; }
.tpl10-footer .tpl10-logo-icon { background: rgba(255,255,255,0.15); color: #ef4444; }


/* 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; }
