/**
 * LC Reflection Writers — [lc_reflection_writers] shortcode styles
 * All selectors scoped under .lc-rw-* to avoid bleeding into
 * Enfold's layout or other plugin styles.
 *
 * Mirrors the [lc_critic_team] card layout with the plugin's
 * purple/reflection colour theme. No ideology blockquote.
 */

/* ── Wrapper & optional heading ──────────────────────────────── */
.lc-rw-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #222;
    line-height: 1.55;
}

.lc-rw-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 2rem;
    text-align: center;
}

/* ── Grid ────────────────────────────────────────────────────── */
.lc-rw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

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

@media (max-width: 480px) {
    .lc-rw-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Card ────────────────────────────────────────────────────── */
.lc-rw-card {
    background: #fff;
    border: 1px solid #e2ddf0;
    border-radius: 10px;
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 2px 8px rgba(94, 53, 177, 0.06);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

.lc-rw-card:hover {
    box-shadow: 0 6px 20px rgba(94, 53, 177, 0.13);
    border-color: #c5aef7;
}

/* ── Card header: avatar + name/title ────────────────────────── */
.lc-rw-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 0.2rem;
}

/* ── Avatar initials ─────────────────────────────────────────── */
.lc-rw-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5e35b1 0%, #9c27b0 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.04em;
    line-height: 1;
}

/* ── Identity: name + role ───────────────────────────────────── */
.lc-rw-identity {
    min-width: 0;
}

.lc-rw-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 0.15rem;
    line-height: 1.25;
}

.lc-rw-title {
    font-size: 0.75rem;
    color: #6b3fa0;
    margin: 0;
    line-height: 1.3;
    font-weight: 500;
}

/* ── Specialty badge ─────────────────────────────────────────── */
.lc-rw-specialty {
    display: inline-block;
    background: #ede7f6;
    color: #5e35b1;
    border: 1px solid #c5aef7;
    border-radius: 20px;
    padding: 3px 11px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.6;
    white-space: normal;
    align-self: flex-start;
}

/* ── Stat: N essays in the L&C Visual Archive ────────────────── */
.lc-rw-stat {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.lc-rw-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #5e35b1;
    line-height: 1;
}

.lc-rw-stat-label {
    font-size: 0.78rem;
    color: #6b3fa0;
    line-height: 1.35;
}

/* ── Biography ───────────────────────────────────────────────── */
.lc-rw-bio {
    font-size: 0.84rem;
    color: #3a4a5a;
    line-height: 1.65;
    margin: 0;
    flex-grow: 1;
}

/* ── Footer: "Showing X of Y · ↻ Meet different writers" ─────── */
.lc-rw-footer {
    margin: 1.4rem 0 0;
    text-align: center;
    font-size: 0.82rem;
    color: #8a7aaa;
}

.lc-rw-footer a {
    color: #5e35b1;
    text-decoration: none;
    font-weight: 600;
}

.lc-rw-footer a:hover {
    text-decoration: underline;
}
