.faqs__title {
  max-width: 30rem;
  margin-bottom: 2.5rem;
}
.faqs__title * {
  font-size: 1.5rem;
}
.faqs__subtitle {
  font-size: 1rem !important;
  line-height: 1.5;
  display: inline-block;
  margin-bottom: 0.875rem;
  border-bottom: 0.0625rem solid #ffc70b;
}
.faqs__items {
  border-top: 0.125rem solid #ffc70b;
  border-bottom: 0.125rem solid #ffc70b;
}
.faqs__items:not(:last-child) {
  margin-bottom: 2rem;
}
.faqs__buttons {
  display: flex;
  gap: 0.9375rem;
  flex-wrap: wrap;
}
.faqs__buttons .button {
  width: 100%;
}
@media (min-width: 48rem) {
  .faqs__buttons .button {
    width: auto;
  }
}
.faqs__buttons .button:not(:last-child) {
  margin-right: 0.625rem;
}
@media (min-width: 40rem) {
  .faqs__title * {
    font-size: 2.25rem;
  }
}
@media (min-width: 64rem) {
  .faqs {
    display: flex;
    align-items: flex-start;
  }
  .faqs__title {
    padding-right: 3.75rem;
    margin-bottom: 0;
  }
  .faqs__content {
    flex: 1;
  }
}

.faq {
  width: 100%;
  overflow: hidden;
}
.faq:not(:last-child) {
  border-bottom: 0.125rem solid #f4f3ef;
}
.faq-title {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-weight: 500;
  line-height: 1.2;
}
.faq-title:hover {
  cursor: pointer;
}
.faq-icon {
  display: block;
  flex-shrink: 0;
  position: relative;
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  margin-left: 1.5rem;
}
.faq-icon:before, .faq-icon:after {
  content: "";
  display: block;
  position: absolute;
  background-color: #ffc70b;
  border-radius: 0.0625rem;
  transition: all 250ms ease;
}
.faq-icon:before {
  top: 0.4375rem;
  left: 0;
  width: 1rem;
  height: 0.125rem;
}
.faq-icon:after {
  top: 0;
  left: 0.4375rem;
  width: 0.125rem;
  height: 1rem;
}
.faq-content {
  max-height: 0;
  padding: 0;
  background: white;
  transition: all 0.35s;
}
.faq input[type=checkbox] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.faq input[type=checkbox]:checked + .faq-title .faq-icon:before {
  transform: rotate(180deg);
}
.faq input[type=checkbox]:checked + .faq-title .faq-icon:after {
  opacity: 0;
}
.faq input[type=checkbox]:checked ~ .faq-content {
  max-height: 100vh;
  padding-bottom: 1.5rem;
}

.faqs-overview {
  background-color: white;
}
.faqs-overview__header {
  position: relative;
  width: 100%;
  max-height: 36.25rem;
  padding: 15% 1.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: #ffc70b;
}
.faqs-overview__header:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url(/app/themes/upstairs/dist/images/bg-faqs.png?0c3d5b2b4772b372d2ab7ec41dff8290);
  background-repeat: repeat;
  background-size: 10.625rem 7.5625rem;
  opacity: 0.1;
}
.faqs-overview__title, .faqs-overview__subtitle {
  display: block;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
}
.faqs-overview__title {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.625rem;
}
.faqs-overview__subtitle {
  font-size: 1.125rem;
  line-height: 1.25;
}
.faqs-overview__container {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.faqs-overview__sidebar {
  margin-bottom: 2rem;
}
.faqs-overview__sidebar > strong {
  display: block;
  margin-bottom: 1.125rem;
}
.faqs-overview__main h1 {
  font-size: 1.875rem;
  line-height: 1.2;
  text-transform: uppercase;
}
.faqs-overview__main h1:after {
  content: "";
  display: block;
  width: 6.25rem;
  height: 0.125rem;
  margin-top: 0.875rem;
  background-color: #ffc70b;
  border-radius: 0.0625rem;
}
.faqs-overview__toggle {
  display: block;
  position: relative;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.625rem;
  border: 0.0625rem solid #e9eaec;
}
.faqs-overview__toggle:after {
  content: "";
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  z-index: 2;
  display: inline-block;
  border-right: 0.125rem solid #ffc70b;
  border-bottom: 0.125rem solid #ffc70b;
  width: 0.5625rem;
  height: 0.5625rem;
  transform: rotate(-315deg);
}
.is-active .faqs-overview__toggle:after {
  top: 1.125rem;
  transform: rotate(225deg);
}
.faqs-overview__categories:not(:last-child) {
  margin-bottom: 1.5rem;
}
.faqs-overview__categories ul {
  display: none;
  padding: 0;
  margin: 0;
  border: 0.0625rem solid #e9eaec;
  border-top: 0;
}
.faqs-overview__categories ul li {
  margin: 0;
  padding: 0.625rem 0.625rem 0.375rem 0.625rem;
  list-style: none;
  line-height: 1.2;
}
.faqs-overview__categories ul li:not(:last-child) {
  margin-bottom: 0.125rem;
}
.faqs-overview__categories ul li.current-cat {
  background-color: #f4f4f4;
}
.faqs-overview__categories ul li a {
  color: #363d43;
  display: inline-block;
  padding-bottom: 0.125rem;
  position: relative;
  overflow: hidden;
}
.faqs-overview__categories ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 0.0625rem;
  background-color: #ffc70b;
  transform: translateX(-100%);
  transition: transform 250ms ease;
}
.faqs-overview__categories ul li a:hover:after {
  transform: translateX(0);
}
.faqs-overview__categories.is-active ul {
  display: block;
}
.faqs-overview__items {
  border-bottom: 0.125rem solid #f4f3ef;
}
.faqs-overview__search .search-form {
  max-width: 100%;
}
@media (min-width: 40rem) {
  .faqs-overview__title {
    font-size: 2.5rem;
    letter-spacing: 0.25rem;
  }
  .faqs-overview__subtitle {
    font-size: 1.5rem;
  }
  .faqs-overview__container {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
    display: flex;
  }
  .faqs-overview__sidebar {
    width: 18.75rem;
    border-right: 0.1875rem solid #f4f4f4;
  }
  .faqs-overview__toggle {
    display: none;
  }
  .faqs-overview__categories ul {
    display: block;
    padding: 0;
    border: 0;
  }
  .faqs-overview__search {
    padding-right: 1.5rem;
  }
  .faqs-overview__main {
    flex: 1;
    max-width: 40rem;
    padding-left: 3.75rem;
  }
}
@media (min-width: 64rem) {
  .faqs-overview__header:after {
    background-size: 21.25rem 15.125rem;
  }
  .faqs-overview__title {
    font-size: 3rem;
    letter-spacing: 0.3125rem;
  }
  .faqs-overview__subtitle {
    font-size: 1.875rem;
  }
}
