.aah-history{--navy:#071f41;--blue:#0969bd;--red:#d62136;--ink:#182b43;--muted:#526278;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;max-width:1240px;margin:24px auto;background:#fff;text-align:left}.aah-history *{box-sizing:border-box}.aah-history [hidden]{display:none!important}.aah-history h2,.aah-history h3,.aah-history p{margin-top:0}.aah-history a{color:#075aa7;text-underline-offset:4px}.aah-history button,.aah-history input,.aah-history select{font:inherit}.aah-history :focus-visible{outline:3px solid #f5ae3b;outline-offset:4px}.aah-hero{padding:60px 6% 0;background:radial-gradient(ellipse at 100% 0%,#124b7e 0,transparent 65%),var(--navy);color:white;border-bottom:5px solid var(--red);border-radius:12px 12px 0 0;overflow:hidden}.aah-eyebrow{display:block;font-size:12px;font-weight:700;letter-spacing:2px;color:var(--blue);margin-bottom:14px}.aah-hero .aah-eyebrow{color:#acd5fb}.aah-hero h2{font-family:Georgia,serif;color:#fff;font-size:clamp(38px,5.7vw,70px);font-weight:400;line-height:1.07;letter-spacing:-1.5px;margin-bottom:24px}.aah-hero>p{color:#d5e1ef;max-width:600px;font-size:18px}.aah-hero nav{display:flex;gap:16px;flex-wrap:wrap;margin:30px 0 48px}.aah-hero nav a{background:#fff;color:var(--navy);padding:12px 20px;border:1px solid #fff;text-decoration:none;font-weight:700;border-radius:4px}.aah-hero nav a+ a{background:transparent;color:#fff;border-color:#65809f}.aah-hero nav span{margin-left:18px}.aah-hero-bottom{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #ffffff30;padding:20px 0;font-size:11px;letter-spacing:1.5px;color:#c4d6e9}.aah-intro{display:grid;grid-template-columns:1fr 1.3fr;gap:50px;padding:48px 4%;background:#f7f8fa;border-bottom:1px solid #e0e7ed}.aah-intro h2,.aah-timeline-section>h2{font-family:Georgia,serif;font-size:34px;line-height:1.2;color:var(--navy)}.aah-intro p{margin:0;color:var(--muted)}.aah-leaders{padding:44px 4%}.aah-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.aah-section-head h2{font-size:27px;color:var(--navy);margin:0}.aah-section-head>span{font-size:13px;color:var(--muted)}.aah-controls{display:flex;gap:16px;align-items:end;margin-top:24px}.aah-controls label{display:block;font-size:12px;font-weight:700;flex:1;color:var(--muted)}.aah-controls input,.aah-controls select{display:block;width:100%;margin-top:6px;min-height:48px;border:1px solid #c8d3de;border-radius:5px;padding:10px 12px;background:#fff;color:var(--ink);font-size:15px}.aah-controls button{min-height:48px;background:var(--navy);color:white;border:0;border-radius:5px;padding:10px 20px;cursor:pointer}.aah-results{color:var(--muted);font-size:12px;margin:14px 0}.aah-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.aah-card{border:1px solid #dce4ec;border-radius:8px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0}.aah-portrait{position:relative;background:#e9e8e3;height:258px;border-bottom:1px solid #dde4eb}.aah-portrait img{display:block;height:100%;width:100%;object-fit:contain;object-position:center}.aah-era-tag{position:absolute;left:12px;bottom:12px;background:var(--navy);color:#fff;padding:4px 9px;font-size:10px;text-transform:uppercase;letter-spacing:.6px;border-radius:3px}.aah-missing{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;padding:20px 20px 45px;color:#586477;background:linear-gradient(145deg,#eef1f5,#dbe3eb)}.aah-missing>span:first-child{font-family:Georgia,serif;font-size:54px;line-height:1.3;color:#9aabbd}.aah-missing>span:nth-child(2){font-size:14px;font-weight:700}.aah-missing small{font-size:11px;text-align:center}.aah-card-body{padding:22px;display:flex;flex-direction:column;flex:1}.aah-term{font-size:12px;font-weight:700;color:#b71c30;letter-spacing:.3px;margin-bottom:9px}.aah-card h3{font-family:Georgia,serif;font-weight:700;color:var(--navy);font-size:25px;line-height:1.2;margin-bottom:8px}.aah-role{font-size:12px;font-weight:700;color:#4c617a;margin-bottom:16px}.aah-bio{font-size:14px;line-height:1.75}.aah-bio p{margin-bottom:18px}.aah-credit{font-size:11px;color:var(--muted);margin-top:auto;border-top:1px solid #e6ebef;padding-top:12px;overflow-wrap:anywhere}.aah-credit summary,.aah-context summary{cursor:pointer;font-weight:700}.aah-credit p{margin:8px 0}.aah-context{background:#f3f6f9;border-left:3px solid var(--blue);padding:20px 24px;margin-top:32px;font-size:14px}.aah-context p{margin-top:16px}.aah-timeline-section{background:var(--navy);color:#d3dfeb;padding:52px 7%;border-top:5px solid var(--red)}.aah-timeline-section>.aah-eyebrow{color:#86bdee}.aah-timeline-section>h2{color:#fff;font-size:42px;margin-bottom:16px}.aah-timeline-intro{max-width:650px}.aah-timeline{list-style:none!important;padding:0!important;margin:36px 0 0!important}.aah-timeline li{display:grid;grid-template-columns:135px 1fr;gap:25px;list-style:none;margin:0;padding:0}.aah-year{color:#99c9f3;font-size:14px;font-weight:700;padding-top:3px}.aah-timeline li>div{border-left:1px solid #45617f;padding:0 0 30px 30px;position:relative}.aah-timeline li>div:before{content:'';position:absolute;left:-6px;top:7px;border-radius:50%;width:11px;height:11px;background:#ee3a4f;border:2px solid var(--navy)}.aah-timeline h3{font-size:20px;color:#fff;line-height:1.4;margin-bottom:8px}.aah-timeline p{font-size:14px;margin-bottom:8px;max-width:720px}.aah-timeline a{color:#aacff1;font-size:11px}.aah-footer{padding:36px 6%;background:#f1f4f7;font-size:14px}.aah-footer strong{font-family:Georgia,serif;font-size:24px;color:var(--navy)}.aah-footer p{margin-top:12px;max-width:800px}.aah-footer p:last-child{font-size:11px;color:var(--muted)}@media(max-width:900px){.aah-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aah-intro{gap:25px}.aah-card-body{padding:18px}}@media(max-width:580px){.aah-history{margin:0}.aah-hero{padding:35px 22px 0;border-radius:0}.aah-hero>p{font-size:16px}.aah-hero nav{margin-bottom:30px;gap:10px}.aah-hero nav a{padding:10px 14px;font-size:13px}.aah-hero-bottom{flex-direction:column;gap:4px}.aah-intro{display:block;padding:30px 22px}.aah-intro h2{font-size:29px}.aah-leaders{padding:30px 18px}.aah-section-head{align-items:start;flex-direction:column;gap:3px}.aah-controls{flex-wrap:wrap;gap:10px}.aah-controls label:first-child{flex-basis:100%}.aah-controls label:nth-child(2){min-width:0}.aah-controls button{padding:10px 14px}.aah-grid{grid-template-columns:1fr;gap:20px}.aah-portrait{height:300px}.aah-card-body{padding:22px}.aah-card h3{font-size:28px}.aah-timeline-section{padding:35px 22px}.aah-timeline-section>h2{font-size:34px}.aah-timeline li{grid-template-columns:76px 1fr;gap:10px}.aah-year{font-size:12px}.aah-timeline li>div{padding-left:20px}.aah-timeline h3{font-size:18px}.aah-context{padding:18px}.aah-footer{padding:28px 22px}}@media(prefers-reduced-motion:reduce){.aah-history *{scroll-behavior:auto!important}}@media print{.aah-controls,.aah-hero nav{display:none!important}.aah-card{break-inside:avoid}.aah-grid{grid-template-columns:repeat(2,1fr)}.aah-timeline-section{background:#fff;color:#222}.aah-timeline-section h2,.aah-timeline h3,.aah-year{color:#111}}

.aah-image-kind{position:absolute;top:10px;right:10px;left:10px;width:fit-content;max-width:calc(100% - 20px);background:#fff;color:#334963;padding:4px 8px;border-radius:3px;font-size:10px;border:1px solid #d3dbe3}

/* Cricket history page */
.aah-cricket-hero{background:linear-gradient(135deg,#061b36 0%,#0a2b52 58%,#0d6b4d 100%)}
.aah-cricket-summary{padding:64px 0}
.aah-cricket-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:28px 0 38px}
.aah-cricket-stats article{background:#fff;border:1px solid rgba(7,29,55,.12);border-radius:18px;padding:24px;box-shadow:0 8px 30px rgba(7,29,55,.06)}
.aah-cricket-stats strong{display:block;font-size:32px;line-height:1;color:#0b6b50;margin-bottom:10px}
.aah-cricket-stats span{font-size:14px;font-weight:700;color:#23354a}
.aah-cricket-copy{columns:2;column-gap:42px;font-size:16px;line-height:1.75;color:#405166}
.aah-cricket-copy p{break-inside:avoid;margin-top:0;margin-bottom:20px}
@media(max-width:800px){.aah-cricket-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.aah-cricket-copy{columns:1}}
@media(max-width:480px){.aah-cricket-stats{grid-template-columns:1fr}}

/* v1.2.4 — leader key achievement */
.aah-achievement{margin:18px 0 4px;padding:14px 16px;border-left:4px solid currentColor;background:rgba(15,45,80,.055);border-radius:4px}.aah-achievement strong{display:block;margin-bottom:6px;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}.aah-achievement p{margin:0;line-height:1.55}

/* v1.3.0 — History of Islam */
.aah-islam-hero{background:radial-gradient(circle at 85% 15%,rgba(194,155,74,.24),transparent 32%),linear-gradient(135deg,#071f2b 0%,#0b3b35 58%,#102a42 100%);border-bottom-color:#c49a4a}.aah-islam-section{background:#fbfaf6}.aah-islam-note{max-width:820px;color:var(--muted);font-size:14px;margin:16px 0 28px;padding:14px 18px;background:#f3f0e6;border-left:3px solid #b58a3a}.aah-islam-namepanel{height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:radial-gradient(circle at 50% 30%,#174c43,#082e2b 72%);color:#fff;border-bottom:4px solid #c49a4a;padding:20px}.aah-islam-namepanel>span{font-family:Georgia,'Times New Roman',serif;font-size:42px;line-height:1.25;direction:rtl}.aah-islam-namepanel small{margin-top:13px;font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:#d9c899}.aah-caliph-namepanel{background:radial-gradient(circle at 50% 30%,#173f62,#071f41 72%)}.aah-quran-ref{margin-top:auto;padding:13px 15px;background:#f4f7f5;border-left:4px solid #27755d;border-radius:4px}.aah-quran-ref strong{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#1e5c49}.aah-quran-ref p{margin:4px 0 0;font-size:13px}.aah-caliph-section{border-top:1px solid #e1e7e4}.aah-islam-history .aah-timeline-section{border-top-color:#c49a4a}.aah-islam-history .aah-timeline li>div:before{background:#c49a4a}@media(max-width:580px){.aah-islam-namepanel{height:180px}.aah-islam-namepanel>span{font-size:38px}}

/* v1.4.1 — expanded Qur’an-first prophet stories */
.aah-full-story{margin:2px 0 18px;border:1px solid #d8e2dc;border-radius:6px;background:#fff}.aah-full-story summary{cursor:pointer;padding:12px 14px;font-weight:700;color:#155c49;list-style:none}.aah-full-story summary::-webkit-details-marker{display:none}.aah-full-story summary span{float:right}.aah-full-story[open] summary{border-bottom:1px solid #e3e9e5}.aah-full-story-body{padding:15px 16px 5px;background:#fbfcfb}.aah-full-story-body h4{margin:0 0 5px;color:#173e35;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.aah-full-story-body p{font-size:14px;line-height:1.7;margin:0 0 15px}

/* v1.5.0 — History of the Pashtuns */
.aah-pashtun-hero{background:radial-gradient(circle at 86% 18%,rgba(34,145,93,.22),transparent 34%),linear-gradient(135deg,#071f41 0%,#103653 54%,#124c3d 100%);border-bottom-color:#169b62}.aah-pashtun-section{background:#f8faf9}.aah-pashtun-note{max-width:900px;margin:18px 0 28px;padding:15px 18px;background:#edf6f1;border-left:4px solid #169b62;color:var(--muted);font-size:14px}.aah-tribe-namepanel{height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;background:linear-gradient(145deg,#0c2947,#15533f);color:#fff;border-bottom:4px solid #169b62}.aah-tribe-namepanel>span{font-family:Georgia,serif;font-size:28px;line-height:1.2}.aah-tribe-namepanel small{margin-top:10px;text-transform:uppercase;letter-spacing:1px;color:#c9e8d8;font-size:10px}.aah-pashtun-history .aah-history-source{border-left-color:#169b62}.aah-pashtun-culture{padding:48px 4%;background:#fff}.aah-pashtun-culture>h2{font-family:Georgia,serif;font-size:34px;color:var(--navy)}.aah-culture-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.aah-culture-grid article{padding:24px;border:1px solid #dce6e1;border-radius:8px;background:#fbfdfc}.aah-culture-grid h3{font-family:Georgia,serif;color:var(--navy);font-size:23px}.aah-culture-grid p{color:var(--muted);font-size:14px}.aah-pashtun-history .aah-timeline-section{border-top-color:#169b62}.aah-pashtun-history .aah-timeline li>div:before{background:#169b62}@media(max-width:760px){.aah-culture-grid{grid-template-columns:1fr}.aah-tribe-namepanel{height:145px}}

/* v1.6.0 — expanded Pashto language, figures and conflicts */
.aah-language-timeline{background:linear-gradient(135deg,#08253f,#0c4a3a);border-top-color:#35b779}.aah-wars-timeline{background:linear-gradient(135deg,#24151a,#54242b 55%,#17283b);border-top-color:#d54a4a}.aah-wars-timeline .aah-timeline li>div:before{background:#e05252}.aah-figures-section{padding:48px 4%;background:#f4f7f8}.aah-figure-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.aah-figure-card .aah-portrait{height:310px;background:#e8edf0}.aah-figure-card .aah-portrait img{object-fit:cover;object-position:top center}.aah-figure-card .aah-credit a{color:#155c49;font-weight:700}.aah-figures-section .aah-section-head h2{font-family:Georgia,serif;color:var(--navy);font-size:34px}.aah-pashtun-history .aah-hero nav{flex-wrap:wrap}@media(max-width:900px){.aah-figure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.aah-figure-grid{grid-template-columns:1fr}.aah-figure-card .aah-portrait{height:360px}.aah-figures-section{padding:32px 18px}}


/* v1.6.2 — interactive Pashtun tribal tree */
.aah-tribal-tree{margin:30px 0 38px;padding:28px;border:1px solid #d7e5df;border-radius:12px;background:linear-gradient(180deg,#fff,#f5faf7);box-shadow:0 12px 32px rgba(7,31,65,.06)}
.aah-tree-head{max-width:850px;margin-bottom:24px}.aah-tree-head h3{font-family:Georgia,serif;font-size:32px;line-height:1.15;color:var(--navy);margin-bottom:10px}.aah-tree-head p{color:var(--muted);font-size:14px}
.aah-tree-root{width:min(360px,100%);margin:0 auto 30px;padding:18px;text-align:center;background:var(--navy);color:#fff;border-radius:8px;position:relative}.aah-tree-root:after{content:'';position:absolute;left:50%;bottom:-31px;height:31px;border-left:2px solid #9eb8ac}.aah-tree-root span{display:block;font-family:Georgia,serif;font-size:20px}.aah-tree-root small{display:block;margin-top:4px;color:#bdd4ca;text-transform:uppercase;letter-spacing:.8px;font-size:9px}
.aah-tree-branches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;position:relative;margin-top:30px}.aah-tree-branches:before{content:'';position:absolute;left:12.5%;right:12.5%;top:-15px;border-top:2px solid #9eb8ac}.aah-tree-branch{border:1px solid #cfe0d8;border-radius:8px;background:#fff;min-width:0;position:relative}.aah-tree-branch:before{content:'';position:absolute;left:50%;top:-16px;height:15px;border-left:2px solid #9eb8ac}.aah-tree-branch summary{cursor:pointer;list-style:none;padding:15px 16px;display:flex;justify-content:space-between;gap:8px;align-items:center;color:#0e4c3b}.aah-tree-branch summary::-webkit-details-marker{display:none}.aah-tree-branch summary strong{font-family:Georgia,serif;font-size:19px}.aah-tree-branch summary span{font-size:9px;text-transform:uppercase;letter-spacing:.5px;color:#71867d}.aah-tree-branch[open] summary{border-bottom:1px solid #e2ebe7}.aah-tree-content{padding:15px;font-size:13px;color:var(--muted)}.aah-tree-content p{margin-bottom:12px}.aah-tree-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.aah-tree-chips span{padding:5px 8px;background:#edf6f1;color:#174f40;border-radius:99px;font-size:10px;font-weight:700}.aah-tree-content .aah-source a,.aah-durrani-tree .aah-source a{font-size:11px;font-weight:700;color:#126344}
.aah-durrani-tree{margin-top:28px;padding:22px;background:#0b2944;color:#e7f1ed;border-radius:10px;border-top:4px solid #169b62}.aah-durrani-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.aah-durrani-title strong{font-family:Georgia,serif;font-size:21px;color:#fff}.aah-durrani-title span{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#a9c8bd}.aah-durrani-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}.aah-durrani-cols details{background:#123a59;border:1px solid #31556f;border-radius:7px;overflow:hidden}.aah-durrani-cols summary{cursor:pointer;padding:13px 15px;font-weight:700;color:#fff}.aah-durrani-cols details>div{padding:0 15px 15px;display:flex;flex-wrap:wrap;gap:7px}.aah-durrani-cols details span{background:#f3f8f5;color:#153c31;padding:6px 9px;border-radius:4px;font-size:11px;font-weight:700}.aah-durrani-cols details small{display:block;flex-basis:100%;color:#bed0d9;margin-top:7px;line-height:1.5}.aah-dynasty-line{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.aah-dynasty-line span{padding:11px 12px;background:#071f35;border-radius:5px;font-size:12px;color:#d7e6e0}.aah-durrani-tree .aah-source{margin:0}.aah-durrani-tree .aah-source a{color:#8fd6b4}
@media(max-width:900px){.aah-tree-branches{grid-template-columns:repeat(2,minmax(0,1fr))}.aah-tree-branches:before,.aah-tree-branch:before,.aah-tree-root:after{display:none}.aah-durrani-cols,.aah-dynasty-line{grid-template-columns:1fr}}
@media(max-width:580px){.aah-tribal-tree{padding:18px;margin-left:-2px;margin-right:-2px}.aah-tree-head h3{font-size:27px}.aah-tree-branches{grid-template-columns:1fr}.aah-durrani-title{align-items:flex-start;flex-direction:column}.aah-durrani-tree{padding:16px}}

/* v1.7.1 Pashto Poetry & Literature */
.aah-poetry-section{padding:70px 0}.aah-poetry-genres{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0 30px}.aah-poetry-genres article{background:#f6f1e7;border:1px solid #e5dccb;border-radius:16px;padding:20px}.aah-poetry-genres b{display:block;font-size:18px;margin-bottom:8px}.aah-poetry-genres span{font-size:14px;line-height:1.6;color:#555}.aah-poet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.aah-poet-namepanel{min-height:130px;padding:24px;background:linear-gradient(135deg,#0c2740,#173e5d);display:flex;flex-direction:column;justify-content:flex-end;color:#fff}.aah-poet-namepanel span{font-size:25px;font-weight:800;direction:rtl;text-align:left}.aah-poet-namepanel small{margin-top:8px;text-transform:uppercase;letter-spacing:.08em;opacity:.75}.aah-poet-work{margin-top:16px;padding:14px;background:#f7f7f5;border-left:3px solid #b89b5e}.aah-poet-work strong{font-size:12px;text-transform:uppercase;letter-spacing:.06em}.aah-poet-work p{margin:6px 0 0}.aah-poetry-note{margin-top:28px;padding:24px;border-radius:18px;background:#102c43;color:#fff}.aah-poetry-note a{color:#f2d18b}@media(max-width:900px){.aah-poetry-genres{grid-template-columns:repeat(2,1fr)}.aah-poet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.aah-poetry-genres,.aah-poet-grid{grid-template-columns:1fr}.aah-poetry-section{padding:45px 0}}
