.home_box {
  width: 1200px;
  margin: 20px auto 0;
}
.con_list {
  background: #fff;
  /* border-radius: 16px; */
  /* padding: 20px; */
  /* margin-bottom: 20px; */
}
/* 小标题 */
.tab {
  margin: 20px 0;
  position: relative;
  line-height: 35px;
  border-bottom: 2px solid #0066cc;
}
.tab img {
  position: absolute;
  left: 0;
  z-index: 10;
  height: 100%;
  top: 0;
}
.tab span {
  position: relative;
  z-index: 999;
  font-size: 18px;
  font-weight: bold;
  margin-left: 20px;
  color: white;
}
.tab a {
  color: #0066cc;
  position: absolute;
  right: 0;
  top: 0;
}
.tab a:hover {
  color: #0088ff;
}
/* 新闻动态标签 */
.news_tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* margin: 20px 0; */
  max-width: 1200px;
  padding: 15px 0;
}
.news_tab .news_tab_wrapper {
  display: flex;
  align-items: center;
  margin: 10px auto;
}
.news_tab_item {
  padding: 5px 20px 5px 5px;
  font-size: 18px;
  /* font-weight: bold; */
  color: #000;
  background: #d6ecf7;
  cursor: pointer;
  /* margin-right: -1px; */
  border: 1px solid #ddd;
}
.news_tab_item:first-child {
  /* border-radius: 5px 0 0 0; */
}
.news_tab_item:last-child {
  /* border-radius: 0 5px 0 0; */
}
.news_tab_item.news_tab_active {
  background: #055a9b;
  color: white;
  border-color: #055a9b;
  padding: 5px;
  
}
.news_more {
  color: #6f716f;
  font-size: 14px;
  margin-right: 20px;
}
/*轮播图*/
.ev-swiper {
  height: 280px;
  min-height: 280px;
  border-radius: 5px;
}
.ev-swiper .ev-slide {
  width: 100%;
  height: 100%;
}
.ev-swiper a {
  width: 100%;
  position: relative;
  height: 100%;
  display: block;
}
.ev-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ev-swiper p {
  position: absolute;
  bottom: 0;
  line-height: 40px;
  left: 0;
  background: #1a1919;
  background: #1a1919cc;
  color: white;
  width: 100%;
  text-indent: 2em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home_total {
  position: absolute;
  left: 20px;
  background: rgba(58, 57, 57, 0.5);
  color: white ;
  top: 20px;
  z-index: 999999;
  padding: 5px;
  border-radius: 3px;
}
.home_total span {
  margin: 0 5px;
}
.line {
  overflow: hidden;
  margin: 10px 0 30px;
  position: relative;
}
.line ul {
  padding:20px;
  box-shadow: 0 2px 8px #78bef0;
  margin-right: 10px;
  border-radius: 5px;
  border: 1px solid #eee;
}
.line ul a {
  display: block;
}
.line ul a:hover {
  color: #0066cc;
}
.line .tab {
  width: 95%;
}
.line li {
  overflow: hidden;
  line-height: 32px;
}
.line li .icon {
  width: 6px;
  float: left;
  margin: 13px 12px 0 0;
  border-radius: 50%;
  background: #0066cc;
  height: 6px;
}
.line li .cont_title {
  float: left;
  width: calc(100% - 28px);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  color: #333;
}
.line li .cont_title:hover {
  color: #0066cc;
}
.line li .cont_time {
  width: 100px;
  float: right;
  text-align: right;
}
.line li .cont_title1 {
  width: 400px;
}
/* 首页的左侧模块 */
.home_left,
.home_right {
  float: left;
  position: relative;
  width: 50%;
  height: 100%;
}
/* 新闻动态三列布局 */
.line.line1 {
  display: flex;
  justify-content: space-between;
}
.line.line1 .home_left {
  width: 35%;
}
.line.line1 .home_center {
  width: 28%;
  padding: 20px 10px;
}
.line.line1 .home_right {
  width: 35%;
  padding-left: 20px;
  margin-right: 30px;
}
.line.line1 .home_center p {
  line-height: 22px;
  color: #666;
  font-size: 13px;
  text-indent: 2em;
}
.line.line1 .home_right li {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line.line1 .home_center .news_detail {
  margin-top: 10px;
}
.line.line1 .home_center .news_detail a {
  color: #0066cc;
  float: right;
  font-size: 14px;
}
/* 最新文献卡片式布局 */
.line.latest_docs {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  float: none !important;
  overflow: visible !important;
}
.line.latest_docs #doc_cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}
.line.latest_docs .load {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}
.line.latest_docs #doc_cards .doc_card {
  width: calc(25% - 12px) !important;
  background-color: #f8f8f8 !important;
  background-image: url('../img/li-1.jpg');
  background-size: 100% 4px;
  background-repeat: no-repeat;
  background-position: top;
  border: 1px solid #e8e8e8 !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  margin-bottom: 15px !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 200px !important;
  margin: -15px -15px 10px -15px;
}
.line.latest_docs .doc_card .doc_title {
  font-size: 14px;
  font-weight: bold;
  color: #055a9b;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  background: #f8f8f8;
  padding: 8px;
  
  text-align: center;
  height: calc(14px * 1.5 * 2.5);
  /* padding-top: 20px; */
}
.line.latest_docs .doc_card .doc_content {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: calc(13px * 1.8 * 8);
  text-indent: 2em;
}
.doc_card .doc_more {
  display: block;
  text-align: right;
  color: #0066cc;
  font-size: 12px;
  margin-top: 10px;
}
/* 热门武器样式 */
.line.hot_weapons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  overflow: visible;
}
.line.hot_weapons .weapon_cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 66%;
  align-items: stretch;
}
.line.hot_weapons .weapon_card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 48px 25px 18px;
  box-sizing: border-box;
  /* 更淡的阴影效果 */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(215, 224, 245, 0.4);
  width: 100%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.line.hot_weapons .weapon_header {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  /* background: #fff; */
  display: flex;
  align-items: center;
  gap: 10px;
  /* padding: 8px 16px; */
  /* border-radius: 28px; */
  /* border: 1px solid #e8e8e8; */
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); */
  z-index: 2;
}
.line.hot_weapons .weapon_icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.line.hot_weapons .weapon_icon img {
  width: 28px;
  height: 28px;
}
.line.hot_weapons .weapon_title {
  font-size: 16px;
  font-weight: 700;
  color: #124d8c;
  text-align: center;
}
.line.hot_weapons .weapon_content {
  min-height: auto;
  font-size: 12px;
}
.line.hot_weapons .weapon_intro {
  margin-bottom: 14px;
}
.line.hot_weapons .weapon_intro a {
  display: block;
  color: #4d4d4d;
  text-decoration: none;
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 14px;
}
.line.hot_weapons .weapon_intro .intro_title {
  font-size: 15px;
  font-weight: 700;
  color: #0f4f8b;
  margin-bottom: 10px;
  text-align: center;
  line-height: 22px;
  height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.line.hot_weapons .weapon_intro .intro_text {
  font-size: 13px;
  color: #5f5f5f;
  line-height: 22px;
  height: 220px;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-indent: 2em;
}
.line.hot_weapons .weapon_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.line.hot_weapons .weapon_list a {
  display: block;
  color: #000;
  text-decoration: none;
  padding-left: 12px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
}
.line.hot_weapons .weapon_list a:before {
  content: "●";
  font-size: 8px;
  color: #1b6bb8;
  position: absolute;
  left: 0;
  top: 6px;
}
.line.hot_weapons .weapon_list a:hover,
.line.hot_weapons .weapon_intro a:hover {
  color: #1b6bb8;
}
.line.hot_weapons .weapon_more {
  display: block;
  text-align: right;
  color: #1b6bb8;
  font-size: 13px;
  margin-top: 16px;
  text-decoration: none;
}
.line.hot_weapons .hot_tags {
  width: 32%;
  background: #f7f5f6;
  border: 1px solid #f7f5f6;
  /* border-radius: 16px; */
  padding: 22px 18px 18px;
  box-sizing: border-box;
  box-shadow: 0 10px 22px rgba(14, 48, 95, 0.06);
  background-image: url('../img/li-2.jpg');
  background-size: 110% 8px;
  background-repeat: no-repeat;
  background-position: top;
  min-height: 400px;
}
.line.hot_weapons .tags_title {
  position: relative;
  font-size: 16px;
  /* font-weight: 700; */
  color: #c70606;
  text-align: center;
  padding: 6px;
  /* background: #fff; */
  /* border-radius: 24px; */
  z-index: 1;
  margin-top: -45px;
  /* background-color: #fff; */
  
}
.line.hot_weapons .tags_title::before,
.line.hot_weapons .tags_title::after {
  /* content: '';
  position: absolute;
  top: 50%;
  width: 110px;
  height: 8px;
  background: #124d8c;
  border-radius: 4px;
  transform: translateY(-50%); */
}
.line.hot_weapons .tags_title::before {
  left: -120px;
}
.line.hot_weapons .tags_title::after {
  right: -120px;
}
.line.hot_weapons .tags_content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  padding: 25px 10px;
}
.line.hot_weapons .tags_content a {
  display: inline-flex;
  justify-content: center;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 8px;
  transition: all 0.3s ease;
}
.line.hot_weapons .tags_content a:hover {
  color: #0b63b4;
  transform: scale(1.1);
}
.home_left{
  padding: 5px 20px;
}
/* 文献详情 */
.home_info {
  border: 1px solid #dbdada;
  border-radius: 15px;
  padding: 0 15px;
  height: 358px;
  width: 90%;
  position: relative;
  margin: auto;
}
.home_info .info_title {
  text-align: center;
  font-weight: bolder;
  font-size: 18px;
  padding: 20px;
}
.home_info .info_au {
  margin: 10px 20px;
  text-align: center;
  line-height: 2;
  color: #777575;
}
.home_info .info_au span {
  color: #0066cc;
  margin-right: 20px;
}
.home_info .info_txt {
  text-indent: 2rem;
  padding: 0 20px;
  color: #868686;
  line-height: 1.8;
  word-break: break-all;
}
.home_info .more {
  width: 100%;
  position: absolute;
  right: 50px;
  cursor: pointer;
  bottom: 20px;
  text-align: right;
  color: #0066cc;
}
/* 动态详情 */
.new_info {
  width: 90%;
  height: 320px;
  margin: 20px auto;
  position: relative;
}
.new_info a {
  width: 100%;
  height: 100%;
  display: block;
}
.new_info img {
  width: 100%;
  height: 100%;
}
.new_info p {
  position: absolute;
  right: 0;
  left: 0;
  text-indent: 2rem;
  bottom: 0;
  line-height: 40px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  background: #222222;
  background: rgba(34, 34, 34, 0.5);
  text-overflow: ellipsis;
}
.line1 {
  height: 325px;
}
/*热门武器*/
.bq_line {
  width: 33.3%;
  float: left;
  padding: 16px 0;
  position: relative;
}
.bq_line ul {
  padding: 20px;
  background: url("../img/rectangle.png") no-repeat center center;
}
.bq_line .more {
  position: absolute;
  right: 32px;
  color: #0066cc;
  top: 0;
  line-height: 32px;
  background: white;
}
.line_box {
  width: 380px;
  margin: auto;
}
.line_icon {
  position: absolute;
  top: 0;
  left: 25px;
  background: white;
  padding: 0 10px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: #0066cc;
  line-height: 32px;
}
.line_icon img {
  margin-right: 5px;
}
/*专题*/
.theme_ul {
  overflow: hidden;
  margin-bottom: 20px;
  
}
.theme_ul a {
  display: block;
  text-align: center;
  float: left;
  width: 25%;
  margin: 15px 0;
  
}
.theme_ul a img {
  border: 1px solid #d7e5f5;
  border-radius: 15px;
}
.theme_ul a:hover {
  transform: scale(1.1);
}
