.header {
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.home .header {
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  height: 540px;

  @media #{$breakpoint-large} {
    height: 880px;
    .header__inside {
      position: relative;
      z-index: 99;
    }
  }
}

.home #content {
  margin-top: -540px;
  background: transparent;

  @media #{$breakpoint-large} {
    margin-top: -880px;
  }
}

.home .entry-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 540px;

  @media #{$breakpoint-large} {
    height: 160px;
    margin: 80px 0 0;
  }

  .entry-title {
    font-family: $font-family-sans-serif;
    font-size: 1.875rem;
    @media #{$breakpoint-large} {
      font-size: 4.5rem;
    }
    margin-bottom: 0;
    text-align: center;
    max-width: 100%;
  }

  .entry-description {
    font-family: $font-family-sans-serif;
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    max-width: 100%;
  }
}

.page:not(.home) .header {
  height: 240px;

  @media #{$breakpoint-large} {
    height: 880px;
  }
}

.page.catalog {
  .header {
    height: 381px;
  }

  .page-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: rem(380);
    margin-top: rem(-380);
  }

  @media #{$breakpoint-large} {
    .header {
      height: 450px;
    }

    .page-header {
      height: 381px;
      margin-top: -381px;
    }
  }
}