/* static/css/components/media-scroll.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&family=Poppins:wght@400;500;600;700&display=swap');

/* ========================
   Section
======================== */
.media-scroll {
    padding: clamp(3rem, 6vw, 5rem) 0;
    padding-top: 0%;
    background: #000000;
    overflow: hidden;
}

/* ========================
   Title
======================== */
.media-scroll__title {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    text-align: center;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* ========================
   Scroll wrapper
======================== */
.media-scroll__wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 749px;
    margin: 0 auto;
    position: relative;
}

/* ========================
   Track
======================== */
.media-scroll__track {
    display: inline-flex;
    height: 22px;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 30px;
    animation: media-scroll-infinite 35s linear infinite;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
}

.media-scroll__wrapper:hover .media-scroll__track {
    animation-play-state: paused;
}

/* ========================
   Card — borderless, just logo
======================== */
.media-scroll__card {
    display: flex;
    height: 22px;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    transition: opacity 0.2s ease;
}

.media-scroll__card:hover {
    opacity: 0.75;
}

/* ========================
   Logo image
======================== */
.media-scroll__img {
    height: 22px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* ========================
   Hide text labels — not needed at this size
======================== */
.media-scroll__text {
    display: none;
}

/* ========================
   Animation
======================== */
@keyframes media-scroll-infinite {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================
   Mobile: full-width wrapper
======================== */
@media (max-width: 749px) {
    .media-scroll__wrapper {
        max-width: 100%;
    }

    .media-scroll__track {
        gap: 24px;
        animation-duration: 28s;
    }
}
