// Lightning Design System 2.264.0-beta.1
// Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
// Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license

@include deprecate('4.0.0', 'Use .slds-section__title instead') {

  .slds-section-title {
    font-size: $font-size-5;

    > a {
      display: inline-block;
      color:var(--slds-g-color-neutral-base-10, #{$color-text-default});

      &:hover,
      &:focus {
        color: var(--slds-g-link-color-hover, #{$color-text-link-hover});
      }

      &:focus {
        box-shadow: $shadow-button-focus;
      }

      &:active {
        color: var(--slds-g-color-neutral-base-10, #{$color-text-default});
      }
    }

    .slds-icon {
      @include square($square-icon-medium-content);
      fill: currentColor;
    }

    .slds-section-group_is-closed .slds-icon,
    .slds-section-group--is-closed .slds-icon {
      transform: rotate(-90deg);
    }
  }
}
