body{
  background: #fff;
}
.list-banner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  background: #ece6dc;
}
.list-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.list-wrap { padding: 22px 0 36px; }
.qa-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.qa-page-layout > .qa-tabs {
  grid-column: 1 / -1;
}

.qa-channel {
  margin-bottom: 18px;
}
.qa-channel h1 {
  position: relative;
  font-size: 26px;
  color: #333;
  line-height: 1.2;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.qa-tabs {
  display: flex;
  flex-wrap: wrap;       /* 允许换行 */
  justify-content: center; /* 主轴（水平）居中 */
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  background: transparent;
  border-radius: 0;

}
.qa-tabs button {
  position: relative;
  height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  line-height: 36px;
  transition: color .2s ease, background .2s ease;
}
.qa-tabs button:hover {
  color: var(--red);
  background: transparent;
}
.qa-tabs button.is-active,
.qa-tabs button.is-active:hover {
  color: #fff;
  background: var(--red);
  border: none;
  box-shadow: none;
}
.qa-panel { display: none; }
.qa-panel.is-active { display: block; }

.qa-cards {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}
.qa-cards li{
  margin-bottom: 14px;
}
.qa-card {
  display: block;
  /* padding: 16px; */
  /* border: 1px solid #eee7dc; */
  border-radius: 8px;
  background: #fff;
  color: inherit;
  transition: box-shadow .2s ease, border-color .2s ease;
}
/* .qa-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(0, 185, 107, 0.1);
} */
.qa-card:hover .qa-card__q { color: var(--red); }

.qa-card__q {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
}
.qa-card__q i {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.qa-card__q span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.qa-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.qa-card__a {
  width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  background: #F7F5F5;
  box-sizing: border-box;
  padding: 12px 18px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qa-card__text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  color: #666;
  min-height: calc(1.7em * 2);
}

.qa-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #999;
  font-size: 12px;
}
.qa-card__brand i {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(160deg, var(--red), #7a1218);
  color: #fff;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.qa-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  min-height: 20px;
  font-size: 12px;
  white-space: nowrap;
}
.qa-card__status em {
  font-style: normal;
  color: var(--red);
  /* font-weight: 600; */
}
.qa-card__status i {
  font-style: normal;
  color: #999;
  font-weight: 400;
}
.qa-card__status.is-pending em {
  color: var(--red);
}
.qa-card__status.is-pending i {
  color: #999;
}

.qa-more {
  display: block;
  margin-top: 14px;
  text-align: right;
  color: #999;
  font-size: 13px;
}
.qa-more em {
  font-style: normal;
  color: #999;
}
.qa-more span {
  /* font-weight: 600; */
  color: var(--red);
  margin: 0 2px;
}
.qa-more:hover,
.qa-more:hover em,
.qa-more:hover span {
  color: var(--red);
  text-decoration: none;
}

.qa-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  overflow: hidden;
}

.qa-consult {
  display: block;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(160deg, var(--red)),
    linear-gradient(135deg, #1b3a4b 0%, #8b1e2d 100%);
  min-height: 168px;
  padding: 22px 20px;
  border-radius: 5px;
}
.qa-consult__kicker {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: 11px;
  letter-spacing: 1px;
}
.qa-consult strong {
  display: block;
  margin: 10px 0 6px;
  font-size: 22px;
  line-height: 1.3;
}
.qa-consult p {
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  margin-bottom: 14px;
}
.qa-consult span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}
.qa-consult:hover span { background: #fff7f4; }

.qa-company { overflow: hidden; }
.qa-company img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 4px;
  background: #ece6dc;
}
.qa-company__intro,
.qa-company__power {
  margin-top: 12px;
}
.qa-company h3 {
  position: relative;
  padding-left: 12px;
  margin-bottom: 8px;
  font-size: 15px;
}
.qa-company h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  border-radius: 2px;
  background: var(--red);
}
.qa-company p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.qa-recent {
  height: 538px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff;
  min-width: 0;
  width: 100%;
}
.qa-recent .swiper-slide {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  min-width: 0;
  line-height: 36px;
  border-bottom: 1px solid #f7f2ea;
  font-size: 14px;
  color: #334048;
  white-space: nowrap;
  overflow: hidden;
}
.qa-recent__name {
  flex: none;
  color: var(--ink);
  /* font-weight: 600; */
}
.qa-recent__action {
  flex: none;
  color: #334048;
}
.qa-recent a {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* color: var(--red); */
}
.qa-recent a:hover {
  color: var(--red);
}

.qa-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0;
  background: transparent;
}
.qa-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 0;
  background: #f9fbfd;
  color: var(--muted);
  font-size: 13px;
}
.qa-sub:hover {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

@media (max-width: 1024px) {
  .list-banner img { height: 160px; }
  .qa-page-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .qa-cards { grid-template-columns: 1fr; }
  .qa-channel h1 { font-size: 20px; }
  .qa-main { padding: 16px; }
}
