@import url('../css/head_foot.css');
#content {
  padding: 16px 40px;
}
#content .latest_news {
  margin-bottom: 24px;
}
#content .latest_news .top .title {
  font-size: 20px;
  font-family: b;
  color: #333333;
  margin-bottom: 20px;
}
#content .latest_news .top .ad {
  position: relative;
  margin-bottom: 16px;
}
#content .latest_news .top .ad .ad_title {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-family: m;
  font-weight: 500;
  color: #D0D0D0;
  line-height: 14px;
}
#content .latest_news .top .ad .m_ad_title {
  position: absolute;
  top: -12px;
  right: 0;
  font-size: 12px;
  font-family: m;
  font-weight: 500;
  color: #D0D0D0;
  line-height: 14px;
}
#content .latest_news .top .ad .ad_cont {
  width: 100%;
  border-radius: 0px 0px 0px 0px;
  opacity: 1;
}
#content .latest_news .latest_games_list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 400px);
}
#content .latest_news .latest_games_list .latest_games_item {
  padding: 12px;
  border-radius: 16px;
  position: relative;
}
#content .latest_news .latest_games_list .latest_games_item .top_img {
  width: 100%;
  height: 200px;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.3);
  border-radius: 16px 16px 16px 16px;
  margin-bottom: 12px;
}
#content .latest_news .latest_games_list .latest_games_item .title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-family: b;
  color: #333333;
}
@media (any-hover: hover) {
  #content .latest_news .latest_games_list .latest_games_item:hover {
    background-color: #f1f1f1;
  }
  #content .latest_news .latest_games_list .latest_games_item:hover .title {
    text-decoration: 1px solid underline;
  }
}
#content .latest_news .latest_games_list .latest_games_item a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#content .latest_news .page {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}
#content .latest_news .page .page_l,
#content .latest_news .page .page_r {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  cursor: pointer;
}
#content .latest_news .page .page_l {
  background: url(../image/page_h_l.png) no-repeat;
  background-size: 40px;
}
#content .latest_news .page .page_r {
  background: url(../image/page_h_r.png) no-repeat;
  background-size: 40px;
}
#content .latest_news .page .center {
  font-size: 14px;
  font-family: m;
  font-weight: 500;
  color: #999999;
  line-height: 16px;
  margin: 0 16px;
}
#content .latest_news .page .center .num {
  font-size: 20px;
  font-family: b;
  font-weight: bold;
  color: #111111;
  line-height: 28px;
}
@media (min-width: 860px) and (max-width: 1200px) {
  #content .latest_news .latest_games_list {
    grid-template-columns: repeat(auto-fill, calc(100% / 2));
  }
}
@media (min-width: 750px) and (max-width: 859px) {
  #content .latest_news .latest_games_list {
    grid-template-columns: repeat(auto-fill, calc(100% / 2));
  }
}
@media (min-width: 560px) and (max-width: 749px) {
  #content .latest_news .latest_games_list {
    grid-template-columns: repeat(auto-fill, 100%);
  }
}
@media (min-width: 0px) and (max-width: 559px) {
  #content .latest_news .latest_games_list {
    grid-template-columns: repeat(auto-fill, 100%);
  }
}
