.canard-faq {
  max-width: 58rem;
  padding-block: clamp(1.75rem, 5vw, 3.75rem);
  overflow-wrap: anywhere;
}

.canard-faq h1,
.canard-faq h2 {
  margin: 0;
  font-family: Georgia, serif;
  line-height: 1.15;
}

.canard-faq h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  letter-spacing: -.028em;
}

.faq-intro {
  margin: .7rem 0 1.2rem;
  font-size: 1.125rem;
  line-height: 1.55;
}

.faq-search {
  margin-bottom: 1.5rem;
  padding: clamp(.9rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: .4rem;
  background: #f2f5ee;
}

.faq-search-heading {
  margin: 0 0 .55rem;
  line-height: 1.45;
}

.faq-search-heading label {
  font-size: 1.125rem;
  font-weight: 700;
}

#faq-search-recording {
  margin: 0 0 .65rem;
  font-size: .875rem;
  line-height: 1.45;
}

.faq-search-controls,
.faq-examples,
.faq-topics {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: stretch;
}

.faq-search-controls input,
.faq-search-controls button,
.faq-examples button {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 2.75rem;
  padding: .55rem .75rem;
  border: 1px solid var(--green);
  border-radius: .3rem;
  font: inherit;
}

.faq-search-controls input {
  flex: 1 1 18rem;
  background: #fff;
  color: inherit;
}

.faq-search-controls button {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.faq-examples {
  margin-top: .75rem;
}

.faq-examples button {
  background: #fff;
  color: var(--green);
  text-align: left;
  cursor: pointer;
}

.faq-result {
  margin-top: .9rem;
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: #fff;
}

.faq-result h2 {
  font-size: 1.25rem;
}

.faq-result p,
.faq-result ul {
  margin: .55rem 0 0;
}

.faq-result ul {
  padding-left: 1.25em;
}

.faq-result li + li {
  margin-top: .35rem;
}

.faq-topics {
  margin: 0 0 1.5rem;
}

.faq-topics a {
  padding: .38rem .65rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: #fff;
}

.faq-topic {
  margin-top: 1.8rem;
  scroll-margin-top: 1rem;
}

.faq-topic h2 {
  margin-bottom: .65rem;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
}

.faq-topic details {
  border-top: 1px solid var(--line);
  background: #fff;
  scroll-margin-top: 1rem;
}

.faq-topic details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-topic summary {
  box-sizing: border-box;
  min-height: 2.75rem;
  padding: .7rem .65rem;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}

.faq-topic summary::marker {
  color: var(--green);
}

.faq-topic summary:hover,
.faq-examples button:hover,
.faq-topics a:hover {
  background: #eaf0e4;
}

.faq-answer {
  max-width: 43rem;
  line-height: 1.6;
}

.faq-topic .faq-answer {
  padding: 0 .65rem .75rem;
}

.faq-answer p {
  margin: 0 0 .55rem;
}

.faq-result .faq-answer p:first-child {
  margin-top: .55rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.canard-faq a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.canard-faq :focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.faq-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 30rem) {
  .faq-search-controls button {
    flex: 1 1 100%;
  }
}
