section {
	font-size: .875em;
	line-height: 2.175em;
}
/* Consistent spacing between content headings and following body text */
section h1 + p,
section h2 + p,
section h3 + p,
section h4 + p,
section h5 + p,
section h6 + p {
	margin-top: 0.45em;
}

/* Responsive YouTube embeds: keep original desktop width, shrink on smaller screens */
iframe[src*="youtube-nocookie.com/embed/"] {
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* Mobile/tablet readability and consistent vertical rhythm */
@media only screen and (max-width: 768px) {
	section {
		font-size: 1em; /* 16px on mobile/tablet for easier reading */
		line-height: 1.75em;
	}

	section h1,
	section h2,
	section h3,
	section h4,
	section h5,
	section h6 {
		line-height: 1.2;
		overflow-wrap: break-word;
	}

	section h1 + p,
	section h2 + p,
	section h3 + p,
	section h4 + p,
	section h5 + p,
	section h6 + p {
		margin-top: 0.65em;
	}
}

@media only screen and (max-width: 479px) {
	section h1 { font-size: 1.75em; }
	section h2 { font-size: 1.55em; }
	section h3 { font-size: 1.4em; }
	section h4 { font-size: 1.3em; }
	section h5 { font-size: 1.2em; }
}
