.hk-marquee-wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}
.hk-marquee-row {
    width: 100%;
    position: relative;
    overflow: visible;
    display: flex;
    white-space: nowrap;
}
.hk-marquee-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: 20s linear infinite marquee-scroll;
    width: max-content;
}
.hk-marquee-row.reverse .hk-marquee-inner {
    animation-direction: reverse;
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - (var(--gap, 20px) / 2))); }
}
.hk-marquee-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;
}
.hk-marquee-wrapper.pause-on-hover:hover .hk-marquee-inner {
    animation-play-state: paused;
}
.hk-marquee-slide.mode-contain img,
.hk-marquee-slide.mode-container img {
    object-fit: contain;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.hk-marquee-slide.mode-cover {
    padding: 0 !important;
}
.hk-marquee-slide.mode-cover .bg-cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hk-marquee-slide.mode-container {
    background-color: #f5f5f5;
}