/* Persian presentation layer */
@font-face { font-family: IRANSans; src: url('fonts/IRANSansWeb.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: IRANSans; src: url('fonts/IRANSansWeb_Medium.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: IRANSans; src: url('fonts/IRANSansWeb_Bold.woff2') format('woff2'); font-weight: 700 900; font-style: normal; font-display: swap; }
:root { --fa-font: IRANSans, IRANSansX, Vazirmatn, Tahoma, Arial, sans-serif; }
html[lang="fa"] { direction: rtl; }
html[lang="fa"] body,
html[lang="fa"] button,
html[lang="fa"] input,
html[lang="fa"] textarea,
html[lang="fa"] select { font-family: var(--fa-font) !important; letter-spacing: 0 !important; }
html[lang="fa"] .font-display,
html[lang="fa"] .font-head { font-family: var(--fa-font) !important; letter-spacing: 0 !important; }
html[lang="fa"] .text-left { text-align: right !important; }
html[lang="fa"] .text-right { text-align: left !important; }
html[lang="fa"] .uppercase { text-transform: none !important; }
html[lang="fa"] .tracking-wide,
html[lang="fa"] [class*="tracking-"] { letter-spacing: 0 !important; }
html[lang="fa"] main, html[lang="fa"] footer { text-align: right; }
.bb h1, .bb h2, .bb h3, .bb h4 { color: #fff !important; }
.bb header { direction: rtl !important; background: #0e1116 !important; }
.bb header nav { direction: rtl !important; flex-direction: row !important; }
.bb header nav > button { order: -1 !important; }
html[lang="fa"] nav ul { text-align: right; }
/* Sections removed at the user's request */
html[lang="fa"] #sponsors,
html[lang="fa"] a[href="#sponsors"] { display: none !important; }
html[lang="fa"] #feed,
html[lang="fa"] a[href="#feed"] { display: none !important; }
