/* Homepage Developer Partners carousel — #developers-section only */

#developers-section .tb-partners-carousel-shell {
    position: relative;
    margin-top: 0.25rem;
}

#developers-section .tb-partners-carousel-viewport {
    overflow: hidden;
}

#developers-section .tb-partners-carousel-track {
    display: flex;
    gap: var(--tb-partners-gap, 1rem);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    #developers-section .tb-partners-carousel-track {
        transition-duration: 0.01ms;
    }
}

.tb-partners-carousel-slide {
    flex: 0 0 var(--tb-partners-slide-basis, 100%);
    min-width: 0;
    display: flex;
    align-items: stretch;
}

/* Partner card — uniform dimensions */
.tb-partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 17.5rem;
    height: 100%;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.tb-partner-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 32px rgba(0, 106, 255, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);
}

.tb-partner-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 8.5rem;
    padding: 1.25rem;
    border-radius: 0.75rem;
    background: #f8fafc;
}

.tb-partner-card__logo {
    display: block;
    max-height: 6rem;
    width: 100%;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    object-position: center;
    image-orientation: none;
}

.tb-partner-card__name {
    margin: 1.25rem 0 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.tb-partner-card__actions {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: auto;
    padding-top: 1.5rem;
    padding-bottom: 0.25rem;
}

.tb-partner-card__info-btn {
    min-width: 8.5rem;
    flex-shrink: 0;
    border-radius: 0.75rem;
    border: 1px solid #006aff;
    background: #006aff;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.tb-partner-card__info-btn:hover {
    border-color: #0053b3;
    background: #0053b3;
}

.tb-partner-card__info-btn:focus-visible {
    outline: 2px solid #006aff;
    outline-offset: 2px;
}

.tb-partners-carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.tb-partners-carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tb-partners-carousel-dot.is-active {
    background: #006aff;
    transform: scale(1.15);
}

.tb-partners-carousel-dot:focus-visible {
    outline: 2px solid #006aff;
    outline-offset: 2px;
}
