/**
 * Copyright (c) HashiCorp, Inc.
 * SPDX-License-Identifier: BUSL-1.1
 */

.page-header {
  padding-bottom: $spacing-4;
  padding-top: $spacing-20;

  .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: $spacing-16;
  }

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

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