/* Quote: text, then who said it (avatar, name, role). */
.px-page .px-quote { display: grid; gap: var(--px-space-m); margin-top: 0; margin-inline: 0; align-content: start; }
.px-page .px-quote__text { position: relative; margin: 0; min-width: 0; }
.px-page .px-quote__p { margin: 0; color: var(--px-color-text); font-family: var(--px-quote-ff, inherit); font-weight: var(--px-quote-fw, inherit); font-size: var(--px-quote-fs, var(--px-text-lead)); line-height: var(--px-quote-lh, var(--px-leading-body)); white-space: pre-line; overflow-wrap: anywhere; }
.px-page .px-quote__who { display: flex; align-items: center; gap: var(--px-space-s); min-width: 0; }
.px-page .px-section--al-center .px-quote__who { justify-content: center; }
.px-page .px-quote__avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.px-page .px-quote__id { display: grid; min-width: 0; }
.px-page .px-quote__name { color: var(--px-color-heading); font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
.px-page .px-quote__role { color: var(--px-color-muted); font-size: var(--px-text-small); overflow-wrap: anywhere; }

/* large: heading font at h3 size, with a decorative opening mark. */
.px-page .px-quote--large .px-quote__text::before {
	content: "\201C";
	display: block;
	height: .55em;
	color: var(--px-color-primary-text);
	font-family: var(--px-font-heading);
	font-size: var(--px-text-display);
	line-height: 1;
}
.px-page .px-quote--large .px-quote__p {
	color: var(--px-color-heading);
	font-family: var(--px-quote-ff, var(--px-font-heading));
	font-weight: var(--px-quote-fw, var(--px-weight-heading));
	font-size: var(--px-quote-fs, var(--px-text-h3));
	line-height: var(--px-quote-lh, var(--px-leading-tight));
}

/* card: surface, border and shadow. */
.px-page .px-quote--card {
	padding: var(--px-space-l);
	background: var(--px-color-surface);
	border: 1px solid var(--px-color-border);
	border-radius: var(--px-radius);
	box-shadow: var(--px-shadow);
}

/* card: the text is a little larger than body copy (about 1.25rem). */
.px-page .px-quote--card { --px-quote-fs: 1.25rem; }

/* Rating: five stars before the quote. */
.px-page .px-quote__stars { display: flex; gap: .15em; color: var(--px-color-primary-text); font-size: var(--px-text-lead); }
.px-page .px-section--al-center .px-quote__stars { justify-content: center; }
.px-page .px-quote__stars .px-icon { width: 1em; height: 1em; }

/* textSize (advanced): l and xl step the quote up; font: heading on plain / card, body anywhere. */
.px-page .px-quote--size-l { --px-quote-fs: var(--px-text-h3); }
.px-page .px-quote--size-xl { --px-quote-fs: var(--px-text-h2); }
.px-page .px-quote--large.px-quote--size-l { --px-quote-fs: var(--px-text-h2); }
.px-page .px-quote--large.px-quote--size-xl { --px-quote-fs: var(--px-text-h1); }
.px-page .px-quote--font-heading,
.px-page .px-quote--large { --px-quote-ff: var(--px-font-heading); --px-quote-fw: var(--px-weight-heading); --px-quote-lh: var(--px-leading-tight); }
.px-page .px-quote.px-quote--font-body { --px-quote-ff: var(--px-font-body); --px-quote-fw: 400; --px-quote-lh: var(--px-leading-body); }

/* textStyle italic: slanted and light (weight 300 falls back to the nearest weight the font has, so 400 when there is no light cut).
   Placed last so it wins over the font variants above. */
.px-page .px-quote.px-quote--italic .px-quote__p { font-style: italic; font-weight: 300; }
/* nameStyle caps: small spaced capitals in the brand text colour. */
.px-page .px-quote--name-caps .px-quote__name { color: var(--px-color-primary-text); font-size: var(--px-text-small); letter-spacing: .12em; text-transform: uppercase; }
