/* FAQ — warm editorial layout, scoped to the standalone FAQ page. */
.faq-document { scroll-behavior: auto; }
.faq-page {
  --faq-ink: #27231f;
  --faq-muted: #756e65;
  --faq-brown: #866548;
  --faq-line: #d8cbbb;
  background: #f7f1e9;
  color: var(--faq-ink);
}
.faq-page .mobile-menu-button[hidden] { display: none !important; }
.faq-skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 4000;
  padding: 12px 20px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: #27231f;
  color: #fffaf3;
}
.faq-skip-link:focus { transform: none; }
.faq-page :is(a, button, input, summary):focus-visible {
  outline: 2px solid #866548;
  outline-offset: 5px;
}
.faq-hero { border-bottom: 1px solid var(--faq-line); }
.faq-eyebrow { margin: 0 0 13px; color: var(--accent); font-size: 11px; font-weight: 700; line-height: 1.65; letter-spacing: .12em; }
.faq-intro { color: var(--muted); }
.faq-page .desktop-nav a[aria-current="page"] { color: var(--ink); }
.faq-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 34px; margin-top: 34px; align-items: start; }
.faq-sidebar { position: sticky; top: 106px; min-width: 0; padding-right: 22px; border-right: 1px solid var(--faq-line); }
.faq-sidebar h2 { margin: 0 0 20px; font-family: "Noto Serif TC", serif; font-size: 24px; }
.faq-category-nav { display: flex; flex-direction: column; gap: 4px; }
.faq-category-nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; padding: 12px 16px; border-radius: 10px; font-size: 15px; transition: background-color .15s ease; }
.faq-category-nav a:hover { background: rgba(233, 221, 206, .5); }
.faq-category-nav a[aria-current="true"] { background: #ece0d2; color: #765338; }
.faq-category-count { display: inline-grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 252, 247, .7); font-size: 13px; }
.faq-content { min-width: 0; scroll-margin-top: 102px; }
.faq-search { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 18px; border: 1px solid #cbb7a2; border-radius: 999px; background: rgba(255, 253, 249, .4); }
.faq-search:focus-within { border-color: #866548; box-shadow: 0 0 0 2px rgba(134, 101, 72, .08); }
.faq-search svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.faq-search input { flex: 1; min-width: 0; width: 100%; padding: 14px 0; border: 0; outline: none; background: transparent; color: var(--faq-ink); font-size: 15px; }
.faq-search input::-webkit-search-cancel-button { display: none; }
.faq-search input::placeholder { color: #958b80; }
.faq-clear-search { flex: 0 0 auto; padding: 5px 0 5px 8px; border: 0; background: none; color: var(--faq-brown); font-size: 13px; }
.faq-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.faq-result-count { margin: 14px 0 22px; color: var(--faq-muted); font-size: 12px; }
.faq-group { margin-bottom: 34px; scroll-margin-top: 100px; }
.faq-group h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; padding-left: 16px; font-family: "Noto Serif TC", serif; font-size: 20px; font-weight: 600; }
.faq-group h2 > span { color: var(--faq-brown); font-size: 10px; letter-spacing: .1em; }
.faq-item { margin: 0; border: 1px solid transparent; border-bottom-color: var(--faq-line); scroll-margin-top: 104px; }
.faq-item summary { display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; align-items: start; gap: 14px; padding: 22px 16px; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-number { padding-top: 3px; color: var(--faq-brown); font-size: 17px; line-height: 1.5; }
.faq-question { font-size: 17px; font-weight: 600; line-height: 1.75; overflow-wrap: anywhere; }
.faq-toggle { position: relative; width: 18px; height: 18px; margin-top: 7px; color: var(--faq-brown); }
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 1px; background: currentColor; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-item[open] { margin: 6px 0; border-color: var(--faq-line); border-radius: 12px; background: rgba(239, 229, 216, .65); }
.faq-item[open] .faq-toggle::after { display: none; }
.faq-answer { padding: 0 48px 24px 58px; color: #625a51; font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 10px; }
.faq-answer a { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: #765338; text-decoration: underline; text-underline-offset: 5px; }
.faq-empty { padding: 52px 24px; border: 1px dashed var(--faq-line); border-radius: 14px; text-align: center; }
.faq-empty > span { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--faq-line); border-radius: 50%; color: var(--faq-brown); font-size: 24px; }
.faq-empty h2 { margin: 18px 0 10px; font-family: "Noto Serif TC", serif; font-size: 24px; }
.faq-empty p { color: var(--faq-muted); }
.faq-empty button { min-height: 44px; padding: 9px 20px; border: 1px solid var(--faq-brown); border-radius: 999px; background: transparent; color: var(--faq-brown); }
.faq-contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 20px; padding: 30px 40px; border-radius: 16px; background: #eee3d5; }
.faq-contact h2 { margin: 0 0 8px; font-family: "Noto Serif TC", serif; font-size: 30px; line-height: 1.5; }
.faq-contact p:not(.faq-eyebrow) { margin: 0; color: #756a5e; }
.faq-contact-email { display: inline-block; margin-top: 8px; color: #765338; font-size: 13px; overflow-wrap: anywhere; }
.faq-contact-email:hover { text-decoration: underline; }
.faq-contact-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 22px; min-width: 184px; min-height: 54px; padding: 12px 28px; border-radius: 999px; background: #27231f; color: #fffaf3; font-family: "Noto Serif TC", serif; font-size: 17px; }
.faq-contact-button:hover { background: #493b30; }
.faq-footer { padding: 24px max(40px, calc((100vw - 1200px) / 2)) 22px; border-top: 1px solid var(--faq-line); }
.faq-footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.faq-footer-motto { display: flex; align-items: center; gap: 18px; font-family: "Noto Serif TC", serif; font-size: 13px; }
.faq-footer-motto .brand-seal { flex: 0 0 38px; }
.faq-footer nav { display: flex; flex-wrap: wrap; gap: 18px; color: var(--faq-muted); font-size: 12px; }
.faq-footer nav a:hover, .faq-footer nav a[aria-current="page"] { color: #765338; text-decoration: underline; text-underline-offset: 4px; }
.faq-footer > p { margin: 18px 0 0; color: var(--faq-brown); font-size: 9px; letter-spacing: .22em; }
.faq-noscript { padding: 16px; border: 1px solid var(--faq-line); border-radius: 10px; color: var(--faq-muted); }
.faq-mobile-menu .mobile-menu-nav a[aria-current="page"] { color: #765338; background: #ece0d2; }
.faq-explore-location { display: grid; gap: 10px; }
.faq-explore-location :is(input, select, button) { min-width: 0; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--faq-line); border-radius: 10px; background: #fffaf3; color: var(--ink); }
.faq-explore-location button { background: #866548; color: white; }
.faq-mobile-menu .mobile-category-item > a { display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid #dacbbb; border-radius: 50%; background: #fffaf3; }
.faq-mobile-menu .mobile-category-item svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.faq-mobile-menu #faqExploreDataStatus { color: var(--muted); font-size: 12px; }
.faq-mobile-menu .mobile-filter-section > a { display: inline-block; margin-top: 12px; color: #765338; font-size: 13px; }
@media (max-width: 1000px) {
  .faq-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .faq-sidebar { padding-right: 16px; }
  .faq-category-nav a { padding-inline: 12px; font-size: 15px; }
}
@media (max-width: 760px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 26px; }
  .faq-sidebar { position: static; padding: 0; border: 0; }
  .faq-sidebar > .faq-eyebrow { margin-bottom: 8px; }
  .faq-sidebar h2 { margin-bottom: 14px; font-size: 22px; }
  .faq-category-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .faq-category-nav a { justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--faq-line); border-radius: 999px; font-family: "Noto Sans TC", sans-serif; font-size: 13px; }
  .faq-category-count { flex-basis: 24px; width: 24px; height: 24px; font-size: 11px; }
  .faq-content { scroll-margin-top: 88px; }
  .faq-search { min-height: 50px; padding: 0 14px; gap: 10px; }
  .faq-search input { padding-block: 12px; font-size: 16px; }
  .faq-search input::placeholder { font-size: 13px; }
  .faq-result-count { margin-bottom: 18px; }
  .faq-group { margin-bottom: 28px; }
  .faq-group h2 { flex-wrap: wrap; gap: 7px; padding-left: 8px; font-size: 18px; }
  .faq-group h2 > span { font-size: 9px; }
  .faq-item summary { grid-template-columns: 22px minmax(0, 1fr) 16px; gap: 10px; padding: 18px 10px; }
  .faq-number { font-size: 16px; padding-top: 2px; }
  .faq-question { font-size: 16px; line-height: 1.8; }
  .faq-toggle { width: 16px; height: 16px; margin-top: 6px; }
  .faq-toggle::before, .faq-toggle::after { width: 16px; }
  .faq-answer { padding: 0 18px 22px 42px; font-size: 14px; line-height: 1.95; }
  .faq-contact { flex-direction: column; align-items: stretch; gap: 22px; margin-top: 12px; padding: 26px 24px; }
  .faq-contact h2 { font-size: 26px; }
  .faq-contact p:not(.faq-eyebrow) { font-size: 14px; }
  .faq-contact-email { font-size: 12px; }
  .faq-contact-button { min-width: 0; min-height: 50px; align-self: flex-start; font-size: 16px; }
  .faq-footer { padding: 24px 20px; }
  .faq-footer-top { flex-direction: column; align-items: flex-start; gap: 22px; }
  .faq-footer-motto { font-size: 12px; gap: 12px; }
  .faq-footer nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-page { scroll-behavior: auto; }
  .faq-page *, .faq-page *::before, .faq-page *::after { transition: none !important; }
}
