:root {
    --main-color: rgba(183, 144, 36, 1);
    --secondary-color: rgba(41, 45, 100, 1);
}

/* Team Card Styles */
.testimonial-three__single {
    /* background: #fff; Default from CSS */
    /* border-radius: 20px; Default */
    /* box-shadow: ... Default */
    /* padding: 25px; Default is different, but let's trust the inline padding-top=50px */
    /* height: 100%; Remove fixed height to allow natural flow */
    /* display: flex; REMOVE to fix absolute positioning of child */
    /* flex-direction: column; REMOVE */
    /* justify-content: space-between; REMOVE */
    position: relative;
    /* overflow: hidden; REMOVE THIS CRITICAL BUG prevents pop-out */
    transition: all 0.3s ease;
    margin-top: 45px;
    /* Add margin to account for top pop-out */
}

.testimonial-three__single:hover {
    transform: translateY(-5px);
    /* box-shadow: ... Default handles this */
}

.testimonial-three__client-info {
    /* Default Styles apply */
}

.testimonial-three__client-img img {
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-three__client-content {
    /* Default Styles apply */
}

.testimonial-three__client-name {
    margin: 0;
    line-height: 1.4;
}

.testimonial-three__client-name a {
    font-size: 17px !important;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.testimonial-three__client-name a:hover {
    color: var(--main-color);
}

.testimonial-three__client-sub-title {
    font-size: 13px;
    color: #777;
    margin: 5px 0 0;
    font-weight: 500;
}

/* Justify Bio Text */
.testimonial-three__text {
    text-align: justify;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes footer down */
}

.testimonial-three__rating {
    justify-content: center;
    display: flex;
    margin-top: 10px;
}

/* Issues Badge Modern Design */
.issues-badge {
    display: inline-flex;
    align-items: center;
    background: #fdfbf7;
    border: 1px solid #eee;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 13px;
    color: #666;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.issues-badge:hover {
    border-color: var(--main-color);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.issues-badge .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(183, 144, 36, 0.1);
    color: var(--main-color);
    border-radius: 50%;
    font-size: 11px;
}

.issues-badge .count {
    font-weight: 800;
    color: var(--secondary-color);
    font-size: 15px;
    margin-right: 3px;
}

.testimonial-three__quote {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
}