/**
 * Stylesheet for Full-Width Orange Marquee Ticker Section
 * Matches reference image exactly: #ef7f1a background, crisp white typography, infinite smooth scroll
 *
 * @package Krishna_Overseas
 */

.krishna-ticker-section {
    position: relative;
    width: 100%;
    background-color: var(--krishna-ticker-bg, #ef7f1a);
    color: var(--krishna-ticker-text, #ffffff);
    padding: 30px 0;
    overflow: hidden;
    line-height: 1.2;
    z-index: 10;
    box-sizing: border-box;
}

.krishna-ticker-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}

.krishna-ticker-track {
    display: flex;
    width: max-content;
    animation: krishna-ticker-scroll 28s linear infinite;
    will-change: transform;
}

.krishna-ticker-section.pause-on-hover .krishna-ticker-track:hover {
    animation-play-state: paused;
}

.krishna-ticker-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.krishna-ticker-item {
    display: inline-flex;
    align-items: center;
    color: inherit;
    font-family: var(--krishna-font-primary, 'Poppins', sans-serif);
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.25px;
    white-space: nowrap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.krishna-ticker-text {
    display: inline-block;
}

.krishna-ticker-separator {
    display: inline-block;
    margin: 0 22px;
    font-size: 16px;
    line-height: 1;
    opacity: 0.9;
    user-select: none;
}

/* Continuous 100% seamless marquee loop translating -50% */
@keyframes krishna-ticker-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .krishna-ticker-section {
        padding: 11px 0;
    }
    .krishna-ticker-item {
        font-size: 13.5px;
    }
    .krishna-ticker-separator {
        margin: 0 16px;
        font-size: 14px;
    }
}
