/* =============================================
   Character Quote Block v4 — char-quote.css
   ============================================= */

.char-quote {
    padding: 0;
    max-width: 100%;
    background: transparent;
}

/* ── Quotation mark ─────────────────────────── */
.char-quote__mark {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 72px;
    line-height: 1;
    /* Negative margin pulls the quote text UP toward it */
    margin: 0 0 -12px;
    display: block;
    user-select: none;
}

/* ── Quote text ─────────────────────────────── */
.char-quote__text {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: clamp( 18px, 2.2vw, 26px );
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
    line-height: 1.45;
    margin: 0 0 14px;
    padding: 0;
    border: none;
    background: transparent;
    quotes: none;
}

.char-quote__text::before,
.char-quote__text::after { content: none; }

/* ── Attribution row ────────────────────────── */
.char-quote__attribution {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── Avatar ─────────────────────────────────── */
.char-quote__avatar-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--frame, #68001B),
                0 0 0 5px rgba(0,0,0,0.35);
    overflow: hidden;
}

.char-quote__avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.char-quote__avatar-empty {
    background: rgba(255,255,255,0.06);
}

/* ── Name + context ─────────────────────────── */
.char-quote__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.char-quote__name {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.char-quote__context {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    display: block;
}

/* ── Editor dark wrapper ─────────────────────── */
.char-quote--editor {
    background: #111 !important;
    padding: 16px 20px !important;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.08);
}
