.ai_model_square {
  font-family: Microsoft YaHei;
  background-color: #fff;
}

.ai_cont {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* banner 开始 */
.ai_banner {
  width: 100%;
  height: 300px;
  /* background: linear-gradient(90deg, #EEF5FF 0%, #D4E6FF 100%); */
  overflow: hidden;
  background: url(/images/new_website/model_square/banner.jpg) center center/auto 100% no-repeat;
}

.ai_banner h1 {
  margin-top: 73px;
  font-weight: bold;
  font-size: 38px;
  color: #1C1D1F;
  line-height: 38px;
  background: linear-gradient(0deg, #2938FF 0%, #1494EE 83.349609375%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai_cont_h1 {
  margin-top: 73px;
  width: auto;
  height: 38px;
}

.ai_banner p {
  margin-top: 23px;
  font-weight: 400;
  font-size: 14px;
  color: #626266;
  line-height: 13px;
}

.ai_banner .btn_group {
  margin-top: 39px;
  display: flex;
  align-items: center;
}

.ai_banner a {
  box-sizing: border-box;
  width: 144px;
  height: 40px;
  border: 1px solid #2981FF;
  line-height: 38px;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  color: #2981FF;
  margin-right: 16px;
}

.ai_banner a:hover {
  background-color: rgba(41, 129, 255, .08);
  transition: background-color 0.3s;
}

.ai_banner .btn_primary {
  background: #2981FF;
  color: #FFFFFF;
}

.ai_banner .btn_primary:hover {
  background-color: #2574e5;
  transition: background-color 0.3s;
}

/* banner 结束 */

/* 搜索框 开始 */
.ai_search {
  width: 100%;
}

.ai_search .ai_cont {
  padding: 30px 0;
  border-bottom: 1px solid #ECEFF3;
}

.ai_search .ai_search_form {
  display: flex;
  align-items: center;
}

.ai_search_keyword {
  width: 692px;
  display: flex;
  background: #FFFFFF;
  margin-right: 16px;
}

.ai_search_btn {
  width: 86px;
  min-width: 86px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: #2981FF;
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  cursor: pointer;
}

.ai_search_btn:hover {
  background-color: #2574e5;
  transition: background-color 0.3s;
}

.ai_search_keyword input {
  box-sizing: border-box;
  width: 50%;
  height: 50px;
  flex: 1;
  border: 1px solid #ECEFF3;
  border-right: 0;
  padding-left: 17px;
  padding-right: 17px;
  font-size: 14px;
  color: #333;
}

.ai_search_keyword input::placeholder {
  font-weight: 400;
  font-size: 14px;
  color: #B1B5BB;
}

.ai_search_keyword input:focus {
  border-color: #2981FF;
}

.ai_search_sort {
  box-sizing: border-box;
  width: 170px;
  height: 50px;
  background: #FFFFFF;
  border: 1px solid #ECEFF3;
  font-weight: 400;
  font-size: 14px;
  color: #626266;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  margin-right: 24px;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.ai_search_sort .dsj {
  border-top: 5px solid #1C1D1F;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  transition: transform 0.3s;
  pointer-events: none;
}

.ai_search_sort.active .dsj {
  transform: rotate(180deg);
}

.ai_search_sort_dropdown {
  position: absolute;
  top: 51px;
  left: -1px;
  width: calc(100% + 2px);
  background: #FFFFFF;
  border: 1px solid #ECEFF3;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  border-top: none;
}

.ai_search_sort_option {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 17px;
  font-weight: 400;
  font-size: 14px;
  color: #626266;
  cursor: pointer;
  box-sizing: border-box;
  user-select: none;
}

.ai_search_sort_option:hover {
  background: #F3F6FA;
}

.ai_search_sort_option.active {
  color: #2981FF;
  background: #E3EFFF;
}

.ai_search_text {
  font-weight: 400;
  font-size: 14px;
  color: #B1B5BB;
}

.ai_search_text span {
  color: #2981FF;
}

.ai_tabs {
  margin-top: 12px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ai_tab {
  border-radius: 4px;
  border: 1px solid #ECEFF3;
  font-weight: 400;
  font-size: 14px;
  color: #626266;
  padding: 3px 11px;
  box-sizing: content-box;
  line-height: 20px;
  cursor: pointer;
}

.ai_tab.active {
  background-color: #2981FF;
  background: #2981FF;
  color: #FFFFFF;
}

/* 搜索框 结束 */
/* 列表 开始 */
.ai_list {
  width: 100%;
  padding-bottom: 80px;
}

.ai_list_row {
  margin-top: 10px;
}

.ai_list_title {
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.ai_list_title::before {
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  background: #2981FF;
  margin-right: 8px;
}

.ai_list_h2 {
  font-family: Microsoft YaHei;
  font-weight: bold;
  font-size: 16px;
  line-height: 18px;
  color: #1C1D1F;
  margin-right: 10px;
}

.ai_list_total {
  background: #F3F6FA;
  border-radius: 4px;
  font-weight: 400;
  font-size: 12px;
  color: #626266;
  padding: 4px 10px;
}

.ai_list_ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ai_list_li {
  box-sizing: border-box;
  width: 338px;
  height: 278px;
  background: #FFFFFF;
  border: 1px solid #ECEFF3;
  padding: 20px 20px 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.ai_list_li_top {
  width: 100%;
  border-bottom: 1px solid #EBEDF0;
}

.ai_list_li_top .h4 {
  display: flex;
  align-items: center;
}

.ai_list_li_top .h4 .h4_icon {
  padding: 9px;
  box-sizing: border-box;
  width: 44px;
  min-width: 44px;
  height: 44px;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #EBEBEB;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ai_list_li_top .h4 .h4_icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ai_list_li_top .h4 h4 {
  font-weight: bold;
  font-size: 16px;
  color: #323235;
  line-height: 22px;
  margin-left: 10px;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
}

.ai_list_li_top .p {
  line-height: 24px;
  min-height: 48px;
  margin: 8px 0;
  font-weight: 400;
  font-size: 14px;
  color: #626266;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.ai_list_li_tabs {
  min-height: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ai_list_li_tab {
  background: #F3F6FA;
  border-radius: 4px;
  border: 1px solid #DCE3EC;
  font-weight: 400;
  font-size: 12px;
  color: #626266;
  line-height: 22px;
  padding: 0 7px;
}

.ai_list_li_tab:first-child {
  background: #E3EFFF;
  border: 1px solid #99C4FC;
  color: #2981FF;
}

.ai_list_li_bottom {
  width: 100%;
  padding-top: 8px;
}

.ai_list_li_bottom_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 28px;
}

.ai_list_li_bottom_label {
  font-weight: 400;
  font-size: 14px;
  color: #626266;
}

.ai_list_li_bottom_value {
  font-weight: 400;
  font-size: 14px;
  color: #2981FF;
}

.ai_list_li_btn {
  width: 100%;
  height: 40px;
  text-align: center;
  background: #2981FF;
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 40px;
  position: absolute;
  bottom: -40px;
  left: 0;
  transition: bottom 0.3s;
}

.ai_list_li:hover {
  border: 1px solid #89B8FF;
  box-shadow: 0px 0px 16px 0px rgba(12, 100, 225, 0.1);
  background: url(/images/new_website/model_square/list.png) right top/100% auto no-repeat;
}

.ai_list_li:hover .ai_list_li_btn {
  bottom: 0;
}

.ai_list_li_btn:hover {
  background-color: #2574e5;
  transition: background-color 0.3s;
}

.ai_list_li_new {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  width: 64px;
  height: 26px;
  background: linear-gradient(-90deg, #FF9161 0%, #F52F2A 100%);
  font-weight: normal;
  font-size: 14px;
  color: #FFFFFF;
  line-height: 24px;
  padding-left: 26px;
  box-sizing: border-box;
  background: url(/images/new_website/model_square/new.png) right top/100% auto no-repeat;
}

/* 列表 结束 */

/* 移动端响应式 开始 */
@media (max-width: 768px) {
  .ai_cont {
    padding: 0 16px;
    text-align: center;
  }

  /* banner */
  .ai_banner {
    height: 200px;
    background-size: cover;
    background-image: url(/images/new_website/model_square/list.jpg);
  }

  .ai_banner h1 {
    margin-top: 40px;
    font-size: 24px;
    line-height: 28px;
  }

  .ai_cont_h1 {
    margin-top: 40px;
    height: 28px;
  }

  .ai_banner p {
    margin-top: 16px;
    font-size: 12px;
    line-height: 18px;
  }

  .ai_banner .btn_group {
    margin-top: 24px;
    justify-content: center;
  }

  .ai_banner a {
    width: 120px;
    height: 36px;
    line-height: 34px;
    font-size: 14px;
    margin-right: 12px;
    background: rgba(255, 255, 255, 0.5);
  }

  /* 搜索表单 */
  .ai_search .ai_cont {
    padding: 16px;
  }

  .ai_search .ai_search_form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .ai_search_keyword {
    width: calc(66% - 6px);
    margin-right: 12px;
    margin-bottom: 12px;
    height: 32px;
  }

  .ai_search_keyword input {
    font-size: 12px;
    height: 32px;
    padding: 0 10px;
  }

  .ai_search_keyword input::placeholder {
    font-size: 12px;
  }

  .ai_search_btn {
    width: 50px;
    min-width: 50px;
    height: 32px;
    line-height: 32px;
    font-size: 12px;
  }

  .ai_search_sort {
    width: calc(34% - 6px);
    margin-right: 0;
    margin-bottom: 12px;
    height: 32px;
    font-size: 12px;
    padding: 0 10px;
  }

  .ai_search_sort_dropdown {
    top: 41px;
  }

  .ai_search_sort_option {
    height: 32px;
    line-height: 32px;
    font-size: 12px;
  }

  .ai_search_text {
    width: 100%;
    text-align: center;
    font-size: 12px;
  }

  /* 标签栏 */
  .ai_tabs {
    margin-top: 12px;
    gap: 5px;
  }

  .ai_tab {
    font-size: 12px;
    padding: 3px 7px;
    background-color: #FFFFFF;
  }

  /* 列表 */
  .ai_list {
    padding-bottom: 40px;
  }

  .ai_list_row {
    margin-top: 16px;
  }

  .ai_list_title {
    padding: 16px 0;
    position: relative;
  }

  .ai_list_title::before {
    width: 3px;
    height: 14px;
    margin-right: 6px;
  }

  .ai_list_h2 {
    font-size: 14px;
    line-height: 16px;
    margin-right: 8px;
  }

  .ai_list_total {
    font-size: 11px;
    padding: 3px 8px;
    border-color: transparent;
    background: none;
    color: #2981FF;
    position: absolute;
    right: 8px;
    font-size: 14px;
    padding: 0;
  }

  .ai_list_ul {
    gap: 12px;
    justify-content: space-between;
  }

  .ai_list_li {
    width: 100%;
    height: auto;
    min-height: 240px;
    padding: 16px 16px;
    background: url(/images/new_website/model_square/list.png) right top/100% auto no-repeat;
  }

  .ai_list_li_top .h4 .h4_icon {
    min-width: 36px;
    width: 36px;
    height: 36px;
    padding: 7px;
  }

  .ai_list_li_top .h4 h4 {
    font-size: 14px;
    line-height: 18px;
    margin-left: 8px;
  }

  .ai_list_li_top .p {
    text-align: left;
    min-height: 40px;
    font-size: 12px;
    line-height: 20px;
    margin: 6px 0;
  }

  .ai_list_li_tabs {
    min-height: 20px;
    gap: 6px;
    margin-bottom: 12px;
  }

  .ai_list_li_tab {
    font-size: 11px;
    line-height: 18px;
    padding: 0 6px;
  }

  .ai_list_li_bottom {
    padding-top: 6px;
  }

  .ai_list_li_bottom_row {
    line-height: 24px;
  }

  .ai_list_li_bottom_label {
    font-size: 12px;
  }

  .ai_list_li_bottom_value {
    font-size: 12px;
  }

  .ai_list_li_btn {
    height: 36px;
    line-height: 36px;
    font-size: 14px;
    bottom: -36px;
    position: relative;
    bottom: 0;
    margin-top: 12px;
  }

  .ai_list_li:hover .ai_list_li_btn {
    bottom: 0;
  }

  .ai_list_li_new {
    width: 56px;
    height: 24px;
    font-size: 12px;
    line-height: 22px;
    padding-left: 14px;
  }
}

/* 平板适配 */
@media (min-width: 769px) and (max-width: 1024px) {
  .ai_cont {
    padding: 0 24px;
  }

  .ai_list_ul {
    gap: 14px;
  }

  .ai_list_li {
    width: calc((100% - 28px) / 3);
  }
}

/* 中等屏幕适配 */
@media (min-width: 1025px) and (max-width: 1399px) {
  .ai_list_li {
    width: calc((100% - 32px) / 3);
  }

  .ai_cont {
    width: calc(100% - 300px);
  }

  .ai_search_keyword {
    width: 400px;
  }
}

/* 中宽屏幕适配 */
@media (min-width: 1400px) and (max-width: 1699px) {
  .ai_list_li {
    width: calc((100% - 32px) / 3);
  }

  .ai_cont {
    width: calc(100% - 300px);
  }

  .ai_search_keyword {
    width: 400px;
  }
}
/* 超大屏屏幕适配 */
@media (min-width: 2000px) {
  .ai_banner {
    background-size: 100% auto;
  }
}

/* 移动端响应式 结束 */