/* 覆盖通用内容样式配色 */
:root {
    --content-primary: #db2777;
    --content-primary-dark: #be185d;
    --content-primary-light: #f472b6;
}

/* 分站模板5 - 浪漫玫红风 */
:root {
    --tpl5-primary: #db2777;
    --tpl5-primary-dark: #be185d;
    --tpl5-primary-light: #f472b6;
    --tpl5-text: #1f2937;
    --tpl5-text-light: #6b7280;
    --tpl5-bg: #fdf2f8;
    --tpl5-footer-bg: #831843;
    --tpl5-border: #fbcfe8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--tpl5-text);
    background: var(--tpl5-bg);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.tpl5-container { max-width: 1400px; width: 95%; margin: 0 auto; }

/* 导航 */
.tpl5-header {
    background: linear-gradient(135deg, var(--tpl5-primary), var(--tpl5-primary-light));
    box-shadow: 0 4px 20px rgba(219, 39, 119, 0.2);
    position: sticky; top: 0; z-index: 1000;
}
.tpl5-header .tpl5-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.tpl5-logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.tpl5-logo-icon {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800;
    backdrop-filter: blur(10px);
}
.tpl5-logo-text { font-size: 19px; font-weight: 700; }
.tpl5-logo-text span { opacity: 0.8; }

.tpl5-nav { display: flex; align-items: center; gap: 4px; }
.tpl5-nav > a, .tpl5-dropdown > a {
    padding: 10px 18px;
    color: rgba(255,255,255,0.9);
    font-size: 15px; font-weight: 500;
    border-radius: 50px;
    transition: all 0.2s;
}
.tpl5-nav > a:hover, .tpl5-dropdown > a:hover,
.tpl5-nav > a.active, .tpl5-dropdown > a.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.tpl5-dropdown { position: relative; }
.tpl5-dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(219,39,119,0.15);
    min-width: 160px; padding: 8px;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s; z-index: 100;
}
.tpl5-dropdown:hover .tpl5-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tpl5-dropdown-menu a {
    display: block; padding: 10px 14px;
    color: var(--tpl5-text); font-size: 14px;
    border-radius: 8px; transition: all 0.2s;
}
.tpl5-dropdown-menu a:hover { background: var(--tpl5-bg); color: var(--tpl5-primary); }

.tpl5-phone {
    background: #fff;
    color: var(--tpl5-primary);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14px; font-weight: 600;
    transition: all 0.3s;
}
.tpl5-phone:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.tpl5-toggle { display: none; background: none; border: none; font-size: 24px; color: #fff; cursor: pointer; }

/* Banner */
.page-banner {
    background: linear-gradient(135deg, rgba(219,39,119,0.1), rgba(244,114,182,0.1));
    padding: 50px 0;
}
.page-banner h1 { font-size: 32px; font-weight: 700; color: var(--tpl5-primary-dark); margin-bottom: 10px; }
.page-banner p { color: var(--tpl5-text-light); }
.breadcrumb { font-size: 13px; color: var(--tpl5-text-light); margin-bottom: 12px; }
.breadcrumb a { color: var(--tpl5-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(--tpl5-text-light); }

/* CTA */
.tpl5-cta { padding: 60px 0; }
.tpl5-cta-box {
    background: linear-gradient(135deg, var(--tpl5-primary), var(--tpl5-primary-light));
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 40px rgba(219,39,119,0.2);
}
.tpl5-cta-box h2 { font-size: 28px; margin-bottom: 8px; }
.tpl5-cta-box p { opacity: 0.9; margin-bottom: 24px; }
.tpl5-btn {
    display: inline-block;
    background: #fff;
    color: var(--tpl5-primary);
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px; font-weight: 600;
    transition: all 0.3s;
}
.tpl5-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

/* 页脚 */
.tpl5-footer { background: var(--tpl5-footer-bg); color: #fce7f3; padding: 50px 0 0; }
.tpl5-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);
}
.tpl5-footer-brand p { font-size: 14px; color: #f9a8d4; margin-top: 16px; line-height: 1.8; }
.tpl5-footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 18px; }
.tpl5-footer-col ul li { margin-bottom: 10px; }
.tpl5-footer-col ul li a { font-size: 14px; color: #f9a8d4; transition: color 0.2s; }
.tpl5-footer-col ul li a:hover { color: #fff; }
.tpl5-footer-notice {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 30px 0;
    font-size: 13px; line-height: 1.8;
    color: #f9a8d4;
}
.tpl5-footer-notice strong { color: #fff; }
.tpl5-footer-bottom {
    display: flex; justify-content: space-between;
    padding: 20px 0; font-size: 13px; color: #f472b6;
}
.tpl5-footer-bottom a { color: #f9a8d4; }
.tpl5-footer-bottom a:hover { color: #fff; }

/* 响应式 */
@media (max-width: 1024px) { .tpl5-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .tpl5-nav {
        display: none;
        position: absolute; top: 70px; left: 0; right: 0;
        background: var(--tpl5-primary);
        flex-direction: column; padding: 20px;
    }
    .tpl5-nav.show { display: flex; }
    .tpl5-nav > a, .tpl5-dropdown > a { padding: 12px 20px; border-radius: 8px; }
    .tpl5-toggle { display: block; }
    .tpl5-phone { display: none; }
    .tpl5-footer-grid { grid-template-columns: 1fr; }
    .tpl5-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}




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


/* Page Banner 文字颜色修复（确保文字和背景对比度） */
.page-banner h1 { color: #be185d !important; }
.page-banner p { color: #db2777 !important; }
.page-banner .breadcrumb { color: #ec4899 !important; }
.page-banner .breadcrumb a { color: #be185d !important; }
