/* Anahata v2 — collection square grid. v1 look (2026-09-28): edge-to-edge
   page frame around the shared cell grid (component-ui-cell-grid.css). */

.square-grid__crumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--a-space-2) var(--a-space-3);
  margin: 0;
  padding: var(--a-space-5) var(--a-gutter);
  list-style: none;
  font-family: var(--a-font-body);
  font-size: var(--a-fs-label);
  letter-spacing: var(--a-ls-caps);
  text-transform: uppercase;
  color: var(--a-text-muted);
}

.square-grid__crumbs li + li::before {
  content: '›';
  margin-right: var(--a-space-3);
}

.square-grid__crumbs a {
  color: inherit;
  text-decoration: none;
}

.square-grid__tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.square-grid__title {
  margin: 0;
  padding: calc(var(--a-space-5) * 2) var(--a-gutter);
  font-family: var(--a-font-display);
  font-weight: 400;
  font-size: var(--a-fs-collection-title);
  line-height: 48px;
  text-align: center;
  text-transform: uppercase;
  color: var(--a-ink-pure);
}

.square-grid__pages,
.square-grid__empty {
  display: flex;
  justify-content: center;
  gap: var(--a-space-5);
  margin: 0;
  padding: calc(var(--a-space-5) * 2) var(--a-gutter);
  font-family: var(--a-font-body);
  color: var(--a-text-muted);
}

.square-grid__pages a {
  color: var(--a-ink);
}

@media screen and (min-width: 750px) {
  .square-grid__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
