/**
 * TP Review Card — widget styles
 *
 * Client testimonial card with yellow left border on quote and author section.
 *
 * @package Technoproekt
 * @author  Kkalganov <https://kkalganov.com>
 */

/* ==========================================================================
   Review Card
   ========================================================================== */

.tp-review-card {
    background: var(--tp-white);
    padding: 36px 32px;
    border: 1px solid var(--tp-cream-warm);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    height: 100%;
}

.tp-review-card:hover {
    border-color: var(--tp-green-main);
    box-shadow: 0 8px 24px var(--tp-black-06);
}

/* Quote */
.tp-review-card__quote {
    font-size: 14px;
    color: var(--tp-text);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--tp-yellow);
}

/* Author section */
.tp-review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--tp-cream);
}

.tp-review-card__author-icon {
    width: 40px;
    height: 40px;
    background: var(--tp-green-main);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.tp-review-card__author-icon svg,
.tp-review-card__author-icon i {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: var(--tp-white) !important;
    fill: var(--tp-white);
}

.tp-review-card__author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--tp-text);
    line-height: 1.3;
}

.tp-review-card__author-role {
    font-size: 12px;
    color: var(--tp-text-light);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .tp-review-card {
        padding: 28px 24px;
    }
}
