/*
	Jameel Noori Nastaleeq Kasheeda

	Usage:
		1. Place font files in this folder: css/fonts/
			 Recommended filenames:
				 - JameelNooriNastaleeqKasheeda.woff2
				 - JameelNooriNastaleeqKasheeda.woff
				 - JameelNooriNastaleeqKasheeda.ttf

		2. This file declares @font-face for local usage and a helper class `.jnn-kasheeda` you can apply to elements.

		3. Example: <p class="jnn-kasheeda">یہ ایک نمونہ متن ہے</p>

	Note: Verify you have the right to use and distribute the font files. If you don't host fonts locally,
	you can replace the src urls with a hosted URL (CDN) if you have one.
*/



/* Alvi Nastaleeq (local TTF added at matheditor/html/mathfont/Alvi Nastaleeq Regular/) */
@font-face {
	font-family: 'Alvi Nastaleeq';
	src: url('../mathfont/Alvi Nastaleeq Regular/Alvi Nastaleeq Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

.alvi-nastaleeq {
	font-family: 'Alvi Nastaleeq', 'Jameel Noori Nastaleeq Kasheeda', serif;
	direction: rtl;
	unicode-bidi: isolate-override;
}

/* Ensure the Alvi font is used inside TinyMCE content areas when the class is present.
   Use stronger selectors and !important so editor default fonts don't override it. */
.mce-content-body.alvi-nastaleeq,
.tox-edit-area .alvi-nastaleeq,
.mce-content-body.alvi-nastaleeq * {
	font-family: 'Alvi Nastaleeq', serif !important;
	direction: rtl !important;
	unicode-bidi: isolate-override !important;
}

/* Optionally apply to editor content area by default (uncomment if desired) */
/*
.tox-edit-area .jnn-kasheeda, .mce-content-body.jnn-kasheeda {
	font-family: 'Jameel Noori Nastaleeq Kasheeda', serif;
}
*/
