/* --- Container --- */
.tc-reviews-wrapper {
    padding: 20px 10px;
    /* Space for shadow */
    overflow: hidden;
    /* Mask slides */
    position: relative;
}

.tc-reviews-wrapper .swiper-wrapper {
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
    width: 100%;
}

.tc-reviews-wrapper .swiper-slide {
    flex-shrink: 0;
    height: auto;
    /* Ensure equal height behavior works with card flex */
    box-sizing: border-box;
    /* Swiper usually wants content-box but cards might need border-box */
}

/* --- Review Card --- */
.tc-review-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    /* Equal height */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.tc-review-card:hover {
    transform: translateY(-5px);
}

/* --- Header --- */
.tc-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tc-review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #eee;
}

.tc-review-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin-right: 15px;
}

.tc-review-meta {
    display: flex;
    flex-direction: column;
}

.tc-review-name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.tc-review-role {
    font-size: 13px;
    color: #999;
    margin-top: 3px;
}

/* --- Rating --- */
.tc-review-rating {
    color: #FFC107;
    /* Default Gold */
    font-size: 14px;
    margin-bottom: 15px;
}

.tc-review-rating i {
    margin-right: 2px;
}

/* --- Content --- */
.tc-review-content {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    font-style: italic;
    flex-grow: 1;
    /* Push footer down if we had one */
}

/* --- Swiper Pagination --- */
.tc-reviews-wrapper .swiper-pagination {
    position: static;
    margin-top: 30px;
}

.tc-reviews-wrapper .swiper-pagination-bullet {
    background: #ccc;
    opacity: 0.6;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.tc-reviews-wrapper .swiper-pagination-bullet-active {
    background: var(--e-global-color-primary, #D32F2F);
    /* Use global or fallback */
    width: 24px;
    opacity: 1;
    border-radius: 4px;
}