.ts-7e044025-wrapper {
    position: relative;
    width: 100%;
}
.ts-7e044025-slider {
    overflow: hidden;
}
.ts-7e044025-single-wrapper {
    width: 100%;
}
.ts-7e044025-card {
    position: relative;
    width: 100%;
    min-height: 500px;
    background: #000;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
}
.ts-7e044025-front-state {
    position: absolute;
    inset: 0;
    z-index: 2;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.ts-7e044025-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}
.ts-7e044025-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    transition: background-color 0.6s ease;
}

/* Front State Action */
.ts-7e044025-front {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    z-index: 3;
}
.ts-7e044025-front-meta {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ts-7e044025-front-name {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}
.ts-7e044025-front-role, .ts-7e044025-front-company {
    font-size: 14px;
    opacity: 0.9;
}
.ts-7e044025-action {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Back State */
.ts-7e044025-back {
    position: absolute;
    inset: 0;
    background: #fff;
    color: #111;
    z-index: 4;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    align-items: center;
    justify-content: center;
}

/* Hover Interactivity (Desktop) */
@media (hover: hover) and (pointer: fine) {
    .ts-7e044025-card:hover .ts-7e044025-front-state {
        opacity: 0;
        visibility: hidden;
    }
    .ts-7e044025-card:hover .ts-7e044025-back {
        opacity: 1;
        visibility: visible;
    }
}

/* Click Interactivity (Mobile / fallback) */
.ts-7e044025-card.is-active .ts-7e044025-front-state {
    opacity: 0;
    visibility: hidden;
}
.ts-7e044025-card.is-active .ts-7e044025-back {
    opacity: 1;
    visibility: visible;
}

.ts-7e044025-split-content {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    padding: 40px;
    overflow-y: auto;
    min-width: 0; /* CRITICAL for Flexbox to allow word wrapping instead of overflow */
    margin: 0 auto;
}

.ts-7e044025-split-content::-webkit-scrollbar {
    width: 4px;
}
.ts-7e044025-split-content::-webkit-scrollbar-thumb {
    background: #ccc;
}

/* Avatar Header */
.ts-7e044025-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px; /* Distinct gap before testimonial */
    width: 100%;
}
.ts-7e044025-avatar {
    width: 72px;
    height: 72px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
}
.ts-7e044025-meta-back {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0; /* Ensure text wraps correctly */
}

/* Prevent unwanted character breaks */
.ts-7e044025-name,
.ts-7e044025-role,
.ts-7e044025-company,
.ts-7e044025-link {
    word-break: normal;
    overflow-wrap: break-word;
}

.ts-7e044025-name {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
}
.ts-7e044025-role {
    font-size: 14px;
    color: #666;
}
.ts-7e044025-company, .ts-7e044025-link {
    font-size: 14px;
    color: #666;
}
.ts-7e044025-link {
    text-decoration: none;
}
.ts-7e044025-link:hover {
    text-decoration: underline;
}

.ts-7e044025-text-wrap {
    width: 100%;
}
.ts-7e044025-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Slider Nav */
.ts-7e044025-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    font-size: 14px;
}
.ts-7e044025-prev, .ts-7e044025-next {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    color: #111;
}
.ts-7e044025-pagination {
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
}

@media (max-width: 767px) {
    .ts-7e044025-front { padding: 30px; }
    
    .ts-7e044025-split-content {
        padding: 30px;
    }
    
    .ts-7e044025-avatar { width: 60px; height: 60px; }
}
