.faq-section .wrap {
  max-width: 1090px;
}

.faq-section .section-intro {
  margin: 0 auto 2rem;
  padding-inline: 0;
  max-width: min(100%, 42rem);
}

.faq-section .section-intro h1 {
  margin: 0 0 .65rem;
  color: #1c291e;
  line-height: 1.12;
}

.faq-section .section-intro p {
  margin: 0;
  color: #49574b;
  font-size: 1rem;
  line-height: 1.6;
}

.faq-section .faq-mascot {
  right: 1.5rem;
  top: -1.5rem;
  width: 6rem;
  height: 7.25rem;
}

.faq-resource a,
.faq-grid details p a {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.faq-finder {
  margin: 2rem 0 0;
}

.faq-finder label {
  display: block;
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: 800;
}

.faq-search-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 3.4rem;
  padding: .25rem .35rem;
  border: 1px solid #a8ae9d;
  border-radius: 10px;
  background: #fffdf8;
}

.faq-search-row:focus-within {
  outline: 3px solid #8b6f3b;
  outline-offset: 2px;
}

.faq-search-row input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .55rem .65rem;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 1rem;
}

.faq-search-row input::-webkit-search-cancel-button {
  appearance: none;
}

.faq-search-row button {
  min-height: 44px;
  padding: .4rem .85rem;
  border: 0;
  border-radius: 6px;
  background: #e7eee2;
  font-weight: 700;
}

.faq-search-status {
  margin: .6rem 0 0;
  color: #49574b;
  font-size: .9375rem;
  line-height: 1.5;
}

.faq-search-status:empty {
  margin: 0;
}

.faq-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 1.75rem;
}

.faq-topic-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .8rem;
  border: 1px solid #bfc8b9;
  border-radius: 8px;
  background: #e6ece0;
  color: #203527;
  font-size: .9375rem;
  font-weight: 700;
}

.faq-topic-links a:hover {
  background: #d6e2ce;
}

.faq-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
}

.faq-topic {
  min-width: 0;
  padding: clamp(.85rem, 2vw, 1.4rem);
  border: 1px solid #ddd9c9;
  border-radius: 15px;
  background: #fffdf8;
  scroll-margin-top: 1rem;
}

.faq-section .faq-topic:target {
  border-color: #8b6f3b;
}

.faq-section .faq-topic h2 {
  margin: 0 0 .55rem;
  color: #263d2d;
  font-size: clamp(1.25rem, 2.25vw, 1.5rem);
  line-height: 1.2;
}

.faq-section .faq-topic .faq-grid {
  max-width: none;
  margin: 0;
  gap: 0;
}

.faq-section .faq-topic .faq-grid details {
  padding: 0;
  border: 0;
  border-top: 1px solid #e4dfd3;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-topic summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  min-height: 46px;
  padding: .65rem 0;
  list-style: none;
  font-size: 1rem;
  line-height: 1.4;
}

.faq-topic summary::-webkit-details-marker {
  display: none;
}

.faq-topic summary::after {
  content: "";
  width: .48rem;
  height: .48rem;
  margin: 0 .3rem .2rem .1rem;
  border: solid #456149;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.faq-topic details[open] summary::after {
  margin-bottom: 0;
  transform: rotate(225deg);
}

.faq-topic summary:hover {
  color: #426043;
}

.faq-section .faq-topic .faq-grid details p {
  padding: 0;
  margin: 0 1rem .85rem 0;
  color: #414f43;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.faq-section [hidden] {
  display: none !important;
}

.faq-resource {
  margin-top: 1.4rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 840px) {
  .faq-section .faq-mascot {
    display: none;
  }
}

@media (max-width: 700px) {
  .faq-topics {
    grid-template-columns: minmax(0, 1fr);
  }
}
