:root {
    /* 主色调 */
    --primary-color: #4361ee;
    --primary-light: #e0e8ff;
    --primary-dark-1: #1e3c72;
    --primary-dark-2: #2a5298;

    /* 辅助色 */
    --secondary-color: #3a0ca3;
    --accent-color: #4cc9f0;
    --success-color: #2ecc71;
    --warning-color: #ff9e00;
    --danger-color: #ff6b6b;

    /* 文本色 */
    --text-dark: #2b2d42;
    --text-medium: #4a4a68;
    --text-light: #8d99ae;
    --text-muted: #999;

    /* 背景色 */
    --bg-light: #f8f9fa;
    --bg-lighter: #f2f4f8;
    --white: #ffffff;

    /* 边框与阴影 */
    --border-light: #eaeaea;
    --border-lighter: #f0f0f0;
    --card-shadow: 0 12px 24px -6px rgba(67, 97, 238, 0.15);
    --card-shadow-hover: 0 16px 32px -8px rgba(67, 97, 238, 0.2);

    /* 过渡动画 */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 基础样式重置 */
body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.8;
    overflow-x: hidden;
}

.header {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.header, .footer {
    padding: 0 !important;
}
a{
    text-decoration: none;
}
.mt20{margin-top: 20px !important;}

/* 顶部公告轮播栏 */
.top-notice {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
    overflow: hidden;
}

.notice-carousel {
    display: flex;
    align-items: center;
    position: relative;
    height: 24px;
}

.notice-badge {
    background: var(--danger-color);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
}

.notice-content {
    flex-grow: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.notice-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(100%);
}

.notice-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* 主导航 */
.main-nav, .navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 12px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 品牌标识 */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    min-width: 180px;
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.navbar-brand img {
    height: 36px !important;
    width: auto;
    max-height: 36px !important;
    margin-right: 10px !important;
}

.brand-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
    white-space: nowrap;
}

/* 导航菜单 */
.nav-menu {
    flex-grow: 1;
    margin-left: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.nav-item {
    margin: 0 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--text-dark) !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link i {
    margin-right: 5px;
    font-size: 16px;
}

.nav-link:hover {
    color: var(--primary-dark-1);
    background: rgba(30, 60, 114, 0.05);
}

.nav-link.active {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Banner 样式 */
.main-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 100px 0 120px;
    margin-bottom: -50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.main-banner::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="%23f8f9fa" d="M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,96C672,96,768,128,864,128C960,128,1056,96,1152,74.7C1248,53,1344,43,1392,37.3L1440,32L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
    z-index: -1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.banner-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.banner-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* 搜索区域 */
.search-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.search-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.search-tab {
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
}

.search-tab:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.search-tab.active {
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    border-color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-tab i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.search-box-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.search-box {
    border-radius: 50px !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    padding: 1.25rem 1.75rem !important;
    font-size: 1.1rem !important;
    height: auto !important;
    transition: var(--transition) !important;
}

.search-box:focus {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    outline: none !important;
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    border-radius: 50px !important;
    padding: 0 2rem !important;
    background-color: var(--accent-color) !important;
    color: var(--white) !important;
    border: none !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: #3aa8d8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 主要内容区域 */
.container.py-4 {
    padding-top: 3rem !important;
    padding-bottom: 5rem !important;
}

.data-section {
    margin-bottom: 4rem;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    position: relative;
    padding-left: 1.25rem;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 5px;
    background: var(--primary-color);
    border-radius: 5px;
}

.section-title i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.data-count {
    font-size: 1rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    background: rgba(67, 97, 238, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
}

.data-count:hover {
    color: var(--primary-color);
    background: rgba(67, 97, 238, 0.2);
    transform: translateX(5px);
}

.data-count i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

/* 数据卡片 */
.data-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.data-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.data-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.data-card .card-subtitle {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.data-card .tag:last-child {
    margin-left: 1rem;
}
.data-card .card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.data-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.data-card:hover::after {
    opacity: 1;
}

/* 面板样式 */
.panel {
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: none;
    animation: fadeIn 0.5s ease forwards;
}

/*top_commim start*/
/* 侧边栏优化样式 */
.sidebar-right {
    padding-left: 15px;
}

.sidebar-card {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 14px 20px;
    border-bottom: 1px solid #e7e7e7;
    background: linear-gradient(135deg, #f8f9fa, #f1f3f5);
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
}

.sidebar-title i {
    margin-right: 10px;
    color: #4361ee;
}

.sidebar-body {
    padding: 15px 0;
}

.query-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.query-item {
    padding: 8px 0;
    margin: 0 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.query-item:last-child {
    border-bottom: none;
}

.query-item:hover {
    background-color: #f8f9fa;
}

.query-link {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.query-link:hover {
    color: #4361ee;
    background-color: #f1f3f5;
    transform: translateX(5px);
}

.query-link i {
    margin-right: 12px;
    color: #666;
    width: 20px;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.query-link:hover i {
    color: #4361ee;
}

/* 当前选中项样式 */
.query-item.active {
    background-color: #f0f7ff;
}

.query-item.active .query-link {
    color: #4361ee;
    font-weight: 500;
}

.query-item.active .query-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #4361ee;
    border-radius: 3px 0 0 3px;
}

.query-item.active .query-link i {
    color: #4361ee;
}

@media (max-width: 991px) {
    .sidebar-right {
        padding-left: 0;
        margin-top: 30px;
    }
}
/*top_commim end*/