/* Only the FAQ template loads this sheet. */
.faq-wrap {
  max-width: none; padding: clamp(30px, 4vw, 60px) clamp(14px, 4vw, 60px);
  background: #FFFFFF;
}
.faq-wrap .faq-contact { margin: 0; padding: 0; }
.faq-wrap .section-title { max-width: 76ch; margin: 0 auto clamp(24px, 3vw, 42px); }
.faq-wrap .section-title h2 { margin: 0; color: var(--primary-color); font-size: clamp(32px, 3.5vw, 52px); line-height: 1.12; }
.faq-wrap .section-title .bar { width: 65px; height: 4px; margin: 13px auto; border-radius: 90% 10%; background: var(--primary-color); }
.faq-wrap .section-title .bar::before { content: none; }
.faq-wrap .section-title p { max-width: none; color: var(--text-color); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; }
.faq-layout { display: block; max-width: 1040px; margin: 0 auto; }
.faq-tabs { position: static; width: auto; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; background: transparent; }
.faq-tabs .faq-tab { width: auto; min-height: 44px; }
.faq-tabs .faq-tab:only-child {
  gap: 12px; padding: 4px 0; margin-bottom: 8px; color: var(--primary-color); border: 0; background: transparent;
  font-size: clamp(23px, 2.3vw, 34px); line-height: 1.2; font-weight: 650; letter-spacing: -.03em;
}
.faq-tab:only-child::before { content: ""; width: 32px; height: 3px; background: var(--cml-accent); }
.faq-main { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.faq-layout:has(.faq-tab:only-child) .faq-section-head {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0;
}
.faq-accordion { display: grid; gap: 8px; padding: 4px 0; }
.faq-item, .faq-item:last-child {
  border: 1px solid var(--cml-divider); border-radius: 12px;
  background: #FFFFFF;
}
.faq-item.open { border-color: var(--cml-accent); background: #FFFFFF; }
.faq-wrap .faq-q {
  display: grid; grid-template-columns: 39px minmax(0, 1fr) 26px; gap: 15px;
  padding: 10px 17px; min-height: 52px; border-radius: 11px; color: var(--primary-color);
  font: 600 clamp(16px, 1.3vw, 20px)/1.4 Poppins, sans-serif;
}
.faq-topic, .faq-indicator { display: grid; place-items: center; color: var(--primary-color); background: var(--cml-surface); }
.faq-topic { width: 39px; height: 32px; border-radius: 9px; font-size: 16px; }
.faq-indicator { position: relative; width: 26px; height: 26px; border-radius: 50%; }
.faq-indicator::before, .faq-indicator::after { content: ""; position: absolute; width: 12px; height: 2px; background: currentColor; }
.faq-indicator::after { transform: rotate(90deg); }
.faq-q[aria-expanded=true] .faq-indicator { background: var(--primary-color); color: white; }
.faq-q[aria-expanded=true] .faq-indicator::after { transform: rotate(0); }
.faq-wrap :is(.faq-q,.faq-tab,.faq-a a):focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px; }
.faq-wrap .faq-a {
  padding: 0 24px 18px 71px; max-width: 86ch; color: var(--text-color);
  font-size: clamp(16px, 1.16vw, 18px); line-height: 1.68; font-weight: 400; overflow-wrap: anywhere;
}
.faq-a p { font: inherit; color: inherit; margin-bottom: .7em; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--primary-color); text-decoration: underline; text-underline-offset: .18em; }
@media (hover:hover) { .faq-item:hover { border-color: var(--cml-accent); } }
@media (prefers-reduced-motion:no-preference) {
  .faq-item { transition: border-color .18s ease; }
  .faq-indicator::after { transition: transform .18s ease; }
}
@media (max-width: 575px) {
  .faq-wrap .faq-q { grid-template-columns: 29px minmax(0,1fr) 24px; gap: 9px; padding: 10px; }
  .faq-topic { width: 29px; height: 29px; font-size: 14px; }
  .faq-wrap .faq-a { padding: 2px 14px 16px; }
}
