/**
 * As Featured In — Brand Marquee Widget — VELOUR Pro Addons
 *
 * @since 1.0.0
 */

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.vnpa-as-featured-in {
    padding: 32px 0;
    background: #FAFBFC;
    overflow: hidden;
}

/* ============================================================
   CONTAINER — max-width + horizontal padding
   ============================================================ */
.vnpa-as-featured-in__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1024px) {
    .vnpa-as-featured-in__container {
        padding: 0 32px;
    }
}

/* ============================================================
   SECTION TITLE — "As Featured In"
   ============================================================ */
.vnpa-as-featured-in__title {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: #6B7280;
    text-align: center;
    margin: 0 0 24px;
    line-height: 1;
}

/* ============================================================
   MARQUEE CONTAINER
   ============================================================ */
.vnpa-as-featured-in__marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

/* ============================================================
   MARQUEE CONTENT — the scrolling track
   ============================================================ */
.vnpa-as-featured-in__marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 64px;
    animation: vnpa-afi-marquee 30s linear infinite;
    will-change: transform;
}

.vnpa-as-featured-in__marquee-track--pause-hover:hover {
    animation-play-state: paused;
}

/* ============================================================
   BRAND ITEM
   ============================================================ */
.vnpa-as-featured-in__brand {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #D1D5DB;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
}

.vnpa-as-featured-in__brand:hover {
    color: #111827;
}

/* ---- Brand with image (logo) ---- */
.vnpa-as-featured-in__brand-img {
    display: inline-block;
    max-height: 32px;
    width: auto;
    opacity: 0.35;
    transition: opacity 0.3s ease, filter 0.3s ease;
    vertical-align: middle;
}

.vnpa-as-featured-in__brand-img--grayscale {
    filter: grayscale(100%);
}

.vnpa-as-featured-in__brand:hover .vnpa-as-featured-in__brand-img {
    opacity: 1;
}

.vnpa-as-featured-in__brand:hover .vnpa-as-featured-in__brand-img--grayscale {
    filter: grayscale(0%);
}

/* ============================================================
   MARQUEE ANIMATION
   ============================================================ */
@keyframes vnpa-afi-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 767px) {
    .vnpa-as-featured-in__brand {
        font-size: 20px;
    }

    .vnpa-as-featured-in__marquee-track {
        gap: 40px;
    }
}
