// Page Header
.page-header {
  padding: 4rem 0;

  h1 {
    span {
      display: block;
      margin-bottom: .4rem;
      font-family: $font-family;
      font-size: 1.5rem;
      font-style: normal;
      font-weight: 700;
      line-height: 1;
    }
  }

  .btn {
    min-width: 100px;
    padding: .85rem 2rem;
    border-radius: .2rem;
    font-size: 1.4rem;
  }

  &.page-header-bg {
    display: flex;
    align-items: center;
    background-color: #ccc;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 320px;
    padding-top: 8rem;

    h1 {
      margin-left: 0;
      font-size: 2.6rem;

      span {
        font-family: $second-font-family;
        font-weight: 300;
        font-size: 1.8rem;
        margin-bottom: .4rem;
      }
    }
  }
}

.page-header h1,
.page-title {
  color: $primary-color;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0;
}

@include mq('md') {
  .page-header {
    padding-top: 6rem;
    padding-bottom: 6rem;

    h1 {
      span {
        font-size: 1.6rem;
      }
    }

    &.page-header-bg {
      height: 370px;

      h1 {
        margin-left: 3rem;
        font-size: 3rem;

        span {
          font-size: 2rem;
        }
      }
    }
  }
}

@include mq('lg') {
  .page-header {
    padding-top: 8rem;
    padding-bottom: 8rem;

    h1 {
      span {
        font-size: 1.8rem;
      }
    }
    &.page-header-bg {
      height: 430px;

      h1 {
        margin-left: 5rem;
        font-size: 3.4rem;

        span {
          font-size: 2.4rem;
        }
      }
    }
  }
}