.rf-heading--accent-box {
  position: relative;
  display: inline-block;
}
.rf-heading--accent-box::before {
  background: var(--neutral-light);
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 220%;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  -webkit-transform: translate(-50%, -50%) rotate(5deg);
  -ms-transform: translate(-50%, -50%) rotate(5deg);
  transform: translate(-50%, -50%) rotate(5deg);
  z-index: -1;
}
.rf-text-box-wrap--primary {
  color: #fff;
  background: var(--primary);
  position: relative;
  padding: 0.1em 0.25em 0.1em 0.25em;
  display: inline-block;
  border-radius: var(--rf-radius);
  box-shadow: var(--rf-shadow-s);
}
.rf-text-box-wrap--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -0.25em;
  /* Adjust to cover padding */
  right: -0.25em;
  /* Adjust to cover padding */
  bottom: 0;
  z-index: 0;
}
.rf-text-box-wrap--secondary {
  color: #fff;
  background: var(--secondary);
  position: relative;
  padding: 0.1em 0.25em 0.1em 0.25em;
  display: inline-block;
  border-radius: var(--rf-radius);
  box-shadow: var(--rf-shadow-s);
}
.rf-text-box-wrap--secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -0.25em;
  /* Adjust to cover padding */
  right: -0.25em;
  /* Adjust to cover padding */
  bottom: 0;
  z-index: 0;
}
.rf-angled-underline--primary {
  position: relative;
  display: inline;
  width: auto !important;
}
.rf-angled-underline--primary::after {
  position: absolute;
  content: "";
  pointer-events: none;
  bottom: -1.5rem;
  width: 60%;
  height: 0;
  left: 0;
  right: 0;
  border-top: 10px solid var(--primary);
  border-right: 10px solid transparent;
  z-index: 0;
}
.rf-angled-underline--secondary {
  position: relative;
  display: inline;
  width: auto !important;
}
.rf-angled-underline--secondary::after {
  position: absolute;
  content: "";
  pointer-events: none;
  bottom: -1rem;
  width: 60%;
  height: 0;
  left: 0;
  right: 0;
  border-top: 10px solid var(--secondary);
  border-right: 10px solid transparent;
  z-index: 0;
}
.rf-divider--primary {
  position: relative;
  background-color: transparent;
}
.rf-divider--primary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--rf-card-padding);
  width: 60%;
  height: 2px;
  background-color: var(--primary);
}
.rf-divider--secondary {
  position: relative;
  background-color: transparent;
}
.rf-divider--primasecondary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--rf-card-padding);
  width: 60%;
  height: 2px;
  background-color: var(--secondary);
}
.accent-borders--top-left-bottom-right {
  position: relative;
  --border-color-top-left-bottom-right: var(--primary);
  --border-width-top-left-bottom-right: 200px;
  --border-height-top-left-bottom-right: 200px;
  --border-offset-top-left-bottom-right: calc(-0 * var(--space-m));
  --border-size-top-left-bottom-right: 4px;
  --border-radius-top-left-bottom-right: var(--radius-m);
  --border-style-top-left-bottom-right: solid;
}
/* These can be left as is */
.accent-borders--top-left-bottom-right::before, .accent-borders--top-left-bottom-right::after {
  content: "";
  background-color: transparent;
  position: absolute;
  width: var(--border-width-top-left-bottom-right);
  height: var(--border-height-top-left-bottom-right);
}
.accent-borders--top-left-bottom-right::before {
  border-top: var(--border-size-top-left-bottom-right) var(--border-style-top-left-bottom-right) var(--border-color-top-left-bottom-right);
  border-left: var(--border-size-top-left-bottom-right) var(--border-style-top-left-bottom-right) var(--border-color-top-left-bottom-right);
  border-top-left-radius: var(--border-radius-top-left-bottom-right);
  top: var(--border-offset-top-left-bottom-right);
  left: var(--border-offset-top-left-bottom-right);
  z-index: 4;
}
.accent-borders--top-left-bottom-right::after {
  border-bottom: var(--border-size-top-left-bottom-right) var(--border-style-top-left-bottom-right) var(--border-color-top-left-bottom-right);
  border-right: var(--border-size-top-left-bottom-right) var(--border-style-top-left-bottom-right) var(--border-color-top-left-bottom-right);
  border-bottom-right-radius: var(--border-radius-top-left-bottom-right);
  bottom: var(--border-offset-top-left-bottom-right);
  right: var(--border-offset-top-left-bottom-right);
}
.accent-borders--top-right-bottom-left {
  position: relative;
  --border-color-top-right-bottom-left: var(--neutral-light);
  --border-width-top-right-bottom-left: 200px;
  --border-height-top-right-bottom-left: 200px;
  --border-offset-top-right-bottom-left: calc(-1 * var(--space-m));
  --border-size-top-right-bottom-left: 4px;
  --border-radius-top-right-bottom-left: var(--radius-m);
  --border-style-top-right-bottom-left: solid;
}
/* These can be left as is */
.accent-borders--top-right-bottom-left::after {
  content: "";
  background-color: transparent;
  position: absolute;
  width: var(--border-width-top-right-bottom-left);
  height: var(--border-height-top-right-bottom-left);
}
.accent-borders--top-right-bottom-left::before {
  border-top: var(--border-size-top-right-bottom-left) var(--border-style-top-right-bottom-left) var(--border-color-top-right-bottom-left);
  border-right: var(--border-size-top-right-bottom-left) var(--border-style-top-right-bottom-left) var(--border-color-top-right-bottom-left);
  border-top-right-radius: var(--border-radius-top-right-bottom-left);
  top: var(--border-offset-top-right-bottom-left);
  right: var(--border-offset-top-right-bottom-left);
  z-index: 4;
}
.accent-borders--top-right-bottom-left::after {
  border-bottom: var(--border-size-top-right-bottom-left) var(--border-style-top-right-bottom-left) var(--border-color-top-right-bottom-left);
  border-left: var(--border-size-top-right-bottom-left) var(--border-style-top-right-bottom-left) var(--border-color-top-right-bottom-left);
  border-bottom-left-radius: var(--border-radius-top-right-bottom-left);
  bottom: var(--border-offset-top-right-bottom-left);
  left: var(--border-offset-top-right-bottom-left);
}
.accent-border--top-right {
  position: relative;
  --border-color-top-right: var(--neutral-light);
  --border-offset-top-right: calc(-1 * var(--space-m));
  --border-size-top-right: 4px;
  --border-style-top-right: solid;
}
.accent-border--top-right::before {
  content: "";
  width: 200px;
  height: 200px;
  background-color: transparent;
  border-top: var(--border-size-top-right) var(--border-style-top-right) var(--border-color-top-right);
  border-right: var(--border-size-top-right) var(--border-style-top-right) var(--border-color-top-right);
  border-top-right-radius: var(--radius-m);
  position: absolute;
  top: var(--border-offset-top-right);
  right: var(--border-offset-top-right);
  z-index: 1;
}
.accent-border--top-right {
  position: relative;
  --border-color-top-right: var(--neutral-light);
  --border-offset-top-right: calc(-1 * var(--space-m));
  --border-size-top-right: 4px;
  --border-style-top-right: solid;
}
.accent-border--top-right::before {
  content: "";
  width: 200px;
  height: 200px;
  background-color: transparent;
  border-top: var(--border-size-top-right) var(--border-style-top-right) var(--border-color-top-right);
  border-right: var(--border-size-top-right) var(--border-style-top-right) var(--border-color-top-right);
  border-top-right-radius: var(--radius-m);
  position: absolute;
  top: var(--border-offset-top-right);
  right: var(--border-offset-top-right);
  z-index: 1;
}
.accent-border--bottom-left {
  position: relative;
  --border-color-bottom-left: var(--neutral-light);
  --border-offset-bottom-left: calc(-1 * var(--space-m));
  --border-size-bottom-left: 4px;
  --border-style-bottom-left: solid;
}
.accent-border--bottom-left::after {
  content: "";
  width: 200px;
  height: 200px;
  background-color: transparent;
  border-bottom: var(--border-size-bottom-left) var(--border-style-bottom-left) var(--border-color-bottom-left);
  border-left: var(--border-size-bottom-left) var(--border-style-bottom-left) var(--border-color-bottom-left);
  border-bottom-left-radius: var(--radius-m);
  position: absolute;
  bottom: var(--border-offset-bottom-left);
  left: var(--border-offset-bottom-left);
}
.accent-border--bottom-right {
  position: relative;
  --border-color-bottom-right: var(--neutral-light);
  --border-offset-bottom-right: calc(-1 * var(--space-m));
  --border-size-bottom-right: 4px;
  --border-style-bottom-right: solid;
}
.accent-border--bottom-right::after {
  content: "";
  width: 200px;
  height: 200px;
  background-color: transparent;
  border-bottom: var(--border-size-bottom-right) var(--border-style-bottom-right) var(--border-color-bottom-right);
  border-right: var(--border-size-bottom-right) var(--border-style-bottom-right) var(--border-color-bottom-right);
  border-bottom-right-radius: var(--radius-m);
  position: absolute;
  bottom: var(--border-offset-bottom-right);
  right: var(--border-offset-bottom-right);
  z-index: 1;
}
.accent-borders--top-left-bottom-right-hover {
  position: relative;
}
.accent-borders--top-left-bottom-right-hover::before, .accent-borders--top-left-bottom-right-hover::after {
  content: "";
  background-color: transparent;
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}
.accent-borders--top-left-bottom-right-hover::before {
  border-top: 0 solid transparent;
  border-left: 0 solid transparent;
  top: calc(1 * var(--space-m));
  left: calc(1 * var(--space-m));
  z-index: 0;
}
.accent-borders--top-left-bottom-right-hover::after {
  border-bottom: 0 solid transparent;
  border-right: 0 solid transparent;
  bottom: calc(1 * var(--space-m));
  right: calc(1 * var(--space-m));
  z-index: -1;
}
.accent-borders--top-left-bottom-right-hover:hover {
  --border-color-top-left-bottom-right: var(--white);
  --border-width-top-left-bottom-right: 20%;
  --border-height-top-left-bottom-right: 20%;
  --border-offset-top-left-bottom-right: calc(1 * var(--space-m));
  --border-size-top-left-bottom-right: 2px;
  --border-radius-top-left-bottom-right: var(--radius-m);
  --border-style-top-left-bottom-right: solid;
}
.accent-borders--top-left-bottom-right-hover:hover::before, .accent-borders--top-left-bottom-right-hover:hover::after {
  width: var(--border-width-top-left-bottom-right);
  height: var(--border-height-top-left-bottom-right);
  opacity: 1;
}
.accent-borders--top-left-bottom-right-hover:hover::before {
  border-top: var(--border-size-top-left-bottom-right) var(--border-style-top-left-bottom-right) var(--border-color-top-left-bottom-right);
  border-left: var(--border-size-top-left-bottom-right) var(--border-style-top-left-bottom-right) var(--border-color-top-left-bottom-right);
  border-top-left-radius: var(--border-radius-top-left-bottom-right);
}
.accent-borders--top-left-bottom-right-hover:hover::after {
  border-bottom: var(--border-size-top-left-bottom-right) var(--border-style-top-left-bottom-right) var(--border-color-top-left-bottom-right);
  border-right: var(--border-size-top-left-bottom-right) var(--border-style-top-left-bottom-right) var(--border-color-top-left-bottom-right);
  border-bottom-right-radius: var(--border-radius-top-left-bottom-right);
}
.rf-text-highlight--primary {
  color: var(--primary);
}
.rf-text-highlight--secondary {
  color: var(--secondary);
}
