/* Approved animated rooster: homepage header and new-farm confirmation. */
.site-header .brand[data-animated-logo] { position: relative; }
.site-header .brand[data-animated-logo] > video {
  position: absolute; width: 100%; height: 112.658%; top: -8.439%; left: 0;
  max-width: none; object-fit: fill; opacity: 0; pointer-events: none;
}
[data-animated-logo] > img { opacity: 1; }
[data-animated-logo].logo-is-playing > img { opacity: 0; }
[data-animated-logo].logo-is-playing > video { opacity: 1; }
.site-header .brand[data-animated-logo].logo-is-playing > video { opacity: 1; }
.animated-confirmation .confirmation-brand {
  position: relative; width: min(100%, 430px); aspect-ratio: 1640 / 534;
  margin: -4px 0 26px; background: #fff;
}
.confirmation-brand > img,
.confirmation-brand > video {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.confirmation-brand > video { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.confirmation-brand.logo-is-playing > video { opacity: 1; }
.animated-confirmation { border-top: 4px solid #edbd39; }
@media (max-width: 600px) {
  .animated-confirmation .confirmation-brand { width: min(100%, 330px); margin-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-animated-logo] > video { display: none !important; }
  [data-animated-logo] > img { opacity: 1 !important; }
}

@media print { [data-animated-logo] > video { display: none !important; } [data-animated-logo] > img { opacity: 1 !important; } }
