.faq-hero,
.faq-content {
  font-family: 'CustomFont', Arial, Helvetica, sans-serif;
}

.faq-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #25324a url('../images/about/about-banner.png') center center / cover no-repeat;
  color: #ffffff;
}

.faq-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 45, 69, 0.46);
}

.faq-hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.faq-hero h1 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.15;
}

.faq-hero__breadcrumb {
  min-height: 37px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.faq-hero__breadcrumb a {
  transition: color 180ms ease;
}

.faq-hero__breadcrumb a:hover,
.faq-hero__breadcrumb a:focus-visible {
  color: #65b1ff;
}

.faq-content {
  background: #ffffff;
}

.faq-content__inner {
  max-width: 1200px;
  padding: 40px 0;
}

.faq-item {
  margin-top: 16px;
  padding: 0 30px;
  border: 1px solid #ededed;
  background: #ffffff;
  transition: border-color 180ms ease;
}

.faq-item.is-open {
  border-color: #0567cc;
}

.faq-question {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: #222222;
  text-align: left;
}

.faq-question:focus-visible {
  outline: 2px solid rgba(5, 103, 204, 0.5);
  outline-offset: 5px;
}

.faq-question__badge {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px 6px 0 6px;
  background: #b9b9b9;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  transition: background-color 180ms ease;
}

.faq-item.is-open .faq-question__badge {
  background: #0567cc;
}

.faq-question__text {
  min-width: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.faq-question__icon {
  position: relative;
  width: 22px;
  height: 22px;
}

.faq-question__icon::before,
.faq-question__icon::after {
  position: absolute;
  top: 10px;
  left: 0;
  width: 22px;
  height: 2px;
  background: #d1d1d1;
  content: '';
  transition: background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.faq-question__icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-question__icon::before {
  background: #0567cc;
}

.faq-item.is-open .faq-question__icon::after {
  opacity: 0;
  transform: rotate(0deg);
}

.faq-answer {
  border-top: 1px solid #ededed;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer__inner {
  position: relative;
  min-height: 88px;
  padding: 30px 0 30px 40px;
}

.faq-answer__inner strong {
  position: absolute;
  top: 30px;
  left: 0;
  color: #0567cc;
  font-size: 18px;
  font-weight: 700;
  line-height: 28.8px;
}

.faq-answer__inner p {
  margin: 0;
  color: #222222;
  font-size: 16px;
  font-weight: 400;
  line-height: 28.8px;
}

.faq-empty {
  min-height: 260px;
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  font-size: 16px;
  text-align: center;
}

@media (max-width: 767px) {
  .faq-hero {
    height: 220px;
  }

  .faq-hero h1 {
    font-size: 38px;
  }

  .faq-hero__breadcrumb {
    min-height: 30px;
    font-size: 13px;
  }

  .faq-content__inner {
    padding: 28px 0 40px;
  }

  .faq-item {
    margin-top: 12px;
    padding: 0 18px;
  }

  .faq-question {
    min-height: 68px;
    grid-template-columns: 24px minmax(0, 1fr) 20px;
    gap: 12px;
    padding: 20px 0;
  }

  .faq-question__text {
    font-size: 16px;
    line-height: 23px;
  }

  .faq-question__icon,
  .faq-question__icon::before,
  .faq-question__icon::after {
    width: 20px;
  }

  .faq-answer__inner {
    padding: 22px 0 22px 34px;
  }

  .faq-answer__inner strong {
    top: 22px;
  }

  .faq-answer__inner p {
    font-size: 15px;
    line-height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-question__badge,
  .faq-question__icon::before,
  .faq-question__icon::after {
    transition: none;
  }
}

@media (max-width: 767px) {
  .faq-hero { height: 180px; }
  .faq-hero__content { padding-top: 38px; }
  .faq-hero h1 { font-size: 30px; line-height: 38px; }
  .faq-content__inner { padding: 22px 0 34px; }
  .faq-item { margin-top: 10px; padding: 0 14px; }
  .faq-question { min-height: 62px; padding: 17px 0; }
  .faq-question__text { font-size: 15px; line-height: 22px; }
  .faq-answer__inner { padding: 18px 0 18px 30px; }
  .faq-answer__inner p { font-size: 14px; line-height: 24px; }
}
