:root {
  --sb-faq-page-shell: min(1824px, calc(100% - 224px));
}

.sb-faq-page {
  overflow: hidden;
  background: #ffffff;
}

.sb-faq-page .container {
  width: var(--sb-faq-page-shell);
  max-width: none;
}

.sb-faq-page-hero {
  padding: 104px 0 88px;
  border-bottom: 1px solid #dbe5f2;
  background:
    linear-gradient(rgba(21, 114, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 114, 232, 0.05) 1px, transparent 1px),
    #ffffff;
  background-size: 56px 56px, 56px 56px, auto;
}

.sb-faq-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.42fr);
  gap: 72px;
  align-items: end;
}

.sb-faq-page h1 {
  max-width: 800px;
  margin: 0;
  color: #111827;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

.sb-faq-page-hero-copy > p {
  max-width: 760px;
  margin: 28px 0 0;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.68;
}

.sb-faq-search {
  max-width: 820px;
  margin-top: 34px;
}

.sb-faq-search label {
  display: block;
  margin-bottom: 10px;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
}

.sb-faq-search-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 64px;
  padding: 0 10px 0 20px;
  border: 1px solid #cfdbea;
  border-radius: 8px;
  background: #ffffff;
}

.sb-faq-search-field i {
  color: #1572e8;
  font-size: 17px;
}

.sb-faq-search-field input {
  width: 100%;
  min-width: 0;
  height: 62px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: #111827;
  background: transparent;
  font-size: 17px;
}

.sb-faq-search-field input::placeholder {
  color: #7b8798;
}

.sb-faq-search-field button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d5e1f0;
  border-radius: 45px;
  color: #111827;
  background: #f6f9fd;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.sb-faq-page-summary {
  padding: 28px;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  background: #f6f9fd;
}

.sb-faq-page-summary strong {
  display: block;
  color: #111827;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
}

.sb-faq-page-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.sb-faq-page-summary-grid span {
  min-height: 76px;
  padding: 18px;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  color: #1572e8;
  background: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.sb-faq-page-summary p,
.sb-faq-directory-header p,
.sb-faq-empty p,
.sb-faq-page-list p,
.sb-faq-help p {
  margin: 0;
  color: #516074;
  font-size: 17px;
  line-height: 1.62;
}

.sb-faq-directory {
  padding: 88px 0 104px;
  background: #ffffff;
}

.sb-faq-directory-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.sb-faq-directory-header h2,
.sb-faq-group-heading h2,
.sb-faq-help h2 {
  margin: 0;
  color: #111827;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

.sb-faq-directory-header p {
  padding-bottom: 4px;
  font-weight: 700;
}

.sb-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 54px;
}

.sb-faq-tabs button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #d5e1f0;
  border-radius: 45px;
  color: #111827;
  background: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.sb-faq-tabs button:hover,
.sb-faq-tabs button:focus,
.sb-faq-tabs button.is-active {
  border-color: #1572e8;
  color: #ffffff;
  background: #1572e8;
}

.sb-faq-empty {
  margin-bottom: 34px;
  padding: 24px;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  background: #f6f9fd;
}

.sb-faq-empty strong {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 20px;
  font-weight: 600;
}

.sb-faq-groups {
  display: grid;
  gap: 72px;
}

.sb-faq-group {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.sb-faq-group-heading {
  position: sticky;
  top: 96px;
}

.sb-faq-group-heading span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #1572e8;
  font-size: 14px;
  font-weight: 700;
}

.sb-faq-group-heading h2 {
  max-width: 460px;
  font-size: 30px;
  line-height: 1.16;
}

.sb-faq-page-list {
  border-top: 1px solid #dbe5f2;
}

.sb-faq-page-list details {
  border-bottom: 1px solid #dbe5f2;
}

.sb-faq-page-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 22px 0;
  color: #111827;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.28;
  list-style: none;
}

.sb-faq-page-list summary::-webkit-details-marker {
  display: none;
}

.sb-faq-page-list summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #d5e1f0;
  border-radius: 999px;
  color: #1572e8;
  font-size: 24px;
  font-weight: 500;
}

.sb-faq-page-list details[open] summary::after {
  content: "-";
}

.sb-faq-page-list p {
  max-width: 860px;
  padding: 0 0 26px;
}

.sb-faq-help {
  padding: 88px 0;
  background: #f6f9fd;
}

.sb-faq-help-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 36px;
  border: 1px solid #172436;
  border-radius: 8px;
  background: #07111f;
}

.sb-faq-help h2 {
  max-width: 760px;
  color: #ffffff;
}

.sb-faq-help p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.sb-faq-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.sb-faq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 45px;
  font-size: 16px;
  font-weight: 600;
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.34s ease, border-color 0.18s ease, color 0.18s ease;
}

.sb-faq-button-primary {
  color: #ffffff;
  background-image: linear-gradient(90deg, #073fb8 0 50%, #1572e8 50% 100%);
}

.sb-faq-button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 50%, rgba(255, 255, 255, 0.08) 50% 100%);
}

.sb-faq-button-primary:hover,
.sb-faq-button-primary:focus,
.sb-faq-button-secondary:hover,
.sb-faq-button-secondary:focus {
  color: #ffffff;
  background-position: 0 0;
}

@media (max-width: 1399.98px) {
  :root {
    --sb-faq-page-shell: min(1520px, calc(100% - 120px));
  }

  .sb-faq-page-hero-grid {
    gap: 52px;
  }
}

@media (max-width: 1099.98px) {
  :root {
    --sb-faq-page-shell: calc(100% - 56px);
  }

  .sb-faq-page-hero {
    padding: 88px 0 80px;
  }

  .sb-faq-page-hero-grid,
  .sb-faq-group,
  .sb-faq-help-box {
    grid-template-columns: 1fr;
  }

  .sb-faq-page h1 {
    font-size: 48px;
  }

  .sb-faq-group-heading {
    position: static;
  }

  .sb-faq-help-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  :root {
    --sb-faq-page-shell: calc(100% - 64px);
  }

  .sb-faq-page .container {
    padding-right: 0;
    padding-left: 0;
  }

  .sb-faq-page-hero {
    padding: 70px 0 64px;
  }

  .sb-faq-page h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  .sb-faq-page-hero-copy > p {
    font-size: 18px;
    line-height: 1.65;
  }

  .sb-faq-search-field {
    min-height: 58px;
    padding-left: 16px;
  }

  .sb-faq-search-field input {
    height: 56px;
    padding: 0 10px;
    font-size: 15px;
  }

  .sb-faq-search-field button {
    padding: 0 12px;
  }

  .sb-faq-page-summary {
    padding: 22px;
  }

  .sb-faq-page-summary-grid,
  .sb-faq-directory-header {
    grid-template-columns: 1fr;
  }

  .sb-faq-directory,
  .sb-faq-help {
    padding: 72px 0;
  }

  .sb-faq-directory-header h2,
  .sb-faq-help h2 {
    font-size: 34px;
  }

  .sb-faq-group {
    gap: 24px;
  }

  .sb-faq-groups {
    gap: 58px;
  }

  .sb-faq-group-heading h2 {
    font-size: 28px;
  }

  .sb-faq-page-list summary {
    min-height: 78px;
    padding: 20px 0;
    font-size: 19px;
  }

  .sb-faq-help-box {
    padding: 24px 20px;
  }

  .sb-faq-help-actions {
    display: grid;
  }

  .sb-faq-button {
    width: 100%;
  }
}
