@use "00-base/configure" as *;

.ma__back-button {

  .pre-content > &,
  .post-content > &,
  .main-content--full .page-content .layout--onecol-mass-service-section .layout__region--content > &,
  .main-content--full .page-content > & {

    @include ma-container();
  }

  .ma__button {

    @include ma-chevron("left");

    &:before {
      margin-top: 0;
    }
  }

  // backward compatible with v5.6 - replaced link with button atom

  a:not(.ma__button) {

    @include ma-button-size("small");

    @include ma-chevron("left");

    &:before {
      margin-top: 0;
    }
  }
}

//theme

.ma__back-button {

  .ma__button {

    &:before {
      border-color: var(--mf-c-bay-blue-lighter);
      transition: all 0.4s ease;
    }

    &:hover:before {
      border-color: var(--mf-c-font-inverse);
    }
  }

  // backward compatible with v5.6 - replaced link with button atom

  a:not(.ma__button) {

    @include ma-button("",$c-font-link);
    border-color: var(--mf-c-bay-blue-lighter);

    &:before {
      border-color: var(--mf-c-bay-blue-lighter);
      transition: all 0.4s ease;
    }

    &:hover:before {
      border-color: var(--mf-c-font-inverse);
    }
  }
}
