/* ==========================================================================
   Shadowrocket官方下载 · faq.css(FAQ 页专属)
   分类问答区块:左列粘性分类头 + 右列折叠问答
   ========================================================================== */

.faq-hero{
  max-width:860px;
  padding-bottom:40px;
  margin-bottom:72px;
  border-bottom:1px solid var(--border);
}

.faq-lede{
  max-width:70ch;
  margin-top:18px;
  font-size:17px;
  line-height:1.75;
  color:var(--text-muted);
}

.faq-jump{
  min-width:0;
}

.faq-jump .toc{
  margin-top:30px;
  margin-bottom:0;
}

.faq-cat{
  display:grid;
  grid-template-columns:minmax(0,260px) minmax(0,1fr);
  gap:clamp(24px,4vw,56px);
  align-items:start;
  min-width:0;
}

.faq-cat + .faq-cat{
  margin-top:72px;
  padding-top:72px;
  border-top:1px solid var(--border);
}

.faq-cat-head{
  position:sticky;
  top:calc(var(--head-h) + 24px);
  min-width:0;
}

.faq-cat-note{
  margin-top:12px;
  font-size:15px;
  line-height:1.7;
  color:var(--text-muted);
}

.faq-col{
  min-width:0;
  max-width:820px;
}

.faq-col > .callout{
  margin-bottom:18px;
}

.faq-more{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-width:0;
  padding:clamp(24px,3vw,36px);
  border:1px solid var(--border);
  border-radius:var(--r-card);
  background:var(--bg-panel);
}

.faq-more-copy{
  min-width:0;
}

.faq-more h2{
  font-size:clamp(20px,1.9vw,24px);
}

.faq-more p{
  margin-top:10px;
  max-width:56ch;
  font-size:15px;
  line-height:1.7;
  color:var(--text-muted);
}

.faq-more-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

@media (max-width:960px){
  .faq-hero{
    padding-bottom:32px;
    margin-bottom:56px;
  }

  .faq-cat{
    grid-template-columns:minmax(0,1fr);
    gap:24px;
  }

  .faq-cat-head{
    position:static;
  }

  .faq-cat + .faq-cat{
    margin-top:56px;
    padding-top:56px;
  }

  .faq-col{
    max-width:none;
  }
}

@media (max-width:640px){
  .faq-more{
    flex-direction:column;
    align-items:flex-start;
  }

  .faq-more-actions{
    width:100%;
  }
}