.advice-wrapper {

}
.advice-wrapper__grid {
  display: flex;
  flex-wrap: nowrap;
}
.advice-wrapper__grid .advice {
  /* flex: 1 0 100%; */
}

@media all and (min-width: 1000px) {
  .advice-wrapper__grid {
    gap: 24px;
    flex-wrap: wrap;
  }

  /* Layout 3 col 2 col */
  .advice-wrapper__grid--layout-2-3 .advice:nth-child(5n+3),
  .advice-wrapper__grid--layout-2-3 .advice:nth-child(5n+4),
  .advice-wrapper__grid--layout-2-3 .advice:nth-child(5n+5) {
    width: calc(33.33333% - 16px);
  }
  .advice-wrapper__grid--layout-2-3 .advice:nth-child(5n+2),
  .advice-wrapper__grid--layout-2-3 .advice:nth-child(5n+1) {
    width: calc(50% - 12px);
  }

  /* Layout 2 col 3 col */
  .advice-wrapper__grid--layout-3-2 .advice:nth-child(5n+4),
  .advice-wrapper__grid--layout-3-2 .advice:nth-child(5n+5) {
    width: calc(50% - 12px);
  }
  .advice-wrapper__grid--layout-3-2 .advice:nth-child(5n+1),
  .advice-wrapper__grid--layout-3-2 .advice:nth-child(5n+2),
  .advice-wrapper__grid--layout-3-2 .advice:nth-child(5n+3) {
    width: calc(33.33333% - 16px);
  }

  /* Layout 3 - 3 - 2 - 3 */
  .advice-wrapper__grid--layout-3-3-2-3 .advice {
    width: calc(33.33333% - 16px);
  }
  .advice-wrapper__grid--layout-3-3-2-3 .advice:nth-child(8n+7),
  .advice-wrapper__grid--layout-3-3-2-3 .advice:nth-child(8n+8) {
    width: calc(50% - 12px);
  }

}

/**Specific code for slider in mobile **/

.advice-wrapper .tns-ovh {
  margin: 0 -1rem;
  padding: 0 1rem;
}
.advice-wrapper .tns-nav button{
  display: block !important;
}

@media all and (min-width: 1000px){
  .advice-wrapper .tns-nav button{
    display: none !important;
  }
}

