/*** 
=============================================
    Partner Style1 Css
=============================================
***/
.partner-style1 {
    background-color: var(--thm-white);
    padding: 120px 0px 113px;
}

.partner-style1 .container {
    max-width: 1208px;
}

.partner-style1__single {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background-color: var(--thm-white);
    border: 1px solid var(--thm-border-color);
    margin-bottom: 30px;
    transition: background-color 0.5s ease;
    transition: all 0.5s ease;
}

.partner-style1__single:hover {
    box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.06);
}

.partner-style1__single a img {
    position: relative;
    display: block;
    width: 100%;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.partner-style1__single a:hover img:first-child {
    -webkit-transform: translatex(-50%) scalex(2);
    transform: translatex(-50%) scalex(2);
    opacity: 0;
    -webkit-filter: blur(10px);
    filter: blur(10px);
}

.partner-style1__single a img:nth-child(2) {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
    -webkit-transform: translatex(50%) scalex(2);
    transform: translatex(50%) scalex(2);
    opacity: 0;
    -webkit-filter: blur(10px);
    filter: blur(10px);
}

.partner-style1__single a:hover img:nth-child(2) {
    -webkit-transform: translatex(0) scalex(1);
    transform: translatex(0) scalex(1);
    opacity: 1;
    -webkit-filter: blur(0);
    filter: blur(0);
}



.partner-style1__btn {
    position: relative;
    display: block;
    padding-top: 23px;
}

.partner-style1__btn a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--thm-black);
    font-size: 14px;
    line-height: 24px;
    font-family: var(--thm-font);
    font-weight: 600;
    text-transform: uppercase;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.partner-style1__btn a:hover {
    color: var(--thm-primary-color);
}

.partner-style1__btn a span {
    font-size: 14px;
    margin-left: 10px;
}




/*** 
=============================================
    Partner Style2 Css
=============================================
***/
.partner-style2 {
    overflow: hidden;
    background-color: var(--thm-gray-bg);
    padding: 50px 0px 50px;
}

.partner-style2 .container {
    max-width: 1920px;
    padding: 0;
}

.partner-style2__single {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #cad8d4;
}

.partner-style2__single a {
    position: relative;
    display: inline-block;
}

.partner-style2__single a img {
    opacity: 1;
    transition: all 0.2s ease-in-out 0.1s;
    filter: grayscale(0%);
}

.partner-style2__single a:hover img {
    opacity: 0.6;
    filter: grayscale(0%);
    transition: all 0.8s ease-in-out 0.1s;
}


.partner-style2-carousel {
    position: relative;
}

.partner-style2-carousel::before {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 0;
    width: 2px;
    background-color: var(--thm-gray-bg);
    z-index: 2;
}

/* Partner logos - consistent height, centered, proportional */
/* Adjust the heights below to match your design */
.partner-style2__single {
    display: flex !important; /* center content vertically/horizontally */
    align-items: center !important;
    justify-content: center !important;
    height: 120px; /* container height — tweak if you want bigger/smaller */
    padding: 10px 0; /* vertical breathing room */
    box-sizing: border-box;
}

    /* Make the <a> behave as a full-size flex container (keeps click area consistent) */
    .partner-style2__single a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }

    /* Constrain images so they scale proportionally and never exceed the container height */
    .partner-style2__single img {
        max-height: 70px; /* max logo height inside container — adjust to taste */
        max-width: 100%; /* don't overflow horizontal cell */
        width: auto;
        height: auto;
        object-fit: contain; /* preserve aspect ratio */
        display: block;
        margin: 0 auto;
        vertical-align: middle;
        filter: none; /* remove any theme filters if needed */
    }

        /* If your theme applies opacity/tint to vendor logos, you can override or control it */
        .partner-style2__single img.logo-muted {
            opacity: 0.5; /* use only if you intentionally want muted logos by adding class */
        }

    /* Optional: add vertical dividers like your theme sample using pseudo element */
    .partner-style2__single + .partner-style2__single {
        position: relative;
    }

        .partner-style2__single + .partner-style2__single::before {
            content: "";
            position: absolute;
            left: 0;
            top: 15%;
            bottom: 15%;
            width: 1px;
            background: rgba(0,0,0,0.06); /* divider color - tweak to match theme */
        }

/* Responsive tweaks */
@media (max-width: 991px) {
    .partner-style2__single {
        height: 100px;
    }

        .partner-style2__single img {
            max-height: 55px;
        }
}

@media (max-width: 575px) {
    .partner-style2__single {
        height: 80px;
        padding: 6px 0;
    }

        .partner-style2__single img {
            max-height: 45px;
        }
}