.hero-fullscreen-left-text {
  --hero-fullscreen-left-text-bg: #1f2320;
  --hero-fullscreen-left-text-overlay: rgba(0, 0, 0, 0.42);
  --hero-fullscreen-left-text-text: #fbfaf7;
  --hero-fullscreen-left-text-padding-y: var(--wp--preset--spacing--16);
  --hero-fullscreen-left-text-padding-x: var(--wp--preset--spacing--6);
  --hero-fullscreen-left-text-content-width: 40%;

  position: relative;
  min-height: 100vh;
  padding: 0;
  background: var(--hero-fullscreen-left-text-bg);
  color: var(--hero-fullscreen-left-text-text);
  text-align: left;

  align-items: end;
}

.hero-fullscreen-left-text.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-fullscreen-left-text .wp-block-cover__background {
  background-color: var(--hero-fullscreen-left-text-overlay);
}

.hero-fullscreen-left-text .wp-block-cover__image-background {
  object-position: center center;
}

.hero-fullscreen-left-text .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--hero-fullscreen-left-text-padding-y) var(--hero-fullscreen-left-text-padding-x);
  gap: var(--wp--preset--spacing--4);
}

.hero-fullscreen-left-text .wp-block-heading,
.hero-fullscreen-left-text p {
  width: var(--hero-fullscreen-left-text-content-width);
  max-width: var(--hero-fullscreen-left-text-content-width);
  margin-right: auto;
  margin: 0;
  color: inherit;
}

@media (max-width: 781px) {
  .hero-fullscreen-left-text .wp-block-heading,
  .hero-fullscreen-left-text p {
    width: 100%;
    max-width: var(--wp--style--global--content-size);
  }
}
