/* Decorative movement is confined to the Learning Hub panel in Explore. */
html[data-theme] .site-header .mega-menu .mega-intro.cwa-live-picture {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-image: none;
}
.site-header .mega-menu .cwa-live-picture-art {
    position: absolute;
    inset: -1.4%;
    z-index: -2;
    pointer-events: none;
    transform-origin: 80% 78%;
    animation: cwa-hub-picture-breathe 19s ease-in-out infinite alternate;
}
.site-header .mega-menu .cwa-live-picture-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.site-header .mega-menu .cwa-live-picture-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(223,233,233,.95) 0%, rgba(223,233,233,.89) 22%, rgba(223,233,233,.65) 40%, rgba(223,233,233,.19) 65%, rgba(223,233,233,.07) 100%);
}
html[data-theme="dark"] .site-header .mega-menu .cwa-live-picture-shade {
    background: linear-gradient(180deg, rgba(38,57,62,.96) 0%, rgba(38,57,62,.91) 22%, rgba(38,57,62,.75) 40%, rgba(38,57,62,.35) 65%, rgba(38,57,62,.24) 100%);
}
.site-header .mega-menu .cwa-live-picture-copy { position: relative; z-index: 1; }
.site-header .mega-menu .cwa-live-picture-rays {
    transform-origin: 1110px 595px;
    animation: cwa-hub-rays-drift 13s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}
.site-header .mega-menu .cwa-live-picture-shine { animation: cwa-hub-sunlight-sweep 11s ease-in-out infinite; }
.site-header .mega-menu .cwa-live-picture-glow {
    animation: cwa-hub-gateway-glow 7s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}
.site-header .mega-menu .cwa-live-picture-outline {
    stroke-dasharray: 100 1500;
    animation: cwa-hub-wire-shine 14s linear infinite;
}
.site-header .mega-menu .cwa-live-picture-particles circle {
    opacity: 0;
    animation: cwa-hub-dust-rise var(--cwa-motion-duration) ease-in-out infinite;
    animation-delay: var(--cwa-motion-delay);
    transform-box: fill-box;
    transform-origin: center;
}
.site-header .mega-menu .cwa-live-picture-spark {
    opacity: 0;
    animation: cwa-hub-sparkle 8s ease-in-out infinite;
}
.site-header .mega-menu .cwa-live-picture-spark--brick { animation-delay: -3.9s; }
.site-header .mega-menu .cwa-live-picture-pause {
    position: absolute;
    right: 9px;
    bottom: 9px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(117,173,171,.55);
    border-radius: 50%;
    color: #354A4E;
    background: rgba(239,248,248,.88);
    font-size: 16px;
    line-height: 1;
}
html[data-theme="dark"] .site-header .mega-menu .cwa-live-picture-pause {
    color: #BCE3E2;
    background: rgba(38,57,62,.88);
}
.site-header .mega-menu .cwa-live-picture-pause[hidden] { display: none; }
.site-header .explore-menu:not([open]) .cwa-live-picture-art,
.site-header .explore-menu:not([open]) .cwa-live-picture-art *,
.site-header .cwa-live-picture.cwa-motion-paused .cwa-live-picture-art,
.site-header .cwa-live-picture.cwa-motion-paused .cwa-live-picture-art * { animation-play-state: paused; }
@keyframes cwa-hub-picture-breathe {
    from { transform: scale(1) translate(0,0); }
    to { transform: scale(1.036) translate(-.5%,.15%); }
}
@keyframes cwa-hub-sunlight-sweep {
    0%,8% { transform: translateX(-420px); opacity: 0; }
    18%,65% { opacity: .74; }
    80%,100% { transform: translateX(1550px); opacity: 0; }
}
@keyframes cwa-hub-gateway-glow { from { opacity: .35; } to { opacity: .9; } }
@keyframes cwa-hub-rays-drift {
    from { opacity: .15; transform: rotate(-2deg); }
    to { opacity: .48; transform: rotate(2deg); }
}
@keyframes cwa-hub-wire-shine {
    0% { stroke-dashoffset: 1100; opacity: .16; }
    38% { opacity: .82; }
    80%,100% { stroke-dashoffset: -900; opacity: .16; }
}
@keyframes cwa-hub-dust-rise {
    0% { opacity: 0; transform: translate(0,20px); }
    25% { opacity: .68; }
    75% { opacity: .55; }
    100% { opacity: 0; transform: translate(var(--cwa-motion-drift),-110px); }
}
@keyframes cwa-hub-sparkle {
    0%,32%,66%,100% { opacity: 0; }
    48% { opacity: .9; }
    56% { opacity: .17; }
}
@media (prefers-reduced-motion: reduce) {
    .site-header .mega-menu .cwa-live-picture-art,
    .site-header .mega-menu .cwa-live-picture-art * { animation: none !important; }
    .site-header .mega-menu .cwa-live-picture-rays,
    .site-header .mega-menu .cwa-live-picture-shine,
    .site-header .mega-menu .cwa-live-picture-outline,
    .site-header .mega-menu .cwa-live-picture-particles,
    .site-header .mega-menu .cwa-live-picture-spark,
    .site-header .mega-menu .cwa-live-picture-pause { display: none; }
    .site-header .mega-menu .cwa-live-picture-glow { opacity: .35; }
}
