.bct-faq {
  padding: clamp(3rem, 6vw, 6rem) 1rem;
  position: relative;
}

@media screen and (min-width: 769px) {
  .bct-faq {
    padding-bottom: clamp(2.5rem, 4vw, 4rem);
  }
}

.bct-faq__inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 960px;
  position: relative;
  z-index: 2;
}

.single-guides .has-bct-faq .guides-sections .guide-section:last-child::after {
  display: none;
}

.single-guides .has-bct-faq .bct-faq::after {
  background-image: url(../../images/guide-last-path.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  bottom: -45%;
  content: "";
  height: 450px;
  left: 9%;
  position: absolute;
  transform: rotate(15deg);
  width: 545px;
  z-index: 1;
}

@media screen and (max-width: 1600px) {
  .single-guides .has-bct-faq .bct-faq::after {
    background-size: 100% auto;
    bottom: -40%;
    transform: rotate(0deg);
    width: 435px;
  }
}

@media screen and (max-width: 1407px) {
  .single-guides .has-bct-faq .bct-faq::after {
    bottom: -25%;
    left: 0;
    transform: rotateZ(45deg);
  }
}

@media screen and (max-width: 1215px) {
  .single-guides .has-bct-faq .bct-faq::after {
    bottom: -10%;
  }
}

@media screen and (max-width: 768px) {
  .single-guides .has-bct-faq .bct-faq::after {
    background-image: url(../../images/guide-last-mobile-arrow.png);
    bottom: -10%;
    height: 112px;
    transform: scale(-1, 1);
    width: 42px;
  }

  .single-guides .has-bct-faq-even-ending .bct-faq::after {
    left: auto;
    right: 0;
    transform: scale(1, 1);
  }
}

.bct-faq__header {
  margin: 0 auto clamp(1.75rem, 4vw, 3rem);
  max-width: 760px;
  text-align: center;
}

.bct-faq__heading {
  color: #fff;
  font-family: "miso-bold", "Barlow Condensed", sans-serif;
  font-size: clamp(2.375rem, 5vw, 3.375rem);
  font-weight: bold;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.bct-faq__intro {
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.125rem, 2.25vw, 1.3125rem);
  line-height: 1.5;
  margin-top: 1rem;
}

.bct-faq__intro > :first-child,
.bct-faq__answer > :first-child {
  margin-top: 0;
}

.bct-faq__intro > :last-child,
.bct-faq__answer > :last-child {
  margin-bottom: 0;
}

.bct-faq__items {
  display: grid;
  gap: 0.75rem;
}

.bct-faq__item {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.bct-faq__summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  list-style: none;
  min-height: 4.75rem;
  padding: 1.125rem 1.25rem 1.125rem 1.5rem;
  transition: background-color 200ms ease, color 200ms ease;
}

.bct-faq__summary::-webkit-details-marker {
  display: none;
}

.bct-faq__summary::after {
  align-items: center;
  background-color: #ffd540;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.875rem 0.1875rem, 0.1875rem 0.875rem;
  border-radius: 50%;
  color: #000;
  content: "";
  display: flex;
  height: 2.75rem;
  justify-content: center;
  transition: background-color 200ms ease, color 200ms ease;
  width: 2.75rem;
}

.bct-faq__summary:hover .bct-faq__question{
  color: #b41f72;
}

.bct-faq__summary:hover::after {
  background-color: #b41f72;
  color: #fff;
}

.bct-faq__summary:focus-visible {
  outline: 3px solid #b41f72;
  outline-offset: -3px;
}

.bct-faq__item[open] .bct-faq__summary {
  border-bottom: 1px solid #e8e8e8;
}

.bct-faq__item[open] .bct-faq__summary::after {
  background-color: #2e75bb;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.875rem 0.1875rem;
  color: #fff;
}

.bct-faq__question {
  color: #2E75BB;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  transition: color 200ms ease, color 200ms ease;
}

.bct-faq__answer {
  color: #555;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  line-height: 1.55;
  padding: 3.25rem 2.5rem 3.25rem;
}

.bct-faq__answer a {
  color: #b41f72;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.bct-faq__answer a:hover,
.bct-faq__answer a:focus-visible {
  color: #2e75bb;
}

@media screen and (max-width: 576px) {
  .bct-faq {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }

  .bct-faq__summary {
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) 2.75rem;
    padding: 1rem;
  }

  .bct-faq__answer {
    padding: 1rem 1rem 1.25rem;
  }
}

@media screen and (max-width: 768px) {
  .bct-faq__summary {
    scroll-margin-top: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bct-faq__summary,
  .bct-faq__summary::after {
    transition: none;
  }
}

@media (forced-colors: active) {
  .bct-faq__summary::after {
    border: 2px solid currentColor;
  }
}
