@import "@/styles/mixins.scss";
@import "@/styles/variables.scss";

.listContent {
  display: flex;
  flex-wrap: wrap;
  margin: -2rem -1rem 0 -1rem;
}

.listLoop {
  flex: 1;
  max-width: 50%;
  margin-top: $hl-7;
  padding: 0 $hl-9;
}

@media screen and (max-width: $desktop) {
  .listContent {
    margin: -1rem -0.5rem 0 -0.5rem;
  }

  .listLoop {
    margin-top: $hl-9;
    padding: 0 $hl-10;
  }
}

@media screen and (max-width: $wide) {
  .listLoop,
  .listContent [data-role="list-loop"].listLoop {
    min-width: 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: 767px) {
  .listLoop,
  .listContent [data-role="list-loop"].listLoop {
    min-width: 100%;
    max-width: 100%;
  }
}
