/**
 * Copyright (c) HashiCorp, Inc.
 * SPDX-License-Identifier: MPL-2.0
 */

.page-header {
  padding-bottom: $size-10;
  padding-top: $size-4;

  .level {
    align-items: flex-end;
  }
  .level-left,
  .level-right {
    flex-grow: 1;
    flex-shrink: 1;

    @include until($mobile) {
      margin-top: 0.5rem;
    }
  }
  .level-right {
    @include from($mobile) {
      justify-content: flex-end;
    }
  }

  .title {
    margin-top: $size-2;
  }

  .title-with-icon {
    display: flex;
  }

  .breadcrumb + .level .title {
    margin-top: $size-4;
  }
  .title .icon {
    height: auto;
    vertical-align: -0.15em;
    width: auto;
  }
}
