/* EP Trust Campaign Bar Styles */

.ep-trust-campaign-bar-container {
    width: 100%;
}

.ep-trust-campaign-bar-container.ep-tcb-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.ep-trust-campaign-bar-container.ep-tcb-sticky.hidden {
    transform: translateY(-100%);
}

.ep-tcb-loading {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    color: #666;
}

.ep-tcb-bar {
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Columns Layout */
.ep-tcb-columns {
    width: 100%;
}

.ep-tcb-columns .ep-tcb-columns-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.ep-tcb-column {
    flex: 1;
    min-width: 0;
}

.ep-tcb-column p:first-child {
    margin-top: 0;
}

.ep-tcb-column p:last-child {
    margin-bottom: 0;
}

/* Marquee Layout */
.ep-tcb-marquee {
    position: relative;
    padding: 12px 0;
    width: 100%;
    max-width: 100vw;
    /*margin-left: calc(-50vw + 50%);*/
}

.ep-tcb-marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ep-tcb-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.ep-tcb-marquee-content {
    display: inline-block;
    white-space: nowrap;
    padding-right: 50px;
    flex-shrink: 0;
}

.ep-tcb-marquee-content p {
    display: inline;
    margin: 0;
    padding: 0;
}

.ep-tcb-marquee-content * {
    white-space: nowrap;
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Hover pause */
.ep-tcb-marquee:hover .ep-tcb-marquee-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .ep-tcb-columns .ep-tcb-columns-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .ep-tcb-bar {
        padding: 12px 15px;
    }

    .ep-tcb-marquee-track {
        animation-duration: 20s;
    }
}

/* Links styling */
.ep-tcb-bar a {
    text-decoration: underline;
    transition: color 0.3s ease;
}

.ep-tcb-bar a:hover {
    text-decoration: none;
}
