/* Thrust Text Banner - Frontend Styles */

.thrust-text-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
}

.thrust-tb-scroller {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.thrust-tb-content {
    display: inline-block;
    white-space: nowrap;
    animation: thrust-tb-scroll 30s linear infinite;
    will-change: transform;
}

.thrust-tb-text {
    display: inline-block;
    padding: 0 2em;
}

/* Scrolling animation */
@keyframes thrust-tb-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Device Visibility - Beaver Builder Breakpoints */
/* Hide on Extra Large (1200px+) */
@media (min-width: 1200px) {
    .thrust-tb-hide-extra_large {
        display: none !important;
    }
}

/* Hide on Large (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .thrust-tb-hide-large {
        display: none !important;
    }
}

/* Hide on Medium (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .thrust-tb-hide-medium {
        display: none !important;
    }
}

/* Hide on Small (< 768px) */
@media (max-width: 767px) {
    .thrust-tb-hide-small {
        display: none !important;
    }
}

/* Accessibility */
.thrust-text-banner {
    user-select: none;
}

@media (prefers-reduced-motion: reduce) {
    .thrust-tb-content {
        animation: none;
    }
}
