
/* TALISMA PARTNERS V4 */
.hp-partners-showcase {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}

.tp-carousel {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.tp-viewport {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    box-sizing: border-box !important;
}

.tp-viewport::-webkit-scrollbar { display: none; }

.tp-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 100% !important;
    padding: 15px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: #f5efe6 !important;
    border: 1px solid #e3d7c7 !important;
    border-radius: 8px !important;
}

.tp-card {
    display: block !important;
    flex: 0 0 calc((100% - 66px) / 4) !important;
    width: calc((100% - 66px) / 4) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fffdfa !important;
    border: 1px solid #e8dfd2 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.tp-card-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 165px !important;
    padding: 16px 9px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    background: transparent !important;
}

.tp-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 95px !important;
    min-height: 95px !important;
}

.tp-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 95% !important;
    max-height: 75px !important;
    object-fit: contain !important;
}

.tp-name {
    display: block !important;
    width: 100% !important;
    color: #30251c !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    opacity: 1 !important;
}

.tp-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 14px 0 !important;
}

.tp-arrow {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 1px solid #cba96f !important;
    border-radius: 50% !important;
    background: #fffaf2 !important;
    color: #9c712f !important;
    font-size: 27px !important;
    cursor: pointer !important;
}

.tp-arrow:hover {
    background: #b88a32 !important;
    color: white !important;
}

.tp-counter {
    min-width: 45px;
    text-align: center;
    color: #896c42 !important;
    font-size: 11px !important;
}

@media (max-width: 1000px) {
    .tp-card {
        flex-basis: calc((100% - 54px) / 3) !important;
        width: calc((100% - 54px) / 3) !important;
    }
}

@media (max-width: 600px) {
    .tp-track {
        gap: 10px !important;
        padding: 10px !important;
    }

    .tp-card {
        flex-basis: calc((100% - 30px) / 2) !important;
        width: calc((100% - 30px) / 2) !important;
    }

    .tp-card-link {
        height: 150px !important;
        padding: 12px 6px !important;
    }

    .tp-logo {
        height: 80px !important;
        min-height: 80px !important;
    }

    .tp-logo img { max-height: 60px !important; }
    .tp-name { font-size: 10px !important; }
}

/* TALISMA PARTNERS VIEWPORT FINAL */
.hp-partners-layout,
.hp-partners-showcase,
.tp-carousel {
    min-width: 0 !important;
}

.hp-partners-showcase,
.tp-carousel {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.tp-viewport {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
}

.tp-track {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.tp-card {
    flex-shrink: 0 !important;
}


/* TALISMA PARTNERS PAGINATED CAROUSEL */
.tp-viewport {
    overflow: hidden !important;
}
.tp-track {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 12px !important;
}
.tp-card {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
@media(max-width:1000px) {
    .tp-track {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media(max-width:600px) {
    .tp-track {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* TALISMA LOGOS STANDARD V1 */

.tp-card-link {
    height: 170px !important;
    min-height: 170px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.tp-logo {
    width: 100% !important;
    height: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.tp-logo img {
    display: block !important;
    width: 140px !important;
    height: 85px !important;
    max-width: 100% !important;
    max-height: 85px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: auto !important;
}

.tp-name {
    width: 100% !important;
    min-height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: #30251c !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
}

@media (max-width: 600px) {
    .tp-card-link {
        height: 150px !important;
        min-height: 150px !important;
    }

    .tp-logo {
        height: 80px !important;
        min-height: 80px !important;
        max-height: 80px !important;
    }

    .tp-logo img {
        width: 115px !important;
        height: 65px !important;
        max-height: 65px !important;
    }

    .tp-name {
        font-size: 10px !important;
    }
}
