/* Scoped enhancement; load after styles.css. Native details work without JS. */
.questions.questions-responsive {
  display: block;
}

.questions-responsive [hidden] {
  display: none !important;
}

.questions-responsive .questions-intro {
  margin-bottom: 36px;
  max-width: none;
}

.questions-responsive .questions-intro h2 {
  font-size: clamp(44px, 4.5vw, 64px);
  text-wrap: balance;
}

.questions-responsive .questions-intro p {
  margin-top: 16px;
  font-size: 17px;
  color: #626553;
}

.questions-responsive .faq-list {
  margin-top: 0;
}

.questions-responsive .faq-list > details > summary {
  min-height: 64px;
  line-height: 1.5;
  padding: 20px 4px;
}

.questions-responsive .faq-list > details[open] > summary {
  color: #73522c;
}

.questions-responsive .faq-list > details > p {
  max-width: 68ch;
  margin: 0;
  padding: 0 4px 24px;
  color: #4e5849;
  line-height: 1.75;
}

.questions-responsive .faq-desktop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.questions-responsive .faq-question-tabs {
  border-top: 1px solid #b2a68f;
  min-width: 0;
}

.questions-responsive .faq-question-tab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 70px;
  padding: 20px 18px;
  border: 0;
  border-bottom: 1px solid #b2a68f;
  background: transparent;
  color: #555d4b;
  text-align: left;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
}

.questions-responsive .faq-question-tab[aria-selected="true"] {
  background: #daceb6;
  color: #292e24;
  font-weight: 650;
}

.questions-responsive .faq-question-arrow {
  font-size: 22px;
  line-height: 1;
  color: #7d7359;
}

.questions-responsive .faq-question-tab[aria-selected="true"] .faq-question-arrow {
  color: #664b2c;
}

.questions-responsive .faq-question-tab:focus-visible {
  outline: 2px solid #8e432d;
  outline-offset: -5px;
}

.questions-responsive .faq-question-tab:active {
  background: #cdbb9e;
  color: #292e24;
}

.questions-responsive .faq-answer-region {
  min-width: 0;
  padding-top: 28px;
  border-top: 1px solid #a49880;
}

.questions-responsive .faq-answer-panel {
  min-width: 0;
  padding: 0 4px 8px;
}

.questions-responsive .faq-answer-panel h3 {
  max-width: 24ch;
  margin: 0 0 24px;
  color: #30372b;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.08;
  text-wrap: balance;
}

.questions-responsive .faq-answer-panel p {
  max-width: 60ch;
  margin: 0 0 20px;
  color: #4e5849;
  font-size: 17px;
  line-height: 1.8;
  text-wrap: pretty;
}

.questions-responsive .faq-answer-panel a {
  border-bottom: 1px solid #8e947a;
}

.questions-responsive .faq-answer-panel:focus-visible {
  outline: 2px solid #8e432d;
  outline-offset: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .questions-responsive .faq-question-tab:hover {
    background: #e0d6c3;
    color: #292e24;
  }

  .questions-responsive .faq-question-tab[aria-selected="true"]:hover {
    background: #daceb6;
  }

  .questions-responsive .faq-answer-panel a:hover {
    color: #73482f;
  }
}

@media (max-width: 760px) {
  .questions-responsive .questions-intro {
    margin-bottom: 28px;
  }

  .questions-responsive .questions-intro p {
    font-size: 16px;
    margin-top: 14px;
  }

  .questions-responsive .faq-list > details > summary {
    font-size: 16px;
    gap: 20px;
  }

  .questions-responsive .faq-list > details > p {
    font-size: 16px;
    max-width: none;
  }
}
