/* Testimonial Cards Slider */
.tcs-slider-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.tcs-swiper {
    width: 100%;
    padding-bottom: 64px;
}

.tcs-swiper .swiper-wrapper {
    align-items: stretch;
}

.tcs-swiper .swiper-slide {
    height: auto;
}

/* Make the inner content fill the slide height */
.tcs-slide-content {
    flex: 1;
}

.tcs-swiper .swiper-slide {
    background: var(--e-global-color-primary);
    border-radius: 20px;
    border: 8px solid var(--e-global-color-primary);
    overflow: hidden;
    display: flex;
    gap: 8px;
    flex-direction: row;
    min-height: 340px;
}

.tcs-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.15;
    transition: all 0.3s ease;
    pointer-events:none;
}

.tcs-swiper .swiper-slide-visible::after {
    opacity: 0;
}

/* Photo */
.tcs-slide-photo {
    width: 32%;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.tcs-slide-photo img {
    width: 100%;
    height:100%;
    object-fit: cover;
    display: block;
    aspect-ratio:0.88;
    object-position: center top;
}

/* Content */
.tcs-slide-content {
    background-color: var(--e-global-color-secondary);
    width: 68%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 15px;
}

.tcs-slide-quote {
    font-family: "Proxima Nova", Sans-serif;
    font-size: 19px;
    line-height: 1.4;
    color: var(--e-global-color-primary);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin: 0;
}

/* Footer */
.tcs-slide-footer {
    border-top: 1px solid var(--e-global-color-0bcc41a);
    padding-top: 32px;
    margin-top: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.tcs-slide-author-name {
    font-family: "Proxima Nova", Sans-serif;
    font-size: 80px;
    font-weight: 900;
    line-height: 1em;
    font-size: 23px;
    letter-spacing: -0.02em;
    color: var(--e-global-color-primary);
    text-transform: uppercase;
}

.tcs-slide-author-role {
    font-family: "IBM Plex Mono", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--e-global-color-primary);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    margin-top: 10px;
    word-spacing: -0.04em;
}

/* Logo */
.tcs-slide-logo {
    max-width: 100px;
    max-height: 50px;
}

.tcs-slide-logo img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

/* Pagination */
.tcs-pagination.swiper-pagination {
    bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 10px;
}

.tcs-pagination .swiper-pagination-bullet {
    width: 48px;
    height: 10px;
    border-radius: 50px;
    background: #CED3D9;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.tcs-pagination .swiper-pagination-bullet-active {
    background: var(--e-global-color-primary);
}

/* Hide Swiper default shadow on cards */
.tcs-swiper .swiper-slide-shadow {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .tcs-swiper .swiper-slide {
        flex-direction: column;
        min-height: auto;
    }

    .tcs-slide-photo {
        width: 100%;
        min-width: unset;
        height: 400px;
    }

    .tcs-slide-content {
        padding: 28px 24px;
        width:100%;
    }

    .tcs-slide-quote {
        font-size: 17px;
    }

    .tcs-slide-author-name {
        font-size: 17px;
    }
    
    .tcs-slide-footer {
        margin-top: 48px;
    }
    
    .tcs-slide-author-role {
    font-size: 14px;
    }
    
    .tcs-swiper .swiper-slide[aria-label="2 / 3"] img {
        object-position: center 30% !important;
    }
    
    .tcs-slide-logo {
    max-width: 90px;
    max-height: 50px;
    }
}


@media (max-width: 767px) {
    .tcs-swiper .swiper-slide {
        flex-direction: column;
        min-height: auto;
    }

    .tcs-slide-photo {
        height: auto;
        aspect-ratio:1.1;
        border-radius:10px;
    }

    .tcs-slide-content {
        padding: 20px;
        border-radius:10px;
    }

    .tcs-slide-quote {
        font-size: 16px;
    }

    .tcs-slide-author-name {
        font-size: 15px;
    }
    
    .tcs-slide-footer {
        margin-top: 24px;
        padding-top:24px;
        flex-direction:column;
        align-items: flex-start;
        gap:12px;
    }
    
    .tcs-slide-author-role {
    font-size: 13px;
    margin-top:10px;
    }
    
    .tcs-swiper .swiper-slide[aria-label="2 / 3"] img {
        object-position: center 30% !important;
    }
    
    .tcs-swiper {
        padding-bottom:48px;
    }
    
    .tcs-slide-logo {
    max-width: 80px;
    max-height: 40px;
    }
    
    .tcs-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 8px;
    }
}
