.block-header {
  margin-top: -142px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;

  .flickity-page-dots {
    bottom: 10px;
  }

  .splide__pagination__page {
    background: var(--color-primary);
  }
}

.block-header-slide {
  background-position: center center;
  background-size: cover;
  height: 500px;
  width: 100vw;
  position: relative;

  .container {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
    padding-left: 50px;
    padding-right: 50px;

    @media (min-width: 576px) {
      flex-direction: row;
      align-items: flex-end;
    }
  }

  &:after {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    opacity: 0.8;
    z-index: 1;
  }

  .block-header-slide-content {
    @media (min-width: 576px) {
      width: calc(100% / 12 * 8);      
    }

    h2 {
      font-size: 35px;
    }

    .redactor {
      font-size: 20px;
    }
  }

  .block-header-slide-cta {
    display: flex;
    justify-content: flex-end;

    @media (min-width: 576px) {
      width: calc(100% / 12 * 4);      
    }
  }
}
