/* 主容器布局 */
.main-content .container {
    display: flex;
    /*width: 80%;*/
}

/* 左侧菜单 */
.sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid #e4e7ed;
    padding: 20px 0;
}

.menu-title {
    padding: 10px 20px;
    font-weight: bold;
    color: #007bff;
    font-size: 14px;
}

.menu-item {
    padding: 10px 20px 10px 30px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
    color: #555;
    border-left: 3px solid transparent;
}

.menu-item:hover, .sidebar .active {
    background: #f0f5ff;
    color: #007bff;
    border-left: 3px solid #007bff;
}

/* 右侧内容 */
.content {
    flex: 1;
    padding: 30px;
    background: #fff;
}

/* 页面标题 */
.page-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1f2329;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f5f7fa;
    padding: 8px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li+li:before {
    content: ">";
    padding: 0 5px;
    color: #999;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 快捷入口 */
.quick-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

/* 轮播图 */
.carousel {
    margin-bottom: 20px;
}

/* 状态卡片 */
.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.status-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.status-card .icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.status-card .title {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.status-card .value {
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
}

/* 服务时间 */
.service-time {
    background: #f0f5ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

/* 搜索框 */
.search-box {
    margin-bottom: 20px;
}

/* 天气 */
.weather {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* 内容页面样式 */
.content-page {
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.category-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 栏目网格 */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.channel-item {
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.channel-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.channel-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.channel-item .content {
    padding: 15px;
    margin: 0;
}

.channel-item h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.channel-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 最新更新 */
.latest-updates {
    margin-top: 30px;
}

.latest-updates h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

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

.update-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.update-list li:last-child {
    border-bottom: none;
}

.update-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.update-list li a:hover {
    color: #009688;
}

.update-date {
    font-size: 12px;
    color: #999;
}

/* 筛选面板 */
.filter-panel {
    background-color: #f9f9f9;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.filter-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-option:hover {
    border-color: #009688;
    color: #009688;
}

.filter-option.active {
    background-color: #009688;
    color: white;
    border-color: #009688;
}

/* 排序选项 */
.order-options, .sort-options {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.order-option, .sort-options a {
    background-color: #f5f7fa;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

.order-option:hover, .order-option.active,
.sort-options a:hover, .sort-options a.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* 列表公共区域 */
.list-section {
    background: white;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.list-section h2 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #333;
}

/* 筛选栏 */
.filter-bar {
    background: #f5f7fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-item label {
    font-size: 14px;
    color: #666;
}

.filter-item select {
    padding: 6px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
}

/* 文章列表 */
.article-list {
    margin-top: 20px;
}

.article-item {
    padding: 16px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s;
}

.article-item:hover {
    background: #f7faff;
    padding-left: 10px;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.article-item p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    font-size: 14px;
}

.article-meta {
    font-size: 12px;
    color: #999;
}

.article-meta span {
    margin-right: 16px;
}

/* 新闻列表 */
.news-list {
    margin-bottom: 20px;
}

.news-item {
    border-bottom: 1px solid #e6e6e6;
    padding: 15px 0;
    display: flex;
    gap: 15px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-image {
    width: 150px;
    height: 100px;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.news-info {
    flex: 1;
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #009688;
}

.news-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.news-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.pagination a {
    padding: 6px 12px;
    margin: 0 4px;
    background: white;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    transition: all 0.2s;
}

.pagination a:hover, .pagination a.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* 文章详情页 */
.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e6e6e6;
}

.article-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.article-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.article-meta span {
    margin-right: 15px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.article-content h2 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 5px;
}

.article-image {
    margin: 20px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* 相关文章 */
.related-articles {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
}

.related-articles h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

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

.related-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e6e6e6;
}

.related-list li:last-child {
    border-bottom: none;
}

.related-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-list li a:hover {
    color: #009688;
}

/* 评论区 */
.comments {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
}

.comments h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.comment-form {
    margin-bottom: 30px;
}

.comment-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 10px;
}

.comment-submit {
    background-color: #009688;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-submit:hover {
    background-color: #008675;
}

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

.comment-item {
    padding: 15px 0;
    border-bottom: 1px solid #e6e6e6;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.comment-content {
    font-size: 14px;
    line-height: 1.5;
}

/* 下载按钮 */
.download-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 10px;
}

.download-btn:hover {
    background-color: #0E4BD8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    
    .content {
        margin-left: 200px;
        padding: 20px;
    }
    
    .nav a {
        padding: 0 12px;
        font-size: 14px;
    }
    
    .quick-box {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .sidebar {
        display: none;
    }
    
    .content {
        margin-left: 0;
        padding: 15px;
    }
    
    .nav {
        display: none;
    }
    
    .quick-box {
        grid-template-columns: 1fr;
    }
}

    .channel-section {
            background: white;
            border-radius: 8px;
            padding: 24px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .channel-section h2 {
            font-size: 18px;
            margin-bottom: 16px;
            color: #333;
        }

        .channel-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .channel-item {
            background: #f7faff;
            border: 1px solid #e4e7ed;
            border-radius: 8px;
            padding: 20px;
            transition: all 0.3s;
        }

        .channel-item:hover {
            border-color: #007bff;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(22, 93, 255, 0.1);
        }

        .channel-item h3 {
            color: #007bff;
            margin-bottom: 12px;
            font-size: 16px;
        }

        .channel-item p {
            color: #666;
            line-height: 1.5;
            margin-bottom: 16px;
            font-size: 14px;
        }

        .channel-item .more {
            text-align: right;
        }

        .channel-item .more a {
            color: #007bff;
            text-decoration: none;
            font-size: 14px;
        }