/* 整个背景色 */
.container {
  background-color: #f6f6f6;
}
.wrap {
  background-color: #f6f6f6;
}
.tabs-wrap {
  position: sticky;
  top: 0.96rem;
  display: flex;
  align-items: center;
  width: calc(100% - 0.48rem);
  margin: auto;
  z-index: 999999;
  background-color: #f6f6f6;
  padding: 0.24rem 0;
  overflow-x: auto;
  box-sizing: border-box;
}
.tabs-wrap::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.tabs-wrap.scrolled {
  background-color: #fff;
  width: 100%;
  padding: 0.24rem;
  margin-bottom: 0.24rem;
}
.tabs-item {
  position: relative;
  flex-shrink: 0;
  font-size: 0.28rem;
  color: #565656;
  line-height: 0.48rem;
  font-weight: 500;
  margin-right: 0.4rem;
}
.tabs-item:last-child {
  margin-right: 0;
}
.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%;
  height: 0.12rem;
  background: linear-gradient(270deg, #fff8f6 0%, #f05a23 100%);
}

.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;
}
.card-wrap.beginner {
  margin: 0.24rem;
  padding: 0;
  background-image: linear-gradient(0deg, #ffffff 71%, #ffede5 100%);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.24rem 0.32rem;
}
.card-top .card-title {
  font-size: 0.36rem;
  color: #181818;
  font-weight: 600;
}
.card-top .more-btn {
  display: flex;
  align-items: center;
  padding: 0.1rem 0.12rem 0.1rem 0.2rem;
  font-size: 0.24rem;
  color: #f05a23;
  line-height: 0.36rem;
  background: #fdeee9;
  border-radius: 0.48rem;
}
.card-top .more-btn::after {
  content: "";
  display: block;
  width: 0.32rem;
  height: 0.32rem;
  background: url(/app_inc/pingan/v40/futures_mobile/images/common/right-arrow-icon_y.svg) no-repeat;
  background-size: 100% 100%;
}
.beginner-list-wrap {
  padding: 0.2rem 0.24rem 0.4rem 0.24rem;
}
.beginner-item {
  display: flex;
  align-items: center;
}
.beginner-item:not(:last-child) {
  margin-bottom: 0.32rem;
}
.beginner-item-tag {
  padding: 0.02rem 0.08rem;
  font-size: 0.24rem;
  color: #f05a23;
  line-height: 0.36rem;
  font-weight: 600;
  border: 0.02rem solid rgba(253, 238, 233, 1);
  border-radius: 0.08rem;
}
.beginner-item-title {
  flex: 1;
  font-size: 0.3rem;
  color: #181818;
  line-height: 0.48rem;
  margin: 0 0.08rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.beginner-item-right-icon {
  flex-shrink: 0;
  display: block;
  width: 0.32rem;
  height: 0.32rem;
  background: url(/app_inc/pingan/v40/futures_mobile/images/common/right-arrow-icon.svg) no-repeat;
  background-size: 100% 100%;
}
.card-wrap.video {
  padding: 0.32rem 0;
}

.video-item {
  display: flex;
  margin-top: 0.4rem;
  padding: 0 0.24rem;
  box-sizing: border-box;
}
.video-item-left {
  position: relative;
  margin-right: 0.24rem;
}
.video-item-left::after {
  content: "视频";
  position: absolute;
  bottom: 0.16rem;
  right: 0.12rem;
  padding: 0.02rem 0.1rem;
  background: rgba(0, 0, 0, 0.5);
  font-size: 0.24rem;
  color: #ffffff;
  font-weight: 500;
  border-radius: 0.04rem;
}
.video-item-cover {
  width: 2.88rem;
  height: 1.6rem;
  background-color: #f6f6f6;
  border-radius: 0.08rem;
}
.video-item-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0.1rem 0;
}
.video-item-title {
  font-size: 0.3rem;
  color: #181818;
  line-height: 0.44rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  max-height: 3em;
}
.video-item-tag {
  font-size: 0.24rem;
  color: #f05a23;
  font-weight: 500;
}

.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: #f9f;
  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;
}

/* 新手必学-文章 */

.card-wrap.article {
  padding: 0.16rem 0.32rem 0.4rem 0.32rem;
  margin-top: 0.24rem;
}

.beginner-tabs-wrap {
  display: flex;
  align-items: center;
}
.beginner-tabs-item {
  position: relative;
  font-size: 0.28rem;
  line-height: 0.64rem;
  color: #565656;
  font-weight: 500;
}
.beginner-tabs-item:not(:last-child) {
  margin-right: 0.48rem;
}
.beginner-tabs-item.active {
  font-size: 0.32rem;
  color: #f05a23;
  font-weight: 600;
}
.beginner-tabs-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.03rem;
  width: 100%;
  height: 0.04rem;
  background-color: #f05a23;
}

.article-list-wrap {
  margin-top: 0.2rem;
}
.article-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 0.96rem;
  border-bottom: 0.02rem solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}
.article-item-title {
  width: calc(100% - 0.32rem);
  font-size: 0.3rem;
  color: #181818;
  line-height: 0.48rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.article-item::after {
  flex-shrink: 0;
  content: "";
  display: block;
  width: 0.32rem;
  height: 0.32rem;
  background: url(/app_inc/pingan/v40/futures_mobile/images/common/right-arrow-icon.svg) no-repeat;
  background-size: 100% 100%;
}

.card-wrap.detail {
  width: 100%;
  border-radius: 0;
  padding: 0.4rem 0.32rem;
  box-sizing: border-box;
}
.article-detail {
}
.article-title {
  font-size: 0.44rem;
  color: #181818;
  line-height: 0.64rem;
  font-weight: 600;
}
.article-info {
  display: flex;
  align-items: center;
  margin: 0.24rem 0 0.68rem;
}
.article-from {
  font-size: 0.28rem;
  color: #343434;
}
.article-time {
  font-size: 0.24rem;
  color: #898989;
  line-height: 0.36rem;
  box-sizing: border-box;
}
.article-info-divide-line {
  display: none;
  width: 0.02rem;
  height: 0.28rem;
  margin: 0 0.16rem;
  background: #898989;
}
.article-content,.article-content {
  font-size: 0.32rem;
  color: #343434;
  line-height: 0.6rem;
}
.article-content p,.video-content p {
  font-size: 0.32rem !important;
  color: #343434;
  line-height: 0.6rem;
}
.article-content img,.video-content img{
  max-width: 100%;
  height: auto;
}

.card-wrap.video-detail {
  padding: 0;
  width: 100%;
  background: transparent;
}
.video-link {
  width: 100%;
}
.video-detail-top {
  padding: 0.4rem 0.32rem;
  box-sizing: border-box;
  background: #fff;
}
.video-link video {
  width: 100%;
}
.video-title {
  font-size: 0.36rem;
  color: #181818;
  line-height: 0.48rem;
  font-weight: 600;
}
.video-time {
  margin-top: 0.24rem;
  font-size: 0.26rem;
  color: #898989;
}
.video-content {
  background: #fff;
  padding: 0.4rem 0.32rem;
  margin-top: 0.16rem;
}

.type-wrap {
  display: flex;
  align-items: center;
  overflow: auto;
  width: 100%;
  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: #f6f6f6;
}
.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;
}
