/* ── UXD Blockquote Widget ────────────────────────────────────────────────
   Layout classes: .layout-classic  .layout-border  .layout-boxed
   Alignment:      .align-left  .align-center  .align-right
   Author layout:  .author-stacked  .author-pill  .author-inline
──────────────────────────────────────────────────────────────────────────── */

/* ── Base ─────────────────────────────────────────────────────────────── */
.uxdwfe-blockquote {
    position: relative;
    padding: 40px 48px;
}

/* ── Quote icon ───────────────────────────────────────────────────────── */
.uxdwfe-blockquote-icon {
    display: flex;
    margin-bottom: 24px;
    line-height: 1;
}
.uxdwfe-blockquote-icon i,
.uxdwfe-blockquote-icon svg {
    display: block;
    font-size: 2.5rem;
    opacity: 0.35;
    color: inherit;
}

/* ── Quote text ───────────────────────────────────────────────────────── */
.uxdwfe-blockquote-text {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 32px;
}

/* ── Author — shared base ─────────────────────────────────────────────── */
.uxdwfe-blockquote-author {
    display: inline-flex;
    align-items: center;
}

.uxdwfe-blockquote-author-image {
    flex-shrink: 0;
    margin-right: 14px;
}
.uxdwfe-blockquote-author-image img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}


/* ═══════════════════════════════════════════════════════════════
   AUTHOR LAYOUTS
═══════════════════════════════════════════════════════════════ */

/* ── Stacked ─────────────────────────────────────────────────────────── */
.uxdwfe-blockquote-author.author-stacked {
    display: flex;
    align-items: center;
}
.author-stacked .uxdwfe-blockquote-author-info {
    display: flex;
    flex-direction: column;
}
.author-stacked .uxdwfe-blockquote-author-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.3;
}
.author-stacked .uxdwfe-blockquote-author-title {
    font-size: 0.82rem;
    opacity: 0.6;
    line-height: 1.3;
}

/* ── Pill ────────────────────────────────────────────────────────────── */
.uxdwfe-blockquote-author.author-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 999px;
    padding: 8px 22px 8px 8px;
}
.author-pill .uxdwfe-blockquote-author-image {
    margin-right: 12px;
}
.author-pill .uxdwfe-blockquote-author-image img {
    width: 40px;
    height: 40px;
}
.author-pill .uxdwfe-blockquote-author-info {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}
.author-pill .uxdwfe-blockquote-author-name  { font-weight: 700; }
.author-pill .uxdwfe-blockquote-pill-sep     { opacity: 0.5; margin: 0 5px; font-weight: 400; }
.author-pill .uxdwfe-blockquote-author-title { opacity: 0.65; font-weight: 400; }

/* ── Inline ──────────────────────────────────────────────────────────── */
.uxdwfe-blockquote-author.author-inline {
    display: inline-flex;
    align-items: center;
}
.author-inline .uxdwfe-blockquote-author-info {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.author-inline .uxdwfe-blockquote-author-name  { font-size: 0.9rem; font-weight: 700; }
.author-inline .uxdwfe-blockquote-author-title { font-size: 0.82rem; opacity: 0.6; }


/* ═══════════════════════════════════════════════════════════════
   ALIGNMENT
═══════════════════════════════════════════════════════════════ */

/* Left (default) */
.uxdwfe-blockquote.align-left .uxdwfe-blockquote-icon   { justify-content: flex-start; }
.uxdwfe-blockquote.align-left .uxdwfe-blockquote-author { margin-right: auto; }

/* Center */
.uxdwfe-blockquote.align-center .uxdwfe-blockquote-icon   { justify-content: center; }
.uxdwfe-blockquote.align-center .uxdwfe-blockquote-author { margin: 0 auto; justify-content: center;  }

/* Right */
.uxdwfe-blockquote.align-right .uxdwfe-blockquote-icon   { justify-content: flex-end; }
.uxdwfe-blockquote.align-right .uxdwfe-blockquote-author { margin-left: auto; }


/* ═══════════════════════════════════════════════════════════════
   BOX LAYOUTS
═══════════════════════════════════════════════════════════════ */

.uxdwfe-blockquote.layout-classic {
    border: none;
    background: transparent;
}

.uxdwfe-blockquote.layout-border {
    border-left: 4px solid #c0392b;
    background: #f9f9f9;
    padding-left: 32px;
}

.uxdwfe-blockquote.layout-boxed {
    background: #f9f9f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}
