@font-face{
 font-family:"AA Pashto";
 src:url("assets/fonts/NotoNaskhArabic.ttf") format("truetype");
 font-weight:400 700;font-style:normal;font-display:swap;
}
/* Pashto layout; numbers, scores and video controls retain their own direction. */
html[lang="ps"] body{direction:rtl;font-family:"AA Pashto",Tahoma,Arial,sans-serif;line-height:1.85}
html[lang="ps"] h1,html[lang="ps"] h2,html[lang="ps"] h3,html[lang="ps"] h4,html[lang="ps"] nav,html[lang="ps"] button,html[lang="ps"] input,html[lang="ps"] select,html[lang="ps"] summary,html[lang="ps"] .eyebrow,html[lang="ps"] .masthead-title{font-family:"AA Pashto",Tahoma,Arial,sans-serif;letter-spacing:normal;text-transform:none;line-height:1.7}

.aa-pashto .topbar-inner{flex-wrap:wrap;gap:12px}
.aa-pashto .aat-language{margin-inline-end:auto;font-family:Arial,sans-serif}
.aa-pashto .aa-history-dropdown{left:auto;right:0;text-align:right}
.aa-pashto .aa-filters label,.aa-pashto .aa-prose,.aa-pashto .news-card-copy,.aa-pashto .profile-content,.aa-pashto .aa-news-featured-copy{text-align:right}
.aa-pashto .stats-scroll{overflow-x:auto;max-width:100%}
.aa-pashto .stats-table td,.aa-pashto .aas-score,.aa-pashto time,.aa-pashto .aach-year{direction:ltr;unicode-bidi:isolate}
.aa-pashto .stats-table th{text-align:right}
.aa-pashto video,.aa-pashto .aa-live-tools{direction:ltr}
.aa-pashto input[type=url],.aa-pashto input[type=email]{direction:ltr}
.aa-pashto .aa-news-arrow{justify-self:end}
.aa-pashto .aa-home-history,.aa-pashto .aa-home-tv{text-align:right}
.aa-pashto .aa-home-history-copy h2,.aa-pashto .aa-home-tv h2{line-height:1.6}
.aa-pashto .aa-footer-grid nav{align-items:flex-start}
.aa-pashto .aach-timeline{border-left:0;border-right:2px solid #176dad;padding-left:0;padding-right:26px}
@media(max-width:760px){.aa-pashto .aa-mobile-menu>summary{font-size:15px}.aa-pashto .aa-mobile-menu[open]>summary:after{content:"بندول ✕"}.aa-pashto .aa-mobile-menu nav{text-align:right}.aa-pashto .masthead-right{display:none}.aa-pashto .aa-home-tv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aa-pashto .aa-filters{max-width:100%}.aa-pashto .aa-filters input,.aa-pashto .aa-filters select{min-width:0;max-width:100%}}

/* Pashto masthead v1.0.2: logical spacing and content-driven height. */
.aa-pashto header .masthead{
 display:grid;grid-template-columns:minmax(180px,270px) minmax(0,1fr) auto;
 align-items:center;gap:32px;height:auto;min-height:116px;padding-block:22px;
}
.aa-pashto header .masthead .brand{width:100%;max-width:270px;height:70px;min-width:0}
.aa-pashto header .masthead-title{
 margin:0;padding:0 28px 0 0;border:0;border-inline-start:1px solid #dce4ed;
 font-size:22px;line-height:1.65;letter-spacing:normal;text-align:start;
}
.aa-pashto header .masthead-right{margin:0;text-align:end;gap:4px;min-width:0}
.aa-pashto header .brand-pashto{font-size:28px;line-height:1.6;white-space:nowrap}
.aa-pashto header .masthead-right>span:last-child{letter-spacing:normal;line-height:1.8}
.aa-pashto .topbar-inner{justify-content:flex-start;gap:18px;padding-block:7px}
.aa-pashto .topbar-inner .aat-language{order:3;margin-inline-start:auto;margin-inline-end:0}
.aa-pashto header .nav-watch{margin-left:0;margin-inline-start:14px}
@media(max-width:1024px){
 .aa-pashto header .masthead{grid-template-columns:minmax(180px,240px) minmax(0,1fr) auto;gap:22px}
 .aa-pashto header .masthead-title{font-size:19px;padding-inline-start:22px}
 .aa-pashto header .brand-pashto{font-size:25px}
}
@media(max-width:900px){
 .aa-pashto header .masthead{grid-template-columns:minmax(0,240px) minmax(0,1fr);min-height:100px;padding-block:16px}
 .aa-pashto header .masthead-title{display:none}
}
@media(max-width:760px){
 .aa-pashto header .masthead{display:flex;justify-content:center;min-height:96px;padding-block:16px}
 .aa-pashto header .masthead .brand{width:230px;max-width:100%;height:64px}
 .aa-pashto .topbar-inner{gap:10px;font-size:11px}
 .aa-pashto .topbar-inner .aat-language{display:flex}
}

/* Consistent Pashto typography across theme and plugin content. */
html[lang="ps"] body.aa-pashto{--aa-pashto-font:"AA Pashto",Tahoma,Arial,sans-serif;font-family:var(--aa-pashto-font)}
html[lang="ps"] .aa-pashto :where(h1,h2,h3,h4,h5,h6,p,a,span,div,strong,em,nav,button,input,textarea,select,summary,label,li,td,th){font-family:var(--aa-pashto-font)}
html[lang="ps"] .aa-pashto :where(h1,h2,h3,h4,h5,h6){letter-spacing:normal}
html[lang="ps"] .aa-pashto .aat-language{font-family:Arial,sans-serif}
html[lang="ps"] .aa-pashto .aa-article .page-heading h1,
html[lang="ps"] .aa-pashto .article-heading h1{
 font-size:32px;line-height:1.55;font-weight:700;max-width:100%;margin-block:10px 16px;overflow-wrap:break-word;
}
html[lang="ps"] .aa-pashto .aa-article .page-heading>p{font-size:18px;line-height:1.85}
@media(max-width:760px){
 html[lang="ps"] .aa-pashto .aa-article .page-heading h1,
 html[lang="ps"] .aa-pashto .article-heading h1{font-size:24px;line-height:1.6;margin-block:8px 12px}
 html[lang="ps"] .aa-pashto .aa-article .page-heading>p{font-size:17px}
}
