/* ==========================================================================
   D.U.K. / FAQ page (CMS page, link_rewrite "duk" / "faq")
   Markup lives in the CMS page content (plain, editor-safe HTML):
     .duk-faq > .duk-faq__cat (h2) + .duk-faq__item (h3.duk-faq__q + .duk-faq__a)
   The accordion behaviour is added by assets/js/custom.js, which toggles
   .is-open on each .duk-faq__item. Without JS the page degrades to an
   always-expanded, fully readable Q&A list.
   ========================================================================== */

.duk-faq {
  max-width: 860px;
  margin: 0 auto;
}

.duk-faq__intro {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.duk-faq__cat {
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e6e6e6;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}

.duk-faq__item {
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  margin: 0 0 10px;
  background: #fff;
  overflow: hidden;
}

.duk-faq__q {
  position: relative;
  margin: 0;
  padding: 16px 44px 16px 18px;
  font-size: 18px; /* Figma accordion question 18 Medium */
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  cursor: pointer;
}

/* +/- indicator (only shown once JS marks the page as interactive) */
.duk-faq.is-interactive .duk-faq__q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #888;
  line-height: 1;
}

.duk-faq.is-interactive .duk-faq__item.is-open .duk-faq__q::after {
  content: "\2212"; /* minus */
}

.duk-faq.is-interactive .duk-faq__item.is-open .duk-faq__q {
  color: #000;
}

.duk-faq__a {
  padding: 0 18px 18px;
  font-size: 16px; /* Figma answer/body 16 */
  line-height: 1.65;
  color: #444;
}

.duk-faq__a p {
  margin: 0 0 10px;
}

.duk-faq__a p:last-child {
  margin-bottom: 0;
}

.duk-faq__a ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.duk-faq__a li {
  margin: 0 0 6px;
}

/* Collapsed state — only applied when JS is active, so no-JS users see everything */
.duk-faq.is-interactive .duk-faq__item:not(.is-open) .duk-faq__a {
  display: none;
}

@media (max-width: 575px) {
  .duk-faq__cat { font-size: 20px; }
  .duk-faq__q { font-size: 16px; padding: 14px 40px 14px 14px; } /* Figma 18 -> Figtree-adjusted 16 */
  .duk-faq__a { padding: 0 14px 14px; font-size: 16px; } /* Figma body 16 */
}
