﻿/* Partner Ribbon Container */
.ribbon-wrapper {
    width: 100%;
    max-width: var(--ribbon-max-width, 1400px);
    margin: 0 auto;
    overflow: hidden;
    background-color: #ffffff;
    opacity:0.9;
    position: relative;
    box-sizing: border-box;
    border-radius:20px;
    /* Prevents text/image selection highlighting during swipes */
    user-select: none;
    -webkit-user-select: none;
}

/* Track holding the track-inner and handling the transforms */
.ribbon-track {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y; /* Allows normal page scrolling vertically, but hijacks horizontal */
}

/* Inner container that holds all cloned blocks for infinite loop */
.ribbon-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end; /* Bottom-justified */
    width: max-content;
    will-change: transform;
}

/* Individual item/frame */
.ribbon-item {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 calc(var(--ribbon-gap, 93px) / 2);
}

    /* Logo Styling */
    .ribbon-item img {
        display: block;
        width: var(--logo-width, 250px);
        height: var(--logo-height, 160px);
        object-fit: contain; /* Keeps aspect ratio intact while scaling */
        pointer-events: none; /* Prevents ghost image dragging during swipe */
    }

/* Clickable vs Non-clickable links */
.ribbon-link {
    display: block;
    cursor: pointer;
    outline: none;
}

    .ribbon-link.no-url {
        cursor: default;
    }
