/**
 * Career Images - Flex Part Styles
 * Fluid width, smooth sliding carousel
 */

.career-images {
    display: flex;
    padding: 60px 0;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    align-self: stretch;
    overflow: hidden;
}

/* Title - Desktop/H2, centered, black */
.career-images__title {
    font: var(--font-h2);
    letter-spacing: var(--font-h2-spacing);
    color: #000;
    text-align: center;
    margin: 0;
    padding: 0 var(--container-padding, 30px);
}

/* Track - full width, overflow hidden */
.career-images__track {
    width: 100%;
    overflow: hidden;
}

/* Slider - infinite scroll animation */
.career-images__slider {
    display: flex;
    gap: 30px;
    animation: career-scroll 30s linear infinite;
    width: max-content;
}

.career-images__slider:hover {
    animation-play-state: paused;
}

/* Individual slide - base */
.career-images__slide {
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.career-images__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Big slide */
.career-images__slide--big {
    width: 455px;
    height: 300px;
}

/* Small slide */
.career-images__slide--small {
    width: 360px;
    height: 300px;
}

/* Infinite scroll animation */
@keyframes career-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .career-images {
        padding: 60px 0;
    }

    .career-images__slide--big {
        width: 450px;
        height: 248px;
    }

    .career-images__slide--small {
        width: 340px;
        height: 248px;
    }

    .career-images__slider {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .career-images {
        padding: 50px 0;
        gap: 40px;
    }

    /* Mobile - Poppins 26/500 per Figma */
    .career-images__title {
        padding: 0 24px;
        text-align: center;
        font-family: "Poppins", sans-serif;
        font-size: 26px;
        font-weight: 500;
        line-height: 154%;
    }

    .career-images__slide--big {
        width: 320px;
        height: 177px;
    }

    .career-images__slide--small {
        width: 240px;
        height: 177px;
    }

    .career-images__slider {
        gap: 16px;
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .career-images {
        padding: 40px 0;
        gap: 32px;
    }

    .career-images__title {
        padding: 0 16px;
    }

    .career-images__slide--big {
        width: 260px;
        height: 144px;
    }

    .career-images__slide--small {
        width: 200px;
        height: 144px;
    }

    .career-images__slider {
        gap: 12px;
    }
}
