/* Grid wrapper */
.tlm-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

/* Columns */
.tlm-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}
.tlm-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}
.tlm-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive */
@media (max-width: 992px) {
    .tlm-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    .tlm-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Card */
.tlm-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Content */
.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-text {
    font-size: 14px;
    margin: 0 0 15px;
    flex-grow: 1;
}

/* Footer (bottom part) */
.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Avatar */
.testimonial-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Meta */
.testimonial-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-name {
    font-weight: bold;
    font-size: 15px;
    margin: 0;
    color: #111;
}

.testimonial-designation {
    font-size: 13px;
    color: #666;
    margin: 2px 0 0;
}

/* Load More button */
#tlm-load-more {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    border: none;
    background: #0073aa;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}
#tlm-load-more:hover {
    background: #005f8d;
}


/* Avatar rounded */
.testimonial-avatar img {
    border-radius: 50%;   /* Makes avatar circular */
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Load More button */
#tlm-load-more {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    border: none;
    background: #9c4312;   /* Updated color */
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}
#tlm-load-more:hover {
    background: #7a320e;   /* Darker shade for hover */
}


