/* ===========================================
   Employee Testimonials — WordPress Plugin
   =========================================== */

/* ---- Section ---- */
.et-section {
    width: 100%;
    padding: 48px 24px;
    box-sizing: border-box;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---- Heading ---- */
.et-heading {
    text-align: center;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 40px;
    line-height: 1.2;
}

/* ---- Grid ---- */
.et-grid {
    display: grid;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.et-cols-1 { grid-template-columns: 1fr; }
.et-cols-2 { grid-template-columns: repeat(2, 1fr); }
.et-cols-3 { grid-template-columns: repeat(3, 1fr); }
.et-cols-4 { grid-template-columns: repeat(4, 1fr); }

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

@media (max-width: 560px) {
    .et-cols-2,
    .et-cols-3,
    .et-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* ---- Card ---- */
.et-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.et-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

/* ---- Photo ---- */
.et-photo-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.et-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.et-card:hover .et-photo {
    transform: scale(1.03);
}

.et-photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
}

.et-photo--placeholder svg {
    width: 56px;
    height: 56px;
}

/* ---- Card body ---- */
.et-card__body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

/* ---- Name ---- */
.et-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

/* ---- Role ---- */
.et-role {
    font-size: 0.80rem;
    font-weight: 400;
    color: #888;
    margin: 0 0 8px;
    font-style: italic;
    line-height: 1.3;
}

/* ---- Quote ---- */
.et-quote {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.65;
    margin: 4px 0 0;
    padding: 0;
    border: none;
    position: relative;
}

.et-quote__mark {
    font-size: 1.4rem;
    line-height: 0;
    vertical-align: -0.35em;
    margin-right: 2px;
    color: #1a1a1a;
    font-family: Georgia, serif;
}

/* ---- Empty state ---- */
.et-empty {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 32px;
}
