/* Бейджи (marquee) */
.marquee-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    width: 100%;
}

.marquee {
    display: flex;
    position: absolute;
    animation: marquee 30s linear infinite;
    height: 100%;
}

.marquee:hover { animation-play-state: paused; }

.marquee-item {
    flex: 0 0 auto;
    height: 100%;
    width: 150px;
    margin: 0 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marquee-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.marquee-item:hover img { transform: scale(1.1); }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Маски по краям */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, #f8f9fa 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(270deg, #f8f9fa 0%, transparent 100%);
}
