.knowledge_page_box {
  width: 100%;
  max-width: 1175px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  align-items: center;
}

.knowledge_element {
  width: 100%;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.knowledge_element_imgbox {
  max-width: 391px;
  width: 100%;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0 auto 40px auto;
}

.knowledge_element_imgbox:last-child:nth-child(2n-1) {
  margin-right: auto;
  margin-left: 0px;
}

.knowledge_element_img {
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 300px;
}

.knowledge_element_sort {
  display: flex;
  flex-direction: row;
  margin: 10px 0px;
  align-items: center;
}

.knowledge_element_tag {
  background-color: var(--webmainho);
  color: white;
  padding: 5px 10px;
  margin-right: 10px;
}

.knowledge_element_title {
  font-size: 20px;
  font-weight: 500;
}

.knowii_title {
  font-size: 25px;
  font-weight: 600;
  text-align: center;
  margin: 50px 0px 30px 0px;
  position: relative;
}

.knowii_title::before {
  content: '';
  position: absolute;
  bottom: -15px;
  width: 50px;
  height: 3px;
  background-color: var(--webmainho);
  left: calc((100% - 50px) / 2);
}

.knowii_margin {
  margin-top: 30px;
}

.knowii_ctextbox {
  width: 95%;
  margin: 0 auto;
}

@media (max-width: 1180px) {
  .knowledge_element {
    width: 100%;
    max-width: 790px;
  }
}

@media (max-width: 781px) {
  .knowledge_element_imgbox:last-child:nth-child(2n-1) {
    margin-right: auto;
    margin-left: auto;
  }
  .knowledge_element_imgbox {
    padding: 0 10px;
  }
}
