/**
 * CTA
 */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 40px;
  border: 1px solid var(--primary);
  padding: 0.8rem 1.5rem;
  color: var(--white);
  margin: 0.5rem 0;
  width: max-content;
  transition: 0.1s;
  background-color: var(--primary);
}
.cta::before {
  content: "";
  display: block;
  position: relative;
  width: 16px;
  height: 16px;
  background-image: url("../../images/cta/arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.cta:hover {
  text-decoration: none;
  background-color: var(--white);
  color: var(--primary);
}
.cta:hover::before {
  background-image: url("../../images/cta/arrow-hover.svg");
}

.highlighting .cta--primary {
  color: var(--white);
  left: 0;
  padding: 0.3rem 1rem;
}

.highlighting .cta--primary:hover {
  color: var(--primary);
}

.highlighting .cta--primary::before {
  content: none;
}

.cta--center {
  margin: 0.5rem auto;
}
.cta--left {
  margin-right: auto;
}
.cta--right {
  margin-left: auto;
}
