.leef-text-page {
	--text-page-heading-font: "Exo 2", Arial, sans-serif;
	--text-page-media-gap: 30px;
	--text-page-media-margin: 44px;
	font: 400 16px/28px "Open Sans", Arial, sans-serif;
}
.leef-text-page > :first-child { margin-top: 0; }
.leef-text-page > p:first-child { max-width: 878px; margin-bottom: 76px; }
.leef-text-page :is(.wp-block-columns, .wp-block-gallery.has-nested-images) {
	gap: var(--text-page-media-gap);
	margin: var(--text-page-media-margin) 0 0;
}
.leef-text-page .wp-block-gallery.has-nested-images,
.editor-styles-wrapper .leef-text-page .wp-block-gallery.has-nested-images > .wp-block-image {
	--wp--style--unstable-gallery-gap: var(--text-page-media-gap);
}
.leef-text-page .wp-block-gallery.has-nested-images {
	margin-bottom: 28px;
}
.leef-text-page .leef-text-page__intro { align-items: center; gap: 48px; }
.leef-text-page .wp-block-image { margin: 0; }
.leef-text-page .wp-block-image img { display: block; width: 100%; object-fit: cover; }
.leef-text-page__intro img { aspect-ratio: 535 / 355; }
.leef-text-page__pair img { aspect-ratio: 634 / 357; }
.leef-text-page__illustrated img { aspect-ratio: 414 / 251; }
:is(.leef-text-page, .leef-text-page > .wp-block-group__inner-container) > h2 { margin: 84px 0 28px; font: 700 36px/44px var(--text-page-heading-font); text-transform: uppercase; }
.leef-text-page h3,
.leef-text-page .leef-text-page__cards h2 { margin: 0 0 18px; font: 700 20px/26px var(--text-page-heading-font); text-transform: uppercase; }
.leef-text-page__illustrated h3 { margin-top: 30px; }
.leef-text-page :is(.leef-text-page__cards, .leef-text-page__illustrated) p { margin: 0; font-size: 15px; line-height: 22px; font-weight: 300; }
.leef-text-page__cards > .wp-block-column, .leef-text-page .leef-text-page__note { background: #f8f8f8; padding: 28px; }
.leef-text-page .leef-text-page__note { font-size: 15px; line-height: 22px; margin: 32px 0 0; }
.leef-text-page__summary { max-width: 649px; }
.leef-text-page .wp-block-buttons { justify-content: center; margin-top: 50px; }
.leef-text-page .wp-block-button { width: min(382px, 100%); }
.leef-text-page .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 24px;
	width: 100%; min-height: 65px; padding: 12px 20px; border-radius: 0;
	background: #e85021; color: #fff; font: 700 20px/1.45 var(--text-page-heading-font);
}
.leef-text-page .wp-block-button__link::after { content: ""; width: 20px; height: 20px; background: url("../img/home/distributor-arrow.svg") center / contain no-repeat; }
@media (max-width: 781px) {
	.leef-text-page > p:first-child { margin-bottom: 32px; }
	:is(.leef-text-page, .leef-text-page > .wp-block-group__inner-container) > h2 { margin-top: 48px; font-size: 28px; line-height: 36px; }
	.leef-text-page { --text-page-media-gap: 24px; --text-page-media-margin: 28px; }
	.leef-text-page__cards > .wp-block-column, .leef-text-page .leef-text-page__note { padding: 20px; }
	.leef-text-page .wp-block-button__link { min-height: 50px; font-size: 16px; }
}
@media (max-width: 700px) {
	.container:has(> .text-content .leef-text-page),
	.breadcrumbs:has(+ .container .leef-text-page) { width: calc(100% - 36px); }
	.breadcrumbs:has(+ .container .leef-text-page) { padding-top: 24px; font-size: 13px; }
	.text-content:has(.leef-text-page) { padding-block: 28px 66px; }
	.content.text-content:has(.leef-text-page) > h1 {
		margin-bottom: 24px;
		font-size: clamp(23px, 7vw, 31px);
	}
	.text-content .leef-text-page {
		--text-page-media-gap: 28px;
		--text-page-media-margin: 38px;
		font-size: 15px;
		line-height: 22px;
	}
	.text-content .leef-text-page :is(.wp-block-columns, .wp-block-gallery.has-nested-images) {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}
	.text-content .leef-text-page .wp-block-gallery.has-nested-images { margin-bottom: 44px; }
	.text-content .leef-text-page .wp-block-gallery.has-nested-images > figure.wp-block-image:not(#individual-image) {
		width: 100%;
	}
	.text-content .leef-text-page .leef-text-page__intro { margin-top: 50px; gap: 32px; }
	.text-content .leef-text-page__illustrated { row-gap: 38px; }
	.text-content :is(.leef-text-page, .leef-text-page > .wp-block-group__inner-container) > h2 {
		margin: 64px 0 34px;
		font-size: clamp(23px, 7vw, 31px);
		line-height: 1.2;
	}
	.text-content .leef-text-page :is(h3, .leef-text-page__cards h2) {
		font-size: 17px;
		line-height: 22px;
	}
	.text-content .leef-text-page__illustrated h3 { margin-top: 27px; }
	.text-content .leef-text-page__cards > .wp-block-column { padding: 32px 22px 38px; }
	.text-content .leef-text-page .leef-text-page__note { margin-top: 36px; padding: 30px 18px 40px; }
	.text-content .leef-text-page .wp-block-buttons { margin-top: 44px; }
	.text-content .leef-text-page .wp-block-button { width: min(250px, 100%); }
	.text-content .leef-text-page .wp-block-button__link { gap: 14px; font-weight: 500; }
	.text-content .leef-text-page .wp-block-button__link::after { width: 16px; height: 16px; }
	main:has(.leef-text-page) > .site-banner { margin-bottom: 65px; }
}
