/**
 * 首頁 #56 — 資產顧問 vs 傳統仲介（差異對照 + 轉型成果）
 */
.elementor-30827 .elementor-element-82d1ccd {
  background-color: #1b2a4e !important;
  padding-top: clamp(40px, 5vw, 56px) !important;
  padding-bottom: clamp(48px, 6vw, 72px) !important;
}

.elementor-30827 .elementor-element-5f3158c {
  background: transparent !important;
  padding: 0 clamp(16px, 4vw, 24px) !important;
}

.elementor-30827 .elementor-element-82d1ccd .elementor-element-07e4050 .elementor-heading-title {
  color: #fff !important;
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 40px);
  font-size: clamp(1.25rem, 4.5vw, var(--font-h1, 24px)) !important;
  line-height: 1.35 !important;
}

.light-compare {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  color: #fff;
  font-family: "Noto Sans TC", system-ui, sans-serif;
}

.light-compare__block {
  margin-bottom: clamp(40px, 5vw, 56px);
}

.light-compare__block:last-child {
  margin-bottom: 0;
}

.light-compare__title {
  font-size: clamp(1.125rem, 3vw, var(--font-h2, 20px));
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  margin: 0 0 0.35rem;
  color: #fff;
}

.light-compare__subtitle {
  text-align: center;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: #f5b81d;
  margin: 0 0 1.5rem;
}

/* ── 表頭 pill ── */
.light-compare__head {
  display: grid;
  grid-template-columns: minmax(88px, 1.1fr) 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

.light-compare__head-cell {
  font-size: clamp(0.875rem, 1.9vw, 1rem);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.light-compare__head-cell--gold {
  background: #f5b81d;
  color: #1b2a4e;
}

/* ── 資料列 ── */
.light-compare__row {
  display: grid;
  grid-template-columns: minmax(88px, 1.1fr) 1fr 1fr;
  gap: 10px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.light-compare__row:last-of-type {
  border-bottom: none;
}

.light-compare__label {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 500;
  color: #f5b81d;
  padding-top: 2px;
}

.light-compare__cell {
  font-size: clamp(0.95rem, 2.1vw, 1.0625rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.light-compare__cell--consultant {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.light-compare__cell--consultant::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  background: #f5b81d;
  border-radius: 2px;
}

.light-compare__cell--agent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
}

.light-compare__cell--agent::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}

/* ── 差異表底部 ── */
.light-compare__footer {
  text-align: center;
  margin-top: clamp(24px, 3vw, 32px);
}

.light-compare__footer-lead {
  font-size: clamp(1.05rem, 2.3vw, 1.1875rem);
  color: #f5b81d;
  margin: 0 0 12px;
}

.light-compare__footer-badge {
  display: inline-block;
  background: #f5b81d;
  color: #1b2a4e;
  font-weight: 500;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  padding: 12px 20px;
  border-radius: 12px;
  line-height: 1.45;
  max-width: 520px;
}

/* ── 轉型成果表：前/後數值 ── */
.light-compare__metric-before {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  text-align: center;
  display: block;
}

.light-compare__metric-before,
.light-compare__metric-after {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
}

.light-compare__metric-after {
  color: #f5b81d;
  font-weight: 500;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.light-compare__trend {
  font-size: 0.85em;
  line-height: 1;
}

/* ── 轉型表 callout ── */
.light-compare__callout {
  margin-top: clamp(24px, 3vw, 32px);
  padding: 18px 20px 18px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border-left: 4px solid #f5b81d;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.light-compare__callout strong {
  color: #f5b81d;
  font-weight: 500;
}

@media (max-width: 640px) {
  .light-compare__title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .light-compare__subtitle {
    font-size: 1.0625rem;
  }

  .light-compare__label {
    font-size: 1.125rem;
  }

  .light-compare__cell {
    font-size: 1.0625rem;
  }

  .light-compare__metric-before,
  .light-compare__metric-after {
    font-size: 1.125rem;
  }

  .light-compare__head,
  .light-compare__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .light-compare__head-cell:not(.light-compare__head-cell--label) {
    display: none;
  }

  .light-compare__head-cell--label {
    display: none;
  }

  .light-compare__row .light-compare__label {
    grid-column: 1;
    margin-bottom: 4px;
  }

  .light-compare__row .light-compare__cell--consultant::after {
    content: "（資產顧問）";
    font-size: 0.9375rem;
    color: #f5b81d;
    font-weight: 500;
    display: block;
    margin-top: 2px;
  }

  .light-compare__row .light-compare__cell--agent::after {
    content: "（傳統仲介）";
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-top: 2px;
  }

  .light-compare__head {
    display: none;
  }

  .light-compare__mobile-labels {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
  }

  .light-compare__mobile-labels span {
    flex: 1;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 10px 8px;
    border-radius: 999px;
  }

  .light-compare__mobile-labels span:first-child {
    background: #f5b81d;
    color: #1b2a4e;
  }

  .light-compare__mobile-labels span:last-child {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
  }
}

@media (min-width: 641px) {
  .light-compare__mobile-labels {
    display: none;
  }
}
