
.listbanner {
  background: linear-gradient(134deg, #40A6F4 0%, #7C73FC 100%);
  box-shadow: 0px 4px 8px rgba(221, 221, 221, 0.1);
}

.listbanner2 {
  box-shadow: 0px 4px 8px rgba(221, 221, 221, 0.1);
}

.width-1 {
  width: 23%;
}

.width-2 {
  width: 14.3%;
}

.width-3 {
  width: 44.7%;
}

.width-4 {
  width: 25%;
}

.listbox {
  background: #F1F8FF;
  margin-bottom: 20px;
  padding-left: 24px;
  padding-right: 24px;
  border-radius: 12px;
}

.listbox2 {
  background: #F1F8FF;
  margin-bottom: 20px;
  padding-left: 24px;
  padding-right: 24px;
  border-radius: 12px;
}

.listbox3 {
  background: #F1F8FF;
}

.listbox3 p {
  overflow: hidden;
  width: 500px;
  word-break: keep-all;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wordlistbtn {
  width: 240px;
  height: 60px;
  background: #F1F8FF;
  border-radius: 12px;
  font-size: 1.25rem;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 3.75rem;
  color: #4097F4;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 500px) {
  .listbox {
    background: #F1F8FF;
    padding-top: 12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 0px;
    border-radius: 8px;
  }

  .listbox2 {
    background: #F1F8FF;
    padding-top: 12px;
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 0px;
    border-radius: 8px;
  }

  .listbox3 p {
    width: 300px;
  }

  .width-1 {
    width: 20%;
  }

  .width-2 {
    width: 30%;
  }

  .width-3 {
    width: 100%;
  }

  .width-4 {
    width: 40%;
  }

  .wordlistbtn {
    width: 150px;
    height: 40px;
    background: #F1F8FF;
    border-radius: 8px;
    font-size: 1rem;
    font-family: Source Han Sans CN;
    font-weight: 400;
    line-height: 2.5rem;
    color: #4097F4;
    text-align: center;
    font-weight: 600;
  }

}

@media (min-width: 500px) {
  .width-5 {
    width: 30%;
  }

  .width-6 {
    width: 30%;
  }

  .width-7 {
    width: 40%;
    padding-left: 102px;
  }
}

.searchbox {
  max-width: 1200px;
  height: 52px;
  background: #fff;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  cursor: pointer;
}

.searchin {
  width: 35%;
  display: flex;
  align-items: center;
  margin-left: 25%;
}

.searchin img {
  display: block;
  height: 30px;
  cursor: pointer;
}

.searchin input {
  border: none;
  outline: none;
  width: 100%;
  margin-left: 14px;
  font-size: 20px;
}

.typechange {
  display: flex;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 24px;
}

.typeitem {
  width: 149px;
  height: 52px;
  background: #fff;
  font-size: 20px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  line-height: 22px;
  color: #333333;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.typeitem.active {
  background: #4097F4;
  color: #fff;
  position: relative;
}

.typeitem.active::before {
  content: '';
  width: 0;
  height: 0;
  /* border: 10px 20px solid; */
  border-top: 10px solid;
  border-left: 15px solid;
  border-right: 15px solid;
  border-color: #4097F4 transparent transparent transparent;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
}

@media (max-width: 1200px) {
  .typeitem {
    font-size: 14px;
  }
}



.btnBox > span {
  color: black;
}

.TitleLan {
  width: 96%;
  background-color: #28ff0078;
  height: 35px;
  border-radius: 5px;
  margin: auto;
  font-size: 18px;
  text-align: center;
  line-height: 35px;
  color: white;
  font-weight: bold;
  margin-top: 10px;
}

.bodyAll {
  background-color: white;
}

.moveArticleClass {
  min-height: 70vh;
}

#classification > a {
  display: block;
  line-height: 25px;
  padding: 5px 10px !important;
  margin-right: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  background-color: #00b7ee;
  border-radius: 5px;
  color: white;
}

#classification1 > a {
  display: block;
  line-height: 25px;
  padding: 5px 10px !important;
  margin-right: 15px;
  margin-bottom: 10px;
  cursor: pointer;
  background-color: #00b7ee;
  border-radius: 5px;
  color: white;

}

#classification1 {
  display: flex;
  flex-wrap: wrap;
}

.HengLunBoBox {
  width: 110px;
  flex: 0 0 auto;
  box-shadow: 10px 10px 8px #f1f1f1;
  margin: 0px 8px;
  border-radius: 10px;
}

.HengLunBoImg {
  width: 120px;
  height: 120px;
  display: block;
  border-radius: 10px;
  margin: auto;
}

.HengLunBoBox {
  width: 140px;
  flex: 0 0 auto;
  box-shadow: 0px 0px 8px #f1f1f1;
  margin: 0px 8px;
  border-radius: 10px;
}

.HengLunBoBigBox {
  display: flex;
  animation: scrollLeft 30s linear infinite;
}

.TitleLunBo {
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  margin: 5px 0px;
  color: black;
  text-align: center;
}

.HengLunBoBigBox::-webkit-scrollbar {
  display: none;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 90px));
  }

}

.FooterBar {
  background-color: #2f2f2f;
  text-align: center;
  padding: 10px 25px;
  color: #5a6268;
  /*color: white;*/
  font-size: 14px;
}

.FooterBar > a {
  color: #5a6268;
  /*color: white;*/

}

/* 网格布局容器 */
.hot-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 20px;
}

/* 手机端自适应：一行2个 */
@media (max-width: 768px) {
  .hot-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .hiddenImage {
    display: none;
  }
}

.hot-section a {
  line-height: 2em;
  -webkit-perspective: 800px;
  -moz-perspective: 800px;
  perspective: 800px;
  position: relative;
  display: inline-block;
  margin: 0px 10px;
  outline: none;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
  font-size: 1.35em;
}

.hot-section a span {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 5px 10px;
  background: #56d547;
  -webkit-transition: -webkit-transform 0.4s, background 0.4s;
  -moz-transition: -moz-transform 0.4s, background 0.4s;
  transition: transform 0.4s, background 0.4s;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transform-origin: 50% 50% -135px;
  text-align: center;
  will-change: transform;
  font-size: 18px;
}

.hot-section a span::before {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background: #56d547;
  content: attr(data-hover);
  -webkit-transition: background 0.4s;
  -moz-transition: background 0.4s;
  transition: background 0.4s;
  -webkit-transform: rotateY(90deg);
  -moz-transform: rotateY(90deg);
  transform: rotateY(90deg);
  -webkit-transform-origin: 0 50%;
  -moz-transform-origin: 0 50%;
  transform-origin: 0 50%;
  pointer-events: none;
  text-align: center;
  color: white;
}

.hot-section a:hover span,
.hot-section a:focus span {
  background: #56d547;
  -webkit-transform: rotateY(-90deg);
  -moz-transform: rotateY(-90deg);
  transform: rotateY(-90deg);
}

.hot-section a:hover span::before,
.hot-section a:focus span::before {
  background: #56d547;
}

.resultH3 {
  font-size: 16px;
  color: #222;
  font-weight: 600;
  width: 95%;
  margin: auto;
  margin-bottom: 16px;

}

.content-tips {
  border: 1px solid #F3EBD8;
  float: left;
  color: black;
  padding-left: 20px;
  line-height: 20px;
  font-size: 12px;
  background: no-repeat 10px center #FEFAEE;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-right: 20px;
}

li::before {
  line-height: 18px;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 110px));
  }

}
.container {
  max-width: 950px;
  padding-top: 10px;
  padding-bottom: 10px;

}
.my-shadow {
  border-bottom: 1px solid #f3f3f3;
}
@media (max-width: 768px) {
  .hiddenImage {
    display: none;
  }
}
.conNav {
  width: 100%;
  background-color: white;
}




/* 1. 标题增强：增加左侧质感边框和微小字距 */
.resultH3, .relate h3 {
  font-size: 18px !important;
  color: #2c3e50 !important;
  border-left: 4px solid #56d547;
  padding-left: 12px;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 2. 热门文章：条状卡片平滑浮起与变色效果 */
#result .listbox3 {
  background: #ffffff !important;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  position: relative;
  overflow: hidden;
}

/* 悬停时：卡片向上微调、阴影加深、左侧绿条变宽、文字变绿 */
#result .listbox3:hover {
  transform: translateY(-3px);
  border-color: #56d547;
  box-shadow: 0 10px 20px rgba(86, 213, 71, 0.08);
}

#result .listbox3:hover p {
  color: #56d547 !important;
}

/* 文章左侧的小方块动画 */
#result .listbox3 i {
  transition: all 0.3s ease;
}
#result .listbox3:hover i {
  transform: scaleY(1.2);
  background-color: #56d547 !important;
}


/* 3. 热门测试：纯文本标签转化为扁平质感按钮 */
.relate {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.relate h3 {
  width: 100%; /* 让标题独占一行 */
}

.relate a {
  display: inline-block !important;
  background: #f8f9fa !important;
  color: #4a5568 !important;
  border: 1px solid #e2e8f0 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
  font-weight: 500;
}

/* 悬停时：背景变绿、文字变白、去掉下划线 */
.relate a:hover {
  background: #56d547 !important;
  color: #ffffff !important;
  border-color: #56d547 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(86, 213, 71, 0.15);
}