.accordion {
 --#{$prefix}accordion-color: #{$accordion-color};
}

.accordion-button {
  &:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
  }

  &:after {
    opacity: $text-secondary-opacity;
  }

  &:not(.collapsed) {
    font-weight: var(--#{$prefix}font-weight-bold);
    border-bottom-color: transparent;
    box-shadow: none;

    &:after {
      opacity: 1;
    }
  }
}