/* ==========================================================================
   SECTION 5: LARGE TEXT INFINITE MARQUEE (110px EDITORIAL TICKER)
   ========================================================================== */

.text-marquee-section {
    background-color: #ffffff;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding-top: 4rem;
    padding-bottom: 4rem;
    overflow: hidden;
    position: relative;
    user-select: none;
}

@media (min-width: 640px) {
    .text-marquee-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

.text-marquee-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: text-marquee-scroll 45s linear infinite;
    will-change: transform;
}

.text-marquee-section:hover .text-marquee-track {
    animation-play-state: paused;
}

.text-marquee-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-shrink: 0;
}

.text-marquee-word {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 64px;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--ink);
    white-space: nowrap;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .text-marquee-word {
        font-size: 110px;
    }
}

.text-marquee-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    flex-shrink: 0;
}

.text-marquee-star-svg {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

@media (min-width: 640px) {
    .text-marquee-star-svg {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
    }
}

@keyframes text-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .text-marquee-track {
        animation: none;
    }
}
