/**
 * Sticky Team Sidebar Styles
 */

.side-team {
    transition: none; /* Disable transitions for smoother behavior */
    will-change: transform, top;
    box-sizing: border-box; /* Ensure padding is included in width calculations */
}

.side-team.is-sticky {
    /* Sticky state - active */
    z-index: 10;
    /* Width is set via JavaScript to maintain consistent size */
}

.side-team.is-stopped {
    /* Stopped state - positioned at bottom of container */
    position: absolute !important;
    bottom: 0 !important;
    top: auto !important;
    /* Width is set via JavaScript to maintain consistent size */
}

/* Ensure parent container has relative positioning */
.container_team {
    position: relative;
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
    .side-team {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Disable transitions for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .side-team {
        transition: none;
    }
}

