/* ==========================================================================
   content.css — Genva Craft

   Plain post and page text written without a starter: paragraphs, lists,
   quotes and tables at a comfortable reading width.
   ========================================================================== */

.single__content > :not(.work-detail),
.page-content > :not(.section):not(.order-status):not(.alignfull):not(.alignwide) {
	max-width: var(--content-max);
	margin-inline: auto;
}

.single__content > * + *,
.page-content > * + * {
	margin-block-start: var(--wp--preset--spacing--50);
}

.single__content a,
.page-content a:not(.wp-block-button__link) {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.wp-block-quote {
	margin-inline: 0;
	padding-inline-start: var(--wp--preset--spacing--50);
	border-inline-start: 1px solid var(--wp--preset--color--line);
	font-family: var(--font-heading);
}

/* Core draws `border: 1px solid` on every table cell with no colour; reset
   it first, then draw hairlines in the line colour (theme rule). */
.single__content .wp-block-table:not(.work-details) th,
.single__content .wp-block-table:not(.work-details) td,
.page-content .wp-block-table:not(.work-details) th,
.page-content .wp-block-table:not(.work-details) td {
	border: none;
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
}

.wp-block-image figcaption,
.wp-element-caption {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--secondary);
}
