/* 创卫专栏页面 - 扁平化布局样式 */

/* 全局扁平化样式重置 */
.flat-title-section {
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid #e0e0e0;
}

.flat-breadcrumb {
    font-size: 14px;
    color: #666;
}

.flat-breadcrumb a {
    color: #2E7D32;
    text-decoration: none;
}

.flat-breadcrumb a:hover {
    text-decoration: underline;
}
/* 扁平化内容网格布局 */
.flat-content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* 扁平化侧边栏 */
.flat-sidebar {
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 0;
}

.flat-sidebar-section {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.flat-sidebar-section:last-child {
    border-bottom: none;
}

.flat-sidebar-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2E7D32;
}

.flat-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flat-category-list li {
    margin-bottom: 8px;
}

.flat-category-link {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    background: white;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.flat-category-link:hover {
    background: #e9ecef;
    color: #333;
}

.flat-category-link.active {
    background: #2E7D32;
    color: white;
    border-color: #2E7D32;
}

.flat-article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flat-article-list li {
    margin-bottom: 8px;
}

.flat-article-link {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-left: 3px solid #2E7D32;
    background: white;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.flat-article-link:hover {
    background: #f0f0f0;
    border-left-color: #1B5E20;
}

/* 扁平化主内容区域 */
.flat-article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

/* 扁平化文章卡片 */
.flat-article-card {
    background: white;
    border: 1px solid #ddd;
    padding: 20px;
    transition: all 0.2s ease;
    /* height: 200px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flat-article-card:hover {
    border-color: #2E7D32;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.flat-article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.flat-article-date {
    font-size: 12px;
    color: #999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 3px;
}

.flat-article-category {
    font-size: 12px;
    color: white;
    background: #2E7D32;
    padding: 2px 8px;
    border-radius: 3px;
}

.flat-article-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
    flex-grow: 1;
}

.flat-article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.flat-read-more {
    display: inline-block;
    padding: 6px 12px;
    background: #2E7D32;
    color: white;
    text-decoration: none;
    font-size: 12px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.flat-read-more:hover {
    background: #1B5E20;
}
/* 非响应式固定布局 */
.main-content {
    min-width: 1200px;
    overflow-x: auto;
}

.container {
    min-width: 1200px;
}

/* 移除所有响应式媒体查询 */
/* 确保布局在1200px宽度下保持稳定 */

/* 扁平化色彩方案 */
.flat-article-card:nth-child(odd) {
    border-left: 3px solid #2E7D32;
}

.flat-article-card:nth-child(even) {
    border-left: 3px solid #4CAF50;
}

/* 扁平化动画效果（轻微） */
.flat-article-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flat-article-card:hover {
    transform: translateY(-2px);
}

/* 创卫专栏专属扁平化样式 */
.flat-category-nav {
    background: linear-gradient(to right, #f8f8f8, #f0f0f0);
}

.flat-sidebar {
    background: linear-gradient(to bottom, #fafafa, #f5f5f5);
}

 /* 表单容器样式 */
        .form-container {
            width: 400px;
            margin: 50px auto;
            padding: 30px;
            background-color: #f9f9f9;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            text-align: center;
        }
        
        /* 表单标题样式 */
        .form-title {
            font-size: 30px;
            color: #2E7D32;
            margin-bottom: 30px;
            font-weight: bold;
        }
        
        /* 表单组样式 */
        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }
        
        /* 标签样式 */
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #333;
        }
        
        /* 输入框样式 */
        .form-input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
            transition: border-color 0.3s ease;
            box-sizing: border-box;
        }
        
        .form-input:focus {
            border-color: #2E7D32;
            outline: none;
            box-shadow: 0 0 5px rgba(46, 125, 50, 0.2);
        }
        
        /* 搜索按钮样式 */
        .search-btn {
            width: 100%;
            padding: 12px;
            background-color: #2E7D32;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
            margin-top: 10px;
        }
        
        .search-btn:hover {
            background-color: #1B5E20;
        }
        
        /* 表单样式 */
        .certificate-form {
            text-align: left;
        }