/* ====================================================
   Trusted Partners Carousel — Public Styles
   ==================================================== */

.trusted-partners-wrap {
    display: grid;
    grid-template-columns: 1fr 5.6fr;
    align-items: stretch;
    /* border-radius: 14px; */
    overflow: hidden;
    background: #f8f9fb;
}

/* Left text column */
.tp-left {
    /* padding: 3rem 1.5rem 3rem 0.5rem; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tp-heading {
    font-size: 20px;
    font-weight: 700;
    color: #223354;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.tp-sub {
    font-size: 17px;
    color: #6b6b6b;
    line-height: 1.65;
    margin: 0;
}

/* Right carousel column */
.tp-right {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    /* padding: 1.5rem 0; */
}

.tp-right--full {
    grid-column: 1 / -1;
}

.tp-right::before,
.tp-right::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.tp-right::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fb, transparent);
}

.tp-right::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fb, transparent);
}

/* Scrolling track */
.tp-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tp-scroll 90s linear infinite;
}

.tp-track:hover {
    animation-play-state: paused;
}

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

/* Logo item */
.tp-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    flex-shrink: 0;
    height: 90px;
}

.tp-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.25s ease;
    cursor: default;
    user-select: none;
}

.tp-logo-box:hover { opacity: 1; }

.tp-logo-box img {
    height: 60px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    display: block;
    transition: filter 0.25s ease;
}

/* Divider between logos */
.tp-divider {
    width: 1px;
    height: 40px;
    background: #e5e4e0;
    flex-shrink: 0;
}

/* Empty state */
.tp-no-logos {
    padding: 0 2rem;
    color: #aaa;
    font-size: 14px;
    font-style: italic;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .trusted-partners-wrap {
        grid-template-columns: 1fr;
    }
    .tp-left {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    .tp-heading { font-size: 26px; }
    .tp-sub     { font-size: 15px; }
}
