/* 测评页公开说明：面包屑 + 常见问题。
   标记由 tools/build-test-seo.mjs 生成，文案在 data/test-pages.json；
   本文件只管样式。宽度对齐页脚的 --sf-w，配色沿用测评页现有的金 / 紫。 */

.test-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: var(--sf-w, 520px);
  margin: -8px auto 4px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .06em;
  color: #7a6e5c;
  overflow-wrap: anywhere;
}
/* 链接本身字少，补足 44×44 的可点区域，字仍按原位置排 */
.test-breadcrumb a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  color: #b8a98f;
  text-decoration: none;
}
.test-breadcrumb a:first-child { justify-content: flex-start; padding-left: 0; }
.test-breadcrumb a:hover { color: #d4af6a; }
.test-breadcrumb a:focus-visible { outline: 2px solid #d4af6a; outline-offset: -2px; border-radius: 4px; }
.test-breadcrumb [aria-hidden="true"] { padding: 0 6px; }
.test-breadcrumb [aria-current="page"] { padding: 0 0 0 4px; color: #9a8b75; }

.test-faq {
  max-width: var(--sf-w, 520px);
  margin: 56px auto 0;
  scroll-margin-top: 72px;
  text-align: left;
}
.test-faq h2 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .3em;
  color: #d4af6a;
}
.test-faq details {
  border-top: 1px solid #3a2f5a;
}
.test-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 36px 12px 2px;
  font-size: 15px;
  line-height: 1.6;
  color: #ede4cf;
  cursor: pointer;
  list-style: none;
}
.test-faq summary::-webkit-details-marker { display: none; }
.test-faq summary::after {
  content: "＋";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #d4af6a;
}
.test-faq details[open] summary::after { content: "－"; }
.test-faq summary:hover { color: #f0d28a; }
.test-faq summary:focus-visible {
  outline: 2px solid #d4af6a;
  outline-offset: 2px;
  border-radius: 4px;
}
.test-faq details p {
  margin: -2px 0 0;
  padding: 0 28px 18px 2px;
  font-size: 14px;
  line-height: 1.9;
  color: #b8a98f;
}
.test-faq + .sf { margin-top: 40px; }
