/**
 * Stylesheet for Full-Width Dark Marquee Ticker Section
 * Matches reference image exactly: #373636 background, crisp white typography, continuous smooth marquee scroll
 *
 * @package Krishna_Overseas
 */

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

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

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

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

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

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

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

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

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

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