.main-blog {
  background-color: rgb(var(--color-background));
}

.main-blog__container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.main-blog__list {
  --gap: 22px;
}

.main-blog__title {
  color: rgba(var(--color-text));
}

/* The article list is a grid that wraps at every size, never a one-row track.
   Shopline's base .grid only knows two buckets - under and over 960px - so the
   tablet count is applied by re-pointing --mobile-columns inside a tablet
   query; the base --column-width calc reads it back on this element. */
.main-blog__list {
  --mobile-columns: var(--phone-columns, 1);
  --mobile-auto-flow: row;
  --desktop-auto-flow: row;

  overflow: visible;
}

@media (min-width: 600px) and (max-width: 959px) {
  .main-blog__list {
    --mobile-columns: var(--tablet-columns, 2);
  }
}

.main-blog__list > li {
  min-width: 0;
}

@media (max-width: 959px) {
  .main-blog__container {
    gap: 32px;
  }
}
