/* Container Layout */
.acts-testimonial-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    padding: 20px 0; /* Ensures shadow has room to render without cutting */
    background: transparent;
    display: flex;
}

.acts-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-rtl var(--marquee-speed, 20s) linear infinite;
}

.acts-marquee-track.acts-marquee-ltr {
    animation-name: marquee-ltr;
}

.acts-pause-on-hover:hover .acts-marquee-track {
    animation-play-state: paused;
}

.acts-marquee-content {
    display: flex;
    width: max-content;
    gap: var(--gap, 30px);
    padding-right: var(--gap, 30px); /* Space before the duplicate track kicks in */
}

@keyframes marquee-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-ltr {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.acts-testimonial-item {
    width: var(--card-width, 300px);
    flex-shrink: 0;
    box-sizing: border-box;
    height: auto;
}

/* Base Card UI - Squarer borders, clean enterprise look */
.acts-card {
    background: #ffffff;
    border-radius: 8px; /* Slightly rounder for a modern look */
    padding: 30px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1); /* Stronger core drop-shadow */
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #eaeaea; /* Slightly darker crisp border */
    transition: box-shadow 0.3s ease, transform 0.3s ease; /* Smooth hover transition */
}

/* Give it a premium 'lift' when a user hovers over the card */
.acts-card:hover {
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Stars Rating */
.acts-rating {
    margin-bottom: 20px;
    display: flex;
    gap: 3px;
}

.acts-star {
    width: 16px;
    height: 16px;
    fill: #e0e0e0;
}

.acts-star-filled {
    fill: var(--star-color, #f12558); /* Vibrant Pink/Red fallback */
}

/* Testimonial Text Details */
.acts-content {
    flex-grow: 1; /* Pushes the footer down automatically */
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 25px;
    font-style: normal;
}

.acts-content p {
    margin-bottom: 1em;
}

.acts-content p:last-child {
    margin-bottom: 0;
}

/* Profile Info Footer */
.acts-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto; 
}

/* Tiny Avatar */
.acts-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acts-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Author block */
.acts-author-info {
    display: flex;
    flex-direction: column;
}

.acts-author-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #222222;
    line-height: 1.3;
}

.acts-author-company {
    font-size: 12px;
    color: #888888;
    margin-top: 2px;
}
