/* Entry-content surface — styling for Page/post body content rendered via
 * template-parts/content-page.php and template-parts/content.php. Most of
 * the marketing site uses custom page templates (front-page.php,
 * page-templates/los-angeles.php, etc.) and never emits these classes;
 * they show up on legal/info Pages that fall back to page.php (Privacy
 * Policy, Terms of Use, Official Rules, Press Releases).
 *
 * Ported from the original Underscores `style.css` when the modular CSS
 * tree was promoted to the single source of truth. Trimmed to the rules
 * this site actually needs — Jetpack infinite-scroll, comment/widget
 * styling, gallery shortcode classes, and sticky/updated post markers
 * were all dropped because no template emits them on this site.
 */

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

/* Image alignment helpers — emitted by Gutenberg / classic editor when
 * an editor floats an image inside Page content. Keep `rtl:ignore` so
 * a future rtlcss run does not flip the float direction (alignment is
 * a content-author choice, not a layout-direction concern). */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Captioned images (`[caption]` shortcode and Gutenberg's caption block
 * both emit `.wp-caption`). */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}
