.header {
  display: flex;
  z-index: 0;
  flex-direction: column;
  position: relative;
  top: 6rem;
  margin-bottom: 0;
  min-height: 20rem;
  padding-bottom: 3rem;

  @include min(laptop) {
    top: 3rem;
  }

  &.event:after,
  &.homepage:after,
  &.sportsbook:after {
    content: '';
    background-image: url('../../../../images/Right.png');
    width: 30.1rem;
    height: 357px;
    bottom: 0rem;
    position: absolute;
    background-repeat: no-repeat;
    z-index: 0;
    right: 0;
  }

  &.event:before,
  &.homepage:before,
  &.sportsbook:before {
    content: '';
    background-image: url('../../../../images/Left.png');
    width: 30.1rem;
    height: 357px;
    z-index: 0;
    top: 2rem;
    left: -8rem;
    position: absolute;
    background-repeat: no-repeat;
    @include min(laptop) {
      left: 0;
    }
  }

  .breadcrumbContainer {
    width: 100vw;
    z-index: 10;
    ol {
      @include flex-align(center, flex-start);
      padding-top: 0;
      max-width: var(--main-container-max);
      margin: 0 auto;
      padding: 2rem 2rem 1rem 2rem;
      overflow-x: scroll;

      li {
        color: white;
        padding-right: 1rem;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        white-space: nowrap;
        > span {
          padding-left: 1rem;
        }

        a,
        span {
          color: white;
        }
      }
    }
  }

  .headerContent {
    width: 100%;
    z-index: 1;

    > * {
      max-width: var(--main-container-max);
      margin: 0 auto;
    }

    .topSection {
      display: flex;
      justify-content: space-between;

      > div {
        padding-top: 1rem;
      }

      .readingTime {
        > span {
          font-weight: bold;
        }
      }

      @include max(mobile) {
        flex-direction: column;
      }
    }
  }
}

.headerContent {
  height: auto;
  margin: 0 auto;
  position: relative;
  padding-bottom: 2rem;

  @include max(mobile){
    >div:last-child>div>div{
      a{
        width: 100%;
      }
    }
  }

  @include min(tablet) {
    min-height: 352px;
  }
}

.homepage + main {
  margin-top: -34rem;
  position: relative;
  z-index: 1;
}

.headerContent.homepage {
  padding-top: 6.6rem;

  @include min(laptop) {
    padding-top: inherit;
  }
}

.headerContent.tournament {
  padding: 0 !important;
  max-width: none;
  position: inherit;
}

.description {
  > p {
    color: #fff;
  }
}

.contact_us {
  min-height: 12.1rem;
  padding: 0;
  background-image: url('../../../../../static/images/contact-us-mobile.jpg');
  background-size: 100% 121px;

  @include min(tablet) {
    background-image: url('../../../../../static/images/contact-us.png');
    background-size: 100% 262px;
    min-height: 26.2rem;
  }

  > div {
    max-width: 100% !important;
  }
}
