.teaser-boxes-headline {
  grid-column: 2 / span 12;
  text-align: center;
  margin-bottom: var(--s-sm);
  text-wrap: balance;
}

.teaser-boxes-description {
  grid-column: 2 / span 12;
  max-width: min(100%, 110ch);
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--s-lg);
}

.teaser-boxes-list {
  grid-column: 3 / span 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.teaser-boxes-item {
  display: flex;
  flex-direction: column;
}

.teaser-boxes-item img {
  aspect-ratio: 621/524;
  object-fit: cover;
}

.teaser-boxes-item-content {
  background-color: var(--blue);
  color: var(--white);
  font-family: "Ubuntu", Sans-serif;
  padding: max(0.75rem, 1.4453125vw);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.teaser-boxes-more-info {
  color: var(--white);
  font-size: max(1rem, 0.9765625vw);
  font-weight: 700;
  margin-top: auto;
}

.teaser-boxes-item-title {
  color: var(--yellow);
  font-size: max(1.15rem, 1.171875vw);
  margin-block: 0.66666666666666em;
  text-wrap: balance;
}

.teaser-boxes-item-subheadline {
  font-weight: 700;
}

.teaser-boxes-btn {
  grid-column: 2 / span 12;
  justify-self: center;
  margin-top: var(--s-md);
}

@media (max-width: 1199.98px) {
  .teaser-boxes-list {
    grid-column: 2 / span 12;
  }
}

@media (max-width: 767.98px) {
  .teaser-boxes-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .teaser-boxes-list {
    grid-template-columns: 1fr;
  }
}
