.cta {
  --fg-color: var(--color-white);
  padding: 1rem 2rem 2rem;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);

  img {
    display: block;
  }

  svg {
    fill: var(--fg-color);
    margin: 0 auto .5rem;
  }

  h2 a {
    color: var(--fg-color);
    font-size: 1.5rem;
    text-decoration: none;

    /* Make the whole cta appear to be clickable */
    &::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    &::after {
      z-index: 1;
    }
  }

  &:is(:hover,:focus) {
    --bg-color: var(--color-dk-raspberry);
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
  }


  .list-inline {
    margin-top: 2rem;
    justify-content: center
  }
}

@container main-canvas (min-width: 1200px) {
  .cta {
    padding: 1rem 5rem 3rem;
    margin: 0 auto;
    max-width: 41rem;
  }
}
