/* Central typography settings. Font files and licenses: /assets/fonts/. */
:root {
 --peds-font-body: "Inter", "Segoe UI", Tahoma, system-ui, sans-serif;
 --peds-font-heading: "Plus Jakarta Sans", "Segoe UI", Tahoma, system-ui, sans-serif;
 --peds-font-reading-ur: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Noto Naskh Arabic", serif;
 --peds-font-ui-ur: "Noto Sans Arabic", "Noto Naskh Arabic", Tahoma, sans-serif;
}
body, body * {font-family:var(--peds-font-body)!important}
h1,h1 *,h2,h2 *,h3,h3 *,h4,h4 *,h5,h5 *,h6,h6 * {font-family:var(--peds-font-heading)!important}
h1{font-weight:800}h2,h3{font-weight:700}h4,h5,h6{font-weight:600}
button,input,textarea,select,label,.btn{font-weight:500}strong,b,button,.btn{font-weight:600}
html[lang="ur"] body {font-size:19px;line-height:2.1}
html[lang="ur"] body,html[lang="ur"] body * {font-family:var(--peds-font-reading-ur)!important;letter-spacing:normal!important}
html[lang="ur"] :is(h1,h2,h3,h4,h5,h6){line-height:1.9!important;padding-block:.12em .25em;font-weight:600}
html[lang="ur"] :is(p,blockquote,li,dd){line-height:2.1!important}
html[lang="ur"] :is(nav,nav *,button,button *,input,textarea,select,label,label *,small,summary,.btn,.btn *,.label,.eyebrow,.chip,.code,.badge,.foot,.foot *,time,.language-switch,.phase4-footer,.phase4-footer *) {
 font-family:var(--peds-font-ui-ur)!important;line-height:1.9!important;
}
html[lang="ur"] :is(p,.lede,.card-summary){font-size:calc(1rem + 3px)}
html[lang="ur"] :is(button,input,textarea,select,label,.btn,small,.label){font-size:calc(.875rem + 3px)}
html[lang="ur"] :is(.phase4-nav>a,.phase4-group-button,.phase4-submenu>a){font-size:15px;line-height:1.9!important}
html[lang="ur"] .phase4-nav{gap:1px}
html[lang="ur"] :is(.phase4-nav>a,.phase4-group-button){padding-inline:7px}
html[lang="ur"] .phase4-header-actions .phase4-cta{font-size:15px;padding-inline:14px}
html[lang="ur"] .phase4-footer :is(a,li){font-size:15px}
html[lang="ur"] :is(.card,.prog-card,.formbox,.trainer-section,.home-school-copy){text-align:start;overflow:visible}
html[lang="ur"] :is(.prog-card,.card,.home-school-card) :is(h2,h3,h4){margin-block-end:20px;max-height:none;-webkit-line-clamp:unset}
html[lang="ur"] :is(.card-summary,.team-role,.home-school-copy p){display:block;max-height:none;-webkit-line-clamp:unset}
html[lang="ur"] :is(ul,ol){padding-left:0;padding-inline-start:1.5em}
html[lang="ur"] :is(.ticks li,.points li){padding-left:0;padding-inline-start:28px}
html[lang="ur"] .ticks li::before{left:auto;right:0}
html[lang="ur"] :is(input,textarea,select){text-align:start;direction:rtl}
html[lang="ur"] :is(input[type=email],input[type=url],input[type=tel],input[type=password],input[type=number],input[name=certificateId],.no-translate){direction:ltr;text-align:left;font-family:var(--peds-font-ui-ur)!important}
html[lang="ur"] .language-switch[lang=en]{font-family:var(--peds-font-body)!important;direction:ltr}
html[lang="ur"] .content-breadcrumb{direction:rtl;gap:12px}
html[lang="ur"] .ps-side{left:auto;right:0;border-right:0;border-left:1px solid var(--line)}
html[lang="ur"] body[data-admin] > :is(.ps-main,header){margin-left:0;margin-right:262px}
html[lang="ur"] .ps-side nav button{text-align:right}
html[lang="ur"] .ps-side nav button[aria-current=page]{box-shadow:inset -3px 0 #24785b}
html[lang="ur"] .ps-outline{border-left:0;border-right:1px solid var(--line);padding-left:0;padding-right:18px}
html[lang="ur"] .ps-dialog{inset:0 auto 0 0}
html[lang="ur"] .ps-save span{margin-right:0;margin-left:auto}
html[lang="ur"] .badge.red{margin-left:0;margin-right:auto}
html[lang="ur"] #notice{margin-left:0;margin-right:290px}
html[lang="ur"] input[type=checkbox]{margin-right:0;margin-left:8px}
html[lang="ur"] .password-control input{padding-right:14px;padding-left:58px}
html[lang="ur"] .password-toggle{right:auto;left:4px}
html[lang="ur"] body[data-admin],html[lang="ur"] body[data-admin] * {font-family:var(--peds-font-ui-ur)!important;line-height:1.9!important}
html[lang="ur"] body[data-admin] :is(h1,h2,h3){padding-block:0}
.admin-language{white-space:nowrap;font-size:14px}
@media(max-width:1100px){html[lang="ur"] .ps-outline{border:0;padding:0}}
@media(max-width:760px){html[lang="ur"] body[data-admin] > :is(.ps-main,header,#notice){margin-inline:0}html[lang="ur"] body{font-size:19px}html[lang="ur"] .ps-side{right:0;left:auto}}
@media(min-width:1024px) and (max-width:1180px){html[lang="ur"] .phase4-header-inner{padding-inline:14px;gap:10px}html[lang="ur"] :is(.phase4-nav>a,.phase4-group-button){font-size:14px;padding-inline:5px}html[lang="ur"] .phase4-brand .wordmark{display:none}}

html[lang="ur"] body{line-height:2.1!important}
html[lang="ur"] body:not([data-admin]) h1{font-size:clamp(35px,4.8vw + 3px,79px)}
html[lang="ur"] body:not([data-admin]) h2{font-size:clamp(29px,3vw + 3px,51px)}
html[lang="ur"] body:not([data-admin]) h3{font-size:calc(1.5rem + 3px)}
html[lang="ur"] body[data-admin] .ps-main{margin-left:0;margin-right:262px}
html[lang="ur"] body[data-admin]>header a{margin-left:0;margin-inline-start:auto}
body[data-admin]>header a.admin-language{display:inline-flex;font-size:14px;flex-shrink:0}
@media(max-width:760px){html[lang="ur"] body[data-admin] .ps-main{margin-inline:0}body[data-admin]>header{gap:8px}body[data-admin]>header a.admin-language{margin-inline:0;font-size:12px}}
html[lang="ur"] .phase4-footer h2{font-size:18px!important;padding:0;line-height:1.9!important}
html[lang="ur"] :is(.card,.prog-card,.home-school-card) h2{font-size:27px}
html[lang="ur"] .phase4-nav :is(a,.phase4-group-button){font-size:16px!important;line-height:1.9!important}
html[lang="ur"] .phase4-nav{gap:4px!important}
@media(min-width:1024px){html[lang="ur"] .phase4-nav>a,html[lang="ur"] .phase4-group-button{padding-inline:6px!important}}

html:not([lang="ur"]) h1{font-weight:800!important}
html:not([lang="ur"]) :is(h2,h3){font-weight:700!important}
html:not([lang="ur"]) :is(h4,h5,h6){font-weight:600!important}
html:not([lang="ur"]) :is(input,textarea,select,label){font-weight:500!important}
html:not([lang="ur"]) :is(button,.btn,strong,b){font-weight:600!important}

/* Nastaliq strokes extend beyond the line's advance width. Keep that ink
   inside the painted area of gradient headings, including wrapped lines. */
html[lang="ur"] body:not([data-admin]) :is(h1,h2,h3,h4,h5,h6) {
  box-sizing: border-box;
  padding-inline: .45em;
  padding-block: .22em .35em;
  overflow: visible;
}

/* Let story and program cards grow with the complete Urdu summary. */
html[lang="ur"] .hero-bar .fig {
  font-family: var(--peds-font-ui-ur) !important;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  background: none;
  color: #087d6a;
  -webkit-text-fill-color: currentColor;
}

html[lang="ur"] [data-phase4-home] :is(.card-summary,[data-phase4-section="stories"] .card > p) {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  max-height: none;
  padding-inline: .25em;
  padding-block-end: .25em;
}
