/* Scoped FAQ: readable articles, native horizontal scrolling without JS. */
#questions {
  display: block;
  padding-block: 36px;
  color: #eee8dc;
}
#questions > div:first-child { display: block; max-width: none; margin-bottom: 24px; }
#questions .faq-emblem { display: none; }
#questions .faq-kicker { margin: 0 0 10px; color: #d6b06a; font-size: 14px; }
#questions h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 40px) !important;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: #eee8dc;
}
#questions .section-intro {
  max-width: 62ch;
  margin: 14px 0 0;
  color: #c4beb3;
  font-size: 17px;
  line-height: 1.6;
}
#questions .faq-scene-note { margin: 8px 0 0; color: #c4beb3; font-size: 12px; line-height: 1.5; }
#questions .faq {
  --faq-visible: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--faq-visible) - 1) * 16px - 8px) / var(--faq-visible));
  align-items: stretch;
  gap: 0 16px;
  min-width: 0;
  border: 0;
  padding: 6px 4px 14px;
  margin-inline: -4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #a58b58 #211e18;
}
#questions .faq > .faq-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 1px solid #655333;
  border-radius: 16px;
  background: #15130f;
  box-shadow: none;
  overflow: visible;
  scroll-snap-align: start;
  overflow-wrap: anywhere;
}
/* Shared intrinsic rows align every title/answer and fit the longest text.
   No fixed card height, clipping or line clamp, including without JavaScript. */
@supports (grid-template-rows: subgrid) {
  #questions .faq { grid-template-rows: auto auto auto; }
  #questions .faq > .faq-card { grid-row: span 3; grid-template-rows: subgrid; }
}
#questions .faq-scene {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  border-bottom: 1px solid #655333;
  background: #211e18;
}
#questions .faq-scene img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
#questions .faq-question-copy { min-width: 0; padding: 20px 18px 16px; }
#questions .faq-question-copy small {
  display: block;
  margin: 0 0 8px;
  color: #c7ae7c;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
}
#questions .faq-question-copy h3 {
  margin: 0;
  color: #eee8dc;
  font-family: inherit;
  font-size: 20px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
}
#questions .faq > .faq-card > p {
  align-self: start;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0 18px 24px;
  color: #c4beb3;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
}
#questions .faq a { color: #ead5a8; text-decoration: underline; text-underline-offset: 4px; }
#questions .faq-carousel-controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
#questions .faq-carousel-counter { margin-right: auto; font-size: 14px; color: #c4beb3; }
#questions .faq-carousel-arrow {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #9c814e;
  border-radius: 50%;
  background: #15130f;
  color: #eee8dc;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
#questions .faq-carousel-arrow[aria-disabled="true"] { opacity: .45; cursor: default; }
#questions .faq-carousel-arrow:hover:not([aria-disabled="true"]) { background: #342b1b; }
#questions .faq:focus-visible,
#questions .faq a:focus-visible,
#questions .faq-carousel-arrow:focus-visible { outline: 3px solid #e4c17f; outline-offset: 2px; }
@media (min-width: 700px) { #questions .faq { --faq-visible: 2; } }
@media (min-width: 1100px) { #questions .faq { --faq-visible: 3; } }
@media (max-width: 699px) {
  #questions .faq-question-copy h3 { font-size: 18px; }
  #questions .faq > .faq-card > p, #questions .section-intro { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { #questions .faq { scroll-behavior: auto; } }
