.link-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: spacing(-1);
  box-shadow: $shadow-style-front color('shadow');
  @include set-colors('interactive');
  @include set-font(0, "single");
  
  &:hover {
    background-color: color('interactive-hover');
    outline: none;
  }
  
  &:active {
    box-shadow: $shadow-style-back color('shadow');
    outline: none;
  }
  
  &--highlighted {
    @include set-colors('theme');

    &:hover {
      background-color: color('theme-hover');
    }
  }

  p {
    line-height: line-height('single');
  }
}

.link-box__text {
  @include set-font(0, "single");
  order: 1; // Ensure the text is positioned far left
}

.link-box--icon::before {
  content: "\f061"; // Correct Unicode for the desired icon
  font-family: "font-awesome"; // Ensure the font is loaded correctly
  font-weight: 300;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: auto;
  font-size: var(--font-size-p1);
  width: var(--font-size-p1);
  line-height: calc(1.1em + 0.3rem);
  align-self: flex-start;
  order: 10; // Ensure the icon is positioned far right
}