.ds-call-to-action-with-arrow {
  align-items: center;
  background: var(--ds-color-chicago-30);
  border: 0.125rem solid transparent;
  border-radius: 1.25rem; /* half the height value */
  box-sizing: border-box;
  color: var(--ds-color-london-100);
  display: inline-flex;
  font-family: var(--ds-type-system-sans-lining);
  font-size: var(--ds-type-scale-0);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-weight: 500;
  line-height: var(--ds-type-leading-border-link);
  margin: 0;
  min-height: 2.5rem;
  padding: 0.25rem calc(var(--ds-grid-gutter) - 0.25rem) 0.25rem var(--ds-grid-gutter);
  text-decoration: none;
  transition: background var(--ds-interactions-transition), color var(--ds-interactions-transition);
  will-change: color;
  &::after {
    color: var(--ds-color-london-100);
    content: '→';
    font-family: var(--ds-type-system-sans-lining);
    margin: 0 0 0 0.375rem;
  }
  &:hover {
    background: var(--ds-color-chicago-20);
  }
  &:focus {
    box-shadow: 0 0 0 0.125rem var(--ds-color-hong-kong-55);
    outline: solid transparent;
  }
  &:active {
    background: var(--ds-color-chicago-20);
    border-color: var(--ds-color-hong-kong-55);
    box-shadow: none;
  }
}

.ds-call-to-action-with-arrow--inverse {
  background-color: var(--ds-color-london-100);
  color: var(--ds-color-london-5);
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: auto;
  &::after {
    color: var(--ds-color-london-5);
  }
  &:hover {
    background-color: hsla(var(--ds-color-hsl-london-100), 0.85);
  }
  &:focus {
    background-color: var(--ds-color-london-100);
    border-color: transparent;
  }
  &:active {
    background-color: hsla(var(--ds-color-hsl-london-100), 0.85);
    border-color: var(--ds-color-hong-kong-55);
  }
  &.ds-call-to-action-with-arrow--secondary {
    border-color: var(--ds-color-london-100);
    color: var(--ds-color-london-100);
    &::after {
      color: var(--ds-color-london-100);
    }
    &:hover {
      border-color: hsla(var(--ds-color-hsl-london-100), 0.85);
      color: hsla(var(--ds-color-hsl-london-100), 0.85);
      &::after {
        color: hsla(var(--ds-color-hsl-london-100), 0.85);
      }
    }
    &:focus {
      background: transparent;
      color: var(--ds-color-london-100);
      &::after {
        color: var(--ds-color-london-100);
      }
    }
    &:active {
      border-color: var(--ds-color-hong-kong-55);
      color: hsla(var(--ds-color-hsl-london-100), 0.85);
      &::after {
        color: hsla(var(--ds-color-hsl-london-100), 0.85);
      }
    }
  }
}

.ds-call-to-action-with-arrow--secondary {
  background: transparent;
  border-color: var(--ds-color-chicago-45);
  color: var(--ds-color-chicago-45);
  -moz-osx-font-smoothing: auto;
  -webkit-font-smoothing: auto;
  &::after {
    color: var(--ds-color-chicago-45);
  }
  &:hover {
    background: transparent;
    border-color: var(--ds-color-chicago-30);
    color: var(--ds-color-chicago-30);
    &::after {
      color: var(--ds-color-chicago-30);
    }
  }
  &:focus {
    border-color: transparent;
    color: var(--ds-color-chicago-30);
    &::after {
      color: var(--ds-color-chicago-30);
    }
  }
  &:active {
    background: transparent;
    border-color: var(--ds-color-hong-kong-55);
  }
}
