.header {
  min-height: 520px;
  position: relative;
  overflow: visible;
}
.header.custom-margin {
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .header.custom-margin {
    margin-bottom: 166px;
  }
}
.header .image-wrapper {
  position: absolute;
  inset: 0;
}
.header .image-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #2B2B2B 0%, rgba(43, 43, 43, 0) 74.63%), linear-gradient(276deg, #2B2B2B 7.39%, rgba(43, 43, 43, 0) 84.28%), linear-gradient(0deg, #2B2B2B 0%, rgba(43, 43, 43, 0) 100%), linear-gradient(107deg, #2B2B2B 8.38%, rgba(145, 145, 145, 0) 100%);
}
.header .image-wrapper .image {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.header .container {
  position: relative;
  z-index: 2;
}
.header .image-overlap {
  display: none;
}
@media (min-width: 992px) {
  .header .image-overlap {
    position: relative;
    top: 354px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
  }
  .header .image-overlap img {
    width: 100%;
    height: 332px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
  }
  .header .image-overlap > img:nth-child(1) {
    height: 220px;
  }
  .header .image-overlap > img:nth-child(2),
  .header .image-overlap > img:nth-child(3) {
    display: none;
  }
}
@media (min-width: 992px) and (min-width: 992px) {
  .header .image-overlap {
    grid-template-columns: repeat(12, 1fr);
  }
  .header .image-overlap img {
    height: 332px;
  }
  .header .image-overlap > img:nth-child(1) {
    height: 332px;
    grid-area: 1/1/2/6;
  }
  .header .image-overlap > img:nth-child(2) {
    display: block;
    grid-area: 1/6/2/9;
  }
  .header .image-overlap > img:nth-child(3) {
    display: block;
    grid-area: 1/9/2/13;
  }
}