/* Scoped component styles: legacy widget controls cannot use Atomic tag defaults.
   Inherit the hero's typography/colour; layout dimensions remain editor controls. */
.cw-logo-ticker { --cw-logo-width:160px; --cw-logo-height:56px; --cw-logo-gap:48px; display:flex; flex-direction:column; gap:1rem; min-width:0; }
.cw-logo-ticker .cw-logo-viewport { flex:1 1 auto; min-width:0; }
.cw-logo-ticker .cw-logo-controls { display:flex; justify-content:flex-start; align-items:center; flex:0 0 auto; min-width:0; }
.cw-logo-ticker .cw-logo-controls:has(.cw-logo-toggle[hidden]) { display:none; }
.cw-logo-ticker .cw-logo-group { display:flex; flex-wrap:wrap; align-items:center; gap:var(--cw-logo-gap); list-style:none; padding:0; margin:0; }
.cw-logo-ticker .cw-logo-item { flex:0 0 var(--cw-logo-width); max-width:100%; margin:0; padding:0; }
.cw-logo-ticker .cw-logo-item img { display:block; width:100%; height:var(--cw-logo-height); object-fit:contain; }
.cw-logo-ticker.is-animated .cw-logo-viewport { overflow:hidden; }
.cw-logo-ticker.is-animated .cw-logo-track { display:flex; width:max-content; animation:cw-logo-scroll var(--cw-logo-duration) linear infinite; }
.cw-logo-ticker.is-animated .cw-logo-group { flex-wrap:nowrap; flex-shrink:0; padding-inline-end:var(--cw-logo-gap); }
.cw-logo-ticker.is-paused .cw-logo-track { animation-play-state:paused; }
.cw-logo-ticker .cw-logo-toggle { display:flex; align-items:center; gap:.5em; min-height:44px; max-width:100%; padding:.5em; margin:0; border:0; border-radius:0; background:transparent; color:var(--cw-logo-control-color, inherit); font:inherit; cursor:pointer; }
.cw-logo-ticker .cw-logo-toggle[hidden] { display:none; }
.cw-logo-ticker .cw-logo-toggle:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
.cw-logo-ticker .cw-logo-toggle svg { flex-shrink:0; }
.cw-logo-ticker .cw-logo-pause-icon { display:none; }
.cw-logo-ticker.is-animated:not(.is-paused) .cw-logo-pause-icon { display:block; }
.cw-logo-ticker.is-animated:not(.is-paused) .cw-logo-play-icon { display:none; }
@keyframes cw-logo-scroll { to { transform:translateX(calc(-1 * var(--cw-logo-distance))); } }
/* Preference changes stop motion immediately, even before the JS listener runs.
   Explicit play is allowed through the is-user-playing class. */
@media (prefers-reduced-motion:reduce) {
 .cw-logo-ticker:not(.is-user-playing) .cw-logo-track { animation:none; transform:none; }
 .cw-logo-ticker:not(.is-user-playing) .cw-logo-group { flex-wrap:wrap; padding-inline-end:0; }
 .cw-logo-ticker:not(.is-user-playing) .cw-logo-group[aria-hidden="true"] { display:none; }
 .cw-logo-ticker:not(.is-user-playing) .cw-logo-track { width:auto; }
}
