/* A moving backdrop; Oblee's existing lettering, layout and artwork stay intact. */
[data-hero-video] {
  position: relative;
  isolation: isolate;
}
.poster-hero[data-hero-video] { padding-bottom: 88px; }
.organizer-hero[data-hero-video] { padding-bottom: 94px; }
[data-hero-video] > .hero-motion {
  position: absolute;
  inset: 16px 18px;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background: var(--paper);
  border-radius: 2px;
  contain: paint;
}
.organizer-hero[data-hero-video] > .hero-motion { inset: 16px -20px; }
.hero-motion-poster,
.hero-motion-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.hero-motion-poster { opacity: 1; }
.hero-motion-video { opacity: 0; transition: opacity .45s ease; }
[data-video-state="playing"] .hero-motion-video { opacity: 1; }
.hero-motion::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245,243,233,.93) 0%, rgba(245,243,233,.88) 38%, rgba(245,243,233,.49) 65%, rgba(245,243,233,.28) 100%);
}
body[data-country="GH"] .hero-motion::after {
  background: linear-gradient(90deg, rgba(247,242,226,.93) 0%, rgba(247,242,226,.88) 38%, rgba(247,242,226,.49) 65%, rgba(247,242,226,.28) 100%);
}
.organizer-hero[data-hero-video] > div:not(.hero-motion) { position: relative; z-index: 1; }
.poster-hero[data-hero-video] .board-kicker > span {
  background: var(--paper-clean);
  color: var(--ink);
  padding: 3px 5px;
  border-radius: 2px;
}
.poster-hero[data-hero-video] .board-note {
  background: var(--paper-clean);
  color: var(--ink);
  padding: 5px 8px;
  border-radius: 2px;
}
.hero-motion-toggle {
  position: absolute;
  right: 38px;
  bottom: 28px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--paper-clean);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 2px 2px 0 #103e2d20;
}
.hero-motion-toggle:hover { background: var(--country-soft); }
.hero-motion-toggle[hidden] { display: none; }
.hero-motion-toggle:focus-visible { outline: 3px solid var(--poster-primary); outline-offset: 4px; }
.hero-motion-toggle:disabled { cursor: default; opacity: .8; }
.hero-motion-toggle-icon { display: inline-flex; width: 16px; height: 16px; flex-shrink: 0; }
.hero-motion-toggle-icon svg { display: block; width: 16px; height: 16px; }
.organizer-hero .hero-motion-toggle { right: 0; }
.footer-links a { padding: 0; font-size: inherit; color: inherit; }
.footer-links a:hover { text-decoration: underline; }
/* Keep the editorial copy legible independently of the current video frame. */
.poster-hero[data-hero-video] .hero-description,
.poster-hero[data-hero-video] .hero-free-note { color: var(--ink); }
#hero-title:focus { outline: none; }
@media (max-width: 900px) {
  .poster-hero[data-hero-video] .hero-copy {
    background: var(--paper);
    box-shadow: 0 0 0 10px var(--paper);
  }
}
@media (max-width: 760px) {
  .poster-hero[data-hero-video] { padding-bottom: 76px; }
  .organizer-hero[data-hero-video] { padding-bottom: 92px; }
  [data-hero-video] > .hero-motion { inset: 11px 10px; }
  .organizer-hero[data-hero-video] > .hero-motion { inset: 12px -10px; }
  .hero-motion::after {
    background: linear-gradient(180deg, rgba(245,243,233,.93) 0%, rgba(245,243,233,.90) 49%, rgba(245,243,233,.54) 100%);
  }
  body[data-country="GH"] .hero-motion::after {
    background: linear-gradient(180deg, rgba(247,242,226,.93) 0%, rgba(247,242,226,.90) 49%, rgba(247,242,226,.54) 100%);
  }
  .hero-motion-toggle { right: 22px; bottom: 23px; max-width: calc(100% - 44px); }
  .organizer-hero .hero-motion-toggle { right: 0; bottom: 28px; }
  .site-footer .footer-links { flex-wrap: wrap; }
}
@media (max-width: 370px) {
  .hero-motion-toggle { right: 20px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-motion-video { transition: none; }
}
