/* ── Testimonial Carousel ─────────────────────────────────── */

.tc-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    font-family: inherit;
    background: #fff;
    border: 2px solid #111;
    box-shadow: 0px 0px 100px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    overflow: hidden;
    padding-bottom: 3rem;
}

/* Track & slides */
.tc-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    align-items: stretch;
    min-height: 340px;
}

.tc-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

/* Logo */
.tc-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-logo-img {
    max-height: 60px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
}

/* Quote */
.tc-quote {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.15rem;
    line-height: 1.75;
    color: #333;
    max-width: 640px;
    position: relative;
    font-family: Cambria, Georgia, serif;
    font-style: italic;
}

.tc-quote p {
    margin: 0;
}

.tc-quote p::before {
    content: '\201C';
    font-size: 3rem;
    line-height: 0;
    vertical-align: -0.6rem;
    color: #bbb;
    margin-right: 0.1em;
}

.tc-quote p::after {
    content: '\201D';
    font-size: 3rem;
    line-height: 0;
    vertical-align: -0.6rem;
    color: #bbb;
    margin-left: 0.1em;
}

/* Credit */
.tc-credit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.tc-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
}

.tc-role {
    font-size: 0.85rem;
    color: #777;
}

.tc-verse {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.25rem;
    border-top: 1px solid #eee;
    padding-top: 0.4rem;
}

.tc-verse a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.tc-verse a:hover {
    color: #555;
}

/* Controls — sit inside the box at the bottom */
.tc-controls {
    position: absolute;
    bottom: 0.85rem;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.tc-btn {
    background: none;
    border: 2px solid #ccc;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    transition: border-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.tc-btn:hover {
    border-color: #333;
    color: #111;
}

/* Dots */
.tc-dots {
    display: flex;
    gap: 0.4rem;
}

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

.tc-dot.active {
    background: #333;
    transform: scale(1.25);
}

/* Fade-in animation when slide appears */
@keyframes tc-fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tc-slide.tc-active {
    animation: tc-fadeIn 0.4s ease forwards;
}

/* Responsive */
@media (max-width: 600px) {
    .tc-slide {
        padding: 1.5rem 1rem;
    }
    .tc-quote {
        font-size: 1rem;
    }
}
