/* FAQ page topics (Oct 2026): a simple row of topic titles + one panel of questions per topic. */
.faq-topics { max-width: 1200px; margin: 0 auto 40px; padding: 0 24px; }
.faq-topics__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none;
    border: 1px solid var(--th-line); border-radius: 12px; overflow: hidden; background: #FAFAFA; }
.faq-topics__li + .faq-topics__li { border-left: 1px solid var(--th-line); }
.faq-topic { position: relative; display: flex; align-items: center; width: 100%; height: 100%; min-height: 64px; padding: 18px 20px; border: 0;
    background: none; font: inherit; text-align: left; cursor: pointer; transition: background-color .2s ease; }
.faq-topic::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: transparent; }
.faq-topic:hover, .faq-topic.is-active { background: #fff; }
.faq-topic.is-active::before { background: var(--c); }
.faq-topic:focus-visible { outline: 2px solid var(--c); outline-offset: -2px; }
.faq-topic__title { font-size: 16px; line-height: 22px; font-weight: 700; color: #6B7A72; }
.faq-topic:hover .faq-topic__title, .faq-topic.is-active .faq-topic__title { color: var(--th-ink); }

/* panel heading */
.faq-panel[hidden] { display: none; }
.faq-panel { animation: faq-in .3s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pg-page .faq-panel__title { margin: 0 0 22px; padding-left: 16px; border-left: 4px solid var(--c); font-size: 28px; line-height: 36px; font-weight: 700; color: var(--th-ink); }

/* questions are h3 inside a topic */
.pg-page .faq-item__q h3 { margin: 0; font-size: 18px; line-height: 26px; font-weight: 700; color: var(--th-ink); }
.faq-item__q:hover h3 { color: var(--th-green-700); }
.faq-item__a ol { padding-left: 22px; }
.faq-item__a table { font-size: 14px; }
.faq-item__a table td:not(:first-child), .faq-item__a table th:not(:first-child) { white-space: nowrap; }

@media (max-width: 767px) {
    .faq-topics { padding: 0 16px; margin-bottom: 28px; }
    .faq-topic { min-height: 56px; padding: 12px 10px; justify-content: center; text-align: center; }
    .faq-topic__title { font-size: 13px; line-height: 17px; }
    .pg-page .faq-panel__title { font-size: 22px; line-height: 30px; }
    .pg-page .faq-item__q h3 { font-size: 16px; line-height: 24px; }
    .faq-item__a table { font-size: 12.5px; }
    .faq-item__a th, .faq-item__a td { padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .faq-panel { animation: none; }
}
