/* PG Sindhi Library, v3.6: the Sindhi website (/sd-deva/..., /sd-arab/...).
   Loaded only on Sindhi pages, so the English site looks exactly as before. */

/* ---------------------------------------------------------------- fonts --- */
/* Sindhi letters inside the site's Latin fonts: any element set in Inter or
   Fraunces shows Perso-Arabic in Noto Naskh Arabic and Devanagari in Noto Sans
   Devanagari (self-hosted, with every Sindhi letter: ڄ ڃ ڇ ڍ ڊ ڏ ڌ ٺ ٽ ٿ ڀ ٻ ڙ ڳ ڱ ڪ ڦ,
   ॻ ॼ ॾ ॿ). Latin letters keep Inter and Fraunces. The weight and style of each
   rule match the Google Fonts rules in the page head (Inter 400, 500, 600;
   Fraunces 400-650 upright and italic): the browser then treats them as one
   font and picks the face by unicode-range. Change them together. */
@font-face { font-family: 'Inter'; src: url('/fonts/NotoNaskhArabic-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; size-adjust: 112%; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Inter'; src: url('/fonts/NotoNaskhArabic-Regular.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; size-adjust: 112%; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Inter'; src: url('/fonts/NotoNaskhArabic-Bold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; size-adjust: 112%; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/NotoNaskhArabic-Regular.woff2') format('woff2'); font-weight: 400 650; font-style: normal; font-display: swap; size-adjust: 112%; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/NotoNaskhArabic-Regular.woff2') format('woff2'); font-weight: 400 650; font-style: italic; font-display: swap; size-adjust: 112%; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Inter'; src: url('/fonts/NotoSansDevanagari-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; size-adjust: 106%; unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF; }
@font-face { font-family: 'Inter'; src: url('/fonts/NotoSansDevanagari-Regular.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; size-adjust: 106%; unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF; }
@font-face { font-family: 'Inter'; src: url('/fonts/NotoSansDevanagari-Regular.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; size-adjust: 106%; unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/NotoSansDevanagari-Regular.woff2') format('woff2'); font-weight: 400 650; font-style: normal; font-display: swap; size-adjust: 106%; unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/NotoSansDevanagari-Regular.woff2') format('woff2'); font-weight: 400 650; font-style: italic; font-display: swap; size-adjust: 106%; unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF; }

/* Spaced-out capitals suit English labels; spacing breaks joined Perso-Arabic
   letters and the Devanagari headline, so Sindhi pages set none. */
html.lang-sd-arab body *, html.lang-sd-deva body * { letter-spacing: normal !important; }
/* No slanted Sindhi: italics are an English convention here. */
html.lang-sd-arab .standfirst, html.lang-sd-arab .italic, html.lang-sd-arab em,
html.lang-sd-deva .standfirst, html.lang-sd-deva .italic { font-style: normal; }
/* Taller letters need taller lines. */
html.lang-sd-arab .hero-title { line-height: 1.4; }
html.lang-sd-deva .hero-title { line-height: 1.25; }
html.lang-sd-arab .leading-tight, html.lang-sd-arab .leading-snug { line-height: 1.5; }
html.lang-sd-arab h1, html.lang-sd-arab h2, html.lang-sd-arab h3 { line-height: 1.5; }
html.lang-sd-deva h1, html.lang-sd-deva h2, html.lang-sd-deva h3 { line-height: 1.3; }
html.lang-sd-arab .section-label, html.lang-sd-arab .stat-label, html.lang-sd-arab .footer-head,
html.lang-sd-arab .field-label, html.lang-sd-arab .live-results__hint { font-size: 13px; line-height: 1.6; }
html.lang-sd-deva .section-label, html.lang-sd-deva .stat-label, html.lang-sd-deva .footer-head { font-size: 12.5px; }
html.lang-sd-arab .lang-arab.text-base, html.lang-sd-arab h3.lang-arab { line-height: 1.6; }

/* ------------------------------------------------- right to left (سنڌي) --- */
/* English and Roman text inside a Sindhi page (book titles, publishers,
   descriptions) keeps its own direction, so brackets and full stops stay put. */
[dir="rtl"] .bidi, [dir="rtl"] .lang-deva { unicode-bidi: plaintext; text-align: right; }
[dir="rtl"] .text-center.bidi, [dir="rtl"] .text-center .bidi { text-align: center; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
[dir="rtl"] .text-left { text-align: right; }
@media (min-width: 768px) {
  [dir="rtl"] .md\:text-center { text-align: center; }
  [dir="rtl"] .md\:text-right { text-align: left; }
  [dir="rtl"] .spotlight-side { border-left-width: 0; border-right-width: 1px; }
}
[dir="rtl"] .blog-reply { margin-left: 0; margin-inline-start: 1rem; }
@media (min-width: 640px) {
  [dir="rtl"] .sm\:text-right { text-align: left; }
  [dir="rtl"] .blog-reply { margin-left: 0; margin-inline-start: 2.5rem; }
}
[dir="rtl"] .ml-auto { margin-left: 0; margin-right: auto; }
[dir="rtl"] .ml-1 { margin-left: 0; margin-inline-start: .25rem; }
/* Blog: titles, excerpts, book details and responses written in English (or any
   script) line up on the right with the rest of the page. */
[dir="rtl"] .blog-feature [dir="auto"], [dir="rtl"] .blog-card [dir="auto"],
[dir="rtl"] .blog-bookbox [dir="auto"], [dir="rtl"] .blog-comment [dir="auto"] { text-align: right; }
[dir="rtl"] .blog-gallery button { text-align: right; }
[dir="rtl"] .mr-5 { margin-right: 0; margin-left: 1.25rem; }
[dir="rtl"] ul.pl-6, [dir="rtl"] ol.pl-6 { padding-left: 0; padding-right: 1.5rem; }
[dir="rtl"] ul.pl-5, [dir="rtl"] ol.pl-5 { padding-left: 0; padding-right: 1.25rem; }
[dir="rtl"] .menu-end { right: auto; left: 0; }
[dir="rtl"] .banner-archive { border-width: 1px 4px 1px 1px; border-left-color: rgb(228 223 208); border-right-color: rgb(122 74 33); }
[dir="rtl"] .search-pill__scope { border-radius: 0 .5rem .5rem 0; border-right-width: 0; border-left-width: 1px; padding-left: .75rem; padding-right: 1rem; }
[dir="rtl"] .search-pill__btn { border-radius: .5rem 0 0 .5rem; }
[dir="rtl"] .search-pill__btn svg { transform: scaleX(-1); }
[dir="rtl"] .search-pill__menu { left: auto; right: 0; }
[dir="rtl"] .search-pill__menu-item { text-align: right; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="password"], [dir="rtl"] input[type="url"] { direction: ltr; text-align: left; }
[dir="rtl"] .flash ul.list-disc { padding-left: 0; padding-right: 1.25rem; }
/* English-only text blocks (privacy, terms, team biographies) read left to right. */
[dir="rtl"] [dir="ltr"] { text-align: left; }
[dir="rtl"] [dir="ltr"] [dir="rtl"] { text-align: right; }
