﻿/* 社区内容页-列表 */
.show-card-list__column {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 10px; /* 卡片之间的间距，可自行调整 */
}
.show-card-list__column > li {
  width: calc(50% - 5px);
  box-sizing: border-box;
  background-color: #ffffff;
}
.show-card {
  width: 100%;
}

/* 攻略内容页-商品调用 */
.post-cards {
  margin: 10px auto 20px;
}
.card-link {
  display: flex;
  width: 100%;
  border: 1px solid #e2e2e2;
  box-shadow: 0 3px 6px 0 rgb(29 29 31 / 6%);
  margin: 0 auto;
  text-decoration: none !important;
  height: 120px;
  cursor: pointer;
}
.card-img-wrap {
  width: 96px;
  height: 96px;
  margin: 12px;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-content {
  padding-top: 12px;
  margin-left: 7px;
  width: calc(100% - 138px);
}
.card-top {
  display: flex;
  justify-content: space-between;
}
.card-top-left {
  display: flex;
  align-items: center;
}
.card-flag-wrap {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
}
.card-flag {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.card-category {
  margin-left: 6px;
  font-size: 12px !important;
  color: #333 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100px;
}
.card-rebate {
  color: #fff;
  background-color: #fe5a58;
  border-radius: 3px;
  padding: 0 6px;
  font-weight: 500;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
}
.card-name {
  margin: 2px 0;
  font-weight: 500;
}
.card-stats {
  color: #999;
  font-size: 12px;
  margin-bottom: 1px;
  height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-tags {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}
.card-tag-item {
  list-style: none;
  margin: 0 10px 0 0;
  height: 20px;
  background: #ececec;
  padding: 1px 5px;
  border-radius: 3px;
  line-height: 20px;
  color: #696969;
  font-size: 12px;
}

/* 热品内容页-项目滑动 */
.wiki-cate-container {
  width: 100%;
  overflow-x: auto;       /* 核心：允许横向滑动 */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;  /* 苹果丝滑滑动 */
  scrollbar-width: none;  /* 火狐隐藏滚动条 */
}

.wiki-cate-container::-webkit-scrollbar {
  display: none;  /* Chrome/Safari 隐藏滚动条 */
}

.wiki-cate-list {
  display: flex;
  flex-wrap: nowrap;     /* 强制不换行，实现横向排列 */
  padding: 0;
  margin: 0;
  list-style: none;
}

.wiki-cate-item {
  flex-shrink: 0;        /* 禁止缩小，保证宽度正常 */
  padding: 10px 14px;    /* 可根据需要调整 */
}

.wiki-cate-item.active span {
  color: #ff5000;        /* 选中颜色，可自定义 */
  font-weight: bold;
}