/* --- Marquee Container --- */
.custom-marquee-container {
    overflow: hidden;
    width: 100%;
    height: 70px;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    /* Font styles */
    font-family: "Fraunces", sans-serif !important;
    font-size: 26px !important;
    font-weight: 500;
    color: #ffffff !important;
    /* Creates a smooth fade effect on the left and right edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* --- The Moving Track --- */
.marquee-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    align-items: center;
    cursor: default;
}

/* --- Individual Items & Links --- */
.marquee-item {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    color: #ffffff !important;
    padding: 0 12px; /* Adjust this for the gap between items */
    transition: opacity 0.3s ease;
}

.marquee-item:hover {
    opacity: 0.8;
}

/* --- Star Icon --- */
.marquee-star {
    width: 32px !important;
    height: 32px !important;
    margin-left: 30px; /* Space between text and star */
    filter: brightness(0) invert(1); /* Makes the star white */
    flex-shrink: 0;
    object-fit: contain;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .custom-marquee-container {
        font-size: 22px !important;
        height: 60px;
    }
    .marquee-star {
        width: 28px !important;
        height: 28px !important;
    }
}

@media (max-width: 768px) {
    .custom-marquee-container {
        font-size: 18px !important;
        height: 50px;
    }
    .marquee-item {
        padding: 0 20px;
    }
    .marquee-star {
        width: 22px !important;
        height: 22px !important;
        margin-left: 15px;
    }
}