.pmseo-dc-testimonials {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    padding: 0;
    box-sizing: border-box;
}

.pmseo-dc-viewport {
    flex: 1 1 auto;
    overflow: hidden;
    min-width: 0;
}

.pmseo-dc-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 24px;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.pmseo-dc-card {
    flex-shrink: 0;
    box-sizing: border-box;
    border-radius: 20px;
    padding: 32px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 210px;
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.pmseo-dc-card.pmseo-dc-in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pmseo-dc-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px) scale(1);
}

.pmseo-dc-card-text {
    margin: 0 0 20px;
    line-height: 1.6;
}

.pmseo-dc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pmseo-dc-see-testimonial,
.pmseo-dc-see-testimonial:link,
.pmseo-dc-see-testimonial:visited {
    color: #EF0369;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: opacity 0.25s ease;
}

.pmseo-dc-see-testimonial:hover {
    opacity: 0.75;
}

.pmseo-dc-author-pill {
    display: inline-block;
    background: #fff;
    color: inherit;
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Arrows */
.pmseo-dc-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 27px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pmseo-dc-arrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.pmseo-dc-arrow:hover {
    opacity: 1;
}

.pmseo-dc-prev:hover {
    transform: translateX(-4px);
}

.pmseo-dc-next:hover {
    transform: translateX(4px);
}

.pmseo-dc-arrow[hidden] {
    display: none;
}

/* Dots, one per "page" of cards, not one per individual card */
.pmseo-dc-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -32px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pmseo-dc-dots:empty {
    display: none;
}

.pmseo-dc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F1BFCD;
    opacity: 0.4;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pmseo-dc-dot:hover {
    opacity: 0.7;
}

.pmseo-dc-dot.is-active {
    opacity: 1;
    transform: scale(1.25);
}

/* Touch drag affordance */
.pmseo-dc-viewport.is-dragging .pmseo-dc-track {
    transition: none;
    cursor: grabbing;
}

/* Responsive card counts, CSS-only now: 3 desktop, 2 tablet, 1 at
   767px and under. The JS carousel doesn't need to know this number,
   it measures actual rendered card widths instead, so this is the
   only place that decides how many cards are visible. */
.pmseo-dc-track {
    --pmseo-visible: 3;
}

.pmseo-dc-card {
    width: calc((100% - (var(--pmseo-visible) - 1) * 24px) / var(--pmseo-visible));
}

@media (max-width: 1119px) {
    .pmseo-dc-track {
        --pmseo-visible: 2;
    }
}

@media (max-width: 767px) {
    .pmseo-dc-track {
        --pmseo-visible: 1;
        gap: 16px;
    }

    .pmseo-dc-testimonials {
        gap: 10px;
    }

    .pmseo-dc-card {
        padding: 26px 22px 20px;
        min-height: 180px;
    }

    .pmseo-dc-arrow {
        width: 22px;
        height: 19px;
    }

    .pmseo-dc-dots {
        bottom: -26px;
    }
}
