@charset "UTF-8";
#app {
  padding: 60px 6% 100px;
  background-color: #fff;
}

.navigation {
  font-size: 16px;
  color: #333;
  margin-right: 10px;
  margin-bottom: 20px;
  line-height: 25px;
}

.navigation a {
  margin-right: 25px;
  position: relative;
  color: #fe6700;
}

.navigation a::after {
  content: '>';
  position: absolute;
  right: -20px;
  color: #333;
}

.content-box {
  display: flex;
  justify-content: space-between;
}

.html {
  border: 1px solid #ededed;
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  width: 65%;
}

.html .title {
  font-size: 40px;
  color: #333;
  text-align: center;
  margin: 0 0 20px;
}

.html .createTime {
  font-size: 16px;
  color: #a6a6a6;
  line-height: 33px;
  text-align: center;
  margin-bottom: 30px;
}

.html .vHtml {
  line-height: 28px;
}

.html .vHtml img {
  width: 100%;
  object-fit: cover;
}

/* 上一篇下一篇切换按钮 */
.switchButn {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  width: 66%;
}

.switchButn .aBox {
  color: #4747a7;
  width: 35%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.switchButn .aBox-right {
  text-align: right;
}

.switchButn .aBox a {
  color: #4747a7;
  font-size: 16px;
  letter-spacing: 1px;
}

.recommend {
  width: 30%;
}

.recommend .recommend-title {
  font-weight: bold;
  font-size: 16px;
  color: #0e1421;
}

.recommend .recommend-content {
  margin-top: 15px;
  padding: 20px;
  width: 100%;
  max-height: 253px;
  background: #ffffff;
  box-shadow: 0px 0px 18px 0px rgba(122, 122, 122, 0.15);
  border-radius: 6px 6px 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.recommend .recommend-content .content-item {
  cursor: pointer;
  font-size: 14px;
  color: #9b9caa;
  height: 21px;
  display: -webkit-box;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  /* 设置盒子排列为垂直方向 */
  -webkit-line-clamp: 1;
  /* 限制显示的行数为 5 行 */
  overflow: hidden;
  /* 隐藏超出的内容 */
  text-overflow: ellipsis;
  /* 超出部分显示省略号 */
}

.recommend .recommend-content .content-item:hover {
  color: #0068ff;
}

.recommend .news-about {
  border: 1px solid #eae8ea;
  border-radius: 2px;
  margin-top: 20px;
  padding: 15px 15px 13px;
  background-color: #fff;
  /* box-shadow: 0px 0px 18px 0px rgba(122, 122, 122, 0.15); */
}

.recommend .news-about-title {
  font-size: 14px;
  font-weight: bold;
  color: #000;
  padding-bottom: 15px;
  border-bottom: 1px solid #eae8ea;
  position: relative;
}

.recommend .news-about-title::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  border-bottom: 1px solid #a8b9ca;
}

.recommend .news-about-content {
  font-size: 14px;
  color: #000;
  margin-top: 15px;
  line-height: 26px;
  letter-spacing: 3px;
}

.recommend .news-about-button {
  background: linear-gradient(to right, #5364e3, #1949af);
  color: #fff;
  font-size: 14px;
  border-radius: 6px;
  padding: 8px 10px;
  letter-spacing: 1.5px;
  margin-top: 12px;
  border: none;
  cursor: pointer;
}

.recommend .news-about-form {
  /* border: 1px solid #f00; */
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.recommend .news-about-form .news-about-button {
  padding: 10px;
  margin-top: 0;
}

.recommend .container {
  min-height: 1150px;
}

@media (max-width: 750px) {
  .html {
    width: 100%;
  }
  .recommend {
    display: none;
  }
  .switchButn {
    width: 100%;
  }
}
