/* ================= SLIDER CONTAINER ================= */
.greycrust-c1 {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    background-color: #ffffff;
}

/* ================= SLIDER TRACK ================= */
.greycrust-c2 {
    display: flex;
    width: max-content;
    animation: greycrust-slide 60s linear infinite;
}

/* ================= LOGO ITEM ================= */
.greycrust-c3 {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.greycrust-c3 img {
    max-width: 100%;
    max-height: 100%;
    opacity: 0.80;
    transition: opacity 0.3s ease;
}

.greycrust-c3 img:hover {
    opacity: 1;
}

/* ================= ANIMATION ================= */
@keyframes greycrust-slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.greycrust-c2:hover {
    animation-play-state: paused;
}

/* ================= RESPONSIVE BREAKPOINTS ================= */

/* XL */
@media (min-width: 1600px) {
    .greycrust-c2 { animation-duration: 65s; }
    .greycrust-c3 { width: 180px; height: 90px; }
}

/* LG */
@media (min-width: 1200px) and (max-width: 1599px) {
    .greycrust-c2 { animation-duration: 65s; }
}

/* MD */
@media (min-width: 992px) and (max-width: 1199px) {
    .greycrust-c2 { animation-duration: 60s; }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .greycrust-c2 { animation-duration: 45s; }
    .greycrust-c3 { width: 120px; height: 70px; }
}

/* Phones landscape */
@media (min-width: 576px) and (max-width: 767px) {
    .greycrust-c2 { animation-duration: 42s; }
    .greycrust-c3 {
        width: 110px;
        height: 60px; /* FIXED */
        padding: 0 12px;
    }
}

/* Mobile portrait */
@media (max-width: 575px) {
    .greycrust-c1 { padding: 20px 0; }
    .greycrust-c2 { animation-duration: 48s; }
    .greycrust-c3 {
        width: 100px;
        height: 55px;
        padding: 0 10px;
    }
}
