.legal-hero .primary-container {
  padding-top: 8.125em;
  padding-bottom: 8.125em;
  min-height: 20em;
}

.legal-spiral {
  height: 85%;
  right: 0;
  bottom: 0;
}

.legal-spiral:dir(rtl) {
  left: 0;
  right: auto;
  transform: scaleX(-1);
}


.tab-content>.active {
  display: flex;
}

.categories {
  width: 100%;
}

.category-list {
  list-style: none;
  padding: 0;
  counter-reset: counter;
  min-width: 21.625em;
  position: sticky;
  top: 11.5em;
  /* max-height: 20.125em;
  overflow-y: auto; */
}

.category-list::-webkit-scrollbar {
  width: 4px;
}

.category-list::-webkit-scrollbar-track {
  box-shadow: none;
}

.category-list::-webkit-scrollbar-thumb {
  border-radius: 64px;
  background: var(--bs-disabled);
}

.category-list li {
  counter-increment: counter;
  margin-bottom: 1.25em;
}

.tnc-nav {
  background-color: var(--bs-light);
  top: 5em;
  z-index: 1;
}

.tnc-nav::-webkit-scrollbar {
  height: 0px;
  width: 0px;
}

.tnc-nav::-webkit-scrollbar-track {
  box-shadow: none;
}

.tnc-nav .nav-tabs {
  border-bottom: 1px solid var(--bs-primary-200);
}

.tnc-nav .nav-link {
  height: 3.5em;
  min-width: 5.125em;
  border: none;
  border-color: transparent !important;
  outline: none;
  width: max-content;
}

.tnc-nav .nav-link.active {
  border: none;
  font-weight: 700;
  border-bottom: 3px solid var(--bs-secondary) !important;
  color: var(--bs-secondary) !important;
}

.category-item {
  width: 21.625em;
}

.category-item.active {
  color: var(--bs-secondary);
}

.category-item.active a {
  color: inherit;
  text-decoration: none;
}

.content-title {
  scroll-margin-top: 7em;
}

.content .content-text:last-child {
  padding-bottom: 0 !important;
}

.category-list li::before {
  content: counter(counter, decimal-leading-zero);
  color: var(--bs-border-stroke);
  line-height: 1.25;
  padding-inline-end: .5em;
  font-size: 0.889em;
  font-weight: 600;
  white-space: nowrap;
}

.wp-block-separator {
  border-top: 0.2px solid var(--bs-cta-tertiary-light);
}

@media (max-width:1439px) {
  .legal-hero .primary-container {
    position: relative;
  }

  .legal-spiral {
    height: 110%;
  }
}

@media (max-width:1239px) {
  .tnc-nav {
    top: 5em;
  }
}

@media (max-width:904px) {
  .legal-hero .primary-container {
    padding-top: 7.25em;
    padding-bottom: 7.25em;
    min-height: 17.5em;
  }

  .legal-spiral {
    height: 100%;
  }
}

@media (max-width:599px) {
  .legal-hero {
    height: auto;
  }

  .legal-spiral {
    height: 10em;
  }

  .legal-hero .primary-container {
    min-height: 15em;
    padding-top: 6.25em;
    padding-bottom: 6.25em;
    position: relative;
  }

  .tnc-nav {
    top: 4.25em;
  }

  .legal-spiral {
    height: 60%;
    z-index: 0;
    bottom: auto;
    top: 0;
  }
}