/* AJUPY Partner Logo Marquee — v1.1.0 */
.ajupy-plm {
    width: 100%;
    box-sizing: border-box;
    padding: 62px 0 40px;
    overflow: hidden;
    font-family: inherit;
}
.ajupy-plm * { box-sizing: border-box; }
.ajupy-plm-dark { background: #080d19; color: #fff; }
.ajupy-plm-light { background: #fff; color: #172033; }

.ajupy-plm-heading {
    max-width: 920px;
    margin: 0 auto 38px;
    padding: 0 22px;
    text-align: center;
}
.ajupy-plm-heading h2 {
    margin: 0 0 14px;
    color: inherit;
    font-size: clamp(26px, 4vw, 43px);
    line-height: 1.2;
    font-weight: 750;
}
.ajupy-plm-heading p {
    margin: 0 auto;
    max-width: 780px;
    color: #9aa8bd;
    font-size: 15px;
    line-height: 1.75;
}
.ajupy-plm-light .ajupy-plm-heading p { color: #657187; }

.ajupy-plm-window {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.ajupy-plm-track {
    display: flex;
    width: max-content;
    align-items: center;
    will-change: transform;
    animation: ajupy-plm-left-to-right var(--ajupy-plm-duration, 32s) linear infinite;
}
.ajupy-plm-right-to-left .ajupy-plm-track {
    animation-name: ajupy-plm-right-to-left;
}
.ajupy-plm-window:hover .ajupy-plm-track { animation-play-state: paused; }

.ajupy-plm-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 18px;
    padding: 12px 9px;
}
.ajupy-plm-item {
    min-width: 184px;
    height: 92px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(150, 170, 205, .20);
    border-radius: 15px;
    background: rgba(255,255,255,.055);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.ajupy-plm-light .ajupy-plm-item {
    background: #f7f9fc;
    border-color: #e5eaf2;
}
.ajupy-plm-item:hover {
    transform: translateY(-4px);
    border-color: #5598ff;
    background: rgba(80,145,255,.11);
}
.ajupy-plm-item img {
    display: block;
    width: 34px;
    height: 34px;
    max-width: 34px;
    object-fit: contain;
    flex: 0 0 34px;
}
.ajupy-plm-item span {
    color: inherit;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
}
.ajupy-plm-caption {
    margin-top: 24px;
    padding: 0 12px;
    text-align: center;
    color: #77869e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}
.ajupy-plm-caption i { color: #5598ff; font-style: normal; padding: 0 5px; }

/* Left-to-right: begin with the duplicate strip off-screen left, then move right. */
@keyframes ajupy-plm-left-to-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}
@keyframes ajupy-plm-right-to-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 767px) {
    .ajupy-plm { padding: 46px 0 32px; }
    .ajupy-plm-heading { margin-bottom: 24px; }
    .ajupy-plm-item { min-width: 155px; height: 76px; padding: 12px; gap: 9px; }
    .ajupy-plm-item img { width: 27px; height: 27px; flex-basis: 27px; }
    .ajupy-plm-item span { font-size: 12px; }
    .ajupy-plm-group { gap: 12px; }
    .ajupy-plm-caption { font-size: 9px; letter-spacing: 1.4px; }
}
@media (prefers-reduced-motion: reduce) {
    .ajupy-plm-track { animation: none !important; transform: none !important; }
}
