/* ── Shared FAQ accordion — matches the rendered FAQ on join-zsu-contract.html ──
   Exact mirror of the css/rekrutynh.css FAQ block (panel style: 900px list,
   --lp-panel-bg / --lp-panel-border, 24px toggle, black .2 answer), which the
   reference page loads after vacancies/index.css. Scoped titles included for
   pages that do not load vacancies/index.css. Load AFTER page stylesheets on
   every page that renders a .faq-section. */

.faq-section {
  padding: 80px 0;
  position: relative;
  z-index: 4;
}

.faq-section .section-title {
  font-family: "u3", sans-serif;
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  color: var(--gold-light, #ffe7ba);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.faq-section .section-subtitle {
  font-family: "u3", sans-serif;
  font-size: 16px;
  text-align: center;
  color: rgba(255, 231, 186, 0.6);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.5;
}

.faq-category-title {
  font-family: "u3", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffa600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 36px 0 14px;
}

.faq-category-title:first-child {
  margin-top: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  background: var(--lp-panel-bg, rgba(21, 40, 48, 0.92));
  border: var(--lp-panel-border, 1px solid rgba(255, 231, 186, 0.25));
  transition: border-color 0.3s ease;
  overflow: hidden;
}

.faq-item.active {
  border-color: rgba(255, 231, 186, 0.4);
}

.faq-item__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #ffffff;
}

.faq-item__question {
  font-family: "u3", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #ffe7ba;
  padding-right: 16px;
}

.faq-item__icon {
  width: 24px;
  height: 14px;
  min-width: 24px;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
  background: rgba(0, 0, 0, 0.2);
}

.faq-item__answer p {
  font-family: "u3", sans-serif;
  font-size: 22px;
  color: #ffe7ba;
  line-height: 1.6;
  padding: 0 24px 20px;
  margin: 0;
}

.faq-item__answer a {
  color: #ffa600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.faq-item__answer a:hover {
  color: #ffbe3b;
}

@media (max-width: 1279px) {
  .faq-section .section-title {
    font-size: 24px;
  }

  .faq-section .section-subtitle {
    font-size: 14px;
  }
}

/* Mirrors vacancies/index.css breakpoint order: 28px wins for 768–1279px */
@media (min-width: 768px) and (max-width: 1279px) {
  .faq-section .section-title {
    font-size: 28px;
  }
}
