.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-detail-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.qa-detail-wrap,
.qa-detail,
.qa-mini-block,
.qa-block,
.qa-side {
  min-width: 0;
}

.qa-detail,
.qa-block {
  background: #fafbfc;
  border: none;
  border-radius: 4px;
  box-shadow: none;
}

.qa-mini-block {
  background: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: none;
  padding: 16px 18px;
}
.qa-mini-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.qa-mini-more em {
  font-style: normal;
  color: #333;
}
.qa-mini-more span {
  /* font-weight: 600; */
  color: var(--red);
  margin-left: 2px;
}
.qa-mini-more:hover,
.qa-mini-more:hover em,
.qa-mini-more:hover span {
  color: var(--red);
}

.qa-consult {
  border-radius: 4px;
  box-shadow: none;
}

.qa-detail { padding: 22px 24px 24px; }

.qa-detail__title {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  color: #3e3e3e;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.qa-detail__author {
  margin-top: 6px;
  color: #7e7e7e;
  font-size: 13px;
}

.qa-detail__desc {
  margin-top: 16px;
  color: #3e3e3e;
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.qa-detail__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e3d7c7;
  color: var(--muted);
  font-size: 13px;
  min-width: 0;
}
.qa-detail__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  font-size: 14px;
  color: #5e5e5e;
}
.qa-detail__meta a:hover { color: var(--red); }
.qa-detail__reply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qa-detail__reply svg,
.qa-detail__ask svg,
.qa-help__ask svg {
  width: 15px;
  height: 15px;
}
.qa-detail__ask,
.qa-help__ask {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: #444141;
  /* font-weight: 600; */
}
.qa-help__ask svg{
  color: var(--red);
}
.qa-detail__ask:hover,
.qa-help__ask:hover { color: var(--red-dark); }

.qa-mini-cats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.qa-mini-cat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: none;
  border-radius: 4px;
  background: #fff;
  transition: transform .2s ease;
}
.qa-mini-cat:hover {
  transform: translateY(-2px);
}
.qa-mini-cat img {
  width: 100%;
  /* height: 72px; */
  object-fit: cover;
  background: #ece6dc;
}
.qa-mini-cat span { display: none; }

.qa-block {
  margin-top: 0;
  padding: 18px 20px 16px;
}

.qa-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #eee;
  padding-bottom: 14px;
  
}
.qa-block__head .model-title {
  position: relative;
  padding-left: 12px;
  font-size: 26px;
  /* font-weight: 700; */
  color: #444141;
}
.qa-block__head .model-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: var(--red);
}

.qa-comments { list-style: none; }
.qa-comment {
  padding: 14px 14px 12px;
  margin-bottom: 12px;
  border: 1px solid #f0e8dc;
  border-radius: 4px;
  background: linear-gradient(180deg, #fffdfb 0%, #faf7f2 100%);
}
.qa-comment:last-child { margin-bottom: 0; }
.qa-comment__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.qa-comment__name {
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  color: #7e7e7e;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.qa-comment__floor {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff1ef;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
}
.qa-comment__content {
  color: #334048;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.qa-comment__time {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.qa-help-list { list-style: none; }
.qa-help-item {
  border-bottom: 1px dashed #e3d7c7;
}
/* .qa-help-item:last-child { border-bottom: 0; } */
.qa-help-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 16px 0;
}
.qa-help-item strong {
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  color: #444141;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.qa-help-item span {
  flex: none;
  color: #9e9e9e;
  font-size: 14px;
}
.qa-help-item a:hover strong { color: var(--red); }

.qa-related-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}
.qa-related-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  color: #334048;
  font-size: 14px;
}
.qa-related-list a i {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c5bcc0;
}
.qa-related-list span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.qa-related-list a:hover { color: var(--red); }

.qa-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.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;
}
.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-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.qa-cat-card {
  display: block;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: none;
  transition: transform .2s ease;
}
.qa-cat-card:hover { transform: translateY(-2px); }
.qa-cat-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: linear-gradient(160deg, #ece6dc, #d8cfc3);
}

@media (max-width: 1024px) {
  .list-banner img { height: 160px; }
  .qa-page-layout { grid-template-columns: minmax(0, 1fr); }
  .qa-mini-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qa-cat-grid{display: none;}
}

@media (max-width: 720px) {
  .qa-detail,
  .qa-block { padding: 16px; }
  .qa-detail__title { font-size: 20px; }
  .qa-detail__bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .qa-detail__ask {
    width: 100%;
    justify-content: flex-start;
  }
  .qa-mini-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa-related-list { grid-template-columns: minmax(0, 1fr); }
  .qa-help-item a { gap: 10px; }
  .qa-help-item span { white-space: nowrap; }
}
