/* 제품·기술 페이지 하단 FAQ. 문답 HTML 은 서버(theme/basic/lib/faq.php)가 출력한다.
   색·간격은 저널 목록의 아코디언(journal/styles.css)과 맞췄다. */
.faq {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 8vw, 130px) clamp(24px, 5vw, 60px);
  background: #fff;
  color: #111;
}
.faq__inner { max-width: 1280px; margin: 0 auto; }
.faq__title {
  margin: 0 0 clamp(28px, 3.2vw, 48px);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.faq__item { border-bottom: 1px solid #ececec; }
.faq__item:first-child { border-top: 1px solid #ececec; }

.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 2vw, 26px) clamp(8px, 1.5vw, 22px);
  transition: background-color 0.2s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }
.faq__q:hover,
.faq__item[open] > .faq__q { background: #fff1e6; }
.faq__q:focus-visible { outline: 2px solid var(--color-primary, #f26521); outline-offset: -2px; }
.faq__q-text {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 600;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.faq__chev {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: -3px;
  border-right: 2px solid var(--color-primary, #f26521);
  border-bottom: 2px solid var(--color-primary, #f26521);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
.faq__item[open] .faq__chev { transform: rotate(-135deg); margin-top: 3px; }

.faq__a {
  padding: clamp(18px, 2vw, 28px) clamp(8px, 1.5vw, 22px) clamp(28px, 3vw, 44px);
  color: #333;
  font-size: clamp(16px, 1.1vw, 17px);
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.faq__a p { margin: 0 0 14px; }
.faq__a ul { margin: 0 0 14px; padding-left: 1.2em; list-style: disc; }
.faq__a li { margin: 0 0 6px; }
.faq__a strong { color: #111; font-weight: 600; }
.faq__a > :last-child { margin-bottom: 0; }
.faq__sub { margin: 22px 0 10px; color: #111; font-size: 1.05em; font-weight: 700; line-height: 1.5; }
.faq__fn { margin-left: 1px; color: var(--color-primary, #f26521); font-size: 0.7em; }

/* 표: 좁은 화면에서는 표만 가로로 스크롤 */
.faq__table { margin: 4px 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.faq__table:focus-visible { outline: 2px solid var(--color-primary, #f26521); outline-offset: 2px; }
.faq__table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.95em; }
.faq__table th,
.faq__table td { padding: 12px 14px; border: 1px solid #e3e3e3; line-height: 1.6; text-align: left; vertical-align: top; }
.faq__table thead th { background: #faf6f2; color: #111; font-weight: 600; }
.faq__table tbody th { background: #fcfbfa; color: #111; font-weight: 600; white-space: nowrap; }

.faq__refs { margin: 14px 0 0; padding-left: 1.4em; color: #666; font-size: 0.9em; }
.faq__refs li { margin: 0 0 4px; }

@media (prefers-reduced-motion: reduce) {
  .faq__q,
  .faq__chev { transition: none; }
}
