/* ==========================================================================
   X.TIMING 客户价值俱乐部（club.css）
   --------------------------------------------------------------------------
   只放本页版式。颜色、字号、留白、断点来自 xt-theme.css；
   结构用 Bootstrap 栅格与原生件（card / btn / modal）。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 首屏（首屏文字件在 xt-theme.css 7c，这里只放本页那块面板）
   -------------------------------------------------------------------------- */
/* 右侧那块「Think. Learn. Connect.」面板 */
.club-panel {
  --bs-card-bg: rgba(255, 255, 255, 0.055);
  --bs-card-border-color: rgba(255, 255, 255, 0.18);
  --bs-card-color: #dfe6da;
}
.club-panel .card-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 18rem;
}
.panel-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--xt-fs-label);
  letter-spacing: 0.16em;
  color: #9db097;
}
.panel-core {
  margin: auto 0;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #f2f0e8;
}
.panel-core em {
  font-style: normal;
  color: var(--xt-accent);
}
.panel-foot {
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--xt-fs-small);
  color: #9db097;
}

/* --------------------------------------------------------------------------
   2. 三个共同话题：整行铺开，编号 / 名称 / 说明三栏
   -------------------------------------------------------------------------- */
.topic-row {
  padding: 1.6rem 0;
  border-top: 1px solid var(--xt-line);
}
.topic-row:last-child { border-bottom: 1px solid var(--xt-line); }
.topic-no {
  display: block;
  min-width: 2rem;
  font-size: var(--xt-fs-label);
  letter-spacing: 0.14em;
  color: var(--xt-muted-2);
  padding-top: 0.35rem;
}
.topic-sub {
  margin: 0.35rem 0 0;
  font-size: var(--xt-fs-small);
  color: var(--xt-muted);
}
.topic-desc {
  font-size: var(--xt-fs-body);
  max-width: 36em;
}
.topic-tags {
  margin: 0.9rem 0 0;
  font-size: var(--xt-fs-small);
  color: var(--xt-muted-2);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   3. 各类卡片：本页只留底色，小字与编号在 xt-theme.css 7c
   -------------------------------------------------------------------------- */
.principle-card { --bs-card-bg: var(--xt-white); }
.part-card { --bs-card-bg: var(--xt-white); }

/* --------------------------------------------------------------------------
   4. 社群连接：二维码拇指图
   -------------------------------------------------------------------------- */
.qr-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--xt-line);
}
.qr-row strong {
  display: block;
  font-size: var(--xt-fs-small);
  color: var(--xt-ink);
}
.qr-row span {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--xt-fs-small);
  color: var(--xt-muted);
}
.qr-thumb {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  padding: 0.25rem;
  border: 1px solid var(--xt-line);
  border-radius: var(--xt-radius);
  background: #fff;
  cursor: zoom-in;
}
.qr-row.is-search {
  padding: 0.9rem 1rem;
  border: 1px dashed var(--xt-line);
  border-radius: var(--xt-radius);
}

/* --------------------------------------------------------------------------
   5. 弹窗里的二维码：只留尺寸，其余交给 xt-theme 的 .modal-body > img
   -------------------------------------------------------------------------- */
#qrZoom .modal-body { text-align: center; }
#qrZoom .modal-body img { width: min(18rem, 70vw); margin-inline: auto; background: #fff; }

/* --------------------------------------------------------------------------
   6. 小屏
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .hero-sub { font-size: 1.05rem; }
  .topic-row { padding: 1.25rem 0; }
  .topic-desc { margin-top: 0.35rem; }
  .club-panel .card-body { min-height: 0; }
  .panel-core { font-size: 1.9rem; }
}

/* 二维码拇指图外面套了一层按钮，去掉按钮自带的框 */
.qr-thumb-button {
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
}

/* 面板拉高后中间会空，用两圈细环托住「Think. Learn. Connect.」 */
.club-panel .card-body { position: relative; overflow: hidden; }
.club-panel .card-body > * { position: relative; z-index: 1; }
.club-panel .card-body::before,
.club-panel .card-body::after {
  content: "";
  position: absolute;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  z-index: 0;
}
/* 环挂在右边缘，不跟左边的文字抢位置 */
.club-panel .card-body::before {
  right: -4rem;
  width: 20rem;
  height: 20rem;
  margin-top: -10rem;
}
.club-panel .card-body::after {
  right: -1.5rem;
  width: 14rem;
  height: 14rem;
  margin-top: -7rem;
  border-color: rgba(176, 224, 32, 0.18);
}

/* 精选文章眼下只有一句说明加两个入口，收窄上下留白，别撑成一整屏 */
.articles { padding-block: clamp(2.75rem, 4.5vw, 3.75rem); }
