/* 通用样式 - WordPress风格 */

/* CSS变量定义 - 统一配色方案 */
:root {
    --primary-color: #0073aa;
    --primary-hover: #005a8a;
    --secondary-color: #005177;
    --success-color: #46b450;
    --warning-color: #ffb900;
    --danger-color: #dc3232;
    --text-color: #23282d;
    --text-light: #666;
    --text-muted: #999;
    --bg-color: #f5f5f5;
    --bg-light: #fafafa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --border-light: #f0f0f0;
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
}

/* 基础样式 - 企业级清晰大气 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    letter-spacing: 0.3px;
}

/* 隐藏HTML元素内部的滚动条（不是浏览器滚动条） */
div, section, article, aside, main, header, footer {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

div::-webkit-scrollbar,
section::-webkit-scrollbar,
article::-webkit-scrollbar,
aside::-webkit-scrollbar,
main::-webkit-scrollbar,
header::-webkit-scrollbar,
footer::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
    width: 0;
    height: 0;
}

/* 标题样式 - 清晰层次 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.8em;
    color: var(--text-color);
}

h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* 段落样式 */
p {
    margin-bottom: 1em;
    line-height: 1.7;
}

/* 列表样式 */
ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.3em;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--bg-light);
    font-weight: 500;
}

/* 容器 - 更大气的布局，参考现代化网站 */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.container-fluid {
    width: 100%;
    padding: 0 30px;
}

/* 网格布局 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-1 { flex: 0 0 8.333333%; }
.col-2 { flex: 0 0 16.666667%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333333%; }
.col-6 { flex: 0 0 50%; }
.col-8 { flex: 0 0 66.666667%; }
.col-9 { flex: 0 0 75%; }
.col-12 { flex: 0 0 100%; }

/* 按钮样式 - 企业级设计 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    min-height: 44px;
    letter-spacing: 0.3px;
}

.btn i {
    margin-right: 8px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    min-height: 52px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    min-height: 36px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.2);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--white);
    border-color: var(--success-color);
}

.btn-warning {
    background-color: var(--warning-color);
    color: var(--white);
    border-color: var(--warning-color);
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--white);
    border-color: var(--danger-color);
}

.btn-outline {
    background-color: transparent;
    border-width: 2px;
}

.btn-outline.btn-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline.btn-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 表单元素 - 企业级设计 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 15px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    min-height: 44px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.form-control-lg {
    padding: 16px 20px;
    font-size: 16px;
    min-height: 52px;
}

.form-control-sm {
    padding: 8px 12px;
    font-size: 14px;
    min-height: 36px;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-control {
    border-radius: 6px 0 0 6px;
    border-right: none;
}

.input-group-append {
    display: flex;
}

.input-group-append .btn {
    border-radius: 0 6px 6px 0;
    border-left: none;
}

/* 卡片样式 - 企业级设计 */
.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.card-header {
    padding: var(--spacing-lg) var(--spacing-lg);
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.card-header h3,
.card-header h4 {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-color);
}

.card-body {
    padding: 24px;
}

.card-footer {
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-color);
}

.card-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.card-meta i {
    margin-right: 4px;
    color: var(--primary-color);
}

/* 头部样式 - 企业级设计 */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
}

.header-top {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #3d6fb8 100%);
    color: var(--white);
    padding: 14px 0;
    font-size: 14px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    flex-shrink: 0;
}

.header-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.header-info span:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.header-info i {
    color: #ffd700;
    font-size: 15px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-contact a {
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.header-contact a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.header-contact a:hover::before {
    left: 100%;
}

.header-contact a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-contact a i {
    font-size: 16px;
    color: #ffd700;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.header-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: 100%;
    gap: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-main {
    padding: var(--spacing-lg) 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
}

.header-main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.logo a {
    display: block;
    color: var(--text-color);
}

.logo h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.logo span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
}

/* 头部幻灯片 */
.header-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    left: 0;
    right: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
    /* 宽度由JavaScript动态设置 */
}

.slide {
    flex-shrink: 0;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 宽度由JavaScript动态设置 */
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 115, 170, 0.1) 0%, rgba(0, 81, 119, 0.05) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    padding: 0 30px;
}

.slide-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-description {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.slide-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.slide-btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
    justify-content: center;
    text-shadow: none;
}

.slide-btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slide-btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.slide-btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slide-btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* 幻灯片导航 */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.nav-dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--white);
}

/* 幻灯片箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    color: var(--white);
    font-size: 20px;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* 响应式幻灯片 */
@media (max-width: 1024px) {
    .header-slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .slide-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .header-slider {
        height: 350px;
    }
    
    .slide-title {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .slide-description {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .slide-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .slide-btn {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 140px;
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .slider-arrow.prev {
        left: 15px;
    }
    
    .slider-arrow.next {
        right: 15px;
    }
    
    .nav-dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .header-slider {
        height: 300px;
    }
    
    .slide-content {
        padding: 0 20px;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-description {
        font-size: 14px;
    }
    
    .slide-btn {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 120px;
    }
}

/* 搜索框 - 现代化设计 */
.header-search {
    flex: 0 0 420px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .header-search {
        flex: 1 1 100%;
        order: 3;
        margin-top: var(--spacing-md);
    }
}

.search-form {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 15px;
    background: transparent;
    color: var(--text-color);
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-btn:hover {
    background: var(--secondary-color);
}

/* 导航样式 - 现代化设计，无圆点 */
.nav {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.nav::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
    list-style: none;
}

.nav-item::before,
.nav-item::after {
    display: none;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 20px 32px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    position: relative;
    margin: 0;
    border-radius: 0;
    text-decoration: none;
    border: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: height 0.3s ease;
    z-index: 0;
}

.nav-link::after {
    display: none;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(0, 115, 170, 0.08), rgba(0, 81, 119, 0.05));
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    height: 4px;
}

.nav-item.active .nav-link {
    background: linear-gradient(135deg, rgba(0, 115, 170, 0.12), rgba(0, 81, 119, 0.08));
    color: var(--primary-color);
    box-shadow: inset 0 -4px 0 var(--primary-color);
}

.nav-item.active .nav-link::before {
    height: 4px;
}

.nav-link i {
    margin-right: 10px;
    font-size: 16px;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-link:hover i,
.nav-item.active .nav-link i {
    color: var(--primary-color);
    transform: scale(1.15) rotate(5deg);
}

/* 确保导航菜单列表项无圆点 */
.nav-menu,
.nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li::before,
.nav-menu li::after,
.nav-item::marker {
    display: none;
    content: none;
}

/* 下拉菜单 */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-hover);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.nav-dropdown-item:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

/* 面包屑导航 - 统一样式，左上对齐，减少高度 */
.breadcrumb-section,
.breadcrumb {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-color) 100%);
    border-bottom: 1px solid var(--border-light);
    padding: var(--spacing-sm) 0;
    margin-bottom: 0;
}

.breadcrumb-nav,
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
    text-align: left;
}

.breadcrumb-nav a,
.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(0, 115, 170, 0.1);
}

.breadcrumb-nav a:hover,
.breadcrumb a:hover {
    color: var(--secondary-color);
    background: rgba(0, 115, 170, 0.15);
}

.breadcrumb-nav .separator,
.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.breadcrumb-nav .current,
.breadcrumb-current {
    color: var(--text-color);
    font-weight: 500;
    padding: 6px 12px;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #0073aa;
    margin: 2px 0;
    transition: 0.3s;
}

/* 主要内容区域 */
.main-content {
    padding: var(--spacing-xl) 0;
    min-height: 500px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--spacing-xl);
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .sidebar {
        order: -1;
    }
}

.content-main {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* 章节标题 - 现代化设计 */
.section-header {
    text-align: left;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--border-light);
}

.section-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--spacing-xs);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.section-header h2 i {
    color: var(--primary-color);
    font-size: 24px;
}

.section-header p {
    color: var(--text-light);
    font-size: 14px;
}

/* 侧边栏 - 统一布局，工整对齐 */
.sidebar {
    min-width: 0;
    position: sticky;
    top: var(--spacing-xl);
    max-height: calc(100vh - var(--spacing-xl) * 2);
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .sidebar {
        position: static;
        max-height: none;
    }
}

.widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    width: 100%;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-color) 100%);
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: 0;
    line-height: 1.5;
}

.widget-title i {
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.widget-content {
    padding: var(--spacing-lg);
    width: 100%;
    box-sizing: border-box;
}

/* 尾部样式 */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xl);
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: var(--spacing-xs);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section li:last-child {
    border-bottom: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-section a:hover {
    color: var(--white);
    padding-left: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid #333;
    font-size: 12px;
    color: #999;
}

.footer-bottom a {
    color: #999;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0073aa;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #005177;
    transform: translateY(-2px);
}

/* 工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* 响应式设计 - 企业级适配 */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .header-search {
        flex: 0 0 300px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header-search {
        flex: 0 0 250px;
    }
    
    .nav-link {
        padding: 14px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-top {
        padding: 12px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .header-top-content {
        flex-direction: row;
        gap: 12px;
        align-items: center;
        min-width: max-content;
    }
    
    .header-info {
        flex-direction: row;
        gap: 16px;
        flex-shrink: 0;
    }
    
    .header-info span {
        flex-shrink: 0;
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .header-contact {
        flex-shrink: 0;
        gap: 8px;
    }
    
    .header-contact a {
        flex-shrink: 0;
        padding: 6px 12px;
        font-size: 12px;
    }

    .header-panel {
        flex-direction: row;
        gap: 0;
        min-width: 100%;
    }
    
    .header-main-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-search {
        flex: none;
        width: 100%;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        border-top: 3px solid var(--primary-color);
        z-index: 1000;
        padding: 8px 0;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 16px 24px;
        border-radius: 0;
        border-left: 4px solid transparent;
    }
    
    .nav-item.active .nav-link {
        border-left-color: var(--primary-color);
        box-shadow: none;
    }
    
    .nav-link::before {
        display: none;
    }
    
    .nav-link:hover {
        background: rgba(0, 115, 170, 0.1);
        transform: translateX(8px);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .card-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
        min-height: 40px;
    }
    
    .form-control {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .card-body {
        padding: 16px;
    }
    
    .nav-link {
        padding: 12px 16px;
    }
}