/* Purchase steps: four light blue tiles with big numbers, from the
   brochure's "In 4 stappen naar jouw eigen SILO". Used on the location
   pages and the aanbod overview. */

@layer components {
  .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: var(--theme-space-xs);
    margin-top: var(--theme-space-lg);
    counter-reset: step;
  }

  .steps__item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: var(--theme-space-2xs);
    padding: var(--theme-space-sm);
    background: var(--theme-color-panel);
    counter-increment: step;
  }

  .steps__item::before {
    content: counter(step, decimal-leading-zero);
    font-size: var(--theme-text-2xl);
    font-weight: var(--theme-weight-semibold);
    line-height: 1;
  }

  .steps__item h3 {
    font-size: var(--theme-text-md);
    font-weight: var(--theme-weight-bold);
  }

  .steps__item p {
    font-size: var(--theme-text-sm);
  }
}
