/* ========================================
   RUNNING TEXT PA JENEPONTO - STYLE
   Tanpa Latar Belakang, Hanya Teks
   ======================================== */

/* ----- Wrapper Utama - Tanpa Latar ----- */
.pa-running-wrapper {
    width: 100%;
    padding: 5px 0;
    background: transparent !important;
    position: relative;
    overflow: hidden;
    min-height: 30px;
    display: flex;
    align-items: center;
    border: none !important;
    box-shadow: none !important;
}

/* ----- Container ----- */
.pa-running-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ----- Running Text Container ----- */
.pa-running-text {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: auto;
    min-height: 30px;
    display: flex;
    align-items: center;
}

/* ----- Track Animasi ----- */
.pa-running-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: pa-scroll-left var(--pa-speed, 40s) linear infinite;
}

/* Direction: Right */
.pa-running-text[data-direction="right"] .pa-running-track {
    animation-name: pa-scroll-right;
}

/* ----- Message Style - Hanya Teks ----- */
.pa-running-message {
    font-size: var(--pa-font-size, 18px);
    font-weight: 700;
    color: var(--pa-color, #0a4b2a);
    padding: 0 50px;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    text-transform: uppercase;
    text-shadow: none;
    background: none !important;
    -webkit-text-fill-color: var(--pa-color, #0a4b2a) !important;
    color: var(--pa-color, #0a4b2a) !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

/* Clone for seamless loop */
.pa-running-message.pa-running-clone {
    -webkit-text-fill-color: var(--pa-color, #0a4b2a) !important;
    color: var(--pa-color, #0a4b2a) !important;
}

/* ----- Animasi Scroll ----- */
@keyframes pa-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes pa-scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* ----- Responsive Design ----- */
@media (max-width: 992px) {
    .pa-running-message {
        font-size: 16px;
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .pa-running-wrapper {
        padding: 3px 0;
        min-height: 25px;
    }
    
    .pa-running-message {
        font-size: 14px;
        padding: 0 30px;
        letter-spacing: 0.3px;
    }
    
    .pa-running-text {
        min-height: 25px;
    }
}

@media (max-width: 480px) {
    .pa-running-wrapper {
        padding: 2px 0;
        min-height: 20px;
    }
    
    .pa-running-message {
        font-size: 11px;
        padding: 0 20px;
        letter-spacing: 0.2px;
    }
    
    .pa-running-text {
        min-height: 20px;
    }
}

/* ----- Print Style ----- */
@media print {
    .pa-running-wrapper {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .pa-running-message {
        -webkit-text-fill-color: #0a4b2a !important;
        color: #0a4b2a !important;
        background: none !important;
        text-shadow: none !important;
    }
}

/* ----- Animasi masuk (fade in) ringan ----- */
.pa-running-wrapper {
    animation: pa-fade-in 0.5s ease forwards;
}

@keyframes pa-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}