.tabsHeader {
  display: grid;
  grid-template-columns: auto;
  &.invertOrder {
    grid-template-columns: max-content;
    margin-bottom: 2rem;
  }
  @include min(tablet) {
    grid-template-columns: 1fr 0.4fr;
    &.tabsonly {
      grid-template-columns: 1fr;
    }

    &.invertOrder {
      grid-template-columns: max-content;
      margin-bottom: 2rem;
    }
  }
  &.invertOrder {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    > div:first-child {
      grid-column: 2;
    }
    @include min(laptop) {
      // flex-direction: row;
      align-items: center;
    }

    > div:nth-child(2) {
      grid-column: 1;
      @include flex-align(center, flex-start);
      display: block;
    }

    .titleAndTab {
      flex-direction: row;

      button,
      ol {
        @include min(tablet) {
          width: 100%;
        }
      }
    }
  }

  h2 {
    margin: 0;
  }
}

.titleAndTab {
  width: 100%;
  @include flex-direction(column);
  @include flex-align(center, space-between);
  gap: 0.8rem;
  flex-wrap: wrap;

  > * {
    flex: 0 0 30%;

    @include min(tablet) {
      flex: unset;
    }
  }
  
  > h2 {
    flex: 0 0 58%;

    @include min(tablet) {
      flex: 1;
    }
  }
}

.headerComp {
  select {
    margin: 2rem 0;
    width: 100%;
    padding: 0.9rem 2rem;
    border: 0;
    border-radius: 0.4rem;
    box-shadow: 0 0.1rem 0.2rem 0 rgba(0, 0, 0, 0.2);
    background: var(--color-9);
    color: var(--color-22);
    font-weight: 700;
    text-align: left;
    font-size: 1.6rem;
    white-space: nowrap;
  }
}

.titleContainer {
  @include flex-align(center, center);
}

.disclaimer {
  flex-basis: 100%;
  flex-wrap: wrap;
}