/*
 * Afghan Atalan Pashto typography — 1.0.0
 * Reuses the site's existing Nassim Regular. No external font service.
 * This font has a real 400 face; requesting 600/700 produces synthetic bold.
 * Keep the designed outlines and use size to establish the visual hierarchy.
 */

body.aa-pashto.aa-restored :is(
    .aat-menu a,
    .aat-menu summary,
    .aa-mobile-menu > summary,
    .nav-watch,
    .aat-category-bar a,
    .aat-card h3,
    .aat-card h3 a,
    .aat-article > header h1,
    .page-heading h1,
    .article-heading h1,
    .aat-section-head h1,
    .aat-section-head h2,
    .aat-literature-heading h2,
    .aat-literature-card h3,
    .aat-literature-card h3 a
) {
    font-family: "nassimregular", "AA Pashto", Tahoma, Arial, sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-synthesis: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
}

/* Desktop menu: larger letterforms at almost the same navigation-bar height. */
@media (min-width: 981px) {
    body.aa-pashto.aa-restored .aat-desktop-nav .aat-menu :is(a, summary) {
        font-size: 21px !important;
        line-height: 1.5 !important;
        padding-block: 14px;
    }
}

@media (min-width: 981px) and (max-width: 1100px) {
    body.aa-pashto.aa-restored .aat-desktop-nav .aat-menu :is(a, summary) {
        font-size: 19px !important;
    }
}

body.aa-pashto.aa-restored .nav-watch {
    font-size: 19px !important;
    line-height: 1.5 !important;
}

body.aa-pashto.aa-restored .aat-category-bar a {
    font-size: 18px;
    line-height: 1.6;
}

/* Headlines in the homepage, archives and individual articles. */
body.aa-pashto.aa-restored .aat-card h3 {
    font-size: 24px !important;
    line-height: 1.5 !important;
}

body.aa-pashto.aa-restored .aat-card-lead h3 {
    font-size: 30px !important;
}

body.aa-pashto.aa-restored .aat-card-compact h3 {
    font-size: 22px !important;
}

body.aa-pashto.aa-restored :is(
    .aat-article > header h1,
    .page-heading h1,
    .article-heading h1
) {
    font-size: 36px !important;
    line-height: 1.5 !important;
}

@media (max-width: 980px) {
    body.aa-pashto.aa-restored .aa-mobile-menu > summary {
        font-size: 22px !important;
        line-height: 1.6 !important;
    }

    body.aa-pashto.aa-restored .aa-mobile-menu .aat-menu :is(a, summary) {
        font-size: 23px !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 760px) {
    body.aa-pashto.aa-restored .aat-card h3 {
        font-size: 23px !important;
    }

    body.aa-pashto.aa-restored .aat-card-lead h3 {
        font-size: 27px !important;
    }

    body.aa-pashto.aa-restored .aat-card-compact h3 {
        font-size: 21px !important;
    }

    body.aa-pashto.aa-restored :is(
        .aat-article > header h1,
        .page-heading h1,
        .article-heading h1
    ) {
        font-size: 30px !important;
    }

    body.aa-pashto.aa-restored .nav-watch {
        font-size: 18px !important;
    }
}
