/**
 * _quotes.css — the kit's blockquote and pull quote.
 * Owns: .wp-block-quote; .wp-block-pullquote.
 * Depends on: global/_tokens.css. Astra draws a 5px left border on quotes
 * (.wp-block-quote:not(.has-text-align-right):not(.has-text-align-center), 0,3,0); the .site-scoped doubled class
 * out-ranks it, and core's pull quote borders and centering.
 */

/* Blockquote: a 3px teal left rule, 28px in; Lora italic 22 / 35 navy; the attribution 16px Mulish 700 caps. */
:is(.site, .editor-styles-wrapper) .wp-block-quote.wp-block-quote {
	max-width: 760px;
	margin: 0;
	padding: 0 0 0 28px;
	border: 0;
	border-left: 3px solid var(--rl-color-alt-brand);
	font-family: var(--rl-font-heading);
	font-size: 22px;
	font-style: italic;
	font-weight: 400;
	line-height: 35px;
	color: var(--rl-color-headings);
}

:is(.site, .editor-styles-wrapper) .wp-block-quote.wp-block-quote p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

:is(.site, .editor-styles-wrapper) .wp-block-quote.wp-block-quote cite {
	display: block;
	margin-top: 14px;
	font-family: var(--rl-font-body);
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rl-color-brand);
}

/* Pull quote: a navy block (the homepage's "From Our Clients"); a large teal quotation mark, Lora 26 / 40 white,
   centred; the attribution white 600 caps, .12em. */
:is(.site, .editor-styles-wrapper) .wp-block-pullquote.wp-block-pullquote {
	margin: 0;
	padding: 56px clamp(24px, 5vw, 64px);
	border: 0;
	background: var(--rl-color-brand);
	text-align: center;
	color: var(--rl-white);
}

:is(.site, .editor-styles-wrapper) .wp-block-pullquote.wp-block-pullquote blockquote {
	max-width: 860px;
	margin: 0 auto;
	padding: 0;
	border: 0;
}

/* Astra draws a 6rem "”" before every pull quote (.wp-block-pullquote blockquote::before): the kit's is a teal “. */
:is(.site, .editor-styles-wrapper) .wp-block-pullquote.wp-block-pullquote blockquote::before {
	content: "“" / "";
	display: block;
	height: 48px;
	margin: 0 0 8px;
	font-family: var(--rl-font-heading);
	font-size: 96px;
	line-height: 1;
	color: var(--rl-color-alt-brand);
}

:is(.site, .editor-styles-wrapper) .wp-block-pullquote.wp-block-pullquote blockquote p {
	margin: 0;
	font-family: var(--rl-font-heading);
	font-size: 26px;
	font-style: normal;
	font-weight: 400;
	line-height: 40px;
	color: var(--rl-white);
}

:is(.site, .editor-styles-wrapper) .wp-block-pullquote.wp-block-pullquote cite {
	display: block;
	margin-top: 20px;
	font-family: var(--rl-font-body);
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rl-white);
}

@media (max-width: 768px) {
	:is(.site, .editor-styles-wrapper) .wp-block-pullquote.wp-block-pullquote blockquote p {
		font-size: 22px;
		line-height: 34px;
	}
}
