.st-faq {
  background-color: rgba(var(--color-background));
}

.st-faq__title {
  text-align: left;
  margin: 0;
  padding-top: 30px;
  padding-bottom: 6px;
}

.st-faq__subtitle {
  text-align: center;
  margin: 0;
  color: rgba(var(--color-text), 0.7);
}

/* Search
   ========================================================================== */

.st-faq__search {
  position: relative;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

.st-faq__search-input {
  width: 100%;
  padding: 15px 65px;
  border: 1px solid var(--st-faq-search-border-color, rgba(var(--color-text), 0.15));
  border-radius: var(--input-border-radius);
  background-color: var(--st-faq-search-background, #fff);
  font-size: var(--st-faq-search-font-size, 16px);
}

.st-faq__search-input:focus-visible {
  outline: 1px solid var(--st-faq-search-border-color, rgba(var(--color-text), 0.15));
}

.st-faq__search-input::placeholder {
  font-size: inherit;
  color: var(--st-faq-search-placeholder-color, #aaaaaa);
  opacity: 1;
}

.st-faq__search-icon {
  position: absolute;
  inset-inline-start: 14px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  width: 46px;
  height: 46px;
  color: var(--st-faq-search-placeholder-color, #aaaaaa);
  background-color: currentColor;
  -webkit-mask-image: url('data:image/svg+xml,<svg width="46" height="46" viewBox="0 0 46 46" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M36.1499 36.2L30.1499 30.2" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/><circle cx="22.1499" cy="22.2" r="11.15" stroke="black" stroke-width="1.7"/></svg>');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 46px 46px;
  mask-image: url('data:image/svg+xml,<svg width="46" height="46" viewBox="0 0 46 46" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M36.1499 36.2L30.1499 30.2" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/><circle cx="22.1499" cy="22.2" r="11.15" stroke="black" stroke-width="1.7"/></svg>');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 46px 46px;
  opacity: 0.85;
}

.st-faq__search-icon svg {
  display: none;
}

.st-faq__search-clear {
  position: absolute;
  inset-inline-end: 10px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  border: none;
  background: transparent;
  padding: 4px;
  color: rgba(var(--color-text), 0.6);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
}

.st-faq__search-clear.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Filters
   ========================================================================== */

.st-faq__filters-shell {
  display: block;
}

.st-faq__filters {
  display: flex;
  gap: var(--st-faq-category-gap, 16px);
  justify-content: var(--st-faq-categories-justify, center);
  align-items: stretch;
  overflow: visible;
  flex-wrap: wrap;
  padding-block: 8px;
  scrollbar-width: none;
  width: 100%;
}

.st-faq__filters::-webkit-scrollbar {
  display: none;
}

.st-faq__filters--no-gap {
  gap: 0;
}

.st-faq__filters-group--sticky {
  position: sticky;
  top: calc(var(--st-faq-filters-sticky-offset, 0px) - var(--st-faq-search-height, 0px));
  z-index: 10;
  background-color: rgb(var(--color-background));
}

.st-faq__filters-group--sticky .st-faq__filters-shell {
  padding-block: 10px;
}

.st-faq__filters-nav {
  display: none;
  appearance: none;
  border: 1px solid rgba(var(--color-text), 0.14);
  background: rgba(var(--color-background), 0.96);
  color: rgba(var(--color-text), 0.88);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    background-color 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  flex: 0 0 44px;
}

.st-faq__filters-nav:hover:not(:disabled) {
  border-color: rgba(var(--color-text), 0.3);
}

.st-faq__filters-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.st-faq__filters-nav svg {
  display: block;
}

.st-faq__filters-nav[hidden] {
  display: none !important;
}

.st-faq__filters-group--style-icon-top .st-faq__filters {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(var(--st-faq-category-min-width-desktop, 160px), 1fr)
  );
  align-items: stretch;
}

.st-faq__filters-group--style-icon-top .st-faq__filter {
  width: 100%;
  min-width: 0;
}

.st-faq__filters-group--style-icon-top .st-faq__filter-inner {
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.st-faq__filters-group--style-icon-top .st-faq__filter--no-icon .st-faq__filter-inner::before {
  content: "";
  width: var(--st-faq-category-icon-width, 22px);
  height: var(--st-faq-category-icon-height, 22px);
  display: block;
  flex: 0 0 auto;
}

.st-faq__filters-group--style-icon-top .st-faq__filter--no-icon {
  min-width: var(--st-faq-category-no-icon-min-width, auto);
}

.st-faq__filters-group--style-icon-top .st-faq__filter-label,
.st-faq__filter-inner--icon-top .st-faq__filter-label {
  text-align: center;
}

.st-faq__filter-inner--icon-top {
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.st-faq__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 10px;
  padding: var(--st-faq-category-padding-block, 10px)
    var(--st-faq-category-padding-inline, 16px);
  border: 1px solid var(--st-faq-category-border, rgba(var(--color-text), 0.15));
  border-radius: var(--st-faq-category-radius, 0px);
  background: var(--st-faq-category-bg, #fff);
  color: var(--st-faq-category-color, rgba(var(--color-text), 0.9));
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  line-height: 1.2;
}

.st-faq__filter + .st-faq__filter {
  border-left-width: min(1px, var(--st-faq-category-gap, 16px));
}

.st-faq__filters--no-gap .st-faq__filter + .st-faq__filter {
  border-left-width: 0;
}

.st-faq__filters--no-gap .st-faq__filter.is-row-start {
  border-left-width: 1px;
}

.st-faq__filter.is-active {
  border-color: var(
    --st-faq-category-border-active,
    rgba(var(--color-text), 0.8)
  );
  background: var(--st-faq-category-bg-active, #fff);
  color: var(--st-faq-category-color-active, rgba(var(--color-text), 1));
}

.st-faq__filter-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.st-faq__filter-icon {
  width: var(--st-faq-category-icon-width, 22px);
  height: var(--st-faq-category-icon-height, 22px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--st-faq-category-icon-width, 22px);
}

.st-faq__filter-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.st-faq__filter-label {
  max-width: var(--st-faq-category-label-max-width, 140px);
  text-align: var(--st-faq-category-label-text-align, center);
  font-family: var(--st-faq-category-font-family, inherit);
  font-weight: var(--st-faq-category-font-weight, inherit);
  font-style: var(--st-faq-category-font-style, normal);
  font-size: var(--st-faq-category-font-size, 14px);
  line-height: 1.2;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

/* FAQ List & Accordion
   ========================================================================== */

.st-faq__list {
  display: grid;
  gap: 12px;
}

.st-faq__item {
  border-top: 1px solid rgb(var(--color-entry-line));
  padding-top: 12px;
}

.st-faq__summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.st-faq__summary-button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 1;
}

.st-faq__summary-button:focus-visible {
  outline: 1px solid rgba(var(--color-text), 0.3);
  outline-offset: 4px;
}

.st-faq__question {
  position: relative;
  z-index: 2;
  flex: 1;
  font-size: var(--body1-font-size);
  font-weight: inherit;
  line-height: inherit;
  pointer-events: none;
}

.st-faq__question > :first-child {
  margin-top: 0;
}

.st-faq__question > :last-child {
  margin-bottom: 0;
}

.st-faq__question .block-group,
.st-faq__question .hidden-mobile,
.st-faq__question .hidden-desktop {
  pointer-events: none;
}

.st-faq__question .hidden-mobile,
.st-faq__question .hidden-desktop,
.st-faq__question .hidden-mobile > *,
.st-faq__question .hidden-desktop > *,
.st-faq__question .rte,
.st-faq__question .rte > * {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.st-faq__question .rte > * {
  margin: 0;
}

.st-faq__question :is(p, span, strong, em, b, i, a, small, sup, sub, h1, h2, h3, h4, h5, h6, ul, ol, li) {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.st-faq__question :is(p, h1, h2, h3, h4, h5, h6, ul, ol) {
  margin-top: 0;
  margin-bottom: 0;
}

.st-faq__question-group,
.st-faq__answer-group {
  width: 100%;
}

.st-faq__question-group .block-group,
.st-faq__answer-group .block-group {
  width: 100%;
}

.st-faq__question-group .rte,
.st-faq__answer-group .rte {
  text-align: left;
}

.st-faq__question-fallback {
  display: block;
}

.st-faq__toggle {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(var(--color-text), 0.1);
  border-radius: 999px;
  pointer-events: none;
}

.st-faq--custom-toggle-icons .st-faq__toggle {
  border: 0;
}

.st-faq__toggle-icon-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.st-faq__accordion .close {
  display: none;
}

.st-faq__accordion.is-open .open {
  display: none;
}

.st-faq__accordion.is-open .close {
  display: inline-flex;
}

.st-faq__collapse {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 240ms ease-in-out;
}

.st-faq__accordion.is-open + .st-faq__collapse {
  grid-template-rows: 1fr;
}

.st-faq__collapse-inner {
  min-height: 0;
  overflow: hidden;
}

.st-faq__answer {
  padding: 0 4px 16px 4px;
  color: rgba(var(--color-text), 0.8);
}

.st-faq__answer .rte > :first-child {
  margin-top: 0;
}

.st-faq__answer .rte > :last-child {
  margin-bottom: 0;
}

.st-faq__answer > :first-child {
  margin-top: 0;
}

.st-faq__answer > :last-child {
  margin-bottom: 0;
}

.st-faq__answer :is(img, video, iframe) {
  display: block;
  width: 100%;
  height: auto;
  margin-top: var(--st-faq-answer-media-spacing-top, 16px);
  border-radius: var(--st-faq-answer-media-radius, 16px);
}

.st-faq__answer :is(img, video) {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.st-faq__answer img {
  max-width: min(100%, var(--st-faq-answer-image-max-width, 420px));
}

.st-faq__answer > :first-child:is(img, video, iframe),
.st-faq__answer .rte > :first-child:is(img, video, iframe) {
  margin-top: 0;
}

.st-faq__answer video,
.st-faq__answer iframe {
  max-width: min(100%, var(--st-faq-answer-video-max-width, 420px)) !important;
  max-height: var(--st-faq-answer-video-max-height, 420px);
}

.st-faq__answer video {
  background-color: #000;
  object-fit: contain;
}

.st-faq__answer iframe {
  aspect-ratio: 16 / 9;
  min-height: 240px;
  border: 0;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

/* Animation
   ========================================================================== */

@keyframes st-faq-item-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.st-faq__item--animating {
  animation: st-faq-item-in 0.28s ease both;
  animation-delay: calc(var(--st-faq-item-index, 0) * 35ms);
}

/* Utilities
   ========================================================================== */

.st-faq__empty {
  text-align: center;
  color: rgba(var(--color-text), 0.6);
}

.st-faq .hidden {
  display: none;
}

@media (max-width: 959px) {
  .st-faq__search-input {
    height: 40px;
    padding: 10px 44px;
    font-size: var(
      --st-faq-search-font-size-mobile,
      var(--st-faq-search-font-size, 16px)
    );
  }

  .st-faq__search-icon {
    width: 24px;
    height: 24px;
    -webkit-mask-size: 24px 24px;
    mask-size: 24px 24px;
  }

  .st-faq__filters {
    display: flex;
    scroll-snap-type: x proximity;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    justify-content: var(
      --st-faq-categories-justify-mobile,
      var(--st-faq-categories-justify, flex-start)
    );
  }

  .st-faq__filters-group--style-icon-top .st-faq__filters {
    display: flex;
    grid-template-columns: none;
  }

  .st-faq__filter {
    scroll-snap-align: start;
    padding: var(--st-faq-category-padding-block-mobile, 8px)
      var(--st-faq-category-padding-inline-mobile, 12px);
  }

  .st-faq__filters-group--style-icon-top .st-faq__filter {
    width: auto;
    min-width: var(--st-faq-category-no-icon-min-width-mobile, var(--st-faq-category-no-icon-min-width, auto));
  }

  .st-faq__filter-label {
    font-size: var(
      --st-faq-category-font-size-mobile,
      var(--st-faq-category-font-size, 14px)
    );
  }

  .st-faq__filter-icon {
    width: var(
      --st-faq-category-icon-width-mobile,
      var(--st-faq-category-icon-width, 22px)
    );
    height: var(
      --st-faq-category-icon-height-mobile,
      var(--st-faq-category-icon-height, 22px)
    );
    flex-basis: var(
      --st-faq-category-icon-width-mobile,
      var(--st-faq-category-icon-width, 22px)
    );
  }

  .st-faq__filters-group--style-icon-top .st-faq__filter--no-icon .st-faq__filter-inner::before {
    width: var(
      --st-faq-category-icon-width-mobile,
      var(--st-faq-category-icon-width, 22px)
    );
    height: var(
      --st-faq-category-icon-height-mobile,
      var(--st-faq-category-icon-height, 22px)
    );
  }

  .st-faq__answer img {
    max-width: min(100%, var(--st-faq-answer-image-max-width-mobile, 300px));
  }

  .st-faq__answer :is(video, iframe) {
    max-width: min(100%, var(--st-faq-answer-video-max-width-mobile, 300px));
    max-height: var(--st-faq-answer-video-max-height-mobile, 320px);
  }
}

@media (min-width: 960px) {
  .st-faq__toggle {
    width: 32px;
    height: 32px;
  }

  .st-faq__filters-group--desktop-slider .st-faq__filters-shell {
    display: block;
  }

  .st-faq__filters-group--desktop-slider .st-faq__filters {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: visible;
  }

  .st-faq__filters-group--desktop-slider .st-faq__filter {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
  }

  .st-faq__filters-group--desktop-slider.st-faq__filters-group--style-icon-top .st-faq__filters {
    display: flex;
    grid-template-columns: none;
  }

  .st-faq__filters-group--desktop-slider.st-faq__filters-group--style-icon-top .st-faq__filter {
    width: auto;
    min-width: var(--st-faq-category-min-width-desktop, 160px);
  }

  .st-faq__filters-group--desktop-slider .st-faq__filters-shell.is-scrollable {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
  }

  .st-faq__filters-group--desktop-slider .st-faq__filters-shell.is-scrollable .st-faq__filters {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .st-faq__filters-group--desktop-slider .st-faq__filters-nav {
    display: inline-flex;
  }

  .st-faq > div {
    padding-inline: 0;
  }
}
