/* Hero pattern */

.cnet-hero-section {
  margin-bottom:clamp(3rem, 4vw, 6rem);
}

.cnet-hero {
  box-sizing: border-box;
  color: var(--wp--preset--color--base);
  min-height: calc(var(--wp--preset--spacing--16) * 9.5);
  position: relative;
}

.cnet-hero__cover {
  box-sizing: border-box;
  color: inherit;
  min-height: inherit;
  padding: calc(var(--wp--preset--spacing--16) * 3.5) var(--wp--preset--spacing--16) calc(var(--wp--preset--spacing--16) * 2);
  position: relative;
}

.cnet-hero__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(30, 65, 92, 0) 42%, rgba(30, 65, 92, 0.72) 100%),
    linear-gradient(90deg, rgba(30, 65, 92, 0.58) 0%, rgba(30, 65, 92, 0.32) 38%, rgba(30, 65, 92, 0) 72%);
  pointer-events: none;
}

.cnet-hero .wp-block-cover__inner-container {
  box-sizing: border-box;
  width: 100%;
  position: relative;
  z-index: 2;
}

.cnet-hero__title {
  max-width: 40vw;
  margin: 0;
  color: inherit;
  font-size: var(--font-size-h1);
  font-weight: 400;
  line-height: 0.95;
}

.cnet-hero > .cnet-hero__separator {
  background-color: transparent !important;
  bottom: 0;
  left: 0;
  margin: 0 !important;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 3;
}

@media (max-width: 991px) {
  .cnet-hero__title {
    max-width:60vw;
  }
}

@media (max-width: 767px) {
  .cnet-hero__title {
    max-width:100vw;
  }
}


@media (max-width: 640px) {
  .cnet-hero {
    min-height: calc(var(--wp--preset--spacing--16) * 6);
  }

  .cnet-hero__cover {
    padding-top: calc(var(--wp--preset--spacing--16) + var(--wp--preset--spacing--10));
  }

  .cnet-hero__cover::before {
    background:
      linear-gradient(180deg, rgba(30, 65, 92, 0.08) 30%, rgba(30, 65, 92, 0.78) 100%),
      linear-gradient(90deg, rgba(30, 65, 92, 0.68) 0%, rgba(30, 65, 92, 0.22) 100%);
  }

  .cnet-hero__title {
    max-width: 100%;
    /*font-size: clamp(2.5rem, 14vw, 3.75rem);*/
  }
}
