/* The greeting has its own layer and never inherits the mobile poster crop. */
#naslovnica > .english-hero-animation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #03080e;
  visibility: hidden;
  pointer-events: none;
}
#naslovnica.is-robot-playing > .english-hero-animation { visibility: visible; }
#naslovnica.is-robot-playing > .hero-art { display: none; }
#naslovnica.is-robot-playing .hero-inner,
#naslovnica.is-robot-playing .scroll-cue { visibility: hidden; pointer-events: none; }
#naslovnica.is-robot-playing .hero-shade { background: linear-gradient(0deg, #060a1399, transparent 22%); }

@media (max-width: 800px) and (orientation: portrait) and (prefers-reduced-motion: no-preference) {
  #naslovnica.is-robot-playing > .english-hero-animation {
    animation: greeting-framing 8.083s linear both;
  }
  @keyframes greeting-framing {
    0%, 8% { object-position: 82% center; }
    30%, 71% { object-position: 50% center; }
    94%, 100% { object-position: 82% center; }
  }
}
