.ts-afb09092-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0 80px 0;
}
.ts-afb09092-wrapper {
    width: 100%;
    overflow: hidden;
    cursor: grab;
}
.ts-afb09092-wrapper:active {
    cursor: grabbing;
}
.ts-afb09092-track {
    display: flex;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.ts-afb09092-track.ts-dragging {
    transition: none; /* Disable transition during drag */
}
.ts-afb09092-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    transition: all 0.5s ease;
    opacity: 0.4;
    transform: scale(0.85);
    user-select: none;
}
@media (min-width: 768px) {
    .ts-afb09092-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (min-width: 1024px) {
    .ts-afb09092-card {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}
.ts-afb09092-card.ts-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Card Layout Reordering */
.ts-afb09092-card-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.ts-afb09092-card-layout.ts-layout-reverse {
    flex-direction: column-reverse;
}
.ts-afb09092-card-layout.ts-layout-reverse .ts-afb09092-author {
    margin-top: 0;
    margin-bottom: 30px;
}
/* Adjust speech bubble arrow for reversed layout */
.ts-afb09092-card-layout.ts-layout-reverse .ts-afb09092-card-inner::after {
    bottom: auto;
    top: -10px;
}

.ts-afb09092-card-inner {
    padding: 40px 30px;
    border-radius: 12px;
    background-color: transparent;
    transition: background-color 0.5s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}
.ts-afb09092-card.ts-active .ts-afb09092-card-inner {
    background-color: #e63946; /* Can be overridden */
}

/* Speech bubble arrow for active card */
.ts-afb09092-card.ts-active .ts-afb09092-card-inner::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    background-color: inherit; /* Matches card inner bg */
    z-index: -1;
}

.ts-afb09092-quote-icon {
    /* Margin controlled from elementor */
    margin-bottom: 20px;
    transition: fill 0.3s ease;
}
.ts-afb09092-quote-icon svg {
    fill: #888888;
}
.ts-afb09092-card.ts-active .ts-afb09092-quote-icon svg {
    fill: #ffffff;
}
.ts-afb09092-quote {
    font-size: 18px;
    line-height: 1.6;
    /* Margin controlled from elementor */
    margin-bottom: 20px;
    color: #888888;
    transition: color 0.3s ease;
}
.ts-afb09092-card.ts-active .ts-afb09092-quote {
    color: #ffffff;
}
.ts-afb09092-rating {
    /* Margin controlled from elementor */
}
.ts-afb09092-rating svg {
    margin: 0 2px;
}
.ts-afb09092-card.ts-active .ts-afb09092-rating svg {
    stroke: #ffffff;
    fill: currentColor;
}
.ts-afb09092-card:not(.ts-active) .ts-afb09092-rating svg {
    stroke: #888888;
    fill: currentColor;
}
.ts-afb09092-author {
    margin-top: 30px;
    text-align: center;
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.ts-afb09092-author-img {
    width: 60px; /* Base size, controlled by Elementor */
    height: 60px; /* Base size, controlled by Elementor */
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    pointer-events: none; /* Prevent image drag */
}
.ts-afb09092-author-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}
.ts-afb09092-author-role {
    font-size: 12px;
    color: #aaaaaa;
}

/* Default display for nav: none to override if hidden in Elementor */
.ts-afb09092-nav {
    display: none; 
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
}
.ts-afb09092-nav-btn {
    width: 44px; /* Base size, controlled by Elementor */
    height: 44px; /* Base size, controlled by Elementor */
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 0;
}
.ts-afb09092-nav-btn:hover {
    transform: scale(1.1);
}
.ts-afb09092-nav-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.ts-afb09092-nav-svg {
    /* Bind to the variable set by the Elementor control, fallback to inherited color */
    color: var(--nav-icon-color, currentColor);
    /* For triangles */
    fill: currentColor;
    /* Base size, overridden by Elementor if set */
    width: 24px;
    height: 24px;
}
/* Ensure the inner path inherits the color correctly for strokes */
.ts-afb09092-nav-svg path[stroke] {
    stroke: currentColor;
    fill: none;
}
/* Ensure the inner path inherits the color correctly for fills */
.ts-afb09092-nav-svg path[fill="currentColor"] {
    fill: currentColor;
    stroke: none;
}
