body {font-family: "Microsoft YaHei", Arial, sans-serif;margin: 0;padding: 0;line-height: 1.6;}
.container {max-width: 1200px;margin: 0 auto;display: flex;flex-wrap: wrap;}
.main-content {flex: 1;min-width: 300px;margin-right: 20px;}
.sidebar {width: 300px;background: #fff;padding: 10px;border-radius: 8px;box-shadow: 0 2px 10px rgba(0,0,0,0.05);}
/* 面包屑导航 */
.breadcrumb {max-width:1200px;margin:0 auto;font-size: 14px;color: #666;margin-bottom: 20px;padding: 10px 0;border-bottom: 1px solid #eee;}
.breadcrumb a {text-decoration: none;}
/* 选项卡样式 */
.tabs {display: flex;border-bottom: 2px solid #e0e0e0;margin-bottom: 20px;overflow-x: auto;}
.tab {padding: 12px 24px;cursor: pointer;background: #f0f0f0;border: 1px solid #ddd;border-bottom: none;margin-right: 5px;border-radius: 5px 5px 0 0;white-space: nowrap;transition: all 0.3s;}
.tab:hover {background: #e0e0e0;}
.tab.active {background: #f00;color: #fff;border-color: #f00;}
.tab-content {display: none;}
.tab-content.active {display: block;}

/* 文章列表样式 */
.article-list {display: flex;flex-direction: column;}
.article-item {display: flex;background: #fff;margin-bottom: 10px;border-radius: 8px;overflow: hidden;box-shadow: 0 2px 10px rgba(0,0,0,0.05);transition: transform 0.3s ease, box-shadow 0.3s ease;}
.article-item:hover {transform: translateY(-3px);box-shadow: 0 5px 20px rgba(0,0,0,0.1);}
.article-image {width: 180px;height: 120px;object-fit: cover;border-radius: 8px 0 0 8px;padding:5px;}
.article-info {padding: 15px;flex: 1;display: flex;flex-direction: column;}
.article-title {font-size: 18px;margin: 0 0 10px;line-height: 1.4;}
.article-title a {text-decoration: none;color: #333;transition: color 0.3s ease;}
.article-title a:hover {color: #0073e6;}
.article-content {font-size: 14px;color: #666;flex: 1;}
.article-tags {font-size: 12px;clear:both;}
.article-tags-left{float:left;}
.article-tags-right{float:right;}
.article-tags a {text-decoration: none;color: #0073e6;margin-right: 8px;background: #f0f8ff;padding: 3px 8px;border-radius: 3px;transition: background 0.3s ease;}
.article-tags a:hover {background: #0073e6;color: #fff;}

/* 推荐文章样式 */
.sidebar h3 {margin-top: 0;padding-bottom: 10px;border-bottom: 2px solid #f00;color: #333;}
.sidebar ul {list-style: none;padding: 0;margin-top:10px;}
.sidebar li {margin-bottom: 12px;padding-bottom: 12px;border-bottom: 1px dashed #eee;}
.sidebar li:last-child {border-bottom: none;margin-bottom: 0;padding-bottom: 0;}
.sidebar a {text-decoration: none;color: #333;transition: color 0.3s ease;}
.sidebar a:hover {color: #0073e6;}

/* 翻页样式 */
.pagination {text-align: center;margin-top: 30px;padding: 20px 0;}
.pagination a, .pagination span {display: inline-block;padding: 8px 15px;margin: 0 4px;text-decoration: none;border: 1px solid #ddd;border-radius: 4px;transition: all 0.3s ease;}
.pagination a:hover {background: #0073e6;color: #fff;border-color: #0073e6;}
.pagination .current {background: #0073e6;color: #fff;border-color: #0073e6;}

/* 响应式设计 */
@media (max-width: 768px) {
.container {flex-direction: column;padding: 10px;}
.main-content {margin-right: 0;margin-bottom: 20px;}
.sidebar {width: 100%;}
.article-item {flex-direction: column;}
.article-image {width: 100%;height: 200px;border-radius: 8px 8px 0 0;display:none}
.tab {padding: 10px 15px;font-size: 14px;}
}

/* 加载动画 */
.loading {text-align: center;padding: 30px;color: #666;}
.loading:after {content: '.';animation: dots 1.5s steps(5, end) infinite;}
@keyframes dots {
0%, 20% { content: '.'; }
40% { content: '..'; }
60% { content: '...'; }
80%, 100% { content: ''; }
}