/* ============================
   FAQ PAGE
   ============================ */

/* Hero (clears the fixed nav, same pattern as the contact page) */
.faq-hero{ padding-top: 168px; padding-bottom: 0; }
.faq-hero .section__head{ max-width: 680px; margin-bottom: 24px; }

.faq-title{
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
}
.faq-intro{
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0;
}

/* Jump links to each course's questions */
.faq-jump{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.faq-jump a{
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.faq-jump a:hover{
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Each course's FAQ block: tighter spacing, and clear of the fixed nav when jumped to */
main > section[id^="faq-"]{
  padding-top: 56px;
  padding-bottom: 24px;
  scroll-margin-top: 110px;
}

/* Small helpers the original course pages relied on */
.hl{
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.aws-faq__q{
  margin: 0;
  font: inherit;
}

@media (max-width: 980px){
  .faq-hero{ padding-top: 148px; }
}
@media (max-width: 720px){
  .faq-hero{ padding-top: 136px; }
}

main > section[id^="faq-"] .section__kicker::before,
main > section[id^="faq-"] .section__kicker::after{
  display: none;
}