/* 全局重置与通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}
ul, ol {
    list-style: none;
}
a {
    color: #333;
    text-decoration: none;
}
a:hover {
    color: #ff6600;
}
img {
    max-width: 100%;
    border: none;
    vertical-align: middle;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
.container {
    width: 1200px;
    margin: 0 auto;
}

/* 顶部导航 */
.top-bar {
  background: #2b2b2b;
  color: #fff;
  height: 36px;
  line-height: 36px;
  font-size: 14px;
}
.top-left {
  float: left;
}
.top-left a {
  color: #eee;
  margin-right: 10px;
}
.top-left span {
  color: #666;
}
.top-right {
  float: right;
  color: #d8d7d6;
  line-height: 36px;
}

/* 头部 */
.header {
  background: #fff;
  padding: 15px 0;
}
.logo {
  float: left;
}
.search-box {
  float: right;
  margin-top: 10px;
}
.search-box form {
  display: flex;
  width: 380px;
}
.search-box input[type="text"] {
  flex: 1;
  height: 36px;
  padding: 0 10px;
  border: 2px solid #ff6600;
  outline: none;
}
.search-box button {
  width: 80px;
  height: 36px;
  background: #ff6600;
  color: #fff;
  border: none;
  cursor: pointer;
}
.hot-search {
  margin-top: 5px;
  font-size: 12px;
}
.hot-search a {
  margin-right: 8px;
  color: #666;
}

/* 主导航 */
.nav {
  background: #ff6600;
}
.nav ul li {
  float: left;
}
.nav ul li a {
  display: block;
  padding: 0 20px;
  height: 45px;
  line-height: 45px;
  color: #fff;
  font-size: 16px;
}
.nav ul li a:hover,
.nav ul li.active a {
  background: #e55a00;
}

/* 面包屑 */
.breadcrumb {
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  color: #666;
}
.breadcrumb a {
  color: #666;
}

/* 主体布局 */
.main-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 0px;
}
.main-left {
    width: 860px;
}
.main-right {
    width: 320px;
}

/* 文章列表 */
.list-box {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}
.list-title {
    height: 46px;
    line-height: 46px;
    padding: 0 15px;
    font-size: 18px;
    color: #ff6600;
    font-weight: bold;
    border-bottom: 2px solid #ff6600;
}
.article-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px dashed #eee;
}
.article-item .pic {
    width: 160px;
    height: 120px;
    margin-right: 15px;
    overflow: hidden;
    flex-shrink: 0;
}
.article-item .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-item .info {
    flex: 1;
}
.article-item h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}
.article-item .desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-item .meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
.read-more {
    display: inline-block;
    padding: 4px 12px;
    background: #f60;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
}
.read-more:hover {
    background: #e55c00;
    color: #fff;
}

/* 分页 */
.page {
    padding: 20px;
    text-align: center;
}
.page a, .page span {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    border: 1px solid #eee;
    font-size: 14px;
}
.page .curr {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}
.page a:hover {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

/* 侧边栏 */
.side-box {
  background: #fff;
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}
.side-tab {
  display: flex;
  background: #f8f8f8;
  border-bottom: 2px solid #ff6600;
}
.side-tab span {
  flex: 1;
  text-align: center;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  font-size: 15px;
}
.side-tab span.cur {
  background: #ff6600;
  color: #fff;
}
.side-list {
  padding: 10px;
}
.side-list ul li {
  height: 34px;
  line-height: 34px;
  border-bottom: 1px dashed #eee;
  font-size: 14px;
}
.side-list ul li i {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  background: #ff6600;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  margin-right: 8px;
  border-radius: 2px;
}

/* 底部 */
.footer {
    background: #333;
    color: #999;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    font-size: 14px;
}
.footer p {
    margin-bottom: 10px;
}
.footer a {
    color: #999;
}