.atsea-logo-carousel {
    --atsea-visible: 5;
    --atsea-speed: 24s;
    width: 100%;
    overflow: hidden;
}

.atsea-logo-title {
    margin: 0 0 28px;
    line-height: 1.2;
}

.atsea-logo-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.atsea-logo-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    animation: atseaLogoScroll var(--atsea-speed) linear infinite;
    will-change: transform;
}

.atsea-logo-carousel[data-pause-hover="true"]:hover .atsea-logo-track {
    animation-play-state: paused;
}

.atsea-logo-item {
    flex: 0 0 calc((100vw - 80px) / var(--atsea-visible));
    max-width: 260px;
    min-width: 140px;
    height: 120px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #fff;
}

.elementor .atsea-logo-item {
    flex-basis: calc((100% - 1px) / var(--atsea-visible));
}

.atsea-logo-item a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atsea-logo-item img {
    width: 100%;
    max-width: 170px;
    max-height: 70px;
    height: auto;
    object-fit: contain;
    display: block;
}

.atsea-logo-credit {
    display: none;
    font-size: 11px;
    opacity: .55;
    margin-top: 8px;
    text-align: right;
}

@keyframes atseaLogoScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 1024px) {
    .atsea-logo-carousel { --atsea-visible: var(--atsea-visible-tablet, 3); }
}

@media (max-width: 767px) {
    .atsea-logo-carousel { --atsea-visible: var(--atsea-visible-mobile, 2); }
    .atsea-logo-item { min-width: 120px; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .atsea-logo-track { animation-duration: 1ms; animation-iteration-count: 1; }
}
