.tanovis_sub_hero {
  position: relative;
  overflow: hidden;
  min-height: 60vh;

  @media screen and (max-width: 63.998rem) {
    min-height: 100vh;
  }

  &.sub_hero--bg-light {
    background-color: var(--wp--preset--color--theme-light-bg);
    color: var(--wp--preset--color--theme-light-fg);
  }

  &.sub_hero--bg-medium {
    background-color: var(--wp--preset--color--theme-medium-bg);
    color: var(--wp--preset--color--theme-medium-fg);
  }

  &.sub_hero--bg-dark {
    background-color: var(--wp--preset--color--theme-dark-bg);
    color: var(--wp--preset--color--theme-dark-fg);
  }

  &.sub_hero--bg-accent {
    background-color: var(--wp--preset--color--theme-accent-bg);
    color: var(--wp--preset--color--theme-accent-fg);
  }

  .hero__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .hero__bg,
  .hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero__bg {
    z-index: 1;
  }
  .hero__video {
    z-index: 2;
  }

  .hero__symbol-container.tanovis {
    clip-path: polygon(
      0% 0%,
      100% 0%,
      100% 100%,
      60% 100%,
      60% 45%,
      100% 33%,
      0% 33%
    );
    height: 101%;
    aspect-ratio: 3 / 4;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
  }

  .hero__symbol-container.angle {
    clip-path: polygon(100% 0, 100% 100%, 0% 100%);
    height: 61vh;
    width: 100vh;
    aspect-ratio: 16 / 9;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;

    @media screen and (max-width: 63.998rem) {
      top: auto;
      bottom: 0;
      right: 0;
    }
  }

  .hero__symbol-container.split {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    height: 61vh;
    width: 50%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;

    @media screen and (max-width: 63.998rem) {
      top: auto;
      bottom: 0;
      right: 0;
      width: 100%;
    }
  }

  .hero__symbol {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--current-bg-color);
    z-index: 3;
  }

  /* Text and posts content */
  .hero__content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 60vh;

    @media screen and (max-width: 63.998rem) {
      min-height: 100vh;
    }
  }
  .hero__title {
    text-align: left;
    margin-bottom: var(--px-24);
    color: inherit;
  }

  @media screen and (min-width: 64rem) {
    .hero__title {
      max-width: 50%;
    }
  }
}
