/* ---------- 顧問團 Mentor Council（全寬自動滑動 carousel） ---------- */
.wz-council {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}

/* 全寬滑動帶 */
.council-marquee {
  position: relative;
  width: 100%;
  margin-top: 40px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.council-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 10px 18px;
  animation: council-scroll 70s linear infinite;
  will-change: transform;
}

.council-marquee:hover .council-track {
  animation-play-state: paused;
}

@keyframes council-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .council-track { animation: none; }
  .council-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* 產品卡 */
.council-card {
  position: relative;
  flex: 0 0 210px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.council-card:hover {
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.14);
  transform: translateY(-4px);
}

.council-figure {
  background: transparent;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding-top: 14px;
}

.council-figure img {
  width: 78%;
  height: 90%;
  object-fit: contain;
  display: block;
}

.council-body {
  padding: 14px 16px 16px;
  flex: 1;
}

.council-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.council-name {
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.council-persona {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 加入購物車感 */
.council-add {
  margin: 0 16px 16px;
  padding: 9px 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.council-card:hover .council-add {
  background: var(--ink);
  color: var(--button-ink);
  border-color: var(--ink);
}

@media (max-width: 620px) {
  .council-card { flex-basis: 168px; }
  .council-name { font-size: 15px; }
}
