/* Rack-only layout rules. The main visual system is the unedited Fold & Staple v1.0.21 beta stylesheet. */

.rack-shell {
  grid-template-columns: 330px minmax(540px, 1fr);
  max-width: 1180px;
  margin: 0 auto;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  font: inherit;
  text-decoration: none;
  border-radius: 4px;
  border: 1.5px solid #111;
  background: #f8f4ee;
  color: var(--ink);
  padding: 10px 12px;
  box-shadow: 2px 2px 0 rgba(17,17,17,0.12);
  white-space: nowrap;
}

.button-link:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(17,17,17,0.14);
}

.button-link.primary {
  background: #111;
  color: #f7f2e9;
  border-color: #111;
  box-shadow: 3px 3px 0 rgba(17,17,17,0.22);
}

.rack-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rack-card p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .rack-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rack-card-grid {
    grid-template-columns: 1fr;
  }
}
