/* KGND inline styles captured from live kgnd.ca (?lang=en). Do not edit by hand; regenerate with tools/extract-theme.php */

/* ---- anonymous ---- */
/* Full width reset — prevent WordPress from adding boxed layout */
	html, body { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
	#page, .site, #content, .site-content { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }

/* ---- kgnd-full-width ---- */
/* Critical full-width override */
    html { width: 100% !important; max-width: 100vw !important; margin: 0 !important; padding: 0 !important; }
    body { width: 100% !important; max-width: 100vw !important; margin: 0 !important; padding: 0 !important; background: #fff !important; }
    #page, .site, #content, #main, .site-content, .wp-site-blocks,
    .is-layout-constrained, .entry-content, .post-content { 
        max-width: 100% !important; 
        width: 100% !important; 
        margin-left: 0 !important; 
        margin-right: 0 !important; 
        padding-left: 0 !important; 
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    /* Remove Twenty-Twenty-style content wrappers if active */
    .wp-block-template-part, .wp-block-group { max-width: 100% !important; }

/* ---- kgnd-arabic-fallback-fonts-inline-css ---- */
/* Arabic-script fallback fonts, scoped to Arabic Unicode ranges.
	   These rules unicode-range filter the fonts so they only apply to
	   Arabic/Persian/Kurdish glyphs — Latin text is unaffected. */
	@font-face {
		font-family: 'KGND Arabic Fallback';
		font-style: normal;
		font-weight: 400;
		src: local('Noto Kufi Arabic'), local('Vazirmatn'), local('Tahoma');
		unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200D, U+064B-065F;
	}
	@font-face {
		font-family: 'KGND Arabic Fallback';
		font-style: normal;
		font-weight: 500;
		src: local('Noto Kufi Arabic Medium'), local('Noto Kufi Arabic'), local('Vazirmatn Medium'), local('Vazirmatn'), local('Tahoma');
		unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200D, U+064B-065F;
	}
	@font-face {
		font-family: 'KGND Arabic Fallback';
		font-style: normal;
		font-weight: 600;
		src: local('Noto Kufi Arabic SemiBold'), local('Noto Kufi Arabic'), local('Vazirmatn SemiBold'), local('Vazirmatn'), local('Tahoma');
		unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200D, U+064B-065F;
	}
	@font-face {
		font-family: 'KGND Arabic Fallback';
		font-style: normal;
		font-weight: 700;
		src: local('Noto Kufi Arabic Bold'), local('Noto Kufi Arabic'), local('Vazirmatn Bold'), local('Vazirmatn'), local('Tahoma Bold'), local('Tahoma');
		unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200D, U+064B-065F;
	}

	/* Apply the Arabic-fallback fonts to ALL text elements on English (LTR)
	   pages. Because of the unicode-range filter, the browser only picks
	   them for Arabic-script glyphs — Latin text continues to use whatever
	   the normal Latin stack defines.

	   We use very high specificity (html[dir='ltr'] body *) plus !important
	   to win over inline font-family declarations from third-party widgets,
	   page builders, and our own card markup. */
	html[dir='ltr'] body,
	html[dir='ltr'] body * {
		font-family: 'Kurdistan24', 'KGND Arabic Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Kufi Arabic', 'Vazirmatn', 'Tahoma', sans-serif !important;
	}

	/* Material Symbols icons must keep their own font */
	html[dir='ltr'] body .material-symbols-outlined,
	html[dir='ltr'] body .material-symbols-outlined * {
		font-family: 'Material Symbols Outlined' !important;
	}

	/* Monospace contexts (code, pre) keep monospace */
	html[dir='ltr'] body code,
	html[dir='ltr'] body pre,
	html[dir='ltr'] body kbd,
	html[dir='ltr'] body samp {
		font-family: 'Kurdistan24', 'KGND Arabic Fallback', ui-monospace, 'SF Mono', Menlo, Monaco, 'Cascadia Mono', Consolas, monospace !important;
	}
	
/*# sourceURL=kgnd-arabic-fallback-fonts-inline-css */

/* ---- kgnd-auto-direction-inline-css ---- */
/* ============================================================
	   AUTO-DIRECTION — defeats kurdish-rtl.css and any theme RTL.
	   Uses html-prefixed selectors and !important for max specificity.
	   ============================================================ */

	/* Force LTR on any element with dir='ltr' — beats body.kgnd-rtl rules */
	html body.kgnd-rtl [dir='ltr'],
	html body.kgnd-rtl [dir='ltr'] p,
	html body.kgnd-rtl [dir='ltr'] span,
	html body.kgnd-rtl [dir='ltr'] h1,
	html body.kgnd-rtl [dir='ltr'] h2,
	html body.kgnd-rtl [dir='ltr'] h3,
	html body.kgnd-rtl [dir='ltr'] h4,
	html body.kgnd-rtl [dir='ltr'] h5,
	html body.kgnd-rtl [dir='ltr'] h6,
	html body.kgnd-rtl [dir='ltr'] li,
	html body.kgnd-rtl [dir='ltr'] blockquote,
	html body.kgnd-rtl [dir='ltr'] cite,
	html body.kgnd-rtl [dir='ltr'] td,
	html body[dir='ltr'] [dir='ltr'],
	html body [dir='ltr'],
	html body [dir='ltr'] p,
	html body [dir='ltr'] span,
	html body [dir='ltr'] h1,
	html body [dir='ltr'] h2,
	html body [dir='ltr'] h3,
	html body [dir='ltr'] h4,
	html body [dir='ltr'] h5,
	html body [dir='ltr'] h6 {
		direction: ltr !important;
		text-align: left !important;
		unicode-bidi: embed !important;
	}

	/* Force RTL on any element with dir='rtl' */
	html body [dir='rtl'],
	html body [dir='rtl'] p,
	html body [dir='rtl'] span,
	html body [dir='rtl'] h1,
	html body [dir='rtl'] h2,
	html body [dir='rtl'] h3,
	html body [dir='rtl'] h4,
	html body [dir='rtl'] h5,
	html body [dir='rtl'] h6,
	html body [dir='rtl'] li,
	html body [dir='rtl'] blockquote {
		direction: rtl !important;
		text-align: right !important;
		unicode-bidi: embed !important;
	}
	
/*# sourceURL=kgnd-auto-direction-inline-css */

/* ---- anonymous ---- */
:root {
			--color-navy: #003366;
			--color-teal: #14B1BB;
		}

/* ---- kgnd-lang-switcher-css ---- */
.kgnd-lang-switcher{display:inline-flex;align-items:center;gap:.45rem;font-weight:600;font-size:.78rem;letter-spacing:.04em;}
		.kgnd-lang-switcher .kgnd-lang-opt{color:rgba(255,255,255,.78);text-decoration:none;padding:.2rem .55rem;border-radius:9999px;transition:all .2s;line-height:1;}
		.kgnd-lang-switcher .kgnd-lang-opt:hover{color:#fff;background:rgba(255,255,255,.08);}
		.kgnd-lang-switcher .kgnd-lang-opt.is-active{color:#003366;background:#14B1BB;font-weight:700;}
		.kgnd-lang-switcher .kgnd-lang-sep{color:rgba(255,255,255,.35);font-size:.7rem;}
		.kgnd-lang-switcher--mobile{margin:1rem auto;justify-content:center;font-size:1rem;}
		.kgnd-lang-switcher--mobile .kgnd-lang-opt{color:#003366;padding:.4rem 1rem;border:1px solid rgba(0,51,102,.15);}
		.kgnd-lang-switcher--mobile .kgnd-lang-opt:hover{background:rgba(20,177,187,.1);}
		.kgnd-lang-switcher--mobile .kgnd-lang-opt.is-active{background:#14B1BB;color:#fff;border-color:#14B1BB;}
		.kgnd-lang-switcher--mobile .kgnd-lang-sep{color:rgba(0,51,102,.25);}
		.kgnd-lang-opt--ku{font-family:'Noto Kufi Arabic','Vazirmatn','Kurdistan24',Tahoma,sans-serif;}
		.kgnd-lang-opt--kmr{font-family:'Inter',sans-serif;font-style:italic;letter-spacing:.02em;}

		/* Force LTR / English-style layout on dashboard, login, register
		   pages — a safety net even if some other plugin or stylesheet
		   tries to set direction:rtl. */
		body.kgnd-force-ltr,
		body.kgnd-force-ltr .kgnd-platform-wrap,
		body.kgnd-force-ltr .kgnd-platform,
		body.kgnd-force-ltr .kgnd-platform-topbar,
		body.kgnd-force-ltr .kgnd-col-left,
		body.kgnd-force-ltr .kgnd-col-main,
		body.kgnd-force-ltr .kgnd-col-right,
		body.kgnd-force-ltr #kgnd-msg-panel{
			direction: ltr !important;
			text-align: left !important;
			unicode-bidi: isolate;
		}
		body.kgnd-force-ltr * {
			direction: ltr;
		}
		body.kgnd-force-ltr input,
		body.kgnd-force-ltr textarea,
		body.kgnd-force-ltr select {
			text-align: left !important;
		}
