/* 覆盖通用内容样式配色 */
:root {
    --content-primary: #92400e;
    --content-primary-dark: #78350f;
    --content-primary-light: #b45309;
}

/* 分站模板7 - 温暖棕咖风 */
:root {
    --tpl7-primary: #92400e;
    --tpl7-primary-dark: #78350f;
    --tpl7-primary-light: #b45309;
    --tpl7-text: #44403c;
    --tpl7-text-light: #78716c;
    --tpl7-bg: #fef3c7;
    --tpl7-bg-cream: #fffbeb;
    --tpl7-footer-bg: #451a03;
    --tpl7-border: #fde68a;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Georgia", "Times New Roman", "SimSun", serif;
    color: var(--tpl7-text);
    background: var(--tpl7-bg-cream);
    line-height: 1.8;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.tpl7-container { max-width: 1400px; width: 95%; margin: 0 auto; }

/* 顶部条 */
.tpl7-topbar {
    background: var(--tpl7-primary-dark);
    color: #fef3c7;
    font-size: 13px;
    padding: 8px 0;
}
.tpl7-topbar .tpl7-container {
    display: flex;
    justify-content: space-between;
}

/* 导航 */
.tpl7-header {
    background: var(--tpl7-bg-cream);
    border-bottom: 3px double var(--tpl7-primary);
    position: relative;
    z-index: 100;
}
.tpl7-header .tpl7-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
}
.tpl7-logo { display: flex; align-items: center; gap: 12px; }
.tpl7-logo-icon {
    width: 48px; height: 48px;
    background: var(--tpl7-primary);
    border: 2px solid var(--tpl7-primary-light);
    display: flex; align-items: center; justify-content: center;
    color: #fef3c7; font-size: 20px; font-weight: 800;
    font-family: "Georgia", serif;
}
.tpl7-logo-text { font-size: 22px; font-weight: 700; letter-spacing: 2px; }
.tpl7-logo-text span { color: var(--tpl7-primary); }

.tpl7-nav { display: flex; align-items: center; gap: 0; }
.tpl7-nav > a, .tpl7-dropdown > a {
    padding: 28px 22px;
    color: var(--tpl7-text);
    font-size: 15px; font-weight: 500;
    position: relative;
    transition: all 0.2s;
}
.tpl7-nav > a::before, .tpl7-dropdown > a::before {
    content: '❧';
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    color: var(--tpl7-primary);
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 12px;
}
.tpl7-nav > a:hover, .tpl7-dropdown > a:hover,
.tpl7-nav > a.active, .tpl7-dropdown > a.active {
    color: var(--tpl7-primary);
}
.tpl7-nav > a:hover::before, .tpl7-dropdown > a:hover::before,
.tpl7-nav > a.active::before, .tpl7-dropdown > a.active::before {
    opacity: 1;
}
.tpl7-dropdown { position: relative; }
.tpl7-dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: var(--tpl7-bg-cream);
    border: 1px solid var(--tpl7-border);
    box-shadow: 0 10px 30px rgba(146,64,14,0.1);
    min-width: 160px; padding: 8px;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s; z-index: 100;
}
.tpl7-dropdown:hover .tpl7-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tpl7-dropdown-menu a {
    display: block; padding: 10px 14px;
    color: var(--tpl7-text); font-size: 14px;
    transition: all 0.2s;
    border-bottom: 1px dotted var(--tpl7-border);
}
.tpl7-dropdown-menu a:last-child { border-bottom: none; }
.tpl7-dropdown-menu a:hover { background: var(--tpl7-bg); color: var(--tpl7-primary); }

.tpl7-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--tpl7-primary); cursor: pointer; }

/* Banner */
.page-banner {
    background: var(--tpl7-bg);
    border-bottom: 1px solid var(--tpl7-border);
    padding: 50px 0;
    text-align: center;
}
.page-banner h1 { font-size: 34px; font-weight: 700; color: var(--tpl7-primary-dark); margin-bottom: 10px; }
.page-banner p { color: var(--tpl7-text-light); font-style: italic; }
.breadcrumb { font-size: 13px; color: var(--tpl7-text-light); margin-bottom: 12px; }
.breadcrumb a { color: var(--tpl7-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(--tpl7-text-light); font-style: italic; }

/* CTA */
.tpl7-cta {
    background: linear-gradient(135deg, var(--tpl7-primary-dark), var(--tpl7-primary));
    color: #fef3c7;
    padding: 60px 0;
    text-align: center;
}
.tpl7-cta h2 { font-size: 28px; margin-bottom: 8px; }
.tpl7-cta p { opacity: 0.9; margin-bottom: 24px; font-style: italic; }
.tpl7-btn {
    display: inline-block;
    background: var(--tpl7-bg-cream);
    color: var(--tpl7-primary-dark);
    padding: 14px 36px;
    font-size: 16px; font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--tpl7-primary-light);
}
.tpl7-btn:hover { background: transparent; color: #fef3c7; border-color: #fef3c7; }

/* 页脚 */
.tpl7-footer { background: var(--tpl7-footer-bg); color: #d6d3d1; padding: 50px 0 0; }
.tpl7-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(254,243,199,0.1);
}
.tpl7-footer-brand p { font-size: 14px; color: #a8a29e; margin-top: 16px; line-height: 1.8; font-style: italic; }
.tpl7-footer-col h4 { font-size: 15px; color: #fef3c7; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(254,243,199,0.2); }
.tpl7-footer-col ul li { margin-bottom: 10px; }
.tpl7-footer-col ul li a { font-size: 14px; color: #a8a29e; transition: color 0.2s; }
.tpl7-footer-col ul li a:hover { color: #fbbf24; }
.tpl7-footer-notice {
    background: rgba(254,243,199,0.05);
    border: 1px solid rgba(254,243,199,0.1);
    padding: 16px 20px;
    margin: 30px 0;
    font-size: 13px; line-height: 1.8;
    color: #a8a29e;
}
.tpl7-footer-notice strong { color: #fbbf24; }
.tpl7-footer-bottom {
    display: flex; justify-content: space-between;
    padding: 20px 0; font-size: 13px; color: #78716c;
}
.tpl7-footer-bottom a { color: #a8a29e; }
.tpl7-footer-bottom a:hover { color: #fbbf24; }

/* 响应式 */
@media (max-width: 1024px) { .tpl7-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .tpl7-topbar { display: none; }
    .tpl7-nav {
        display: none;
        position: absolute; top: 80px; left: 0; right: 0;
        background: var(--tpl7-bg-cream);
        flex-direction: column; padding: 10px 0;
        border-bottom: 3px double var(--tpl7-primary);
    }
    .tpl7-nav.show { display: flex; }
    .tpl7-nav > a, .tpl7-dropdown > a { padding: 14px 20px; }
    .tpl7-nav > a::before, .tpl7-dropdown > a::before { display: none; }
    .tpl7-toggle { display: block; }
    .tpl7-footer-grid { grid-template-columns: 1fr; }
    .tpl7-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}




/* Footer Logo 颜色修复（深色背景上使用浅色文字） */
.tpl7-footer .tpl7-logo-text { color: #fef3c7; }
.tpl7-footer .tpl7-logo-text span { color: #fbbf24; }
.tpl7-footer .tpl7-logo-icon { background: rgba(255,255,255,0.15); color: #fbbf24; }


/* Page Banner 文字颜色修复（确保文字和背景对比度） */
.page-banner h1 { color: #78350f !important; }
.page-banner p { color: #92400e !important; }
.page-banner .breadcrumb { color: #b45309 !important; }
.page-banner .breadcrumb a { color: #78350f !important; }
