/**
 * 腾讯云微搭 WeDa AI 高流量新闻页 · 侧栏 + 文内选型引导
 * 仅用于 tencent-weda-ai-2026-wechat-ecosystem.html
 */
.news-weda-traffic .news-sidebar {
  gap: 0.85rem;
}

/* 侧栏品牌头卡 */
.weda-side-hero {
  border: 2px solid #07c160;
  border-radius: 14px;
  padding: 1rem 1.05rem;
  background: linear-gradient(145deg, #064e3b 0%, #047857 55%, #10b981 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(7, 193, 96, 0.22);
}
.weda-side-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.55rem;
}
.weda-side-hero__title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.35rem;
}
.weda-side-hero__sub {
  font-size: 0.75rem;
  opacity: 0.92;
  line-height: 1.5;
  margin: 0 0 0.75rem;
}
.weda-side-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.weda-side-hero__cta a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: #047857;
  background: #fff;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.weda-side-hero__cta a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.weda-side-hero__cta a.is-primary {
  background: #fef3c7;
  color: #92400e;
}

/* 场景分流 */
.weda-side-scenarios {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #f0fdf4, #fff);
}
.weda-scenario-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.weda-scenario-list a {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d1fae5;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.weda-scenario-list a:hover {
  border-color: #10b981;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.12);
}
.weda-scenario-list .ico {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: #ecfdf5;
  color: #047857;
}
.weda-scenario-list .txt strong {
  display: block;
  font-size: 0.8125rem;
  color: #0f172a;
  line-height: 1.3;
}
.weda-scenario-list .txt span {
  display: block;
  font-size: 0.6875rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: 0.1rem;
}
.weda-scenario-list .go {
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 700;
}

/* 学习中心快捷格 */
.weda-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.weda-hub-grid a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-decoration: none;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  line-height: 1.25;
}
.weda-hub-grid a i {
  color: #10b981;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.weda-hub-grid a:hover {
  border-color: #10b981;
  color: #047857;
  background: #ecfdf5;
}
.weda-hub-grid a.is-featured {
  grid-column: 1 / -1;
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
  font-size: 0.75rem;
  padding: 0.55rem 0.65rem;
}

/* 对比/算价条 */
.weda-compare-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.weda-compare-strip a {
  flex: 1 1 calc(50% - 0.2rem);
  text-align: center;
  padding: 0.45rem 0.35rem;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-decoration: none;
  color: #047857;
  background: #fff;
  border: 1px solid #a7f3d0;
}
.weda-compare-strip a:hover {
  background: #d1fae5;
}
.weda-compare-strip a.is-accent {
  flex: 1 1 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border-color: transparent;
}

/* 文内选型卡 */
.weda-route-card {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 2px solid #6ee7b7;
  background: linear-gradient(135deg, #ecfdf5 0%, #fff 60%);
}
.weda-route-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.weda-route-card__head i {
  font-size: 1.25rem;
  color: #10b981;
  margin-top: 0.1rem;
}
.weda-route-card__head p {
  margin: 0;
  text-indent: 0 !important;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #065f46;
}
.weda-route-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 0.5rem;
}
.weda-route-card__grid a {
  display: block;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #a7f3d0;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.weda-route-card__grid a:hover {
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}
.weda-route-card__grid strong {
  display: block;
  font-size: 0.8125rem;
  color: #047857;
  margin-bottom: 0.15rem;
}
.weda-route-card__grid span {
  display: block;
  font-size: 0.6875rem;
  color: #64748b;
  line-height: 1.35;
}

@media (max-width: 1023px) {
  .weda-side-hero {
    margin-top: 0.5rem;
  }
  .weda-hub-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .weda-scenario-list a {
    grid-template-columns: 1.75rem 1fr auto;
  }
  .weda-route-card__grid {
    grid-template-columns: 1fr;
  }
}
