.question-wrapper {
  flex-grow: 1;
  overflow-y: visible;
  overflow-x: auto;
  font-family: Marianne, sans-serif;

  @media screen and (min-width: 1024px) and (max-width: 1079px){
    padding: 2.5rem 2rem 0 2rem;
  }

  @media screen and (max-width: 1023px){
    padding: 1rem calc(50% - 21.9375rem) 0 calc(50% - 21.9375rem);
  }

  @media screen and (max-width: 767px){
    padding: 2.5rem calc(50% - 10.625rem) 0 calc(50% - 10.625rem);
  }

  p {
    margin-block-start: 0;
    margin-block-end: 0;
  }
}

.question-results {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;

  @media screen and (max-width: 1279px) {
    margin-top: 0;
  }
}

.question-card {
  align-items: stretch;
  background-color: #FFFFFF;
  border-radius: 1.25rem;
  display: flex;
  gap: 1.25rem;
  overflow: hidden;
  width: 51.25rem;
  text-decoration: none;
  color: black;

  @media screen and (max-width: 1279px){
    width: 43rem;
  }

  @media screen and (max-width: 767px){
    width: 21.25rem;
    gap: 1rem;
  }

  .question-container {
    display: flex;
    flex-direction: column;
    width: 42rem;
    gap: 0.75rem;
    padding: 2rem 0 2rem 0.5rem;

    @media screen and (max-width: 1279px){
      width: 36rem;
    }

    @media screen and (max-width: 767px){
      width: 18rem;
    }

    .question-title {
      font-size: 1.375rem;
      font-style: normal;
      font-weight: 700;
      line-height: 1.75rem;
      margin: 0;
      padding-right: 1.875rem;

      @media screen and (max-width: 767px){
        font-size: 0.9375rem;
        font-style: normal;
        font-weight: 700;
        line-height: 1.5rem;
      }
    }
  }

  .question-thematic-text {
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    margin: 0;
    line-height: 1.5rem;

    @media screen and (max-width: 767px){
      font-size: 0.9375rem;
      font-style: normal;
      font-weight: 700;
    }
  }

  .question-thematic-separator {
    background-color: #f7904a;
    height: .25rem;
    margin: .5rem 0;
    width: 2.5rem;
  }

  .question-index {
    align-items: center;
    background-color: #000091;
    border-radius: 50%;
    display: flex;
    height: 2.5rem;
    justify-content: center;
    margin: auto 0;
    width: 2.5rem;

    @media screen and (max-width: 767px){
      display: none;
    }

    .question-index-number {
      color: #FFFFFF;
      font-size: 1rem;
      font-style: normal;
      font-weight: 700;
      line-height: 1.625rem;
    }
  }

  .question-strip {
    background-color: #000091;
    width: 1.25rem;

    @media screen and (max-width: 767px){
      width: 0.375rem;
    }
  }
}

.question-content-buttons {
  display: none;

  @media screen and (max-width: 1023px){
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .question-content-buttons-filter {
    display: block;

    .button-filter {
      align-items: center;
      color: #6C6A7A;
      display: flex;
      font-size: 1rem;
      font-style: normal;
      font-weight: 700;
      gap: 0.625rem;
      line-height: 1rem;
      cursor: pointer;
      border: 0;
      margin: 0;
      padding: 0 0 0.5rem;
      background: none;

      .button-filter-icon {
        height: auto;
        max-width: 100%;
      }
    }
  }
}