/* Highlight target card when arriving via #flode-{id} from home headlines. */
.news-teaser--stream-focus {
  border-radius: 0.75rem;
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--region-primary, #e85d00) 78%, #fff 22%),
    0 10px 28px color-mix(in srgb, var(--region-primary, #e85d00) 22%, transparent);
  outline: 2px solid color-mix(in srgb, var(--region-primary, #e85d00) 55%, transparent);
  outline-offset: 3px;
  scroll-margin-block: 6rem;
  transition: box-shadow 0.25s ease, outline-color 0.25s ease;
}

@keyframes sk-stream-focus-pulse {
  0% {
    box-shadow:
      0 0 0 2px color-mix(in srgb, var(--region-primary, #e85d00) 78%, #fff 22%),
      0 10px 28px color-mix(in srgb, var(--region-primary, #e85d00) 22%, transparent);
  }
  100% {
    box-shadow:
      0 0 0 2px color-mix(in srgb, var(--region-primary, #e85d00) 40%, transparent),
      0 6px 18px color-mix(in srgb, var(--region-primary, #e85d00) 10%, transparent);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .news-teaser--stream-focus {
    animation: sk-stream-focus-pulse 1.1s ease-in-out 2 alternate;
  }
}
