.multiline-scrolling-banner-section {
    background-color: rgb(var(--color-background));
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

scrolling-text-banner {
    display: block;
    width: 140vw;
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: var(--banner-height-pc);
    line-height: var(--banner-height-pc);
    z-index: 1;
    overflow: visible;
    backface-visibility: hidden;
}

/* Allow blocks to overlap by forcing negative margin on subsequent blocks */
scrolling-text-banner+scrolling-text-banner {
    margin-top: calc(var(--banner-height-pc) * -1);
}

.scrolling-text-banner-wrapper {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    height: 100%;
    background-color: var(--banner-bg);
    color: var(--banner-text);
    transform: rotate(var(--tilt-angle));
    transform-origin: center center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    backface-visibility: hidden;
}

.scrolling-text-banner-content {
    display: flex;
    align-items: center;
    height: 100%;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    animation: marquee-scroll var(--scrolling-time-pc) linear infinite;
}

scrolling-text-banner[data-direction="right_to_left"] .scrolling-text-banner-content {
    animation-direction: reverse;
}

scrolling-text-banner[data-pause="true"]:hover .scrolling-text-banner-content {
    animation-play-state: paused;
}

.banner-title {
    padding: 0 20px;
    text-transform: uppercase;
}

/* Text styles */
.banner-title.style-hollow_font {
    color: var(--banner-bg);
    -webkit-text-fill-color: var(--banner-bg);
    -webkit-text-stroke: 1px var(--banner-text);
}
.banner-title.style-solid_font{
    -webkit-text-stroke: 1px var(--banner-text);
    color: var(--banner-text);
}
.banner-title.style-italic {
    font-style: italic;
}

.banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.icon-horizontal-line {
    display: inline-block;
    width: 40px;
    height: 4px;
}

.icon-round {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.banner-custom-image img {
    height: calc(var(--banner-height-pc) * 0.5);
    width: auto;
    object-fit: contain;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(var(--scroll-distance, -50%), 0, 0);
    }
}

@media (max-width: 767px) {
    scrolling-text-banner {
        width: calc(100% + 40px);
        height: var(--banner-height-mobile);
        line-height: var(--banner-height-mobile);
    }

    scrolling-text-banner+scrolling-text-banner {
        margin-top: calc(var(--banner-height-mobile) * -1);
    }

    .scrolling-text-banner-content {
        animation-duration: var(--scrolling-time-mobile);
    }

    .banner-custom-image img {
        height: calc(var(--banner-height-mobile) * 0.5);
    }
    .banner-title{
        font-size: 20px;
    }
    .banner-icon svg {
        height: 20px;
    }
}
.scrolling-text-item {
    display: flex;
}
