/* 文章列表 */
.knowledge_all {
  display: flex;
  width: 1200px;
  margin: 0 auto;
  padding: 120px 0 40px;
  min-height: 600px;
}
.knowledge_guide {
  flex-shrink: 0;
  width: 160px;
  padding-right: 20px;
  border-right: 1px solid #eee;
}
.knowledge_guide_title {
  margin: 20px 0 6px;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}
.knowledge_guide_title:first-child {
  margin-top: 0;
}
.knowledge_crumbs {
  margin-bottom: 12px;
  color: #686868;
  font-size: 14px;
}
.knowledge_crumbs a {
  color: #686868;
}
.knowledge_crumbs a:hover {
  color: #07b36e;
}
.knowledge_guide a {
  position: relative;
  display: block;
  height: 44px;
  line-height: 44px;
  color: #686868;
  font-size: 15px;
  text-align: right;
}
.knowledge_guide a:hover {
  color: #07b36e;
}
.knowledge_guide a.active {
  color: #07b36e;
  font-weight: 700;
}
.knowledge_guide a.active:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -21px;
  width: 3px;
  height: 20px;
  background-color: #07b36e;
  transform: translateY(-50%);
}
.knowledge_list {
  flex: 1;
  min-width: 0;
  padding-left: 40px;
}
.knowledge_list_title {
  margin-bottom: 24px;
  color: #262626;
  font-size: 24px;
  font-weight: 700;
}
.knowledge_item {
  display: flex;
  height: 200px;
  margin-bottom: 24px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  overflow: hidden;
  transition: box-shadow .2s;
}
.knowledge_item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.knowledge_item_cover {
  display: block;
  flex-shrink: 0;
  width: 333px;
  height: 100%;
}
.knowledge_item_cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.knowledge_item_body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 24px 30px;
}
.knowledge_item_title {
  overflow: hidden;
  color: #262626;
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.knowledge_item_title:hover {
  color: #07b36e;
}
.knowledge_item_brief {
  display: -webkit-box;
  margin-top: 16px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #686868;
  font-size: 14px;
  line-height: 1.8;
}
.knowledge_item_time {
  margin-top: auto;
  color: #bdbdbd;
  font-size: 13px;
  text-align: right;
}
.knowledge_empty {
  padding: 80px 0;
  color: #bdbdbd;
  font-size: 14px;
  text-align: center;
}
.knowledge_list .paging {
  margin-top: 40px;
  text-align: center;
}

/* 文章详情 */
.knowledge_detail {
  width: 1069px;
  margin: 0 auto;
  padding: 100px 0 40px;
}
.knowledge_detail_content {
  display: flex;
}
.knowledge_detail .detail_left {
  flex-shrink: 0;
  width: 765px;
  margin-right: 68px;
}
.knowledge_detail .detail_crumbs {
  margin-top: 20px;
  color: #686868;
  font-size: 16px;
}
.knowledge_detail .detail_crumbs a {
  color: #686868;
}
.knowledge_detail .detail_crumbs a:hover {
  color: #07b36e;
}
.knowledge_detail .detail_title {
  margin-top: 30px;
  color: #262626;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}
.knowledge_detail .detail_info {
  margin-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
  color: #686868;
  font-size: 14px;
}
.knowledge_detail .detail_info span + span {
  margin-left: 20px;
}
.knowledge_detail .detail_info a {
  color: #686868;
}
.knowledge_detail .detail_info a:hover {
  color: #07b36e;
}

/* 正文 */
.rich_text {
  min-height: 500px;
  margin-top: 30px;
  color: #333;
  font-size: 16px;
  line-height: 2;
  word-wrap: break-word;
}
/* 公众号等外部排版的文章，最外层自带宽度限制时撑满正文栏 */
.rich_text > section,
.rich_text > div {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.rich_text p,
.rich_text section {
  margin-bottom: 12px;
  line-height: 2;
}
.rich_text h1,
.rich_text h2,
.rich_text h3,
.rich_text h4 {
  margin: 24px 0 12px;
  color: #262626;
  font-weight: 700;
  line-height: 1.6;
}
.rich_text h1 {
  font-size: 26px;
}
.rich_text h2 {
  font-size: 22px;
}
.rich_text h3 {
  font-size: 19px;
}
.rich_text h4 {
  font-size: 17px;
}
.rich_text strong,
.rich_text b {
  font-weight: 700;
}
.rich_text em {
  font-style: italic;
}
.rich_text a {
  color: #07b36e;
  text-decoration: underline;
}
.rich_text img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.rich_text ul,
.rich_text ol {
  margin-bottom: 12px;
  padding-left: 2em;
}
.rich_text ul li {
  list-style: disc;
}
.rich_text ol li {
  list-style: decimal;
}
.rich_text blockquote {
  margin: 16px 0;
  padding: 4px 16px;
  border-left: 4px solid #07b36e;
  background-color: #f5fcf8;
  color: #686868;
}
.rich_text table {
  width: 100%;
  margin-bottom: 12px;
  border-collapse: collapse;
}
.rich_text table th,
.rich_text table td {
  padding: 12px 16px;
  border: 1px solid #f0f0f0;
  font-size: 14px;
}
.rich_text table th {
  background-color: #fafafa;
}

/* 右侧栏目 */
.knowledge_detail .detail_right {
  flex-shrink: 0;
  width: 236px;
  padding-top: 82px;
}
.list_box {
  margin-bottom: 50px;
}
.list_box_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 18px;
  color: #505250;
  font-size: 18px;
}
.list_box_title a {
  color: #bdbdbd;
  font-size: 14px;
}
.list_box_title a:hover {
  color: #07b36e;
}
.list_box_list {
  margin-top: 23px;
  padding-left: 18px;
  border-left: 3px solid #e8e9e8;
}
.list_box_list li {
  position: relative;
  margin-bottom: 15px;
}
.list_box_list li:last-child {
  margin-bottom: 0;
}
.list_box_list a {
  display: block;
  overflow: hidden;
  color: #727272;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.list_box_list a:hover {
  color: #07b36e;
}
.list_box_list li.active a {
  color: #181818;
}
.list_box_list li.active:after {
  content: "";
  position: absolute;
  top: 50%;
  left: -21px;
  width: 3px;
  height: 20px;
  background-color: #07b36e;
  transform: translateY(-50%);
}

/* 相关推荐 */
.recommend {
  margin-top: 60px;
}
.recommend_title {
  height: 50px;
  color: #262626;
  font-size: 20px;
  font-weight: 700;
}
.recommend_box {
  display: flex;
  align-items: center;
  width: 765px;
  margin-top: 20px;
}
.recommend_box_poster {
  flex-shrink: 0;
  width: 131px;
  height: 81px;
  border-radius: 6px;
  overflow: hidden;
}
.recommend_box_poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recommend_box_right {
  flex: 1;
  min-width: 0;
  margin-left: 20px;
}
.recommend_box_right .title {
  overflow: hidden;
  color: #262626;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend_box_right .title:hover {
  color: #07b36e;
}
.recommend_box_right .content {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  color: #797979;
  font-size: 14px;
}
.recommend_box_right .time {
  margin-top: 6px;
  color: #bdbdbd;
  font-size: 13px;
}
