#page-head {
  color: #fff;
  padding: 3em 0 2em 0;
  position: relative;
  height: 40vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#page-head .page-head-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#page-head .page-head-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#page-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(34,34,34,0.85) 0%, rgba(34,34,34,0.5) 80%, rgba(34,34,34,0.2) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}

#page-head .page-head-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: left;
  gap: 2em;
  justify-content: left;
  text-align: left;
}
#page-head .page-head-text {
  flex: 1 1 350px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: left;
}
#page-head .page-head-text h1 {
  font-size: 4.5em;
  font-weight: 700;
  line-height: 1.1;
  margin: 10px 0 20px 0;
  letter-spacing: -2px;
  max-width: 16ch;
}
#page-head .page-head-btns {
  display: flex;
  gap: 1em;
}
#page-head .page-head-cta-btn {
  margin-top: 30px;
  align-self: flex-start;
}

#page-head .page-head-cta-row {
  justify-content: center;
}
#page-head .page-head-description {
  margin-top: 24px;
  font-size: 1.25em;
  line-height: 1.2;
  color: #fff;
  max-width: 600px;
  text-align: left;
}

@media (max-width: 1050px) {
  #page-head .page-head-text h1 {
    font-size: 4em;
  }
}

@media (max-width: 768px) {
  #page-head .page-head-text h1 {
    font-size: 4em;
  }
}
@media (max-width: 570px) {
  #page-head .page-head-text h1 {
    font-size: 3em;
  }
}
@media (max-width: 375px) {
  #page-head .page-head-text h1 {
    font-size: 2.5em;
  }
}

