/* ============================================================
   Logo Marquee widget — infinite seamless logo strip.
   The track holds the row twice; -50% loops gaplessly.
   ============================================================ */
.skyweb-logobar {
    width: 100%;
    text-align: center;
}

.skyweb-logobar__marquee {
    position: relative;
    overflow: hidden;
}

.skyweb-logobar--fade .skyweb-logobar__marquee {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.skyweb-logobar__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: skyweb-logo-marquee 26s linear infinite;
}

.skyweb-logobar--right .skyweb-logobar__track {
    animation-direction: reverse;
}

.skyweb-logobar--pause .skyweb-logobar__track:hover {
    animation-play-state: paused;
}

.skyweb-logobar__row {
    display: flex;
    align-items: center;
    gap: 64px;
    flex-shrink: 0;
    padding-right: 64px;
}

.skyweb-logobar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.72;
    transition: opacity .25s ease, filter .25s ease;
}

.skyweb-logobar__item:hover {
    opacity: 1;
}

.skyweb-logobar__link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.skyweb-logobar__logo {
    display: block;
    width: auto;
    height: 38px;
    object-fit: contain;
}

/* Dark-mode logo swap (mirrors the site logo widget). */
.skyweb-logobar__logo--dark {
    display: none;
}
html.dark .skyweb-logobar__logo--light {
    display: none;
}
html.dark .skyweb-logobar__logo--dark {
    display: block;
}

.skyweb-logobar__item--empty {
    min-width: 80px;
    height: 38px;
    border: 1px dashed currentColor;
    border-radius: 6px;
    opacity: 0.5;
    font-size: 12px;
}

@keyframes skyweb-logo-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .skyweb-logobar__track { animation: none; }
}
