@font-face {
    font-family: 'NazaninLT';
    src: url('/wp-content/themes/blogbox/fonts/NAZANINLTLIGHT.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NazaninLTBold';
    src: url('/wp-content/themes/blogbox/fonts/NAZANINLTBOLD.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

p, span, a, td, li, ol, ul
	{
font-family: NazaninLT;
}

h1, h2, h3, h4
	{
font-family: NazaninLTBold;
}
p.RTL, span.RTL, a.RTL, td.RTL, li.RTL, ol.RTL, ul.RTL
	{direction:rtl;
line-height:185%;
font-family: NazaninLT;
font-size:13.5pt;
}

h1.RTL
	{direction:rtl;
line-height:185%;
font-family: NazaninLTBold;
font-size:18.5pt;
}

h2.RTL
	{direction:rtl;
line-height:185%;
font-family: NazaninLTBold;
font-size:17pt;
}

h3.RTL
	{direction:rtl;
line-height:185%;
font-family: NazaninLT;
font-size:16pt;
}

h4.RTL
	{direction:rtl;
line-height:185%;
font-family: NazaninLTBold;
font-size:15pt;
}

th.RTL
	{direction:rtl;
text-align:right;
line-height:185%;
font-family: NazaninLTBold;
font-size:13.5pt;
}

p.IPA, span.IPA, li.IPA, a.IPA, td.IPA
	{color:red;
	direction:ltr;
font-family: Arial;}

p.PA, span.PA, a.PA, li.PA, td.PA
	{color:red;
	direction:rtl;
line-height:185%;
font-family: NazaninLT;
font-size:13.5pt;
}

span.LTR, a.LTR
	{line-height:normal;
	direction:ltr;
font-family: Arial;}

p.Bold, span.Bold, a.Bold
	{font-weight:bold;}

p.Italic, span.Italic, a.Italic
	{font-style:italic;}

span.Underline
	{text-decoration:underline;}

ol.Content, ul.Content, p.Content, li.Content, span.Content
  {margin-top:0pt;
   direction:ltr;}

ol.RTLSample, ul.RTLSample
  {direction:rtl;
   list-style-type:none;
font-family: NazaninLT;
}
p.RTLContent, span.RTLContent, li.RTLContent, ol.RTLContent, ul.RTLContent
  {margin-top:-3pt;
   direction:rtl;
font-family: NazaninLT;
}

ol.Sample, ul.Sample
  {direction:ltr;
   list-style-type:none;}

li.Sample
   {direction:ltr;
   list-style-type:none;}

li.RTLSample
	{direction:rtl;
	 margin-bottom:0pt;
font-family: NazaninLT;
}

span.Gray
	{color:Gray;
	direction:ltr}

span.GrayRTL
	{color:Gray;
	direction:rtl;
font-family: NazaninLT;
}

p.IndentRTL
	{margin-right:20pt;
	direction:rtl;
font-family: NazaninLT;
}

p.IndentPA
	{color:red;
	margin-right:20pt;
	direction:rtl;
font-family: NazaninLT;
}

p.IndentPA2
	{color:red;
	margin-right:20pt;
	direction:rtl;
font-family: NazaninLT;
}

p.Author
	{text-align:left;
         color:Gray;
	direction:rtl;
font-family: NazaninLT;
}

p.AuthorLTR
	{text-align:right;
         color:Gray;
	direction:ltr;}

span.White
	{color:White;
	font-size:2pt;}


tr
	{
	border-width:0px;
	border-style:none;
	margin:6pt}

table.Blank, td.Blank, tr
	{border-color:#ccecff;
	border-width:0px;
	border-style:none;
	margin:0pt}

td.Block
	{
	direction:ltr;
	text-align:right;
	font-weight:normal;
	border-color:#ccecff;
	border-width:1px;
	border-style:ridge;
	vertical-align:middle}

td.Block_RTL
	{
	direction:rtl;
	text-align:right;
	font-weight:normal;
	border-color:#ccecff;
	border-width:1px;
	border-style:ridge;
	vertical-align:middle;
font-family: NazaninLT;
}

/* === dastur.info – Anpassungen 2026-11 === */
/* Keine feste Breite mehr (vorher 960 px); Obergrenze 1600 px für sehr breite Bildschirme */
#pagewrap { max-width: 1600px; width: auto; margin-left: 20px; margin-right: 20px; }
@media (min-width: 1640px) { #pagewrap { margin-left: auto; margin-right: auto; } }
/* Kopfband: Ornament scharf in der Mitte, seitlich weichgezeichnet, 170 px hoch */
#header .header-banner { position: relative; height: 170px; overflow: hidden; background: #5a4428; }
#header .header-banner::before { content: ''; position: absolute; inset: -30px; background: url('/wp-content/uploads/2014/12/site-banner1.jpg') center / cover; filter: blur(22px) brightness(.75) saturate(.9); }
#header .header-banner a { position: relative; display: block; height: 100%; }
#header .header-banner img.logo { height: 170px !important; width: auto !important; max-width: none !important; margin: 0 auto; display: block; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 15%, #000 85%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 15%, #000 85%, transparent 100%); }
@media (max-width: 600px) { #header .header-banner, #header .header-banner img.logo { height: 110px !important; } }
/* Keine Seitenleiste mehr: Inhalt über die ganze Breite */
#sidebar { display: none; }
@media (max-width: 767px) { #sidebar { display: block; float: none !important; width: auto !important; margin-top: 20px; } }
#widecolumn { width: auto !important; float: none !important; }
/* Sprachwahl und Suche oben im Kopf nebeneinander */
#header .header-widget-half .widget { display: inline-block; vertical-align: middle; margin: 0 0 0 10px; }
#header .header-widget-half .widget-title { display: none; }
#header .header-widget-half #searchform { display: flex; gap: 4px; }
#header .header-widget-half #searchform .keyword { width: 160px; }
/* Inhaltsverzeichnisse in Tabellen: keine zusätzlichen Aufzählungspunkte */
.entry table ul, .entry table ol { list-style: none; margin-right: 0; padding-right: 0; }
/* Lautschrift nicht mitten im Ausdruck umbrechen */
.entry span.LTR, .entry span.IPA, .entry a.LTR, .entry a.IPA { white-space: nowrap; unicode-bidi: isolate; }

/* Dichternamen unter Versen: nur ca. 4 cm eingerückt statt ganz an den Rand */
.entry p.Author { text-align: right; margin-right: 4cm; }
.entry p.AuthorLTR { text-align: right; margin-right: 4cm; margin-left: 0; }

/* Fußzeile: nur Impressum und Datenschutz, mittig */
#footer_col_wrap > div { width: 100% !important; float: none !important; }
#footer_col_wrap > div:not(:first-child) { display: none; }
#footer .dastur-legal { text-align: center; margin: 10px 0; }

/* Handy: deutlich sichtbare Kapitelauswahl */
select.menu { background: #c9a24a; color: #2b1d12; font-weight: bold; font-size: 17px; border: 0; border-radius: 8px; padding: 10px 14px; }

/* Persisch: Hauptmenü von rechts nach links */
body.rtl #main_menu_ul { float: right; }
body.rtl #main_menu_ul > li, body.rtl #main_menu_ul li li { float: right; }
body.rtl #main_menu_ul ul { right: 0; left: auto; text-align: right; }

/* Lateinische Schrift im persischen Text: einheitlich eine Serifenschrift passend zu Nazanin (Persisch bleibt Nazanin) */
@font-face { font-family: 'DasturLatin'; src: local('Times New Roman'), local('TimesNewRomanPSMT'), local('Times'), local('Liberation Serif'), local('Noto Serif'); font-weight: 400; font-style: normal; unicode-range: U+0000-02FF, U+1D00-1DBF, U+1E00-1EFF, U+2000-2052, U+20A0-20CF, U+2100-214F; size-adjust: 92%; }
@font-face { font-family: 'DasturLatin'; src: local('Times New Roman Italic'), local('TimesNewRomanPS-ItalicMT'), local('Times Italic'), local('Liberation Serif Italic'), local('Noto Serif Italic'); font-weight: 400; font-style: italic; unicode-range: U+0000-02FF, U+1D00-1DBF, U+1E00-1EFF, U+2000-2052, U+20A0-20CF, U+2100-214F; size-adjust: 92%; }
@font-face { font-family: 'DasturLatin'; src: local('Times New Roman Bold'), local('TimesNewRomanPS-BoldMT'), local('Times Bold'), local('Liberation Serif Bold'), local('Noto Serif Bold'); font-weight: 700; font-style: normal; unicode-range: U+0000-02FF, U+1D00-1DBF, U+1E00-1EFF, U+2000-2052, U+20A0-20CF, U+2100-214F; size-adjust: 92%; }
body.rtl .entry p, body.rtl .entry span, body.rtl .entry a, body.rtl .entry td, body.rtl .entry li, body.rtl .entry th, body.rtl .entry i, body.rtl .entry em, body.rtl .entry b, body.rtl .entry strong { font-family: 'DasturLatin', NazaninLT, serif !important; }
body.rtl .entry h1, body.rtl .entry h2, body.rtl .entry h3, body.rtl .entry h4 { font-family: 'DasturLatin', NazaninLTBold, serif !important; }
.entry table li { list-style: none; }

/* Absätze ohne eigene Klasse gleich groß wie der übrige Text; lateinische Absätze von links nach rechts */
body.rtl .entry p:not([class]) { font-size: 18px; line-height: 185%; unicode-bidi: plaintext; text-align: start; }

/* dastur-home-title */
body.home [id^="post-"] > h2:first-child{display:none}

body.rtl .entry td p.Author{font-size:18px}

/* dastur-headings */
[id^="post-"] > img.wp-post-image{display:none}
[id^="post-"] > h2:first-child{font-size:34px;line-height:1.35;margin:34px 0 26px;padding-bottom:12px;position:relative}
[id^="post-"] > h2:first-child::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:180px;height:2px;background:linear-gradient(to right,#b8862b,rgba(184,134,43,0))}
body.rtl [id^="post-"] > h2:first-child::after{background:linear-gradient(to left,#b8862b,rgba(184,134,43,0))}
[id^="post-"] .entry h1{font-size:30px;line-height:1.35;margin:1.4em 0 .5em}
[id^="post-"] .entry h2{font-size:26px;line-height:1.4;margin:1.4em 0 .45em}
[id^="post-"] .entry h3{font-size:22px;line-height:1.4;margin:1.2em 0 .35em}
[id^="post-"] .entry h4{font-size:19px;line-height:1.45;margin:1em 0 .3em;color:#6b4a1f}
[id^="post-"] .entry h5,[id^="post-"] .entry h6{font-size:18px;line-height:1.45;margin:1em 0 .3em;color:#6b4a1f}
[id^="post-"] .entry > h1:first-child,[id^="post-"] .entry > h2:first-child,[id^="post-"] .entry > h3:first-child{margin-top:0}
@media (max-width:767px){[id^="post-"] > h2:first-child{font-size:27px}[id^="post-"] .entry h1{font-size:25px}[id^="post-"] .entry h2{font-size:22px}[id^="post-"] .entry h3{font-size:19.5px}[id^="post-"] .entry h4{font-size:17.5px}}

/* dastur-title-mobile */
@media (max-width:767px){[id^="post-"] > h2:first-child{margin-top:22px}}

/* dastur-clear */
#widecolumn{clear:both}

/* dastur-home-pad */
body.home [id^="post-"] > .entry{padding-top:30px}

/* dastur-dropdown */
#main_menu_ul li{position:relative}
#main_menu_ul ul{position:absolute;top:100%;z-index:1000;min-width:260px;width:max-content;max-width:440px;margin:0;padding:6px 0;background:#2e211b;border-top:2px solid #b8862b;box-shadow:0 8px 22px rgba(0,0,0,.35);border-radius:0 0 4px 4px}
body.rtl #main_menu_ul ul{right:0;left:auto}
body:not(.rtl) #main_menu_ul ul{left:0;right:auto}
#main_menu_ul ul li{float:none !important;display:block;width:auto;margin:0;padding:0;border:0;background:none}
#main_menu_ul ul a{display:block;padding:4px 18px;line-height:1.45;white-space:normal;text-align:start;font-size:15.5px;color:#f6f2ea}
#main_menu_ul ul a:hover,#main_menu_ul ul li:hover > a{background:#4a3529;color:#e8c27a}
#main_menu_ul ul ul{top:-8px;border-top:0;border-radius:4px}
body.rtl #main_menu_ul ul ul{right:100%;left:auto}
body:not(.rtl) #main_menu_ul ul ul{left:100%;right:auto}
#main_menu_ul a.sf-with-ul::after{content:"▾";font-size:.7em;margin-inline-start:5px;opacity:.65}
#main_menu_ul ul a.sf-with-ul::after{content:"‹";font-size:1em}
body:not(.rtl) #main_menu_ul ul a.sf-with-ul::after{content:"›"}
#main_menu_ul li:hover > ul{display:block}

/* dastur-dropdown-2 */
#main_menu_ul ul ul{position:static !important;display:block !important;visibility:visible !important;opacity:1 !important;box-shadow:none;border:0;border-radius:0;background:transparent;padding:0 0 4px;min-width:0;width:auto;max-width:none}
#main_menu_ul ul ul a{padding-inline-start:38px;font-size:14.5px;color:#d9cdb8}
#main_menu_ul ul a.sf-with-ul::after{content:none !important}
#main_menu_ul a.sf-with-ul::after{display:inline-block;transform:translateY(-3px)}
#main_menu_ul .sf-sub-indicator{display:none}
#main_menu_ul ul.dastur-flip{right:auto !important;left:0 !important}
body:not(.rtl) #main_menu_ul ul.dastur-flip{left:auto !important;right:0 !important}


/* dastur-ltr-size: Englisch/Deutsch gleich groß wie Persisch (18 px) */
body:not(.rtl) .entry p:not([class]), body:not(.rtl) .entry li:not([class]), body:not(.rtl) .entry th:not([class]), body:not(.rtl) .entry td:not([class]), body:not(.rtl) .entry p.AuthorLTR { font-size: 18px; line-height: 1.6; }
body:not(.rtl) .entry td.Blank { line-height: 1.6; }
body:not(.rtl) .entry td.Blank > span { font-size: 18px; }
@media (max-width:767px){ body:not(.rtl) .entry p:not([class]), body:not(.rtl) .entry li:not([class]), body:not(.rtl) .entry th:not([class]), body:not(.rtl) .entry td:not([class]), body:not(.rtl) .entry p.AuthorLTR, body:not(.rtl) .entry td.Blank > span { font-size: 17px; } }


/* dastur-fa-size: persische Absatzklassen ohne eigene Größe überall 18 px (vorher 16 px außerhalb von Listen) */
.entry p.Author, .entry p.IndentPA, .entry p.IndentPA2, .entry p.IndentRTL { font-size: 18px; }


/* dastur-ipa-size: Arial (Lautschrift) wirkt bei gleicher px-Größe ca. 20 % größer als Nazanin; auf Englisch/Deutsch optisch angleichen */
@font-face { font-family: 'DasturIPA'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Helvetica'); font-weight: 400; font-style: normal; size-adjust: 82%; }
@font-face { font-family: 'DasturIPA'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Helvetica Bold'); font-weight: 700; font-style: normal; size-adjust: 82%; }
body:not(.rtl) .entry .IPA, body:not(.rtl) .entry span.LTR, body:not(.rtl) .entry a.LTR { font-family: 'DasturIPA', Arial, sans-serif; }

/* dastur-img-bg: weiße Flächen in eingebetteten Grafiken (PNG/GIF) nehmen die Hintergrundfarbe der Seite an */
.entry img[src*=".png"], .entry img[src*=".gif"] { mix-blend-mode: multiply; }


/* dastur-ktab: Konsonantentabelle als Text (Kapitel 1) */
.dastur-ktab-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1em 0 .4em; }
table.dastur-ktab { border-collapse: collapse; width: auto; min-width: 100%; font-size: 16px; line-height: 1.3; }
table.dastur-ktab th, table.dastur-ktab td { border: 1px solid #d8ccb6; padding: .4em .5em; text-align: center; white-space: nowrap; }
table.dastur-ktab thead th, table.dastur-ktab tbody th { background: #ece3d2; font-weight: 600; color: #4a3423; }
table.dastur-ktab tbody th { text-align: start; }
table.dastur-ktab td .k { display: inline-block; min-width: 1.7em; }
table.dastur-ktab td .IPA { font-size: 1.1em; }
table.dastur-ktab th { font-size: inherit; font-family: inherit; }
table.dastur-ktab tbody th, table.dastur-ktab thead th:first-child { position: sticky; inset-inline-start: 0; z-index: 1; }
body .entry table.dastur-ktab.dastur-ktab th, body .entry table.dastur-ktab.dastur-ktab td { font-size: inherit; line-height: 1.3; }
p.dastur-ktab-note { font-size: .9em; color: #6b5a45; margin-top: .2em; }
@media (max-width: 600px) { table.dastur-ktab { font-size: 13px; } table.dastur-ktab th, table.dastur-ktab td { padding: .25em .3em; } table.dastur-ktab td .k { min-width: 1.3em; } }


/* dastur-pa-isolate: persische Wörter im lateinischen Fließtext isolieren, damit Lautschrift und Wort nicht vertauscht erscheinen */
body:not(.rtl) .entry span.PA, body:not(.rtl) .entry span.IPA, body:not(.rtl) .entry span.LTR { unicode-bidi: isolate; }


/* dastur-gloss-inherit: Glossar-Tooltips innerhalb von Lautschrift oder persischem Text übernehmen Farbe, Schrift und Größe */
.entry .IPA a.glossaryLink, .entry .PA a.glossaryLink, .entry .LTR a.glossaryLink, .entry .IndentPA a.glossaryLink, .entry .Underline a.glossaryLink { color: inherit !important; font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; }


/* dastur-h2-divider: Abschnitte der 1. Ebene (a., b., c. …) mit kurzer goldener Linie absetzen */
[id^="post-"] .entry h2 { position: relative; padding-top: .9em; margin-top: 1.8em; }
[id^="post-"] .entry h2::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 120px; height: 1px; background: linear-gradient(to right, #b8862b, rgba(184,134,43,0)); }
body.rtl [id^="post-"] .entry h2::before { background: linear-gradient(to left, #b8862b, rgba(184,134,43,0)); }
[id^="post-"] .entry > h2:first-child::before { display: none; }


/* dastur-sample-size: Beispiellisten (ul.Sample) auf Englisch/Deutsch ebenfalls 18 px */
body:not(.rtl) .entry ul.Sample > li, body:not(.rtl) .entry ol.Sample > li, body:not(.rtl) .entry li.Sample { font-size: 18px; line-height: 1.6; }
@media (max-width:767px){ body:not(.rtl) .entry ul.Sample > li, body:not(.rtl) .entry ol.Sample > li, body:not(.rtl) .entry li.Sample { font-size: 17px; } }


/* dastur-hr-subtle: Trennlinien innerhalb von Abschnitten als kurze, zentrierte, blassgoldene Linie */
[id^="post-"] .entry hr { border: 0; height: 1px; width: 60px; margin: 1.6em auto; background: linear-gradient(to right, rgba(184,134,43,0), rgba(184,134,43,.7), rgba(184,134,43,0)); }


/* dastur-hide-related: Liste „Verwandte Begriffe“ des Glossar-Plugins ausblenden */
.cmtt_related_linked_terms_wrapper, .cmtt_related_articles_wrapper, .cmtt_related { display: none !important; }


/* dastur-rtl-lists: persische Listen rechts einrücken (Aufzählungszeichen nicht am Rand) und Beispiellisten 18 px */
body.rtl .entry ol, body.rtl .entry ul { padding-right: 27px; padding-left: 0; }
body.rtl .entry ul.RTLSample > li, body.rtl .entry ol.RTLSample > li, body.rtl .entry li.RTLSample { font-size: 18px; line-height: 185%; }
