/* Testimonial Carousel — carousel.css */

.tc-wrapper {
    font-family: inherit;
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

/* Header */
.tc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tc-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 0.5rem;
    line-height: 1.25;
    max-width: 420px;
}

.tc-subtitle {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    max-width: 340px;
    line-height: 1.6;
}

.tc-more-btn {
    display: inline-block;
    background: #E8521A;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.tc-more-btn:hover {
    background: #c94210;
    color: #fff;
}

/* Stage */
.tc-stage {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
}

/* Nav buttons */
.tc-nav {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, background 0.15s;
}

.tc-nav:hover {
    border-color: #aaa;
    background: #f5f5f5;
}

/* Track */
.tc-track {
    display: flex;
    gap: 12px;
    flex: 1;
    align-items: stretch;
    min-height: 220px;
}

/* Photo slots */
.tc-photo {
    width: 130px;
    flex-shrink: 0;
    border-radius: 10px;
    background-size: cover;
    background-position: center top;
    background-color: #d4a48a;
    transition: opacity 0.35s ease, background-image 0.35s ease;
}

.tc-photo-prev,
.tc-photo-next {
    opacity: 0.45;
}

.tc-photo-active {
    opacity: 1;
}

/* Fallback avatar when no photo */
.tc-photo-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.7);
    background-color: #C9896A;
}

/* Quote card */
.tc-quote-card {
    flex: 1;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.tc-quote-mark {
    color: #E8521A;
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: Georgia, serif;
}

.tc-quote-text {
    font-size: 0.925rem;
    color: #333;
    line-height: 1.7;
    margin: 0 0 1rem;
    font-style: italic;
    transition: opacity 0.3s ease;
}

.tc-author-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 3px;
}

.tc-author-role {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
}

/* Dots */
.tc-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding-top: 0.25rem;
}

.tc-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tc-dot.tc-dot-active {
    background: #111;
    transform: scale(1.2);
}

/* Empty state */
.tc-no-testimonials {
    color: #777;
    font-size: 0.9rem;
    padding: 1rem;
    border: 1px dashed #ddd;
    border-radius: 6px;
    text-align: center;
}

/* Fade animation */
.tc-quote-card.tc-fade {
    opacity: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .tc-photo-prev,
    .tc-photo-next {
        display: none;
    }

    .tc-photo-active {
        width: 90px;
        min-height: 160px;
    }

    .tc-title {
        font-size: 1.25rem;
    }

    .tc-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
