.dps-lnm-widget {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d4e6f2;
    border-radius: 6px;
    overflow: hidden;
    background: #f4fbff;
    box-shadow: 0 2px 10px rgba(20, 70, 110, .08);
    direction: ltr;
}

.dps-lnm-heading {
    min-height: 48px;
    padding: 10px 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #163b73;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.dps-lnm-body {
    background: #f4fbff;
    padding: 0 14px;
}

.dps-lnm-viewport {
    position: relative;
    height: 260px;
    overflow: hidden;
    direction: ltr;
}

.dps-lnm-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    animation: dps-lnm-up var(--dps-lnm-speed, 24s) linear infinite;
    will-change: transform;
}

.dps-lnm-pause-hover:hover .dps-lnm-track {
    animation-play-state: paused;
}

.dps-lnm-item {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 8px;
    box-sizing: border-box;
    text-align: center;
    direction: rtl;
}

.dps-lnm-item a {
    display: inline-block;
    color: #173f73;
    font-size: 17px;
    line-height: 1.65;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.dps-lnm-item a:hover {
    color: #0b79b7;
    transform: translateY(-1px);
}

.dps-lnm-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 34px;
    direction: ltr;
}

.dps-lnm-separator span {
    display: block;
    height: 1px;
    flex: 1;
    max-width: 150px;
    background: #acd8ee;
}

.dps-lnm-separator img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 50%;
    flex: 0 0 auto;
}

.dps-lnm-empty {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5d7387;
    font-size: 15px;
}

@keyframes dps-lnm-up {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

@media (max-width: 767px) {
    .dps-lnm-heading {
        min-height: 42px;
        font-size: 18px;
        padding: 8px 12px;
    }

    .dps-lnm-body {
        padding: 0 8px;
    }

    .dps-lnm-item {
        min-height: 50px;
    }

    .dps-lnm-item a {
        font-size: 15px;
    }

    .dps-lnm-separator span {
        max-width: 90px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dps-lnm-track {
        animation: none;
    }
}
