/*
 * ### Language specific height correction for titles.###
 * Ref T31405 and T32809.
 *
 * NOTE: THIS FILE SHOULD ONLY INCLUDE LANGUAGES WRITTEN IN BRAHMIC SCRIPTS. If adding a language that
 * uses a different script, it should be discussed and this comment should be expanded.
 * In these scripts, the writing systems require slightly more vertical space to show diacritics properly
 * as by default will be truncated by line-height.
 */
:lang( anp ),
:lang( as ),
:lang( awa ),
:lang( bgc ),
:lang( bh ), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
:lang( bho ),
:lang( blk ),
:lang( bn ),
:lang( bo ),
:lang( bpy ),
:lang( ccp ),
:lang( dty ),
:lang( dz ),
:lang( gom ),
:lang( gu ),
:lang( hi ),
:lang( kjp ),
:lang( km ),
:lang( kn ),
:lang( ks ),
:lang( ksw ),
:lang( mag ),
:lang( mai ),
:lang( ml ),
:lang( mnw ),
:lang( mr ),
:lang( my ),
:lang( new ),
:lang( nit ),
:lang( nod ),
:lang( or ),
:lang( pa ),
:lang( pi ),
:lang( rki ),
:lang( sa ),
:lang( shn ),
:lang( si ),
:lang( syl ),
:lang( ta ),
:lang( tcy ),
:lang( tdd ),
:lang( te ) {
	.mw-heading1&,
	h1& {
		line-height: 1.6em !important; /* stylelint-disable-line declaration-no-important */
	}

	.mw-heading&,
	h2&,
	h3&,
	h4&,
	h5&,
	h6& {
		line-height: 1.4em;
	}
}

// Increase for Nepalese on `h1`, See T333938.
:lang( ne ) {
	.mw-heading1&,
	h1& {
		line-height: 1.9;
	}
}

// Increase `line-height` for Thai top vowel + top tone combination on `h2`,
// for example on `ตั้`. See T285972.
// Increase for Nepalese on `h2`, for example on `ि`. See T333938.
:lang( th ),
:lang( ne ) {
	.mw-heading2&,
	h2& {
		line-height: 1.6;
	}
}
