/**
 * Responsive typography for standard single posts and pages.
 *
 * Home Page Builder pages are excluded by the PHP body-class contract.
 */


/* Optional family and color overrides are emitted only when explicitly set. */
body.single-post.al-amal-preschool-pp-post-title-family-custom .content-area article.single-entry > .entry-content-wrap > .entry-header .entry-title,
body.single-post.al-amal-preschool-pp-post-title-family-custom .entry-hero h1,
body.single-post.al-amal-preschool-pp-post-title-family-custom .post-title h1 { font-family: var(--al-amal-preschool-pp-post-title-family) !important; }
body.single-post.al-amal-preschool-pp-post-title-color-custom .content-area article.single-entry > .entry-content-wrap > .entry-header .entry-title,
body.single-post.al-amal-preschool-pp-post-title-color-custom .entry-hero h1,
body.single-post.al-amal-preschool-pp-post-title-color-custom .post-title h1 { color: var(--al-amal-preschool-pp-post-title-color) !important; }

body.page.al-amal-preschool-pp-page-title-family-custom:not(.al-amal-preschool-home-builder-page) .content-area article.single-entry > .entry-content-wrap > .entry-header .entry-title,
body.page.al-amal-preschool-pp-page-title-family-custom:not(.al-amal-preschool-home-builder-page) .entry-hero h1,
body.page.al-amal-preschool-pp-page-title-family-custom:not(.al-amal-preschool-home-builder-page) .page-title h1 { font-family: var(--al-amal-preschool-pp-page-title-family) !important; }
body.page.al-amal-preschool-pp-page-title-color-custom:not(.al-amal-preschool-home-builder-page) .content-area article.single-entry > .entry-content-wrap > .entry-header .entry-title,
body.page.al-amal-preschool-pp-page-title-color-custom:not(.al-amal-preschool-home-builder-page) .entry-hero h1,
body.page.al-amal-preschool-pp-page-title-color-custom:not(.al-amal-preschool-home-builder-page) .page-title h1 { color: var(--al-amal-preschool-pp-page-title-color) !important; }

body.single-post.al-amal-preschool-pp-post-body-family-custom .entry-content { font-family: var(--al-amal-preschool-pp-post-body-family) !important; }
body.single-post.al-amal-preschool-pp-post-body-color-custom .entry-content { color: var(--al-amal-preschool-pp-post-body-color) !important; }
body.page.al-amal-preschool-pp-page-body-family-custom:not(.al-amal-preschool-home-builder-page) .entry-content { font-family: var(--al-amal-preschool-pp-page-body-family) !important; }
body.page.al-amal-preschool-pp-page-body-color-custom:not(.al-amal-preschool-home-builder-page) .entry-content { color: var(--al-amal-preschool-pp-page-body-color) !important; }

body.single-post.al-amal-preschool-pp-content-headings-family-custom .entry-content :is(h1,h2,h3,h4,h5,h6),
body.page.al-amal-preschool-pp-content-headings-family-custom:not(.al-amal-preschool-home-builder-page) .entry-content :is(h1,h2,h3,h4,h5,h6) { font-family: var(--al-amal-preschool-pp-heading-family) !important; }
body.single-post.al-amal-preschool-pp-content-headings-color-custom .entry-content :is(h1,h2,h3,h4,h5,h6),
body.page.al-amal-preschool-pp-content-headings-color-custom:not(.al-amal-preschool-home-builder-page) .entry-content :is(h1,h2,h3,h4,h5,h6) { color: var(--al-amal-preschool-pp-heading-color) !important; }

body.single-post.al-amal-preschool-pp-post-meta-family-custom .entry-meta,
body.single-post.al-amal-preschool-pp-post-meta-family-custom .entry-meta a,
body.single-post.al-amal-preschool-pp-post-meta-family-custom .entry-taxonomies,
body.single-post.al-amal-preschool-pp-post-meta-family-custom .entry-taxonomies a { font-family: var(--al-amal-preschool-pp-post-meta-family) !important; }
body.single-post.al-amal-preschool-pp-post-meta-color-custom .entry-meta,
body.single-post.al-amal-preschool-pp-post-meta-color-custom .entry-meta a,
body.single-post.al-amal-preschool-pp-post-meta-color-custom .entry-taxonomies,
body.single-post.al-amal-preschool-pp-post-meta-color-custom .entry-taxonomies a { color: var(--al-amal-preschool-pp-post-meta-color) !important; }

/* Single post title: in-content and above-content/hero variants. */
body.single-post.al-amal-preschool-pp-post-title-custom .content-area article.single-entry > .entry-content-wrap > .entry-header .entry-title,
body.single-post.al-amal-preschool-pp-post-title-custom .content-area article.al-amal-preschool-single-post-entry > .entry-content-wrap > .entry-header .entry-title,
body.single-post.al-amal-preschool-pp-post-title-custom .entry-hero h1,
body.single-post.al-amal-preschool-pp-post-title-custom .post-title h1 {
	font-size: var(--al-amal-preschool-pp-post-title-size-desktop) !important;
	font-weight: var(--al-amal-preschool-pp-post-title-weight) !important;
	line-height: var(--al-amal-preschool-pp-post-title-line-height-desktop) !important;
	letter-spacing: var(--al-amal-preschool-pp-post-title-letter-spacing) !important;
	text-transform: var(--al-amal-preschool-pp-post-title-transform) !important;
}

/* Standard page title: in-content and above-content/hero variants. */
body.page.al-amal-preschool-pp-page-title-custom:not(.al-amal-preschool-home-builder-page) .content-area article.single-entry > .entry-content-wrap > .entry-header .entry-title,
body.page.al-amal-preschool-pp-page-title-custom:not(.al-amal-preschool-home-builder-page) .content-area article.al-amal-preschool-single-page-entry > .entry-content-wrap > .entry-header .entry-title,
body.page.al-amal-preschool-pp-page-title-custom:not(.al-amal-preschool-home-builder-page) .entry-hero h1,
body.page.al-amal-preschool-pp-page-title-custom:not(.al-amal-preschool-home-builder-page) .page-title h1 {
	font-size: var(--al-amal-preschool-pp-page-title-size-desktop) !important;
	font-weight: var(--al-amal-preschool-pp-page-title-weight) !important;
	line-height: var(--al-amal-preschool-pp-page-title-line-height-desktop) !important;
	letter-spacing: var(--al-amal-preschool-pp-page-title-letter-spacing) !important;
	text-transform: var(--al-amal-preschool-pp-page-title-transform) !important;
}

/* General body text. Explicit block typography can still override inherited values. */
body.single-post.al-amal-preschool-pp-post-body-custom .content-area article.single-entry > .entry-content-wrap > .entry-content,
body.single-post.al-amal-preschool-pp-post-body-custom .content-area article.al-amal-preschool-single-post-entry > .entry-content-wrap > .entry-content {
	font-size: var(--al-amal-preschool-pp-post-body-size-desktop) !important;
	font-weight: var(--al-amal-preschool-pp-post-body-weight) !important;
	line-height: var(--al-amal-preschool-pp-post-body-line-height-desktop) !important;
	letter-spacing: var(--al-amal-preschool-pp-post-body-letter-spacing) !important;
	text-transform: var(--al-amal-preschool-pp-post-body-transform) !important;
}

body.page.al-amal-preschool-pp-page-body-custom:not(.al-amal-preschool-home-builder-page) .content-area article.single-entry > .entry-content-wrap > .entry-content,
body.page.al-amal-preschool-pp-page-body-custom:not(.al-amal-preschool-home-builder-page) .content-area article.al-amal-preschool-single-page-entry > .entry-content-wrap > .entry-content {
	font-size: var(--al-amal-preschool-pp-page-body-size-desktop) !important;
	font-weight: var(--al-amal-preschool-pp-page-body-weight) !important;
	line-height: var(--al-amal-preschool-pp-page-body-line-height-desktop) !important;
	letter-spacing: var(--al-amal-preschool-pp-page-body-letter-spacing) !important;
	text-transform: var(--al-amal-preschool-pp-page-body-transform) !important;
}

/* Shared H1-H6 controls inside standard post/page content only. */
body.single-post.al-amal-preschool-pp-content-headings-custom .content-area article.single-entry > .entry-content-wrap > .entry-content :is(h1,h2,h3,h4,h5,h6),
body.single-post.al-amal-preschool-pp-content-headings-custom .content-area article.al-amal-preschool-single-post-entry > .entry-content-wrap > .entry-content :is(h1,h2,h3,h4,h5,h6),
body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .content-area article.single-entry > .entry-content-wrap > .entry-content :is(h1,h2,h3,h4,h5,h6),
body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .content-area article.al-amal-preschool-single-page-entry > .entry-content-wrap > .entry-content :is(h1,h2,h3,h4,h5,h6) {
	font-weight: var(--al-amal-preschool-pp-heading-weight) !important;
	line-height: var(--al-amal-preschool-pp-heading-line-height-desktop) !important;
	letter-spacing: var(--al-amal-preschool-pp-heading-letter-spacing) !important;
	text-transform: var(--al-amal-preschool-pp-heading-transform) !important;
}

body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h1,
body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h1 { font-size: var(--al-amal-preschool-pp-h1-size-desktop) !important; }
body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h2,
body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h2 { font-size: var(--al-amal-preschool-pp-h2-size-desktop) !important; }
body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h3,
body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h3 { font-size: var(--al-amal-preschool-pp-h3-size-desktop) !important; }
body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h4,
body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h4 { font-size: var(--al-amal-preschool-pp-h4-size-desktop) !important; }
body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h5,
body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h5 { font-size: var(--al-amal-preschool-pp-h5-size-desktop) !important; }
body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h6,
body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h6 { font-size: var(--al-amal-preschool-pp-h6-size-desktop) !important; }

/* Single-post category, author and date. */
body.single-post.al-amal-preschool-pp-post-meta-custom .content-area article.single-entry > .entry-content-wrap > .entry-header .entry-meta,
body.single-post.al-amal-preschool-pp-post-meta-custom .content-area article.single-entry > .entry-content-wrap > .entry-header .entry-meta a,
body.single-post.al-amal-preschool-pp-post-meta-custom .content-area article.single-entry > .entry-content-wrap > .entry-header .entry-taxonomies,
body.single-post.al-amal-preschool-pp-post-meta-custom .content-area article.single-entry > .entry-content-wrap > .entry-header .entry-taxonomies a,
body.single-post.al-amal-preschool-pp-post-meta-custom .entry-hero .entry-meta,
body.single-post.al-amal-preschool-pp-post-meta-custom .entry-hero .entry-meta a,
body.single-post.al-amal-preschool-pp-post-meta-custom .entry-hero .entry-taxonomies,
body.single-post.al-amal-preschool-pp-post-meta-custom .entry-hero .entry-taxonomies a {
	font-size: var(--al-amal-preschool-pp-post-meta-size-desktop) !important;
	font-weight: var(--al-amal-preschool-pp-post-meta-weight) !important;
	line-height: var(--al-amal-preschool-pp-post-meta-line-height-desktop) !important;
	letter-spacing: var(--al-amal-preschool-pp-post-meta-letter-spacing) !important;
	text-transform: var(--al-amal-preschool-pp-post-meta-transform) !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
	body.single-post.al-amal-preschool-pp-post-title-custom .entry-title,
	body.single-post.al-amal-preschool-pp-post-title-custom .entry-hero h1,
	body.single-post.al-amal-preschool-pp-post-title-custom .post-title h1 {
		font-size: var(--al-amal-preschool-pp-post-title-size-tablet) !important;
		line-height: var(--al-amal-preschool-pp-post-title-line-height-tablet) !important;
	}
	body.page.al-amal-preschool-pp-page-title-custom:not(.al-amal-preschool-home-builder-page) .entry-title,
	body.page.al-amal-preschool-pp-page-title-custom:not(.al-amal-preschool-home-builder-page) .entry-hero h1,
	body.page.al-amal-preschool-pp-page-title-custom:not(.al-amal-preschool-home-builder-page) .page-title h1 {
		font-size: var(--al-amal-preschool-pp-page-title-size-tablet) !important;
		line-height: var(--al-amal-preschool-pp-page-title-line-height-tablet) !important;
	}
	body.single-post.al-amal-preschool-pp-post-body-custom .entry-content {
		font-size: var(--al-amal-preschool-pp-post-body-size-tablet) !important;
		line-height: var(--al-amal-preschool-pp-post-body-line-height-tablet) !important;
	}
	body.page.al-amal-preschool-pp-page-body-custom:not(.al-amal-preschool-home-builder-page) .entry-content {
		font-size: var(--al-amal-preschool-pp-page-body-size-tablet) !important;
		line-height: var(--al-amal-preschool-pp-page-body-line-height-tablet) !important;
	}
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content :is(h1,h2,h3,h4,h5,h6),
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content :is(h1,h2,h3,h4,h5,h6) {
		line-height: var(--al-amal-preschool-pp-heading-line-height-tablet) !important;
	}
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h1,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h1 { font-size: var(--al-amal-preschool-pp-h1-size-tablet) !important; }
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h2,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h2 { font-size: var(--al-amal-preschool-pp-h2-size-tablet) !important; }
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h3,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h3 { font-size: var(--al-amal-preschool-pp-h3-size-tablet) !important; }
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h4,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h4 { font-size: var(--al-amal-preschool-pp-h4-size-tablet) !important; }
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h5,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h5 { font-size: var(--al-amal-preschool-pp-h5-size-tablet) !important; }
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h6,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h6 { font-size: var(--al-amal-preschool-pp-h6-size-tablet) !important; }
	body.single-post.al-amal-preschool-pp-post-meta-custom .entry-meta,
	body.single-post.al-amal-preschool-pp-post-meta-custom .entry-meta a,
	body.single-post.al-amal-preschool-pp-post-meta-custom .entry-taxonomies,
	body.single-post.al-amal-preschool-pp-post-meta-custom .entry-taxonomies a {
		font-size: var(--al-amal-preschool-pp-post-meta-size-tablet) !important;
		line-height: var(--al-amal-preschool-pp-post-meta-line-height-tablet) !important;
	}
}

@media (max-width: 767px) {
	body.single-post.al-amal-preschool-pp-post-title-custom .entry-title,
	body.single-post.al-amal-preschool-pp-post-title-custom .entry-hero h1,
	body.single-post.al-amal-preschool-pp-post-title-custom .post-title h1 {
		font-size: var(--al-amal-preschool-pp-post-title-size-mobile) !important;
		line-height: var(--al-amal-preschool-pp-post-title-line-height-mobile) !important;
	}
	body.page.al-amal-preschool-pp-page-title-custom:not(.al-amal-preschool-home-builder-page) .entry-title,
	body.page.al-amal-preschool-pp-page-title-custom:not(.al-amal-preschool-home-builder-page) .entry-hero h1,
	body.page.al-amal-preschool-pp-page-title-custom:not(.al-amal-preschool-home-builder-page) .page-title h1 {
		font-size: var(--al-amal-preschool-pp-page-title-size-mobile) !important;
		line-height: var(--al-amal-preschool-pp-page-title-line-height-mobile) !important;
	}
	body.single-post.al-amal-preschool-pp-post-body-custom .entry-content {
		font-size: var(--al-amal-preschool-pp-post-body-size-mobile) !important;
		line-height: var(--al-amal-preschool-pp-post-body-line-height-mobile) !important;
	}
	body.page.al-amal-preschool-pp-page-body-custom:not(.al-amal-preschool-home-builder-page) .entry-content {
		font-size: var(--al-amal-preschool-pp-page-body-size-mobile) !important;
		line-height: var(--al-amal-preschool-pp-page-body-line-height-mobile) !important;
	}
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content :is(h1,h2,h3,h4,h5,h6),
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content :is(h1,h2,h3,h4,h5,h6) {
		line-height: var(--al-amal-preschool-pp-heading-line-height-mobile) !important;
	}
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h1,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h1 { font-size: var(--al-amal-preschool-pp-h1-size-mobile) !important; }
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h2,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h2 { font-size: var(--al-amal-preschool-pp-h2-size-mobile) !important; }
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h3,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h3 { font-size: var(--al-amal-preschool-pp-h3-size-mobile) !important; }
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h4,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h4 { font-size: var(--al-amal-preschool-pp-h4-size-mobile) !important; }
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h5,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h5 { font-size: var(--al-amal-preschool-pp-h5-size-mobile) !important; }
	body.single-post.al-amal-preschool-pp-content-headings-custom .entry-content h6,
	body.page.al-amal-preschool-pp-content-headings-custom:not(.al-amal-preschool-home-builder-page) .entry-content h6 { font-size: var(--al-amal-preschool-pp-h6-size-mobile) !important; }
	body.single-post.al-amal-preschool-pp-post-meta-custom .entry-meta,
	body.single-post.al-amal-preschool-pp-post-meta-custom .entry-meta a,
	body.single-post.al-amal-preschool-pp-post-meta-custom .entry-taxonomies,
	body.single-post.al-amal-preschool-pp-post-meta-custom .entry-taxonomies a {
		font-size: var(--al-amal-preschool-pp-post-meta-size-mobile) !important;
		line-height: var(--al-amal-preschool-pp-post-meta-line-height-mobile) !important;
	}
}
