/* Executive Solutions tab system — saint-business-consultancy only */

html:has(body.body-6) {
  background-color: var(--saint-blue);
}

body.body-6 .trade-hero {
  position: relative;
  isolation: isolate;
  background-image: none;
}

body.body-6 .trade-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(to bottom, transparent 38%, var(--saint-blue) 95%);
}

body.body-6 .trade-hero .div-block-591 {
  z-index: 0;
}

body.body-6 .trade-hero .div-block-585 {
  position: relative;
  z-index: 2;
}

body.body-6 .trade-hero .image-430 {
  margin-top: 0;
}

@media screen and (max-width: 991px) {
  body.body-6 .trade-hero::after {
    background-image: linear-gradient(to bottom, transparent 30%, var(--saint-blue) 86%);
  }
}

@media screen and (max-width: 479px) {
  body.body-6 .trade-hero::after {
    background-image: linear-gradient(to bottom, transparent, var(--saint-blue) 62%);
  }
}

.bd-restict .spark-container.w-container {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.bc-tabs.spark-side-flat-tab-parent,
.bc-tabs.spark-side-flat-tab-parent.csr {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.bc-tabs .bd-navy.w-tab-menu {
  float: none;
  width: auto;
  min-width: 0;
  margin-right: 0;
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: 120px;
  padding: 4px 0;
}

.bc-tabs .tab-link-tab-1 {
  display: block;
  width: 100%;
  padding: 12px 16px 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background-color: transparent;
  text-decoration: none;
  white-space: normal;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.bc-tabs .tab-link-tab-1:hover {
  color: #fff;
  background-color: rgb(139 108 216 / 0.12);
  border-color: rgb(139 108 216 / 0.28);
}

.bc-tabs .tab-link-tab-1.w--current {
  color: #fff;
  background-color: rgb(139 108 216 / 0.2);
  border: 1px solid rgb(139 108 216 / 0.55);
  border-radius: 10px;
  box-shadow: 0 0 24px rgb(139 108 216 / 0.18);
  text-decoration: none;
}

.bc-tabs .tab-link-tab-1 .bd-solution-header {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: inherit;
  text-shadow: none;
  transition: color 0.2s ease;
}

.bc-tabs .tab-link-tab-1:not(.w--current) .bd-solution-header {
  color: rgb(255 255 255 / 0.68);
}

.bc-tabs .tab-link-tab-1:hover .bd-solution-header,
.bc-tabs .tab-link-tab-1.w--current .bd-solution-header {
  color: #fff;
}

.bc-tabs .tab-link-tab-1.w--current .bd-solution-header {
  font-weight: 600;
}

.bc-tabs .spark-side-tabs-content.w-tab-content {
  width: 100%;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  background: rgb(255 255 255 / 0.03);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 36px);
  box-shadow: 0 24px 48px rgb(0 0 0 / 0.22);
}

.bc-tabs .spark-wrapped-card.spark-stacked {
  gap: 20px;
}

.bc-tabs .spark-square-image-card {
  border-radius: 12px;
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.35);
}

.bc-tabs .spark-card-details {
  padding-left: 0;
  padding-right: 0;
}

@media screen and (max-width: 991px) {
  .bc-tabs.spark-side-flat-tab-parent {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .bc-tabs .bd-navy.w-tab-menu {
    grid-column: 1;
    grid-row: auto;
    position: relative;
    top: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
    scrollbar-color: rgb(139 108 216 / 0.45) transparent;
  }

  .bc-tabs .bd-navy.w-tab-menu::-webkit-scrollbar {
    height: 4px;
  }

  .bc-tabs .bd-navy.w-tab-menu::-webkit-scrollbar-thumb {
    background: rgb(139 108 216 / 0.45);
    border-radius: 999px;
  }

  .bc-tabs .tab-link-tab-1 {
    flex: 0 0 auto;
    width: auto;
    scroll-snap-align: start;
    white-space: nowrap;
    padding: 12px 16px;
  }

  .bc-tabs .spark-side-tabs-content.w-tab-content {
    grid-column: 1;
    padding: 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-tabs .tab-link-tab-1,
  .bc-tabs .tab-link-tab-1 .bd-solution-header {
    transition: none;
  }
}
