/**
 * Quote variation: Broadsheet
 *
 * Serif body, narrow column constraint, classical quotation marks on
 * the corners via ::before/::after, citation in small caps below a
 * thin horizontal rule. Optional double-rule top and bottom.
 *
 * @package PostFormatsBlockThemes
 * @since 2.2.0
 */

/* @reset */
.wp-block-quote.is-style-broadsheet,
.wp-block-pullquote.is-style-broadsheet {
	border: 0;
	padding: 0;
	margin-inline-start: 0;
	font-style: inherit;
	background: transparent;
	color: inherit;
}
.wp-block-quote.is-style-broadsheet cite,
.wp-block-pullquote.is-style-broadsheet cite {
	font-style: inherit;
	text-align: inherit;
}
.wp-block-quote.is-style-broadsheet cite:empty,
.wp-block-pullquote.is-style-broadsheet cite:empty {
	display: none;
}

/* Cite-link color inheritance — prevents theme link color from
   bleeding into citation text. Underline preserved as the
   standard interactive cue. */
.wp-block-quote.is-style-broadsheet cite a,
.wp-block-pullquote.is-style-broadsheet cite a {
	color: inherit;
	text-decoration-color: currentColor;
}

/* Variation */
.wp-block-quote.is-style-broadsheet,
.wp-block-pullquote.is-style-broadsheet {
	font-family: var(--wp--preset--font-family--primary, "Georgia", serif);
	font-style: italic;
	max-inline-size: 28rem;
	padding-block: var(--wp--preset--spacing--large, 2rem);
	margin-block: var(--wp--preset--spacing--large, 2rem);
	border-block-start: 3px double var(--pfbt-broadsheet-rule, var(--wp--preset--color--main, var(--wp--preset--color--contrast, #0a0a0a)));
	border-block-end: 3px double var(--pfbt-broadsheet-rule, var(--wp--preset--color--main, var(--wp--preset--color--contrast, #0a0a0a)));
	color: var(--pfbt-broadsheet-ink, var(--wp--preset--color--main, var(--wp--preset--color--contrast, #0a0a0a)));
	text-align: center;
	position: relative;
}

.wp-block-quote.is-style-broadsheet p,
.wp-block-pullquote.is-style-broadsheet p {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium, 1.125rem);
	line-height: 1.6;
	position: relative;
	display: inline;
}

.wp-block-quote.is-style-broadsheet p::before,
.wp-block-pullquote.is-style-broadsheet p::before {
	content: """;
}
.wp-block-quote.is-style-broadsheet p::after,
.wp-block-pullquote.is-style-broadsheet p::after {
	content: """;
}

.wp-block-quote.is-style-broadsheet cite,
.wp-block-pullquote.is-style-broadsheet cite {
	display: block;
	margin-block-start: var(--wp--preset--spacing--medium, 1.5rem);
	padding-block-start: var(--wp--preset--spacing--small, 0.75rem);
	border-block-start: 1px solid var(--pfbt-broadsheet-cite, var(--wp--preset--color--secondary, var(--wp--preset--color--contrast, #666666)));
	max-inline-size: 12rem;
	margin-inline: auto;
	font-size: var(--wp--preset--font-size--x-small, 0.75rem);
	font-style: normal;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pfbt-broadsheet-cite, var(--wp--preset--color--secondary, var(--wp--preset--color--contrast, #666666)));
}
