/* ============================================
   LASIC Newsticker - Modern CSS Animation
   ============================================ */

:root {
    --scroll-duration: 40s;
}

.lasic-newsticker-wrapper {
    display: flex;
    align-items: stretch;
    margin: -10px 0 20px 175px;
    width: 780px;
    background-color: #EEE;
    border: 1px solid #CCC;
    overflow: hidden;
    box-sizing: border-box;
    color: #08214D;
}

.lasic-newsticker-label {
    background-color: #E94A00;
    color: #ffffff;
    padding: 0 15px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.lasic-newsticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
    flex: 1;
}

.lasic-newsticker-scroller {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    animation: lasic-scroll-left var(--scroll-duration) linear infinite;
    will-change: transform;
}

.lasic-newsticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    height: 100%;
    min-width: 100%;
    padding-right: 100%;
}

@keyframes lasic-scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.lasic-newsticker-link {
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline;
    position: relative;
    white-space: nowrap;
    padding: 0 8px;
    margin: 0;
    color: #08214D;
}

.lasic-newsticker-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 8px;
    width: 0;
    height: 2px;
    transition: width 0.3s ease;
}

.lasic-newsticker-link:hover::after {
    width: calc(100% - 16px);
}

.lasic-newsticker-separator {
    margin: 0 20px;
    display: inline;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ============================================
   Pause Animation on Hover
   ============================================ */

.lasic-newsticker-container:hover .lasic-newsticker-scroller {
    animation-play-state: paused;
}

