/* Scrolling banner styles */
.scrolling-banner {
    display: flex;
    align-items: center;
    justify-content: center; /* center content horizontally */
    gap: 1rem;
    overflow: hidden;
    white-space: nowrap; /* force single line */
    background: #000000;
    color: #fff;
    font-size: 1rem; /* base font-size; individual elements use responsive sizing */
    font-weight: 500;
    padding: 0.5rem 1rem; /* add horizontal padding so content isn't flush to edges */
    border-bottom: 2px solid #4299a1;
}
.scrolling-text {
    display: inline-block;
    /* Ensure the text is visible when animation is disabled */
    padding-left: 0;
    /* Ensure any previously-declared animation is turned off */
    animation: none;
    /* To enable the marquee animation, add the class `animate` to the .scrolling-banner element
       (e.g. <div class="scrolling-banner animate">) or uncomment the animation line below.
       Using the `.animate` hook prevents the text from being pushed off-screen when animation
       is intentionally turned off. */
    /* Example activation (disabled by default): */
    /* animation: marquee 50s linear infinite; */
    /* Responsive font size: scales between 1.1rem and 4rem depending on viewport width */
    font-size: clamp(1.1rem, 2.5vw + 1rem, 4rem);
    font-weight: bold;
    letter-spacing: 10px;
    color: transparent;
    -webkit-text-stroke: 2px #4299a1;
    font-family: 'Arial Black', Arial, sans-serif;
    text-transform: uppercase;
}
.scrolling-icon {
    height: 3.5rem;
    width: auto;
    vertical-align: middle;
    margin: 0 1.5rem 0 1.5rem;
    position: relative;
    top: -0.1em;
    filter: brightness(0) saturate(100%) invert(58%) sepia(13%) saturate(1739%) hue-rotate(152deg) brightness(91%) contrast(96%);
    /* Drobna korekta pionowa, można regulować */
}
@media (max-width: 700px) {
    /* Keep the content on a single line but allow horizontal scrolling on narrow screens */


    .scrolling-text {
        display: inline-block;
        font-size: clamp(0.9rem, 3vw, 1.4rem); /* slightly smaller on small devices */
        letter-spacing: 3px;
        padding-left: 0;
        margin: 0;
        white-space: nowrap; /* keep single line */
        animation: none;
        -webkit-text-stroke: 1px #4299a1;
    }
    .scrolling-icon {
        height: 2rem;
        margin: 0 0.7rem 0 0.7rem;
        top: 0.15em;
    }
}
/* Optional marquee animation: applied when .scrolling-banner has the `animate` class */
.scrolling-banner.animate .scrolling-text {
    padding-left: 100vw;
    animation: marquee 50s linear infinite;
}

/*@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}*/
