/* aftertaste HK — 了解更多（常見問題）。樣式限定喺 .at-lm 入面。 */
.at-lm{
  --plum:#57233D; --plum-700:#461B31; --plum-soft:#EFE3E8;
  --apricot:#D9884A; --apricot-text:#B16225; --apricot-soft:#FBEBDD;
  --bg:#F9F4EF; --surface:#FFFFFF; --surface-2:#FBF7F3; --line:#E7DDD3; --line-soft:#F1E9E1;
  --body:#2B2422; --muted:#6E605A; --faint:#A0928A;
  --font:'Noto Sans HK',-apple-system,'PingFang HK','Microsoft JhengHei',sans-serif;
  max-width:860px; margin:0 auto; padding:24px 20px 80px;
  color:var(--body); font-family:var(--font); font-size:16px; line-height:1.75; -webkit-font-smoothing:antialiased;
}
.at-lm *,.at-lm *::before,.at-lm *::after{ box-sizing:border-box; }
.at-lm h1,.at-lm h2,.at-lm p{ margin:0; font-family:inherit; letter-spacing:normal; }
:where(.at-lm) :where(button,input){ font:inherit; color:inherit; }
:where(.at-lm) button{ cursor:pointer; }
.at-lm a{ color:var(--plum); }
.at-lm :focus-visible{ outline:2px solid var(--apricot); outline-offset:2px; }

.lm-eyebrow{ display:inline-block; font-size:12px; font-weight:600; letter-spacing:.16em; color:var(--apricot-text);
  background:var(--apricot-soft); border-radius:999px; padding:5px 12px; }
.lm-head h1{ font-size:clamp(28px,4vw,40px); font-weight:600; color:var(--plum); margin-top:14px!important; }
.lm-head > p{ font-size:16px; color:var(--muted); line-height:1.9; margin-top:10px!important; max-width:60ch; }

/* 搜尋 */
.lm-search{ position:relative; margin-top:22px; }
.lm-search svg{ position:absolute; left:16px; top:50%; transform:translateY(-50%); width:19px; height:19px; color:var(--faint); pointer-events:none; }
.lm-search input{ width:100%; height:54px; border:1px solid var(--line); border-radius:14px; background:#fff; padding:0 16px 0 46px; font-size:16px; }
.lm-search input:focus{ outline:none; border-color:var(--plum); box-shadow:0 0 0 3px rgba(87,35,61,.12); }

/* 分類 */
.lm-chips{ display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; }
.lm-chip{ height:38px; padding:0 15px; border-radius:999px; border:1px solid var(--line); background:#fff;
  font-size:14px; font-weight:500; color:var(--muted); white-space:nowrap; }
.lm-chip:hover{ border-color:#D5C6B9; color:var(--body); }
.lm-chip.on{ background:var(--plum); border-color:var(--plum); color:#fff; font-weight:600; }
.lm-count{ margin-top:12px; font-size:13.5px; color:var(--faint); }

/* 問題 */
.lm-group{ margin-top:34px; }
.lm-group h2{ font-size:19px; font-weight:600; color:var(--plum); margin-bottom:10px; }
.lm-item{ background:var(--surface); border:1px solid var(--line); border-radius:14px; margin-bottom:8px; overflow:hidden; }
.lm-q{ display:flex; align-items:flex-start; justify-content:space-between; gap:14px; width:100%; text-align:left;
  border:0; background:none; padding:16px 18px; font-size:16px; font-weight:600; line-height:1.6; }
.lm-q i{ width:11px; height:11px; border-right:2px solid var(--plum); border-bottom:2px solid var(--plum);
  transform:rotate(45deg); transition:transform .18s ease; flex:0 0 auto; margin-top:6px; }
.lm-item.open .lm-q i{ transform:rotate(-135deg); margin-top:11px; }
.lm-a{ display:none; padding:0 18px 16px; }
.lm-a p{ font-size:15px; color:var(--muted); line-height:1.95; }
.lm-item.open .lm-a{ display:block; }
.at-lm mark{ background:#FBEBDD; color:var(--apricot-text); border-radius:4px; padding:0 2px; }

.lm-empty{ margin-top:30px; background:var(--surface); border:1px dashed var(--line); border-radius:18px; padding:40px 24px; text-align:center; }
.lm-empty b{ display:block; font-size:17px; color:var(--body); }
.lm-empty p{ margin-top:8px!important; font-size:14.5px; color:var(--muted); }

/* 行動呼籲 */
.lm-cta{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:46px; padding:24px 26px; border-radius:22px;
  background:linear-gradient(145deg,#57233D 0%,#2E1220 100%); color:#F6EEE8; }
.lm-cta b{ display:block; font-size:19px; font-weight:600; color:#fff; }
.lm-cta span{ display:block; font-size:14px; color:rgba(246,238,232,.82); margin-top:3px; }
.lm-cta-btns{ margin-left:auto; display:flex; gap:10px; flex-wrap:wrap; }
.lm-btn{ display:inline-flex; align-items:center; justify-content:center; height:48px; padding:0 20px; border-radius:13px;
  font-size:15px; font-weight:600; text-decoration:none; border:1px solid transparent; white-space:nowrap; }
.lm-btn.light{ background:#fff; color:var(--plum); }
.lm-btn.ghost{ border-color:rgba(255,255,255,.45); color:#fff; }
.lm-btn.ghost:hover{ background:rgba(255,255,255,.14); border-color:#fff; }

@media (max-width:640px){
  .at-lm{ padding:18px 16px 60px; }
  .lm-cta{ padding:20px 18px; }
  .lm-cta-btns{ margin-left:0; width:100%; }
  .lm-cta-btns .lm-btn{ flex:1; }
}
@media (prefers-reduced-motion:reduce){ .lm-q i{ transition:none; } }
