/* 公共样式 - 所有子页面共享的 Header / 导航栏 / 基础 reset */

:root {
    --color-blue: #32416f;
    --color-red: #EE2A2B;
    --color-gold: #e1c257;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "思源黑体", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #FFFFFF;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Header */
header {
    height: 80px;
    position: relative;
    width:100%;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 1200px;
    padding: 0 30px;
}

.logo {
    display: flex;
    align-items: center;
    padding-right: 30px;
    border-right: 1px solid #E5E5E5;
    margin-right: 30px;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: "宋体", "SimSun", serif;
    font-size: 22px;
    font-weight: bold;
    color: #1A1A1A;
    letter-spacing: 2px;
    white-space: nowrap;
    padding-left: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav a {
    color: #333333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

nav a:hover,
nav a.active {
    color: #C41E3A;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #C41E3A;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 25px;
    border-left: 1px solid #E5E5E5;
    flex-shrink: 0;
    margin-left: 25px;
}

.lang-switch {
    color: #666666;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.3;
}

.phone-btn {
    background: #C41E3A;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.3s;
    white-space: nowrap;
}

.phone-btn:hover {
    background: #A01830;
}

/* ========== 公共页面横幅样式 ========== */
.page-banner {
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-banner h1 {
    font-family: "思源宋体", "SimSun", serif;
    font-size: 42px;
    color: #FFFFFF;
    letter-spacing: 6px;
    font-weight: 400;
}

/* ========== 公共面包屑导航 ========== */
.breadcrumb {
    padding: 20px 0;
    background: #FAFAFA;
    border-bottom: 1px solid #E5E5E5;
}

.breadcrumb a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: #C41E3A;
}

.breadcrumb span {
    color: #999999;
    margin: 0 10px;
}

.breadcrumb .current {
    color: #333333;
    font-size: 14px;
}

/* ========== 公共子导航 ========== */
.sub-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E5E5E5;
}

.sub-nav a {
    color: #666666;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 25px;
    transition: all 0.3s;
    border-radius: 2px;
}

.sub-nav a:hover,
.sub-nav a.active {
    color: #C41E3A;
    background: #FFF5F5;
}

/* ========== 公共详情页布局 ========== */
.detail-section {
    padding: 80px 0;
}

.detail-layout {
    display: flex;
    gap: 40px;
}

.detail-main {
    flex: 1;
    min-width: 0;
}

.detail-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.detail-header {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.detail-header-text {
    flex: 1;
}

.detail-title-line {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.detail-title-line::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--color-red);
    margin-right: 12px;
    flex-shrink: 0;
}

.detail-title-line h1 {
    font-family: "思源宋体", "SimSun", serif;
    font-size: 24px;
    color: #1A1A1A;
    font-weight: 400;
    letter-spacing: 2px;
}

.detail-header-text p {
    font-size: 15px;
    color: #666666;
    line-height: 2;
    margin-bottom: 16px;
}

/* ========== 公共侧边栏模块 ========== */
.sidebar-block {
    margin-bottom: 40px;
}

.sidebar-block-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.sidebar-block-header::before {
    content: '';
    display: block;
    width: 4px;
    height: 18px;
    background: var(--color-red);
    margin-right: 10px;
    flex-shrink: 0;
}

.sidebar-block-header h3 {
    font-family: "思源宋体", "SimSun", serif;
    font-size: 16px;
    color: #1A1A1A;
    font-weight: 400;
    letter-spacing: 1px;
    flex: 1;
}

.sidebar-block-header a {
    font-size: 13px;
    color: #999999;
    text-decoration: none;
}

.sidebar-block-header a:hover {
    color: var(--color-red);
}

.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li {
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list li a {
    font-size: 13px;
    color: #666666;
    text-decoration: none;
    line-height: 1.6;
    display: block;
}

.sidebar-list li a:hover {
    color: var(--color-red);
}

.sidebar-text p {
    font-size: 13px;
    color: #666666;
    line-height: 1.8;
}

/* ========== 公共内容区块 ========== */
.content-section,
.service-section {
    margin-bottom: 50px;
}

.content-section h2,
.service-section h2 {
    font-family: "思源宋体", "SimSun", serif;
    font-size: 20px;
    color: #1A1A1A;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.content-sub,
.service-sub {
    margin-bottom: 30px;
}

.content-sub h3,
.service-sub h3 {
    font-size: 15px;
    color: #333333;
    font-weight: 500;
    margin-bottom: 16px;
}

.content-sub p,
.service-sub p {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 12px;
}

.content-sub ul,
.service-sub ul {
    list-style: none;
    padding: 0;
}

.content-sub ul li,
.service-sub ul li {
    font-size: 14px;
    color: #666666;
    line-height: 2.2;
    padding-left: 16px;
    position: relative;
}

.content-sub ul li::before,
.service-sub ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #999999;
}

/* ========== 公共标题行 ========== */
.section-title-line {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.section-title-line::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--color-red);
    margin-right: 12px;
    flex-shrink: 0;
}

.section-title-line h2 {
    font-family: "思源宋体", "SimSun", serif;
    font-size: 22px;
    color: #1A1A1A;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Practice Cards */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #E5E5E5;
    border: 1px solid #E5E5E5;
}

.practice-card {
    background: #FFFFFF;
    padding: 50px 40px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.practice-card:hover {
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transform: translateY(-5px);
}

.practice-number {
    font-size: 14px;
    color: #C41E3A;
    margin-bottom: 20px;
    font-weight: 500;
}

.practice-card h3 {
    font-family: "思源宋体", "SimSun", serif;
    font-size: 22px;
    color: #1A1A1A;
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 1px;
}

.practice-card p {
    font-size: 14px;
    color: #999999;
    line-height: 1.8;
    margin-bottom: 20px;
}

.practice-more {
    color: #3B5990;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
    font-weight: 500;
}

.practice-more:hover {
    color: #C41E3A;
}
footer {
    background: #0a1935;
    padding: 60px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    /* padding-bottom: 40px; */
    /* border-bottom: 1px solid rgba(255,255,255,0.1); */
}

.footer-about h3 {
    font-family: "思源宋体", "SimSun", serif;
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 2px;
}

.footer-about p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 2;
}

.footer-links {
    text-align: center;
    width: 200px;
}

.footer-links h4 {
    font-size: 15px;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #C41E3A;
}

.footer-social {
    grid-column: 3 / 3;
    display: flex;
    justify-content: center;
    padding-bottom: 40px; 
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-qr-section {
    text-align: center;
}

.footer-qr-section h4 {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 25px;
    letter-spacing: 2px;
    font-weight: 400;
}

.footer-qr-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #FFFFFF;
    padding: 5px;
    border-radius: 4px;
}

.qr-item span {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #FFFFFF;
}

