/* =====================================================
   AMAZON STYLE PROMO BAR
   ===================================================== */

.home-ad-banner {
    background: #7c66f4;
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 10;
}

#homeAdsContainer {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* =====================================================
   SLIDE TRACK
   ===================================================== */

.ad-slide-track {
    position: relative;
    width: 100%;
    height: 48px;
}

/* =====================================================
   SINGLE SLIDE
   ===================================================== */

.ad-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;

    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.ad-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.ad-slide.exit-left {
    transform: translateX(-100%);
    opacity: 0;
}

/* Image ads */
.ad-slide img {
    max-height: 28px;
}
