/* Homepage hero text treatment inspired by Text Type, tuned for Chinese copy. */
.metop-nx-home .metop-nx__hero-title .metop-text-type-target {
  display: block;
  min-height: var(--metop-text-type-height, auto);
}

.metop-nx-home .metop-nx__hero-title .metop-text-type-target::after {
  background: var(--nx-blue, #142e90);
  content: "";
  display: inline-block;
  height: 0.84em;
  margin-left: 0.16em;
  vertical-align: -0.08em;
  width: 0.065em;
}

.metop-nx-home .metop-nx__hero-title .metop-text-type-target.metop-text-type-complete::after {
  animation: metop-text-type-cursor 920ms steps(1, end) infinite;
}

@keyframes metop-text-type-cursor {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0.16; }
}

@media (prefers-reduced-motion: reduce) {
  .metop-nx-home .metop-nx__hero-title .metop-text-type-target::after {
    animation: none;
    opacity: 0.7;
  }
}
