.how-to-cards.summary .text h2 {
  color: var(--color-gray-900);
  text-align: center;
  font-family: var(--body-font-family);
  font-size: var(--heading-font-size-l);
  font-style: normal;
  font-weight: var(--heading-font-weight-extra);
  line-height: 104%;
}

.how-to-cards.summary .text {
  padding: 0 var(--side-padding) var(--spacing-500);
}

.how-to-cards.summary .text p {
  color: var(--color-gray-900);
  text-align: center;
  font-family: var(--body-font-family);
  font-size: var(--body-font-size-m);
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  padding-bottom: 0;
}

.how-to-cards.summary .cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ax-grid-gutter);
  margin: 0;
  padding: 0 var(--side-padding);
}

.how-to-cards.summary .card,
.how-to-cards.summary .card:last-child {
  width: 100%;
  margin-right: 0;
}

.how-to-cards.summary .card h3 {
  color: var(--color-gray-900);
  font-family: var(--body-font-family);
  font-size: var(--heading-font-size-xs);
  font-style: normal;
  font-weight: var(--heading-font-weight-extra);
  line-height: 106%;
}

.how-to-cards.summary .card p {
  color: var(--color-gray-800);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size-m);
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.how-to-cards.summary .step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-to-cards.summary .step-icon img,
.how-to-cards.summary .step-icon svg {
  width: 100%;
  height: 100%;
}

.how-to-cards.summary .step-icon picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-to-cards.summary .step-icon picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .how-to-cards.summary .cards-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    width: auto;
  }
}
