/*
 * Scope - עיצוב הכותרות מהמפרט (סעיף 4).
 *
 * פעיל כברירת מחדל. להשוואה לגדלים הקודמים: להוסיף לכתובת ?headings_original=1
 * לכיבוי קבוע: define( 'SCOPE_HEADINGS_PROPOSAL', false ); ב-wp-config.php
 *
 *                       מחשב   נייד   גובה שורה
 * H1                    40px   30px   1.3
 * שורה משלימה ב-H1      24px   20px   1.35
 * H2                    28px   24px   1.35
 * H3                    22px   20px   1.35
 * טקסט גוף              18px   18px   1.65
 *
 * הגדלים ב-rem ומשתנים בהדרגה לפי רוחב המסך (clamp), בין 360px ל-1440px.
 * הכללים תחומים לכותרת הדף ולאזורי התוכן בלבד - לא לכרטיסים, טפסים, מחשבון או דף נחיתה.
 */

:root {
	--scope-h1: clamp(1.875rem, 1.667rem + 0.926vw, 2.5rem);
	--scope-h1-sub: clamp(1.25rem, 1.167rem + 0.37vw, 1.5rem);
	--scope-h2: clamp(1.5rem, 1.417rem + 0.37vw, 1.75rem);
	--scope-h3: clamp(1.25rem, 1.208rem + 0.185vw, 1.375rem);
	--scope-body: 1.125rem;
}

/* כותרת הדף */
.all-the-header-top-slider .right-side .inside-right-side .the-title {
	font-size: var(--scope-h1);
	line-height: 1.3;
}
.all-the-header-top-slider .right-side .inside-right-side .the-title .page-title__subtitle {
	font-size: var(--scope-h1-sub);
	line-height: 1.35;
}

@media only screen and (max-width: 1000px) {
	.all-the-header-top-slider .right-side .inside-right-side .the-title,
	.all-the-header-top-slider .right-side .inside-right-side .the-title--with-sub,
	.all-the-header-top-slider .right-side .inside-right-side .the-title--alone {
		font-size: var(--scope-h1);
	}
	.all-the-header-top-slider .right-side .inside-right-side .the-title .page-title__subtitle {
		font-size: var(--scope-h1-sub);
	}
}

/* אזורי התוכן בתבניות המאמר והתוכן */
.all-the-single-article-page .all-the-full-first-text h2,
.all-the-single-article-page .the-text-from-block h2,
.all-the-single-article-page .article-html-code h2,
.all-the-single-article-page .all-the-full-first h2 {
	font-size: var(--scope-h2);
	line-height: 1.35;
	font-weight: 700;
	margin: 1.4em 0 0.4em;
}

.all-the-single-article-page .all-the-full-first-text h3,
.all-the-single-article-page .the-text-from-block h3,
.all-the-single-article-page .article-html-code h3 {
	font-size: var(--scope-h3);
	line-height: 1.35;
	font-weight: 600;
	margin: 1.2em 0 0.3em;
}

.all-the-single-article-page .all-the-full-first p,
.all-the-single-article-page .all-the-full-first li,
.all-the-single-article-page .the-text-from-block p,
.all-the-single-article-page .the-text-from-block li,
.all-the-single-article-page .article-html-code p,
.all-the-single-article-page .article-html-code li {
	font-size: var(--scope-body);
	line-height: 1.65;
}

/* כותרות האזורים בתבנית (פתיחה, קישורים, הורדות, כרטיסים) - אותה דרגה, גודל H2 */
.all-the-single-article-page .the-title-first,
.all-the-single-article-page .third-generic-article .title-third-box,
.all-the-single-article-page .five-generic-article .the-title-five {
	font-size: var(--scope-h2);
	line-height: 1.35;
}
