/* People Scroller — Public styles */

.ps-scroller {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 24px 0;
    box-sizing: border-box;
}

.ps-scroller.ps-fade {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.ps-track {
    display: flex;
    gap: var(--ps-gap, 24px);
    width: max-content;
    will-change: transform;
}

.ps-card {
    flex: 0 0 var(--ps-card-w, 240px);
    width: var(--ps-card-w, 240px);
    background: var(--ps-card-bg, #ffffff);
    border-radius: var(--ps-card-radius, 12px);
    padding: 26px 18px;
    text-align: center;
    box-shadow: var(--ps-shadow, 0 2px 8px rgba(0,0,0,0.08));
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}
.ps-card:hover { transform: translateY(-4px); }

.ps-img {
    width: var(--ps-img-size, 140px);
    height: var(--ps-img-size, 140px);
    border-radius: var(--ps-img-radius, 50%);
    overflow: hidden;
    margin-bottom: 16px;
    background: #eee;
    flex-shrink: 0;
	border: 1px solid lightgreen;
}
.ps-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ps-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--ps-img-size, 140px) / 2.5);
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0C7AB7, #4FA8E0);
    text-transform: uppercase;
    font-family: inherit;
}

.ps-name {
    font-weight: 700;
    color: var(--ps-name, #0a0a0a);
    font-size: 1.05rem;
    line-height: 1.3;
    margin: 0 0 4px 0;
}
.ps-designation {
    font-size: 0.82rem;
    color: var(--ps-desg, #6b6760);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}
.ps-bio {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--ps-bio, #555555);
    line-height: 1.45;
}
.ps-socials {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    justify-content: center;
}
.ps-socials a {
    color: var(--ps-desg, #6b6760);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    text-decoration: none;
}
.ps-socials a:hover {
    color: var(--ps-name, #0a0a0a);
    transform: translateY(-2px);
}

/* Marquee animations */
@keyframes ps-scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes ps-scroll-right {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.ps-empty {
    text-align: center;
    padding: 20px;
    color: #888;
    font-style: italic;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ps-track {
        animation: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ps-card { padding: 20px 14px; }
    .ps-scroller.ps-fade {
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
                mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
    }
}
@media (max-width: 480px) {
    .ps-card {
        flex: 0 0 min(var(--ps-card-w, 240px), 78vw);
        width: min(var(--ps-card-w, 240px), 78vw);
    }
    .ps-img {
        width: min(var(--ps-img-size, 140px), 55vw);
        height: min(var(--ps-img-size, 140px), 55vw);
    }
    .ps-name { font-size: 1rem; }
    .ps-designation { font-size: 0.78rem; }
}
