@import url('../css/head_foot.css');
#content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 1280px;
  padding: 32px 60px;
  margin: 0 auto;
}
#content .cont-l {
  width: 836px;
}
#content .cont-l .ad {
  position: relative;
  margin-bottom: 36px;
}
#content .cont-l .ad .ad_title {
  position: absolute;
  top: -14px;
  right: 0;
  transform: translateX(-50%);
  font-size: 14px;
  font-family: r;
  font-weight: 400;
  color: #adabab;
}
#content .cont-l .ad .ad_cont {
  width: 100%;
  min-height: 90px;
}
#content .cont-l .top-cop h3 {
  font-family: s;
  font-weight: 600;
  font-size: 24px;
  color: #333333;
  margin-bottom: 24px;
}
#content .cont-l .top-cop .top_coupons_list {
  display: grid;
  grid-template-columns: repeat(1, minmax(100px, 1fr));
  grid-gap: 16px;
}
#content .cont-l .top-cop .top_coupons_list .top_coupons_item {
  border-radius: 16px;
  border: 1px solid #eee;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#content .cont-l .top-cop .top_coupons_list .top_coupons_item .img_box {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
}
#content .cont-l .top-cop .top_coupons_list .top_coupons_item .img_box img {
  width: 100%;
}
#content .cont-l .top-cop .top_coupons_list .top_coupons_item .item_c {
  width: calc(100% - 259px);
  display: flex;
  flex-direction: column;
}
#content .cont-l .top-cop .top_coupons_list .top_coupons_item .item_c .title_span {
  font-family: r;
  font-weight: 500;
  font-size: 14px;
  color: #999;
}
#content .cont-l .top-cop .top_coupons_list .top_coupons_item .item_c h4 {
  margin-bottom: 12px;
  font-family: s;
  font-weight: bold;
  font-size: 18px;
  color: #333333;
  line-height: 21px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
#content .cont-l .top-cop .top_coupons_list .top_coupons_item .deal {
  width: 144px;
  height: 44px;
  background: rgba(255, 16, 87, 0.05);
  border-radius: 8px 8px 8px 8px;
  font-family: r;
  font-weight: 400;
  font-size: 16px;
  color: #FF1057;
  text-align: center;
  line-height: 44px;
}
@media (any-hover: hover) {
  #content .cont-l .top-cop .top_coupons_list .top_coupons_item:hover .item_c h4 {
    color: #FF1057;
  }
  #content .cont-l .top-cop .top_coupons_list .top_coupons_item:hover .deal {
    color: #fff;
    background: #FF1057;
  }
}
#content .cont-r {
  width: 300px;
}
#content .cont-r h3 {
  font-family: r;
  font-weight: 600;
  font-size: 20px;
  color: #333333;
  margin-bottom: 24px;
}
#content .cont-r ul {
  display: grid;
  grid-template-columns: repeat(1, minmax(50px, 1fr));
  grid-gap: 16px;
}
#content .cont-r ul li {
  position: relative;
  padding: 20px;
  background: #FFFFFF;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
  border-radius: 16px 16px 16px 16px;
  border: 1px solid #F4F4F4;
  display: flex;
  align-items: center;
}
#content .cont-r ul li a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
#content .cont-r ul li img {
  width: 40px;
  height: 40px;
  margin-right: 16px;
}
#content .cont-r ul li span {
  font-family: m;
  font-weight: 500;
  font-size: 14px;
  color: #666666;
}
#content .cont-r ul li:hover {
  border-color: #FF1057;
}
#content .cont-r ul li:hover span {
  color: #FF1057;
}
@media (min-width: 860px) and (max-width: 1200px) {
  #content {
    width: 100%;
    padding: 16px;
    flex-direction: column;
    justify-content: start;
  }
  #content .cont-l {
    width: 100%;
    margin-bottom: 24px;
  }
  #content .cont-l .top-cop .top_coupons_list .top_coupons_item .item_c {
    width: calc(100% - 112px);
  }
  #content .cont-l .top-cop .top_coupons_list .top_coupons_item .deal {
    display: none;
  }
  #content .cont-r {
    width: 100%;
  }
  #content .cont-r ul {
    grid-template-columns: repeat(3, minmax(50px, 1fr));
  }
}
@media (min-width: 750px) and (max-width: 859px) {
  #content {
    width: 100%;
    padding: 16px;
    flex-direction: column;
    justify-content: start;
  }
  #content .cont-l {
    width: 100%;
    margin-bottom: 24px;
  }
  #content .cont-l .top-cop .top_coupons_list .top_coupons_item .item_c {
    width: calc(100% - 112px);
  }
  #content .cont-l .top-cop .top_coupons_list .top_coupons_item .deal {
    display: none;
  }
  #content .cont-r {
    width: 100%;
  }
  #content .cont-r ul {
    grid-template-columns: repeat(2, minmax(50px, 1fr));
  }
}
@media (min-width: 560px) and (max-width: 749px) {
  #content {
    width: 100%;
    padding: 16px;
    flex-direction: column;
    justify-content: start;
  }
  #content .cont-l {
    width: 100%;
    margin-bottom: 24px;
  }
  #content .cont-l .top-cop .top_coupons_list .top_coupons_item .item_c {
    width: calc(100% - 112px);
  }
  #content .cont-l .top-cop .top_coupons_list .top_coupons_item .deal {
    display: none;
  }
  #content .cont-r {
    width: 100%;
  }
  #content .cont-r ul {
    grid-template-columns: repeat(2, minmax(50px, 1fr));
  }
}
@media (min-width: 0px) and (max-width: 559px) {
  #content {
    width: 100%;
    padding: 16px;
    flex-direction: column;
    justify-content: start;
  }
  #content .cont-l {
    width: 100%;
    margin-bottom: 24px;
  }
  #content .cont-l .top-cop .top_coupons_list .top_coupons_item .item_c {
    width: calc(100% - 112px);
  }
  #content .cont-l .top-cop .top_coupons_list .top_coupons_item .deal {
    display: none;
  }
  #content .cont-r {
    width: 100%;
  }
}
