/* 右江民族医学院财务处 - 现代化公共CSS样式 */

/* CSS变量定义 */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --background-color: #f8fafc;
    --card-background: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* 基础样式 */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background: linear-gradient(135deg, var(--background-color) 0%, #e2e8f0 100%);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-primary);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* 页面加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* 容器样式 */
.main-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--card-background);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    backdrop-filter: blur(10px);
}


/* 头部样式 */
.header-top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 12px 0;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.header-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.header-top-bar .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideInRight 0.6s ease-out;
}

.header-top-bar a {
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.header-top-bar a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.header-main {
    padding: 32px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}


.header-main .logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    width: 100%;
}

.header-main .logo-section {
    display: flex;
    align-items: center;
}

.logo-image {
    height: auto;
    width: auto;
    max-width: 55%;
    object-fit: contain;
    transition: var(--transition-fast);
}

.header-main .search-section {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 10px 40px 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 14px;
    width: 240px;
    transition: var(--transition-fast);
    background: white;
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: scale(1.02);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    right: 12px;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.search-icon::before {
    content: "🔍";
    font-size: 16px;
}


@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-placeholder:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* 导航栏样式 */
.nav-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    position: relative;
    box-shadow: var(--shadow-md);
    animation: navSlideIn 0.6s ease-out 0.3s both;
}

.nav-bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.nav-bar .nav-links-container {
    display: flex;
    justify-content: space-around;
    position: relative;
}

.nav-bar a {
    padding: 16px 20px;
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    flex-grow: 1;
    position: relative;
    transition: var(--transition-normal);
    border-radius: 0;
    overflow: hidden;
}

.nav-bar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
    z-index: 1;
}

.nav-bar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    transition: var(--transition-normal);
    border-radius: var(--radius-sm);
}

.nav-bar a:hover::before {
    transform: scaleX(1);
}

.nav-bar a:hover::after {
    width: 80%;
}

.nav-bar a:hover {
    transform: translateY(-2px);
    color: white;
}

.nav-bar a.active {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.nav-bar a.active::after {
    width: 100%;
    background: var(--accent-color);
}

/* 导航栏响应式动画 */
@keyframes navSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 面包屑导航 */
.breadcrumb {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.breadcrumb a:hover {
    background: var(--primary-light);
    color: var(--primary-hover);
    transform: translateY(-1px);
}

/* 内容区域样式 */
.content-section {
    padding: 0 24px 32px 24px;
}

.content-section-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.content-section-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 16px;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 0 2px 2px 0;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.section-title .more-link {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    float: right;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, 0.1);
    transition: var(--transition-fast);
    border: 1px solid transparent;
    line-height: 1.2;
    align-self: center;
}

.section-title .more-link:hover {
    color: var(--primary-color);
    background: var(--primary-light);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* 新闻列表样式 */
.news-list {
    padding: 16px 24px 20px 24px;
    flex-grow: 1;
    overflow: hidden;
    list-style: none;
    margin: 0;
}

.news-list li {
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
    border-radius: var(--radius-sm);
    margin: 0 -8px;
    padding-left: 8px;
    padding-right: 8px;
    position: relative;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list li:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(6, 182, 212, 0.05) 100%);
    transform: translateX(4px);
}

.news-list li::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--primary-color);
    transition: var(--transition-fast);
    opacity: 0;
    visibility: hidden;
}

.news-list li:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(2px);
}

.news-list li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-weight: 500;
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-right: 16px;
    transition: var(--transition-fast);
    line-height: 1.3;
}

.news-list li a:hover {
    color: var(--primary-color);
    transform: translateX(2px);
}

.news-list li .date {
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
    background: var(--border-light);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition-fast);
}

.news-list li:hover .date {
    background: var(--primary-light);
    color: var(--primary-color);
}

/* 布局样式 */
.section-row {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.section-row > .flex-item {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    min-width: 0;
    transition: var(--transition-normal);
}

.section-row > .flex-item:hover {
    transform: translateY(-4px);
}

/* 横幅区域 */
.banner-area {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
    min-height: 280px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

/* 快捷链接 */
.quick-links-container {
    width: 100%;
}

.quick-links-stack {
    padding: 16px 24px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
    justify-content: space-between;
}

.quick-links-stack a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-height: 80px;
}

.quick-links-stack a .logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-links-stack a .text {
    font-size: 16px;
    line-height: 1.2;
    color: black;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.quick-links-stack a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: var(--transition-normal);
}

.quick-links-stack a:hover::before {
    left: 100%;
}

.quick-links-stack a:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, #dbeafe 100%);
    border-color: var(--primary-color);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-md);
}

.quick-links-stack a:active {
    transform: translateY(0) scale(0.98);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
    position: relative;
    color: white;
    padding: 0px 0 20px 0;
}


.footer p {
    margin: 8px 0;
    transition: var(--transition-fast);
}

.footer p:hover {
    color: #f1f5f9;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 2px 4px;
    border-radius: var(--radius-sm);
}

.footer a:hover {
    color: #ffffff;
    background: rgba(6, 182, 212, 0.2);
    transform: translateY(-1px);
}

/* 列表页样式 */
.list-title { 
    font-size: 20px; 
    font-weight: bold; 
    color: #1f2937; 
    text-align: center; 
    margin-bottom: 25px; 
}

.item-list { 
    list-style: none;
    margin: 0;
    padding: 0;
}

.item-list li { 
    border-bottom: 1px dotted #e8e8e8; 
    padding: 12px 5px; 
    display: flex; 
    justify-content: space-between;
    align-items: center;
}

.item-list li.visible { 
    display: flex; 
}

.item-list li:last-child { 
    border-bottom: none; 
}

.item-list li a { 
    color: #262626; 
    text-decoration: none; 
    font-size: 15px;
    flex-grow: 1; 
    overflow: hidden; 
    white-space: nowrap; 
    text-overflow: ellipsis;
    margin-right: 10px; 
}

.item-list li a:hover { 
    color: #005bab; 
    text-decoration: underline;
}

.item-list li .date { 
    font-size: 13px; 
    color: #8c8c8c; 
    flex-shrink: 0; 
}

/* 分页样式 */
.pagination { 
    margin-top: 30px; 
    text-align: center; 
}

.pagination button, 
.pagination span { 
    display: inline-block; 
    padding: 8px 12px; 
    margin: 0 2px; 
    border: 1px solid #d9d9d9; 
    text-decoration: none; 
    color: #005bab; 
    background-color: white; 
    border-radius: 2px; 
    cursor: pointer; 
}

.pagination button:hover, 
.pagination span.current { 
    background-color: #005bab; 
    color: white; 
    border-color: #005bab; 
}

.pagination button:disabled, 
.pagination span.disabled { 
    color: #bfbfbf; 
    border-color: #f0f0f0; 
    cursor: not-allowed; 
    background-color: #f5f5f5;
}

/* 文章详情页样式 */
.article-header { 
    text-align: center; 
    margin-bottom: 25px; 
    padding-bottom: 20px; 
    border-bottom: 1px solid #f0f0f0;
}

.article-title { 
    font-size: 24px; 
    font-weight: bold; 
    color: #1f2937; 
    margin-bottom: 10px; 
    line-height: 1.5;
}

.article-meta { 
    font-size: 13px; 
    color: #8c8c8c; 
}

.article-meta span { 
    margin: 0 10px; 
}

.article-content { 
    font-size: 16px; 
    line-height: 2.2; 
    color: #262626; 
    padding: 10px; 
}

.article-content p { 
    margin-bottom: 1.6em; 
    text-indent: 2em; 
}

.article-content p.no-indent { 
    text-indent: 0; 
}

.article-content h1, 
.article-content h2, 
.article-content h3, 
.article-content h4 { 
    font-weight: bold; 
    color: #005bab; 
    margin-top: 1.8em; 
    margin-bottom: 1em; 
    text-indent: 0; 
}

.article-content h1 { font-size: 1.5em; }
.article-content h2 { font-size: 1.35em; }
.article-content h3 { font-size: 1.2em; }
.article-content h4 { font-size: 1.1em; }

.article-content ul, 
.article-content ol { 
    margin-left: 2em; 
    margin-bottom: 1em; 
    text-indent: 0; 
}

.article-content li { 
    margin-bottom: 0.5em; 
}

.article-content table { 
    width: 100%; 
    border-collapse: collapse; 
    margin: 1.5em 0; 
    text-indent: 0;
}

.article-content th, 
.article-content td { 
    border: 1px solid #d9d9d9; 
    padding: 8px 10px; 
    text-align: left;
}

.article-content th { 
    background-color: #f5f8fa; 
    font-weight: bold; 
}

.article-attachments { 
    margin-top: 30px; 
    padding: 20px; 
    border-top: 1px dashed #d9d9d9; 
    background-color: #fcfcfc; 
}

.article-attachments h4 { 
    font-size: 16px; 
    font-weight: bold; 
    margin-bottom: 10px; 
    color: #434343;
}

.article-attachments a { 
    color: #005bab; 
    text-decoration: none; 
    display: block; 
    margin-bottom: 8px; 
    font-size: 14px; 
}

.article-attachments a:hover { 
    text-decoration: underline; 
    color: #003a75; 
}

.article-signature { 
    text-align: right; 
    margin-top: 40px; 
    font-size: 15px; 
    color: #262626; 
}

.article-signature p { 
    text-indent: 0; 
    margin-bottom: 5px; 
}

/* 通用工具类 */
.text-center { text-align: center; }
.text-gray-500 { color: #6b7280; }
.text-gray-700 { color: #374151; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.px-6 { padding-left: 24px; padding-right: 24px; }
.py-10 { padding-top: 40px; padding-bottom: 40px; }
.mt-5 { margin-top: 20px; }
.mt-8 { margin-top: 32px; }
.mb-5 { margin-bottom: 20px; }
.ml-2 { margin-left: 8px; }
.p-5 { padding: 20px; }
.p-0 { padding: 0; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.rounded { border-radius: 4px; }
.border { border: 1px solid #d1d5db; }
.border-gray-300 { border-color: #d1d5db; }
.transition-colors { transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; }

/* 按钮样式 */
button {
    font-family: inherit;
}

.btn-back {
    padding: 8px 24px;
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.btn-back:hover {
    background-color: #e5e7eb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-bar .nav-links-container {
        flex-wrap: wrap;
    }
    
    .nav-bar a {
        flex-basis: 50%;
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .header-main .logo-text {
        font-size: 22px;
    }
    
    .banner-area {
        min-height: 200px;
        font-size: 18px;
    }
}
/* 二级导航样式 */
.content-wrapper {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.sidebar-nav {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-nav .content-section-card {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.sidebar-nav .content-section-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.secondary-nav .nav-item {
    position: relative;
    overflow: hidden;
}

.secondary-nav .nav-item:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(6, 182, 212, 0.08) 100%);
    color: var(--primary-color) !important;
    border-left: 3px solid var(--primary-color) !important;
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.secondary-nav .nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(-100%);
    transition: var(--transition-normal);
    z-index: 0;
}

.secondary-nav .nav-item:hover::before {
    transform: translateX(0);
}

.secondary-nav .nav-item span {
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

.secondary-nav .nav-item:hover span {
    font-weight: 600;
}

/* 当前选中的导航项样式 */
.secondary-nav .nav-item.current {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white !important;
    border-left: 3px solid var(--accent-color) !important;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.secondary-nav .nav-item.current span {
    color: white;
    font-weight: 600;
}

.secondary-nav .nav-item.current:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
    transform: translateX(2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    
    .sidebar-nav {
        flex: none !important;
        position: static;
    }
    
    .secondary-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .secondary-nav li {
        margin-bottom: 0 !important;
        flex: 1;
        min-width: calc(50% - 4px);
    }
    
    .secondary-nav .nav-item {
        padding: 8px 12px !important;
        font-size: 13px;
        text-align: center;
    }
}
/* 页脚FLEX布局样式 */

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffffff;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
}

.footer-info p {
    margin: 8px 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.footer-info p:hover {
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-links a {
    color: #dee3e9;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}


.footer-qrcode {
    text-align: center;
}

.qrcode-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid #334155;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #475569;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.footer-bottom p {
    margin: 5px 0;
    line-height: 1.5;
}

.footer-bottom a {
    color: #06b6d4;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: #0891b2;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        width: 100%;
    }
    
    .footer-links a:hover {
        transform: none;
        padding-left: 0;
    }
    
    .qrcode-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px 0;
    }
    
    .footer-content {
        padding: 0 15px;
        gap: 25px;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .footer-info p,
    .footer-links a {
        font-size: 13px;
    }
    
    .qrcode-image {
        width: 80px;
        height: 80px;
    }
}