.wp-site-blocks {
  overflow: hidden;
}

header.wp-block-template-part {
  position: absolute;
  top: 0;
  background: none;
}

.mobile-navigation-area {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.block-hero2 {
  position: relative;
  padding-top: 8rem;
  max-width: 100%;
}

.block-hero2[class*="-background"] {
  padding-bottom: 2rem;
}

.block-hero2:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background-color: inherit;
  z-index: -1;
  pointer-events: none;
}

.block-hero2 > * {
  max-width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
}

.block-hero2__media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.block-hero2__image, .block-hero2__video {
  position: absolute;
  inset: 0;
  clip-path: url(#hero2-clip);
}

.block-hero2__image img,
.block-hero2__image video, .block-hero2__video img,
.block-hero2__video video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.block-hero2__frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.block-hero2__frame svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dark-mode-on .block-hero2__frame svg path {
  fill: var(--bg) !important;
}

.block-hero2__content {
  margin-top: 2em;
}

.block-hero2__content h1 {
  font-size: clamp(40px, calc((60 / var(--page-width-unitless)) * 100vw), 60px);
  line-height: 1;
}

.has-green-background .block-hero2__frame svg path {
  fill: #c4f792;
}

.has-orange-background .block-hero2__frame svg path {
  fill: #ffb399;
}

.has-purple-background .block-hero2__frame svg path {
  fill: #ce9cff;
}
