/* =========================================================
   Faulkner HR Solutions
   HR FAQ Page Styles
   File: /css/hr-faq.css
   ========================================================= */

/* ── Base FAQ Page ── */

.faq-page {
  background: #fff;
}

/* ── Simple FAQ Header ── */

.faq-header-simple {
  border-bottom: 1px solid #E8EDF2;
  background: #fff;
}

.faq-header-simple__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.faq-header-simple__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.faq-header-simple__brand img {
  width: 48px;
  height: auto;
}

.faq-header-simple__brand span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #1B3A52;
  font-size: 1.1rem;
}

.faq-header-simple__links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.86rem;
  font-weight: 600;
}

.faq-header-simple__links a {
  color: #1B3A52;
  text-decoration: none;
}

.faq-header-simple__links a:hover {
  color: #C49A3C;
}

/* ── FAQ Article Layout ── */

.faq-article-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.faq-return-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #C49A3C;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  margin-bottom: 28px;
}

.faq-return-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transform: rotate(180deg);
}

.faq-return-link:hover {
  color: #1B3A52;
}

.faq-article-label {
  color: #C49A3C;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.faq-article-title {
  font-family: 'Playfair Display', serif;
  color: #1B3A52;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 0 0 20px;
}

.faq-article-subtitle {
  color: #4A5A6A;
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0 0 12px;
}

.faq-updated {
  color: #6B7A8D;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0 34px;
}

/* ── Direct Answer Box ── */

.faq-answer-box {
  background: #F8FAFC;
  border: 1px solid #E8EDF2;
  border-left: 5px solid #C49A3C;
  border-radius: 12px;
  padding: 26px 28px;
  margin: 34px 0;
}

.faq-answer-box h2 {
  font-family: 'Playfair Display', serif;
  color: #1B3A52;
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.faq-answer-box p {
  color: #374A5E;
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

/* ── FAQ Body Content ── */

.faq-content h2 {
  font-family: 'Playfair Display', serif;
  color: #1B3A52;
  font-size: 1.55rem;
  margin: 42px 0 14px;
}

.faq-content h3 {
  color: #1B3A52;
  font-size: 1.05rem;
  margin: 28px 0 10px;
}

.faq-content p {
  color: #4A5A6A;
  font-size: 1rem;
  line-height: 1.82;
  margin: 0 0 18px;
}

.faq-content ul {
  margin: 14px 0 26px;
  padding-left: 22px;
}

.faq-content li {
  color: #4A5A6A;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 8px;
}

/* ── Risk / Stop-and-Review Card ── */

.faq-risk-card {
  background: linear-gradient(135deg, #1B3A52 0%, #0F2535 100%);
  border-radius: 14px;
  padding: 30px 32px;
  margin: 38px 0;
}

.faq-risk-card h2 {
  color: #fff;
  margin-top: 0;
}

.faq-risk-card p,
.faq-risk-card li {
  color: rgba(255,255,255,0.76);
}

.faq-risk-card ul {
  margin-bottom: 0;
}

/* ── Related Resource / Service Cards ── */

.faq-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.faq-related-card {
  border: 1px solid #E8EDF2;
  border-radius: 14px;
  padding: 26px 28px;
  background: #fff;
}

.faq-related-card h2 {
  font-family: 'Playfair Display', serif;
  color: #1B3A52;
  font-size: 1.3rem;
  margin: 0 0 14px;
}

.faq-related-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-related-card li {
  border-top: 1px solid #E8EDF2;
  margin: 0;
}

.faq-related-card li:first-child {
  border-top: none;
}

.faq-related-card a {
  display: block;
  color: #1B3A52;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  padding: 12px 0;
}

.faq-related-card a:hover {
  color: #C49A3C;
}

/* ── Related FAQ Questions ── */

.faq-related-questions {
  border: 1px solid #E8EDF2;
  border-radius: 14px;
  padding: 26px 28px;
  background: #F8FAFC;
  margin-top: 34px;
}

.faq-related-questions h2 {
  font-family: 'Playfair Display', serif;
  color: #1B3A52;
  font-size: 1.3rem;
  margin: 0 0 14px;
}

.faq-related-questions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-related-questions li {
  border-top: 1px solid #E8EDF2;
  margin: 0;
}

.faq-related-questions li:first-child {
  border-top: none;
}

.faq-related-questions a {
  display: block;
  color: #1B3A52;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  padding: 12px 0;
}

.faq-related-questions a:hover {
  color: #C49A3C;
}

/* ── CTA ── */

.faq-cta {
  background: #F8FAFC;
  border: 1px solid #E8EDF2;
  border-radius: 16px;
  padding: 38px 40px;
  text-align: center;
  margin: 54px 0 20px;
}

.faq-cta h2 {
  font-family: 'Playfair Display', serif;
  color: #1B3A52;
  font-size: 1.65rem;
  margin: 0 0 12px;
}

.faq-cta p {
  color: #4A5A6A;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 24px;
}

/* ── Disclaimer ── */

.faq-disclaimer {
  color: #6B7A8D;
  font-size: 0.82rem;
  line-height: 1.7;
  border-top: 1px solid #E8EDF2;
  padding-top: 18px;
  margin: 30px 0 0;
}

/* ── Lite Footer ── */

.faq-lite-footer {
  border-top: 1px solid #E8EDF2;
  padding: 28px 0;
  margin-top: 40px;
  color: #6B7A8D;
  font-size: 0.85rem;
}

.faq-lite-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.faq-lite-footer a {
  color: #1B3A52;
  text-decoration: none;
  font-weight: 600;
}

.faq-lite-footer a:hover {
  color: #C49A3C;
}

/* ── Mobile ── */

@media (max-width: 768px) {
  .faq-header-simple__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-header-simple__links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .faq-answer-box,
  .faq-risk-card,
  .faq-cta,
  .faq-related-card,
  .faq-related-questions {
    padding: 26px 24px;
  }
}