.fbm-help-surface {
  --help-text: #243247;
  --help-muted: #465770;
  --help-heading: #0f1a2d;
  --help-border: #d8e1ec;
  background: #f6f8fc;
  color: var(--help-text);
  overflow-wrap: anywhere;
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

.fbm-help-surface :is(h1, h2, h3) {
  color: var(--help-heading);
}

.fbm-help-surface .breadcrumb a {
  color: var(--bs-link-hover-color);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.fbm-help-surface .breadcrumb a:hover {
  color: var(--bs-link-hover-color);
  text-decoration-thickness: 2px;
}

.fbm-help-surface :is(a:not(.btn), input, select, .table-responsive):focus-visible,
.fbm-help-subnav-wrap a:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 3px;
}

.fbm-help-subnav-wrap a:focus-visible {
  outline-offset: -2px;
}

.fbm-help-search-band {
  padding-block: 1.5rem 0;
}

.fbm-help-search-band + .cms-page-body-intro,
.fbm-help-search-band + .cms-page-section {
  padding-top: 1.5rem;
}

.fbm-help-search-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fbm-help-search-field {
  flex: 1 1 15rem;
  min-width: 0;
}

.fbm-help-search-filter {
  flex: 0 1 13rem;
  min-width: 0;
}

.fbm-help-search-controls :is(.form-control, .form-select, .btn) {
  min-height: 44px;
}

.fbm-help-search-controls .form-control:focus,
.fbm-help-search-controls .form-select:focus {
  border-color: var(--bs-primary);
}

.fbm-help-results .fbm-help-guide-list {
  grid-template-columns: minmax(0, 1fr);
}

.fbm-help-pagination {
  margin: 1.5rem 0 0;
}

.fbm-help-pagination :is(a, span) {
  min-width: 44px;
  text-align: center;
}

.fbm-help-pagination [aria-current] {
  color: var(--bs-white);
  border-color: var(--bs-link-hover-color);
  background: var(--bs-link-hover-color);
}

@media (max-width: 575.98px) {
  .fbm-help-search-controls > * {
    flex: 1 1 100%;
  }
}

.fbm-help-guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fbm-help-guide-card,
.fbm-help-article {
  background: var(--bs-white);
  border: 1px solid var(--help-border);
  border-radius: 0.75rem;
}

.fbm-help-guide-card {
  padding: 1.125rem;
}

.fbm-help-guide-title {
  font-size: 1.0625rem;
  font-weight: 700;
}

.fbm-help-description {
  color: var(--help-muted);
  margin-bottom: 0;
}

.fbm-help-guide-card .fbm-help-description {
  margin-top: 0.4rem;
}

.fbm-help-article {
  padding: clamp(1rem, 4vw, 2.25rem);
  line-height: 1.65;
  min-width: 0;
}

.fbm-help-article .table-responsive {
  overflow-x: auto;
}

.fbm-help-surface .breadcrumb {
  --bs-breadcrumb-item-active-color: var(--help-muted);
  --bs-breadcrumb-divider-color: var(--help-muted);
}

.fbm-help-article .table {
  --bs-table-color: var(--help-text);
  --bs-table-border-color: var(--help-border);
}

.fbm-help-article th {
  --bs-table-bg: var(--bs-primary-bg-subtle);
  --bs-table-color: var(--help-heading);
}

main .section .cms-content .fbm-help-area-card.rounded-4.border.bg-white:hover {
  transform: none;
}

.fbm-help-area-list > li + li {
  border-top: var(--bs-border-width) solid var(--bs-border-color-translucent);
}

.fbm-help-area-link {
  min-height: 44px;
  padding-inline: 0.625rem;
  border-radius: var(--bs-border-radius);
  color: var(--bs-body-color);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.fbm-help-area-link svg {
  color: var(--bs-secondary-color);
}

.fbm-help-area-link:is(:hover, :focus-visible) {
  color: var(--bs-link-hover-color);
  background-color: var(--bs-primary-bg-subtle);
}

.fbm-help-area-link:is(:hover, :focus-visible) svg {
  color: inherit;
}

.fbm-help-area-link:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: -2px;
}

@media (max-width: 767.98px) {
  .fbm-help-subnav-wrap ~ section .cms-page-section-content > .cms-content > .row.g-4 {
    --bs-gutter-x: 1.5rem;
  }

  .fbm-help-guide-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
