
/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}
/*面包屑导航*/
.breadcrumb{
max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* 容器布局 */
.container {
    width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 左侧主内容区 */
.main-left {
    float: left;
    width: 800px;
    padding: 20px;
    border-right: 1px solid #eee;
}

/*栏目主题名称*/
.main-left h2{margin:10px 10px;text-align:center;}

/* 栏目主题图片 */
.column-banner {
    margin-bottom: 20px;
}

.column-banner img {
    width: 100%;
    max-height: 525px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 选项卡容器 */
.tab-container {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* 选项卡导航 */
.tab-nav {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 6px 6px 0 0;
}

.tab-title {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #e0e0e0;
    font-weight: bold;
    color: #666;
}

.tab-title:last-child {
    border-right: none;
}

.tab-title:hover {
    background: #e9ecef;
    color: #007bff;
}

.tab-title.active {
    background: #f00;
    color: #fff;
}

/* 选项卡内容 */
.tab-content {
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 文章列表样式 */
.article-list {
    list-style: none;
}

.article-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.article-item:hover {
    background-color: #f8f9fa;
}

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

.article-img {
    flex: 0 0 150px;
    margin-right: 15px;
}

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

.article-info {
    flex: 1;
}

.article-title {
    margin-bottom: 8px;
}

.article-title a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #007bff;
}

.article-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
}

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

/* 右侧侧边栏 */
.main-right {
    float: right;
    width: 380px;
    padding: 20px;
}

.sidebar-box {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar-title {
    background: #f00;
    color: #fff;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: bold;
}

.sidebar-list {
    list-style: none;
    padding: 15px;
}

.sidebar-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

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

.sidebar-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-list a:hover {
    color: #007bff;
}

.sidebar-list span {
    float: right;
    color: #999;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 1220px) {
    .container {
        width: 95%;
        margin: 10px auto;
    }
    
    .main-left {
        width: 65%;
    }
    
    .main-right {
        width: 35%;
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .main-left, .main-right {
        float: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .main-right {
        border-bottom: none;
    }
    
    .column-banner img {
      /*  height: 200px;*/
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-img {
        flex: 0 0 auto;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .article-img img {
        height: 150px;
    }
}
