.page--faq .faq-topic {
  position: relative;
  display: flex;
  min-height: 285px;
  flex-direction: column;
  overflow: hidden;
  padding: 25px;
  color: var(--ink);
  background: linear-gradient(145deg, #fff 0%, #fff 62%, #f6f9fd 100%);
  box-shadow: 0 10px 30px rgba(17, 24, 32, .035);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.page--faq .faq-topic::before {
  position: absolute;
  top: -72px;
  right: -72px;
  width: 180px;
  height: 180px;
  content: "";
  border: 1px solid rgba(23, 105, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(23, 105, 255, .025);
  pointer-events: none;
}

.page--faq .faq-topic:nth-child(2n) {
  background: linear-gradient(145deg, #fff 0%, #f5f9ff 100%);
}

.page--faq .faq-topic:hover {
  border-color: #b9cff5;
  box-shadow: 0 18px 42px rgba(39, 82, 132, .1);
  transform: translateY(-4px);
}

.page--faq .faq-topics-heading p {
  max-width: 560px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.page--faq .faq-topic__top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page--faq .faq-topic__icon {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(23, 105, 255, .08);
  border-radius: 17px;
  background: var(--blue-soft);
}

.page--faq .faq-topic__icon svg {
  width: 27px;
  height: 27px;
}

.page--faq .faq-topic__count {
  position: relative;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 999px;
  color: #6f7f8e;
  background: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 700;
}

.page--faq .faq-topic__count strong {
  color: var(--blue);
}

.page--faq .faq-topic h3 {
  position: relative;
  margin: 24px 0 0;
  font-size: 21px;
  line-height: 1.16;
}

.page--faq .faq-topic > p {
  position: relative;
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.page--faq .faq-topic__link {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.page--faq .faq-topic__link > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  transition: transform .2s ease;
}

.page--faq .faq-topic:hover .faq-topic__link > span {
  transform: translateX(3px);
}

.page--faq .faq-topic__link svg {
  width: 15px;
  height: 15px;
}

.page--faq .faq-categories {
  padding: 18px;
  border-radius: 20px;
}

.page--faq .faq-categories h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.page--faq .faq-categories .catalog-facet__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page--faq .faq-categories .catalog-filter-group {
  padding: 0;
  border: 0;
}

.page--faq .faq-categories .catalog-filter-buttons {
  display: grid;
  gap: 7px;
}

.page--faq .faq-categories .filter-pill {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-radius: 11px;
  text-align: left;
  box-shadow: none;
}

.page--faq .faq-categories .filter-pill small {
  color: inherit;
  opacity: .62;
  font-size: 11px;
}

@media (max-width: 800px) {
  .page--faq .faq-categories {
    display: block;
    overflow: visible;
  }

  .page--faq .faq-categories h3 {
    display: block;
  }

  .page--faq .faq-categories .catalog-filter-buttons {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .page--faq .faq-categories .filter-pill {
    width: auto;
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .page--faq .faq-topic {
    min-height: 255px;
    padding: 22px;
  }
}
