.HomeTrailsList-grid {
  max-width: 800px;
  margin: 0 auto;
  column-count: 2;
  column-gap: 1.5rem;
  padding: 0 1rem;
  min-height: 1px;
}

.HomeTrailsList-grid > * {
  break-inside: avoid;
  padding-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .HomeTrailsList-grid {
    column-count: unset;
    display: flex;
    flex-direction: column;
  }

  .HomeTrailsList-grid > * {
    order: var(--original-index);
  }
}
