/* ==========================
   FAQ module - 2FA.HK unified style
   ========================== */
.faq-page{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 0 22px;
}
.faq-hero,
.faq-card,
.faq-bottom-links,
.faq-breadcrumb,
.faq-top-links{
  border:1px solid rgba(15,35,55,.06);
  background:#fff;
  box-shadow:0 10px 28px rgba(16,36,56,.06);
  border-radius:18px;
}
.faq-hero{
  overflow:hidden;
  margin:0 auto 18px;
  background:
    radial-gradient(circle at 12% 10%,rgba(22,119,255,.2),transparent 34%),
    linear-gradient(135deg,#ffffff,#f5f9ff 52%,#eef6ff);
}
.faq-hero__content{ padding:30px 28px; }
.faq-kicker{
  color:#1677ff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.faq-hero h1,
.faq-article__head h1{
  margin:8px 0 12px;
  color:#0f172a;
  font-size:32px;
  line-height:1.25;
  letter-spacing:-.02em;
}
.faq-hero p{
  max-width:880px;
  margin:0;
  color:#475569;
  line-height:1.9;
  font-size:16px;
}
.faq-top-links,
.faq-bottom-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding:12px;
}
.faq-top-links{ margin-top:18px; width:max-content; max-width:100%; }
.faq-detail-links{ width:auto; margin:0 0 16px; }
.faq-top-links a,
.faq-bottom-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 13px;
  border-radius:999px;
  background:#eef6ff;
  color:#0754b8;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}
.faq-top-links a:hover,
.faq-bottom-links a:hover{
  background:#1677ff;
  color:#fff;
}
.faq-layout,
.faq-detail-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:18px;
  align-items:start;
}
.faq-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.faq-card{ padding:20px; }
.faq-item{
  min-height:210px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.faq-item__title{
  color:#0f172a;
  font-size:19px;
  font-weight:900;
  line-height:1.35;
  text-decoration:none;
}
.faq-item__title:hover{ color:#1677ff; }
.faq-item__question{
  margin:0;
  color:#0754b8;
  font-weight:800;
  line-height:1.65;
}
.faq-item__excerpt{
  margin:0;
  color:#475569;
  line-height:1.75;
  flex:1;
}
.faq-item__meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:4px;
}
.faq-item__meta span{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 9px;
  border-radius:999px;
  background:#f8fafc;
  color:#64748b;
  font-size:12px;
  font-weight:700;
}
.faq-side{
  display:flex;
  flex-direction:column;
  gap:16px;
  min-width:0;
}
.faq-side-card h2{
  margin:0 0 12px;
  color:#0f172a;
  font-size:18px;
  line-height:1.35;
}
.faq-side-card ul{
  list-style:none;
  padding:0;
  margin:0;
}
.faq-side-card li + li{ border-top:1px solid #eef2f7; }
.faq-side-card li a{
  display:block;
  padding:10px 0;
  color:#334155;
  font-weight:800;
  line-height:1.5;
  text-decoration:none;
}
.faq-side-card li a:hover{ color:#1677ff; }
.faq-tool-card p,
.faq-muted{
  margin:0 0 12px;
  color:#64748b;
  line-height:1.75;
}
.faq-primary-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 15px;
  border-radius:999px;
  background:#1677ff;
  color:#fff;
  font-weight:900;
  text-decoration:none;
}
.faq-primary-link:hover{ background:#0754b8; color:#fff; }
.faq-pagination{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}
.faq-pagination a,
.faq-pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  color:#334155;
}
.faq-pagination span,
.faq-pagination a:hover{
  background:#1677ff;
  color:#fff;
  border-color:#1677ff;
}
.faq-bottom-links{ margin-top:18px; justify-content:center; }
.faq-breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  padding:12px 16px;
  margin-bottom:12px;
  color:#64748b;
  font-size:13px;
}
.faq-breadcrumb a{ color:#0754b8; text-decoration:none; font-weight:800; }
.faq-breadcrumb a:hover{ color:#1677ff; }
.faq-article{ padding:26px; }
.faq-article__head{
  padding-bottom:18px;
  margin-bottom:18px;
  border-bottom:1px solid #eef2f7;
}
.faq-question-main{
  margin:0 0 10px;
  color:#0754b8;
  font-size:18px;
  font-weight:900;
  line-height:1.65;
}
.faq-article__desc{
  margin:0 0 10px;
  color:#475569;
  line-height:1.85;
}
.faq-answer-content{
  color:#263241;
  font-size:16px;
  line-height:1.95;
  word-break:break-word;
}
.faq-answer-content p{ margin:0 0 14px; }
.faq-answer-content h2,
.faq-answer-content h3,
.faq-answer-content h4{
  margin:24px 0 12px;
  color:#0f172a;
  line-height:1.35;
}
.faq-answer-content ul,
.faq-answer-content ol{ padding-left:22px; }
.faq-answer-content a{ color:#1677ff; font-weight:800; }
.faq-answer-content img{
  max-width:100%;
  height:auto;
  border-radius:14px;
}
.faq-empty{ text-align:center; color:#64748b; }
.faq-empty h2{ margin:0 0 8px; color:#0f172a; }
@media (max-width:980px){
  .faq-layout,
  .faq-detail-layout{ grid-template-columns:1fr; }
  .faq-side{ order:2; }
}
@media (max-width:760px){
  .faq-hero__content{ padding:24px 18px; }
  .faq-hero h1,
  .faq-article__head h1{ font-size:24px; }
  .faq-list{ grid-template-columns:1fr; }
  .faq-card,
  .faq-article{ padding:18px; border-radius:16px; }
  .faq-top-links{ width:100%; }
  .faq-top-links a,
  .faq-bottom-links a{ flex:1 1 auto; }
}
