/* Shared FAQ design for all content pages except the TOP page. */
.faq,
.faq-list {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.faq details,
.faq-list details {
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line, #dfe3e6);
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.faq details[open],
.faq-list details[open] {
  border-color: #e63b3b;
  box-shadow: 0 8px 22px rgba(37, 43, 49, .07);
}

.faq summary,
.faq-list summary {
  position: relative;
  display: block;
  margin: 0;
  padding: 19px 58px 19px 22px;
  color: var(--ink, #252b31);
  background: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.65;
  list-style: none;
  cursor: pointer;
}

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

.faq summary::after,
.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: #e63b3b;
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.faq details[open] summary,
.faq-list details[open] summary {
  background: #fff8f8;
}

.faq details[open] summary::after,
.faq-list details[open] summary::after {
  content: "−";
}

.faq summary:focus-visible,
.faq-list summary:focus-visible {
  outline: 3px solid rgba(230, 59, 59, .28);
  outline-offset: -3px;
}

.faq details > p,
.faq-list details > p {
  margin: 0;
  padding: 0 58px 20px 22px;
  color: var(--muted, #66717b);
  font-size: 1rem;
  line-height: 1.85;
}

.faq details > p::before,
.faq-list details > p::before {
  content: "A.";
  display: inline-block;
  margin-right: 9px;
  color: #e63b3b;
  font-weight: 900;
}

@media (max-width: 640px) {
  .faq,
  .faq-list { gap: 10px; }
  .faq summary,
  .faq-list summary {
    padding: 17px 52px 17px 17px;
    font-size: .95rem;
  }
  .faq summary::after,
  .faq-list summary::after {
    right: 16px;
    width: 26px;
    height: 26px;
  }
  .faq details > p,
  .faq-list details > p {
    padding: 0 17px 18px;
    font-size: .95rem;
  }
}
