/* KGND inline styles captured from live kgnd.ca (?lang=ku). 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-kurdish-fonts-inline-css ---- */
html[dir='rtl'], body.kgnd-rtl, body.kgnd-rtl * {
		font-family: 'Kurdistan24','Noto Kufi Arabic','Vazirmatn','Tahoma','Segoe UI',sans-serif !important;
	}
	body.kgnd-rtl .material-symbols-outlined,
	body.kgnd-rtl .material-symbols-outlined * {
		font-family: 'Material Symbols Outlined' !important;
	}
	body.kgnd-rtl .brand-name,
	body.kgnd-rtl .logo-text,
	body.kgnd-rtl .stat-number,
	body.kgnd-rtl .hero-stats-card .stats-value {
		/* Brand mark and big numerals: keep Latin-friendly font for KGND/100,000+ etc. */
		font-family: 'Livvic','Kurdistan24','Noto Kufi Arabic',sans-serif !important;
	}
	/* Bidi-isolation: ensure mixed Latin/Arabic text renders in correct
	   visual order. Without this, words like 'KGND' embedded in an Arabic
	   paragraph can drift to the wrong side of the line. */
	body.kgnd-rtl p,
	body.kgnd-rtl li,
	body.kgnd-rtl td,
	body.kgnd-rtl h1,
	body.kgnd-rtl h2,
	body.kgnd-rtl h3,
	body.kgnd-rtl h4,
	body.kgnd-rtl h5,
	body.kgnd-rtl h6,
	body.kgnd-rtl blockquote,
	body.kgnd-rtl span,
	body.kgnd-rtl div {
		unicode-bidi: isolate;
	}
	
/*# sourceURL=kgnd-kurdish-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;
		}

