.teaser--icon {
  text-align: center;
  margin-block: 4rem;
  overflow: hidden;

  h2 {
    margin-bottom: 2rem;
  }
}

.teaser--icon__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5625em;

  @media screen and (min-width: 28.125em) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media screen and (min-width: 47.5em) {
    gap: 1.125em;
  }

  @media screen and (min-width: 65.625em) {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }
}

.teaser--icon__item {
  background: #f0f7ff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 20px;

  @media screen and (min-width: 47.5em) {
    padding: 30px;
    gap: 1.125em;
  }

  .wp-block-button {
    margin-top: auto;
    margin-inline: auto;

    a {
      display: inline-block;
      padding: 0.75em 1em;
      line-height: 1.1;
      font-size: 1em;
      color: #ffbec4;
      background: #002970;
      border-radius: 4px;
      text-decoration: none;
      text-transform: none;
      font-family: "Circular-Pro-Bold", Arial, sans-serif;
      transition: all 0.1s ease-out;

      &:hover,
      &:focus {
        color: #002970;
        background: #ff768b;
      }
    }
  }

  h3.wp-block-heading {
    color: #002970;
    display: flex;
    height: 2em;
    min-height: 2em;
    align-items: center;
    justify-content: center;
    margin-top: 0;
  }

  img {
    display: block;
    margin: 1em auto 0;
    width: 50%;
    height: auto;

    @media screen and (min-width: 47.5em) {
      width: 50%;
    }
  }

  p {
    margin: 0.5em 0;
    margin-bottom: 1.75em;
  }
}
