/* Liora 360 Testimonials — Grid Shortcode Styles */

.l360-tc-grid-wrap {
    --l360-cols-desktop: 3;
    --l360-cols-tablet: 2;
    --l360-cols-mobile: 1;
    --l360-grid-gap: 28px;
    --l360-card-bg: #ffffff;
    --l360-card-radius: 18px;
    --l360-star-color: #f0b429;
    --l360-star-empty: #e2ded9;
    --l360-accent: #6d1b3a;
    --l360-name-color: #2a1418;
    --l360-text-color: #5b5459;
    box-sizing: border-box;
}
.l360-tc-grid-wrap *,
.l360-tc-grid-wrap *::before,
.l360-tc-grid-wrap *::after {
    box-sizing: inherit;
}

.l360-tc-count {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--l360-accent);
    margin-bottom: 18px;
    letter-spacing: 0.2px;
}

.l360-tc-grid {
    display: grid;
    grid-template-columns: repeat(var(--l360-cols-desktop), 1fr);
    gap: var(--l360-grid-gap);
    align-items: stretch;
}

@media (max-width: 1024px) {
    .l360-tc-grid {
        grid-template-columns: repeat(var(--l360-cols-tablet), 1fr);
    }
}

@media (max-width: 640px) {
    .l360-tc-grid {
        grid-template-columns: repeat(var(--l360-cols-mobile), 1fr);
    }
}

.l360-tc-card {
    background: var(--l360-card-bg);
    border-radius: var(--l360-card-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.l360-tc-grid-wrap.l360-tc-shadow .l360-tc-card {
    box-shadow: 0 10px 30px rgba(30, 15, 20, 0.08);
}

.l360-tc-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
}

.l360-tc-avatar-wrap { flex-shrink: 0; }

.l360-tc-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.l360-tc-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--l360-accent);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.l360-tc-meta { min-width: 0; flex: 1; }

.l360-tc-name {
    font-weight: 700;
    color: var(--l360-name-color);
    font-size: 15px;
    line-height: 1.3;
}

.l360-tc-role {
    font-size: 12.5px;
    color: var(--l360-accent);
    opacity: 0.85;
    margin-top: 2px;
}

.l360-tc-date {
    font-size: 12px;
    color: #9a9195;
    white-space: nowrap;
    margin-left: auto;
    padding-top: 2px;
}

.l360-tc-rating { margin-bottom: 10px; }

.l360-tc-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 15px;
    line-height: 1;
}

.l360-tc-star {
    position: relative;
    display: inline-block;
    color: var(--l360-star-empty);
}

.l360-tc-star::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 0;
    width: var(--l360-fill, 0%);
    overflow: hidden;
    white-space: nowrap;
    color: var(--l360-star-color);
}

.l360-tc-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--l360-text-color);
    margin-bottom: 8px;
}

.l360-tc-full { display: none; }
.l360-tc-full.is-open {
    display: block;
    font-size: 14px;
    line-height: 1.65;
    color: var(--l360-text-color);
    margin-bottom: 8px;
}
.l360-tc-card.is-expanded .l360-tc-text { display: none; }

.l360-tc-readmore {
    align-self: flex-start;
    margin-top: auto;
    background: none;
    border: none;
    padding: 0;
    color: var(--l360-accent);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}
.l360-tc-readmore:hover { opacity: 0.8; }

.l360-tc-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.l360-tc-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.l360-tc-more-btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.l360-tc-more-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.l360-tc-grid-empty {
    text-align: center;
    opacity: 0.7;
}
