/* Marquee Wrapper */
.marquee-wrapper-b2c5e33f {
    overflow: hidden;
    width: 100%;
    container-type: inline-size;
    container-name: marqueewrap;
}

/* Track and Groups */
.marquee-track-b2c5e33f {
    display: flex;
    width: max-content;
    gap: var(--card-gap, 20px);
}

.marquee-group-b2c5e33f {
    display: flex;
    flex-shrink: 0;
    gap: var(--card-gap, 20px);
    animation: marquee_anim_b2c5e33f var(--marquee-speed, 10s) linear infinite;
    animation-direction: var(--marquee-direction, normal);
}

/* Pause on Hover */
.marquee-wrapper-b2c5e33f:hover .marquee-group-b2c5e33f {
    animation-play-state: paused;
}

/* Animation */
@keyframes marquee_anim_b2c5e33f {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - var(--card-gap, 20px)));
    }
}

/* Reverse Animation Logic */
.marquee-track-b2c5e33f.direction-right .marquee-group-b2c5e33f {
    animation-direction: reverse;
}

/* Card Sizing based on Container Queries */
.marquee-card-b2c5e33f {
    /* Calculate exact width based on the number of visible cards and the gap */
    width: calc((100cqw - ((var(--visible-cards, 3) - 1) * var(--card-gap, 20px))) / var(--visible-cards, 3));
    flex-shrink: 0;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: var(--card-bg, #fff);
}

/* Elements Inside Card */
.marquee-heading-b2c5e33f {
    margin: 0;
}

.marquee-paragraph-b2c5e33f {
    margin: 0;
}

.marquee-superscript-wrapper-b2c5e33f {
    margin: 0;
}

.marquee-superscript-b2c5e33f {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Only the clickable link has the hover effect */
a.marquee-superscript-b2c5e33f:hover {
    color: var(--super-hover-color, inherit);
    text-decoration: underline;
}
