
a {
	color:#333333;
	text-decoration: none;
}
a:hover{
   color:#0d6efd;
}
body{
    font-family: '微软雅黑';
    background-color: #f8f9fa;
}
.banner{ width:100%;}
.banner img{ display:block;width:100%}

/* 主色调定义 */
:root {
    --primary-purple: #6a1b9a;
    --secondary-purple: #9c27b0;
    --primary-blue: #2196F3;
    --secondary-blue: #42a5f5;
}

/* 全局样式 */
body {
    background: #f8f9fa;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue)) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
    color: white !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #e1bee7 !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 标题样式 */
h2 {
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 1rem;
    margin: 2rem 0;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-purple);
}

/* 卡片样式 */
.card-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(106,27,154,0.15);
}

.card-content {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 来源和时间样式 */
.source-badge {
    background: rgba(106,27,154,0.1);
    color: var(--primary-purple);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    margin: 10px 0;
    display: inline-block;
}

.time-badge {
    background: rgba(33,150,243,0.1);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-top: auto;
}

/* 企业列表样式 */
.company-card {
    border-left: 4px solid var(--primary-purple);
    transition: all 0.3s ease;
}

.company-card:hover {
    border-left-color: var(--primary-blue);
    background: rgba(255,255,255,0.9);
}

/* 页脚样式 */
footer {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer a {
    color: #e1bee7 !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white !important;
    text-decoration: none;
}

/* 在原有样式基础上增加以下内容 */
/* ====== 紧凑布局调整 ====== */
/* 主容器间距 */
.container-fluid {
    padding: 0 1rem;
}

/* 标题优化 */
h2 {
    margin: 1.5rem 0;
    padding-bottom: 0.75rem;
    font-size: 1.6rem;
}

h2::after {
    width: 60px;
    height: 2px;
}

/* 卡片紧凑布局 */
.card-item {
    margin-bottom: 1rem;
    padding: 1rem !important;
}

.card-content {
    gap: 0.8rem;
}

/* 信息行紧凑 */
.info-container {
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(106,27,154,0.1);
}

/* ====== 栏目背景分层 ====== */
/* 背景动画层 */
.section-wrapper {
    position: relative;
    padding: 2rem 0;
    overflow: hidden;
}

.section-wrapper:nth-child(odd)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(106,27,154,0.03) 0%,
        rgba(33,150,243,0.03) 100%
    );
    z-index: -1;
    animation: bgFlow 20s linear infinite;
}

.section-wrapper:nth-child(even)::before {
    background: linear-gradient(-45deg, 
        rgba(106,27,154,0.03) 0%,
        rgba(255,255,255,0.1) 100%
    );
}

@keyframes bgFlow {
    0% { transform: translateX(0) rotate(45deg); }
    100% { transform: translateX(50%) rotate(45deg); }
}

/* ====== 微调图标 ====== */
/* 导航图标缩小 */
.nav-link i {
    margin-right: 6px;
    font-size: 0.85em;
}

/* 标题图标缩小 */
h2::before {
    font-size: 0.9em;
    margin-right: 10px;
}

/* 卡片图标调整 */
.card-item .fw-bolder a::before {
    font-size: 0.85em;
}

/* ====== 响应式优化 ====== */
@media (max-width: 768px) {
    h2 {
        font-size: 1.4rem;
        margin: 1rem 0;
    }
    
    .section-wrapper {
        padding: 1.5rem 0;
    }
    
    .card-item {
        padding: 0.8rem !important;
    }
}

@media (max-width: 576px) {
    .info-container {
        gap: 0.3rem;
    }
    
    .source-badge, .time-badge {
        font-size: 0.75em;
    }
}
/* 来源和时间容器 */
.info-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 12px;
}

/* 调整徽章尺寸 */
.source-badge, .time-badge {
    padding: 4px 12px;
    font-size: 0.85em;
    margin: 0;
}

/* 移动端适配 */
@media (max-width: 576px) {
    .info-container {
        gap: 8px;
    }
    
    .source-badge, .time-badge {
        font-size: 0.8em;
        padding: 3px 10px;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    h2 {
        font-size: 1.75rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
}
