/**
 * FX Marquee Styles
 */

.fx-marquee {
    --row-h: 240px;
    --gap: 24px;
    --fade: 60px;
    padding: 30px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.fx-marquee .fx-track {
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--gap);
    will-change: transform;
}

.fx-marquee .fx-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: 0 0 0px #000000;
    overflow: visible;
}

.fx-marquee .fx-item.webshot img {
    display: block;
    height: auto;
    width: auto;
    max-height: var(--row-h);
    object-fit: contain;
    border-radius: 6px;
}

.fx-marquee .fx-item.crop {
    height: var(--row-h);
    overflow: hidden;
    border-radius: 14px;
}

.fx-marquee .fx-item.crop img {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 0 15px #000000;
}

.fx-marquee.fade {
    -webkit-mask-image: linear-gradient(to right,
            transparent 0,
            black var(--fade),
            black calc(100% - var(--fade)),
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0,
            black var(--fade),
            black calc(100% - var(--fade)),
            transparent 100%);
}