/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏 */
.header {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav-title {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.title-line1 {
    font-size: 1.2rem;
    font-weight: 700;
}

.title-line2 {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* 横幅区域 */
.hero-banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.search-input {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    outline: none;
    font-size: 1.1rem;
}

.search-btn {
    padding: 1rem 2rem;
    background: #d32f2f;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #b71c1c;
    transform: scale(1.05);
}

/* 区块标题 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #d32f2f 0%, #1e3c72 100%);
    border-radius: 2px;
}

/* 库入口区域 */
.library-section {
    padding: 4rem 0;
    background: white;
}

.library-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.library-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    height: 300px;
    justify-content: space-between;
}

.library-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d32f2f 0%, #1e3c72 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.library-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.library-card .card-text {
    margin-bottom: 1.5rem;
    line-height: 1.4;
    min-height: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-line1 {
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-line2 {
    color: #666;
    font-size: 0.9rem;
}

.card-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #1e3c72 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: inherit;
    font-size: inherit;
}

.card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

/* 数据分析区域 */
.analytics-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.analytics-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 280px;
    display: flex;
    flex-direction: column;
}

.analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.analytics-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 案例类别分布新样式 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.category-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.category-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.category-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d32f2f;
    line-height: 1;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.category-label {
    font-size: 0.85rem;
    color: #495057;
    font-weight: 500;
    line-height: 1.2;
}

/* 分类描述样式 */
.category-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    min-height: 2.8rem;
}

/* 卡片头部样式 */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header h3 {
    margin-bottom: 0;
    flex: 1;
}

/* 查看按钮样式 */
.view-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.3);
    text-decoration: none;
    min-width: 80px;
    justify-content: center;
}

.view-btn:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #8b0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
    color: white;
}

.view-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(211, 47, 47, 0.3);
}

/* 分类标题样式 */
.category-section {
    margin: 3rem 0 2rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #d32f2f 0%, #1e3c72 100%);
    border-radius: 1.5px;
}

/* 饼图样式 */
.pie-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(
        #ff6b6b 0% 35%,
        #4ecdc4 35% 60%,
        #45b7d1 60% 80%,
        #96ceb4 80% 100%
    );
    margin: 0 auto 1rem;
    position: relative;
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

/* 柱状图样式 - 重构版本 */
.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    justify-content: space-between;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    padding: 0.3rem;
    border-radius: 8px;
}

.bar-item:hover {
    background: rgba(211, 47, 47, 0.05);
    transform: translateX(5px);
}

.bar-dimension {
    width: 120px;
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
    line-height: 1.2;
}

.bar-container {
    flex: 1;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #d32f2f, #1e3c72);
    border-radius: 10px;
    width: calc(var(--value) * 1%);
    transition: width 0.5s ease;
}

.bar-number {
    width: 80px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #d32f2f;
    text-align: right;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* 地图样式 */
.map-container {
    text-align: center;
}

.map-region {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.region {
    padding: 1rem;
    border-radius: 10px;
    background: #f0f2f5;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.region:hover {
    background: #e3e6eb;
    transform: scale(1.05);
}

.region::after {
    content: attr(data-count) '个案例';
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 0.8rem;
    color: #666;
}

/* 词云样式 */
.word-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.word {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #d32f2f 0%, #1e3c72 100%);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: calc(var(--size) * 0.56rem);
}

.word:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 案例展示区域 */
.case-section {
    padding: 4rem 0;
    background: white;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* 政治理论案例专用布局 */
.political-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.political-case-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.political-case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.case-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.case-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.case-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e9ecef;
}

.status-tag {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.status-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.status-tag:hover::before {
    left: 100%;
}

.status-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

/* 标签体系区域 */
.tag-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.tag-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tag-level {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-height: 200px;
}

.tag-level h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tags-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.tag-large, .tag-medium, .tag-small {
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #d32f2f 0%, #1e3c72 100%);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.tag-large {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

.tag-medium {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

.tag-small {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

.tag-large:hover, .tag-medium:hover, .tag-small:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    padding: 1.5rem 0;
    border-top: 1px solid #dee2e6;
}

.footer-content {
    display: none;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ecf0f1;
}

.footer-bottom {
    text-align: center;
    padding: 0;
    border-top: none;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 案例卡片详细样式优化 */
.cases-section {
    padding: 4rem 0;
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.case-detail-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.case-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f0f0f0;
    gap: 1rem;
}

.case-header-content {
    flex: 1;
}

.case-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.case-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.case-date {
    color: #718096;
    font-style: italic;
    font-size: 0.9rem;
    font-weight: 500;
}

.case-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(72, 187, 120, 0.2);
}

.case-action-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 100px;
    text-align: center;
}

.case-action-btn:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #8b0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

.meta-item {
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.meta-item i {
    font-size: 0.75rem;
    opacity: 0.9;
}

.case-description {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    line-height: 1.6;
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    border-left: 3px solid #e2e8f0;
    flex: 1;
}

.case-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #bbdefb;
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.2);
}

.detail-btn {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(211, 47, 47, 0.3);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-btn:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #8b0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

/* 过滤栏样式 */
.filter-bar {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.filter-group label {
    font-weight: 600;
    color: #4a5568;
    white-space: nowrap;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.6rem 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 40px;
}

.page-btn:hover, .page-btn.active {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    border-color: #d32f2f;
    transform: translateY(-1px);
}

.page-btn.next {
    min-width: 80px;
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .library-grid, .analytics-grid, .cases-grid, .tag-levels, .political-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .bar-chart {
        flex-direction: column;
        height: auto;
        align-items: center;
    }
    
    .bar {
        width: 80%;
        height: 40px;
        margin-bottom: 2rem;
    }
    
    .bar span {
        bottom: auto;
        top: -25px;
    }
    
    .filter-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .case-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .case-detail-card {
        padding: 1.5rem;
    }
    
    .political-case-card {
        padding: 1.2rem;
    }
}

/* 导入评估库样式 */
@import url('evaluation.css');