/* Article content: shared block width, readable type, and semantic heading scale. */
body.single-post .entry-content > p,
body.single-post .entry-content > ul,
body.single-post .entry-content > ol,
body.single-post .entry-content > blockquote,
body.single-post .entry-content > h2,
body.single-post .entry-content > h3,
body.single-post .entry-content > h4 {
	max-width: var(--wp--style--global--content-size);
	margin-right: auto;
	margin-left: auto;
}

body.single-post .entry-content > p,
body.single-post .entry-content > ul,
body.single-post .entry-content > ol,
body.single-post .entry-content > blockquote {
	font-size: 17px;
	line-height: 1.72;
}

body.single-post .entry-content > h2 {
	margin-top: 2.15em;
	margin-bottom: 0.65em;
	font-size: 30px;
	line-height: 1.28;
	letter-spacing: 0;
	scroll-margin-top: 100px;
}

body.single-post .entry-content > h3 {
	margin-top: 1.8em;
	margin-bottom: 0.6em;
	font-size: 24px;
	line-height: 1.32;
	letter-spacing: 0;
	scroll-margin-top: 100px;
}

body.single-post .entry-content > h4 {
	font-size: 20px;
	line-height: 1.4;
	letter-spacing: 0;
}

body.single-post .hero-section .page-description,
body.category-articles .hero-section .page-description {
	max-width: 780px;
	margin-right: auto;
	margin-left: auto;
	line-height: 1.65;
}

/* Keep the homepage author proof compact on small screens. */
@media (max-width: 560px) {
	body.page-id-1561 .embedonix-home-hero__inner {
		gap: 15px;
	}

	body.page-id-1561 .embedonix-home-hero__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.page-id-1561 .embedonix-home-hero__button {
		width: auto;
		min-width: 0;
		padding-right: 10px;
		padding-left: 10px;
		text-align: center;
	}

	body.page-id-1561 .embedonix-home-hero__author-top {
		grid-template-columns: minmax(0, 1fr) 92px;
		gap: 12px;
	}

	body.page-id-1561 .embedonix-home-hero__author-photo {
		order: initial;
		width: 92px;
		height: 118px;
		justify-self: end;
	}

	body.page-id-1561 .embedonix-home-hero__author-bio {
		font-size: 13px;
		line-height: 1.45;
	}
}

/* About and consulting pages: put the message before portraiture on mobile. */
@media (max-width: 781px) {
	body.page-id-2 .entry-content > .wp-block-media-text:first-child {
		display: flex;
		flex-direction: column;
	}

	body.page-id-2 .entry-content > .wp-block-media-text:first-child .wp-block-media-text__content {
		order: 1;
		padding-right: 18px;
		padding-left: 18px;
	}

	body.page-id-2 .entry-content > .wp-block-media-text:first-child .wp-block-media-text__media {
		order: 2;
		width: min(260px, 76vw);
		margin: 24px auto 8px;
	}

	body.page-id-2 .entry-content > .wp-block-media-text:first-child h1 {
		font-size: 34px;
		line-height: 1.2;
		letter-spacing: 0;
	}

	body.page-id-2 .wp-block-button.has-custom-width.wp-block-button__width-50 {
		width: auto;
		max-width: 100%;
	}

	body.page-id-1033 .entry-content > .wp-block-group:first-child {
		padding-right: 16px !important;
		padding-left: 16px !important;
	}

	body.page-id-1033 .entry-content > .wp-block-group:first-child h1 {
		margin-top: 0;
		font-size: 34px;
		line-height: 1.2;
		letter-spacing: 0;
	}

	body.page-id-1033 .entry-content > .wp-block-group:first-child .wp-block-column:first-child {
		display: flex;
		flex-direction: column;
	}

	body.page-id-1033 .entry-content > .wp-block-group:first-child .wp-block-column:first-child > .wp-block-buttons {
		order: 1;
	}

	body.page-id-1033 .entry-content > .wp-block-group:first-child .wp-block-column:first-child > .wp-block-group {
		order: 2;
		margin-top: 18px;
	}

	body.page-id-1033 .entry-content > .wp-block-group:first-child .wp-block-buttons {
		gap: 10px;
	}

	body.page-id-1033 .entry-content > .wp-block-group:first-child .wp-block-button {
		flex: 1 1 180px;
	}

	body.page-id-1033 .entry-content > .wp-block-group:first-child .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	body.page-id-1033 .entry-content > .wp-block-group:first-child .wp-block-column:last-child img {
		width: 220px !important;
		max-width: 70vw;
		height: auto;
	}
}

@media (max-width: 689px) {
	body.single-post .hero-section .page-description.ct-hidden-sm,
	body.category-articles .hero-section .page-description.ct-hidden-sm {
		display: block !important;
		font-size: 15px;
	}

	body.category-articles .hero-section .page-title,
	body.single-post .hero-section .page-title {
		font-size: 34px;
		line-height: 1.2;
		letter-spacing: 0;
	}

	body.single-post .entry-content > p,
	body.single-post .entry-content > ul,
	body.single-post .entry-content > ol,
	body.single-post .entry-content > blockquote {
		font-size: 16px;
		line-height: 1.7;
	}

	body.single-post .entry-content > h2 {
		font-size: 26px;
	}

	body.single-post .entry-content > h3 {
		font-size: 22px;
	}
}
