:root{
  --row-gutter: 30px;
}
.knowledge-main {
  padding-top: 25px;
}
.knowledge-page {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}
.knowledge-banner {
  min-height: 360px;
  background:url(../images/knowledge/banner-bg.png) no-repeat center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--row-gutter);
}
.knowledge-banner__logo {
  height: 62px;
}
.knowledge-banner__logo img{
  height: 100%;
}
.knowledge-search {
  width: 100%;
  max-width: 43%
}
.knowledge-search-group {
  height: 60px;
  position: relative;
  width: 100%;
  border: 1px solid #3775D7;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(30, 90, 171, .12);
  box-sizing: border-box;
}
.knowledge-search-group .form-control,
.knowledge-search-group .btn-default {
  border: none;
  box-shadow: none;
  background: transparent;
  height: 100%;
  line-height: 100%;
}
.knowledge-search-group .input-group-btn:first-child > .btn {
  min-width: 16.4%;
  padding: 0 16px 0 22px;
  color: #333;
  font-size: var(--font-size-base);
  border-right: 1px solid #d8e0ec;
  border-radius: 30px 0 0 30px;
}
.knowledge-search-group .input-group-btn:first-child > .btn:hover,
.knowledge-search-group .input-group-btn:first-child > .btn:focus,
.knowledge-search-group .input-group-btn:first-child > .btn:active,
.knowledge-search-group .input-group-btn:first-child.open > .btn {
  background: #fff;
  color: #1e5aab;
  outline: none;
}
.knowledge-search-group .form-control {
  padding: 0 64px 0 16px;
  font-size: var(--font-size-base);
  border-radius: 0;
  box-shadow: none;
}
.knowledge-search-group .form-control:focus {
  border: none;
  box-shadow: none;
}
.knowledge-search-group .knowledge-search__btn {
  position: absolute;
  right: 6px;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  padding: 0;
  line-height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(to right, #409af6,#216ce1);;
  z-index: 3;
  transition: background .2s;
}
.knowledge-search__btn:hover,
.knowledge-search__btn:focus,
.knowledge-search__btn:active {
  outline: none !important;
}
.knowledge-search__btn .iconfont {
  font-size: 20px;
  vertical-align: middle;
}
.knowledge-content-wrap {
  padding: 0 var(--row-gutter) var(--row-gutter) var(--row-gutter);
}
.knowledge-cate {
  width: 80%;
  margin: 0 auto 60px auto;
  display: flex;
  gap: 108px;
}
.knowledge-cate__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 10px;
  color: #125DB2;
  background: #b8e0ff;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.knowledge-cate__item.active {
  color: #fff;
  background: linear-gradient(-90deg, #217ce9,#5b97e1);;
}
.knowledge-cate__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 13px;
  margin-right: 12px;
  background: linear-gradient(to bottom, #fff,#e6f8ff);
}
.knowledge-cate__icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: top;
}
.knowledge-cate__name {
  font-size: var(--font-size-title);
  font-weight: 600;
}
.knowledge-cate__count {
  font-size: var(--font-size-title);
  font-weight: 600;
}
.knowledge-body {
  display: flex;
  align-items: flex-start;
}
.knowledge-main-col {
  flex: 1;
  min-width: 0;
  margin-right: var(--row-gutter);
  padding-right: var(--row-gutter);
  border-right: 1px solid #DBE4F2
}
.knowledge-side {
  width: 400px;
  flex-shrink: 0;
}
.knowledge-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.knowledge-item {
  padding-bottom: var(--row-gutter);
  margin-bottom: var(--row-gutter);
  border-bottom: 1px dashed #e3ebf5;
}
.knowledge-item__row {
  display: flex;
  align-items: flex-start;
}
.knowledge-item__row + .knowledge-item__row {
  margin-top: 12px;
}
.knowledge-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  margin-top: 2px;
  object-fit: contain;
}
.knowledge-item__title {
  flex: 1;
  min-width: 0;
  font-size: calc(var(--font-size-base) + 2px);
  font-weight: 700;
}
.knowledge-item__title a {
  color: #333;
  width: 100%;
  display: block;
  transition: color .2s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.knowledge-item__title a:hover {
  color: #1e5aab;
}
.knowledge-item__answer {
  flex: 1;
  min-width: 0;
  color: #666;
  font-size: var(--font-size-base);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.knowledge-item__meta {
  margin-top: 20px;
}
.knowledge-item__meta-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--row-gutter);
}
.knowledge-item__meta-info span {
  padding: 2px 20px;
  font-size: calc(var(--font-size-base) - 1px);
  color: #125DB2;
  background: #eff8ff;
}
.knowledge-item.empty {
  padding: 40px 0;
  text-align: center;
  color: #999;
  border-bottom: none;
}
.knowledge-panel {
  background: linear-gradient(0deg, #eff8ff,#ffffff,#eff8ff);
  margin-bottom: var(--row-gutter);
  padding: var(--row-gutter);
}
.knowledge-panel:last-child {
  margin-bottom: 0;
  padding-bottom: 115px;
}
.knowledge-panel__head {
  margin-bottom: var(--row-gutter);
  font-size: var(--font-size-title);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 15px
}
.knowledge-panel__head img{
  width: 25px;
  height: 25px;
  object-fit: contain;
  margin-top: 2px;
}
.knowledge-policy-list {
  list-style: none;
  margin: 0;
}
.knowledge-policy-list li {
  padding-bottom: var(--row-gutter);
}
.knowledge-policy-list li a {
  position: relative;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #333;
  padding-left: 15px;
}
.knowledge-policy-list li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: #C2CCD7;
  border-radius: 50%;
}
.knowledge-policy-list li a:hover {
  color: #1e5aab;
}
.knowledge-graphic-item {
  display: block;
  position: relative;
  overflow: hidden;
}
.knowledge-graphic-item:not(:last-child) {
  margin-bottom: var(--row-gutter);
}
.knowledge-graphic-item img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform .3s;
}
.knowledge-graphic-item:hover img {
  transform: scale(1.05);
}
.knowledge-graphic-item__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  line-height: 1.5;
  color: #fff;
  background: rgba(0,0,0,.5);
}
@media only screen and (max-width: 992px) {
  .knowledge-body {
    flex-direction: column;
  }
  .knowledge-main-col {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
    margin-bottom: var(--row-gutter);
  }
  .knowledge-main-col {
    width: 100%;
  }
  .knowledge-side {
    width: 100%;
  }
  .knowledge-cate {
    flex-direction: column;
    width: 100%;
    gap: var(--row-gutter);
    margin-bottom: var(--row-gutter);
  }
  .knowledge-panel:last-child{
    padding-bottom: var(--row-gutter);
  }
}
@media only screen and (max-width: 768px) {
  :root {
    --row-gutter: 15px;
  }
  .knowledge-main {
    padding-top: var(--row-gutter);
  }
  .layout-width {
    padding: 0 var(--row-gutter);
  }
  .knowledge-banner {
    min-height: 280px;
  }
  .knowledge-search{
    max-width: 90%;
  }
  .knowledge-search-group{
    height: 40px;
  }
  .knowledge-search-group .knowledge-search__btn {
    width: 34px;
    height: 34px;
    line-height: 34px;
    margin-top: -17px;
    right: 4px;
  }
  .knowledge-cate__icon{
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  .knowledge-banner__logo img {
    height: 83%;
}
.knowledge-item__meta-info span {
    padding: 2px 8px;
}
}
