
/*------------------------- 轮播 --------------------------*/
.swiper-wrap {
  width: calc(100% - 0.48rem);
  margin: 0.24rem auto;
}
.swiper-container {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 0.16rem;
  box-sizing: content-box;
}
.swiper-slide .news-swiper {
  display: block;
  width: 100%;
  border-radius: 0.16rem;
}
.swiper-slide img {
  display: block;
  border-radius: 0.16rem;
  width: 100%;
  height: 2.88rem;
  object-fit: cover;
}
.swiper-pagination-wrap {
  position: absolute;
  bottom: 0.2rem;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-pagination-bullet {
  height: 0.12rem;
  width: 0.12rem;
  opacity: 0.3;
  margin-right: 0.08rem;
}
.swiper-pagination-bullet:last-child {
  margin-right: 0;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
  width: 0.2rem;
  background-color: #ff4c00;
  border-radius: 0.06rem;
}
/* ----------------筛选条件----------------- */
.filter-wrap {
  position: sticky;
  top: 0.96rem;
  background-color: #f6f6f6;
  z-index: 999999;
}
.filter-wrap.scrolled {
  background-color: #fff;
  margin-bottom: 0.24rem;
}
.filter-wrap.scrolled .type-item {
  background: #f6f6f6;
}
.tabs-wrap {
  display: flex;
  align-items: center;
  width: calc(100% - 0.48rem);
  margin: auto;
  padding: 0.24rem;
  z-index: 999999;
}
.tabs-wrap.scrolled {
  background-color: #fff;
  margin-bottom: 0.24rem;
}
.tabs-item {
  position: relative;
  font-size: 0.28rem;
  color: #565656;
  line-height: 0.48rem;
  font-weight: 500;
  margin-right: 0.4rem;
}
.tabs-item.active {
  font-size: 0.32rem;
  color: rgba(0, 0, 0, 0.9);
  font-weight: 600;
}
.tabs-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  z-index: -1;
  height: 0.12rem;
  background: linear-gradient(270deg, #fff8f6 0%, #f05a23 100%);
}

/* 类型 */

.type-wrap {
  display: flex;
  align-items: center;
  overflow: auto;
  width: 100%;
  padding: 0.04rem 0 0.16rem;
  margin: auto;
  z-index: 999999;
}
.type-wrap::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.type-wrap .type-item {
  flex-shrink: 0;
  border-radius: 0.3rem;
  padding: 0.1rem 0.24rem;
  font-size: 0.24rem;
  color: #181818;
  margin-right: 0.16rem;
  background: #fff;
}
.type-wrap .type-item.active {
  color: #f05a23;
  font-weight: 600;
  background: rgba(255, 76, 0, 0.1);
}

.type-wrap .type-item:first-child {
  margin-left: 0.24rem;
}
.type-wrap .type-item:last-child {
  margin-right: 0.24rem;
}
/* --------列表内容------- */
.card-wrap {
  position: relative;
  background-color: #ffffff;
  border-radius: 0.16rem;
  padding: 0.4rem 0.24rem 0.6rem;
  width: calc(100% - 0.48rem);
  margin: auto;
  box-sizing: border-box;
}
.news-item {
  display: flex;
  margin-bottom: 0.56rem;
}
.news-content {
  flex: 1;
}
.news-image {
  flex-shrink: 0;
  width: 1.92rem;
  height: 1.44rem;
  margin-left: 0.22rem;
  background-color: #eee;
  border-radius: 0.08rem;
  object-fit: cover;
}
.news-title {
  font-size: 0.3rem;
  color: #181818;
  line-height: 0.44rem;
  font-weight: 500;
}
.news-date {
  font-size: 0.24rem;
  color: #898989;
  line-height: 0.36rem;
  margin-top: 0.2rem;
}
.no-more {
  display: none;
  margin-top: 0.6rem;
  font-size: 0.24rem;
  color: rgba(0, 0, 0, 0.3);
  text-align: center;
}
/*------------------7*24 ----------------------*/

.card-wrap.flash {
  background: none;
  padding: 0;
}
.flash-news-date {
  margin: 0.24rem 0;
  text-align: center;
  font-size: 0.28rem;
  color: #898989;
  font-weight: 600;
}
.flash-news-item {
  padding: 0.24rem 0.24rem 0.32rem;
  background: #ffffff;
  border-radius: 0.16rem;
}
.flash-news-item:not(:last-child) {
  margin-bottom: 0.2rem;
}
.flash-news-item .item-top {
  display: flex;
  align-items: flex-start;
}
.flash-news-item .item-time::before {
  flex-shrink: 0;
  content: "";
  display: block;
  width: 0.24rem;
  height: 0.24rem;
  margin-right: 0.08rem;
  background: url(/app_inc/pingan/v40/futures_mobile/images/common/flash-news-time-icon.png) no-repeat;
  background-size: 100% 100%;
}
.flash-news-item .item-top .item-time {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 0.16rem;
  font-size: 13px;
  color: #565656;
  font-weight: 600;
  height: 0.52rem;
}
.flash-news-item .item-top .item-type-wrap {
  display: flex;
  flex-wrap: wrap;
}
.flash-news-item .item-top .item-type {
  flex-shrink: 0;
  padding: 0.02rem 0.08rem;
  border: 0.02rem solid rgba(253, 238, 233, 1);
  border-radius: 0.08rem;
  font-size: 0.24rem;
  color: #f05a23;
  line-height: 0.36rem;
  margin: 0.04rem;
  font-weight: 600;
}
.flash-news-item .item-content {
  margin: 0.26rem 0 0.16rem;
  font-size: 0.3rem;
  color: #181818;
  line-height: 0.44rem;
}
.flash-news-item .item-content.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.5em;
}
.flash-news-item .item-tag {
  font-size: 0.24rem;
  color: #898989;
  line-height: 0.4rem;
}
