/* Force LTR direction on the outer container */
.tc-outer-0831f344 {
    direction: ltr !important;
}

.tc-wrapper-0831f344 {
    position: relative;
    overflow: hidden;
    padding: 0 50px; /* Add padding to prevent arrows from overlapping cards */
    display: block; /* Ensure block context */
    width: 100%;
    /* Swiper fixes */
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}

/* Ensure horizontal layout for swiper wrapper */
.tc-wrapper-0831f344 .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

/* Base slide styles */
.tc-wrapper-0831f344 .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto; /* Allow auto height for flex */
    position: relative;
    transition-property: transform;
}

.tc-card-0831f344 {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    height: 100%; /* Fill slide height */
    box-sizing: border-box;
}
.tc-quote-0831f344 {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 20px;
}
.tc-quote-0831f344 p:last-child {
    margin-bottom: 0;
}
.tc-author-wrap-0831f344 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto; /* Pushes author to bottom when min-height is used */
}
.tc-img-0831f344 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.tc-author-info-0831f344 {
    display: flex;
    flex-direction: column;
}
.tc-name-0831f344 {
    font-weight: bold;
}
.tc-role-0831f344 {
    font-size: 0.9em;
}

/* Navigation Overrides */
.tc-nav-0831f344 {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width and height are controlled via widget settings now */
    margin-top: -20px; /* Center vertically */
    line-height: 1; /* reset line-height for better centering */
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
}

.swiper-button-prev {
    left: 0;
    right: auto;
}

.swiper-button-next {
    right: 0;
    left: auto;
}

/* Ensure font icons center and scale */
.tc-nav-0831f344 i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Fix arrow size application to SVG */
.tc-nav-0831f344 svg {
    display: block;
    /* width/height controlled via Elementor settings */
}

.tc-wrapper-0831f344 .swiper-button-next:after, 
.tc-wrapper-0831f344 .swiper-button-prev:after {
    display: none; /* Hide default swiper arrows since we use Elementor icons */
}

/* Disabled state for rewind */
.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}
