/* Testimonios Edukz — Frontend */

.te-grid-section {
    width: 100%;
    box-sizing: border-box;
}

.te-grid-section.te-grid-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.te-grid {
    display: grid;
    grid-template-columns: repeat( var( --te-cols, 3 ), 1fr );
    gap: 24px;
    align-items: start;
}

.te-card {
    background: var( --te-bg, #ffffff );
    border-radius: 12px;
    padding: 28px 24px 22px;
    box-shadow: 0 2px 12px rgba( 0, 0, 0, 0.08 );
    border-top: 3px solid var( --te-accent, #ee6c4d );
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.te-quote-mark {
    font-size: 72px;
    line-height: 0.75;
    color: var( --te-accent, #ee6c4d );
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 12px;
    display: block;
    opacity: 0.7;
}

.te-text {
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
    margin: 0 0 20px;
    flex: 1;
}

.te-text-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.te-text--preview { display: block; }
.te-text--full    { display: none; }

.te-text-wrap.is-expanded .te-text--preview { display: none; }
.te-text-wrap.is-expanded .te-text--full    { display: block; }

.te-toggle-more {
    align-self: flex-start;
    background: none;
    border: 1px solid var( --te-accent, #ee6c4d );
    color: var( --te-accent, #ee6c4d );
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: background 0.15s, color 0.15s;
}

.te-toggle-more:hover {
    background: var( --te-accent, #ee6c4d );
    color: #ffffff;
}

.te-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: auto;
}

.te-name {
    font-weight: 700;
    font-size: 14px;
    color: #283140;
}

.te-profession {
    font-size: 13px;
    color: #6b7280;
}

.te-edition {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var( --te-accent, #ee6c4d );
    border-left: 2px solid var( --te-accent, #ee6c4d );
    padding-left: 6px;
    line-height: 1.2;
}

@media ( max-width: 900px ) {
    .te-grid { grid-template-columns: repeat( 2, 1fr ); }
}

@media ( max-width: 540px ) {
    .te-grid { grid-template-columns: 1fr; }
}
