/* Additive V2 language layout. Existing brand and content styles remain intact. */
[hidden]{display:none!important}
.topbar{gap:16px}
.topbar .brand{flex-shrink:0}
.topbar .nav{gap:clamp(8px,1.05vw,18px);font-size:12px}
.topbar .header-actions{flex-shrink:0;gap:10px}
.language-menu .language-trigger{width:auto;max-width:none;height:44px;min-height:44px;gap:8px;padding:8px 12px;display:flex;align-items:center}
.language-trigger .language-current{display:inline!important;white-space:nowrap}
.language-trigger .language-chevron{display:inline-flex!important;align-items:center;width:12px;height:12px}
.language-chevron svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8}
.amv2-icon{width:24px!important;height:18px!important;object-fit:contain;display:inline-block;flex:0 0 24px;transform:none!important;filter:none!important;border-radius:2px}
.language-menu .language-dropdown{width:200px;position:absolute;top:calc(100% + 10px);inset-inline-end:0;inset-inline-start:auto;left:auto;right:0;padding:6px;border-radius:12px;max-height:min(520px,calc(100dvh - 105px));overflow:auto}
.language-menu.open .language-dropdown{opacity:1;visibility:visible;transform:none}
.language-dropdown a{display:flex;justify-content:flex-start;align-items:center;gap:9px;min-height:44px;padding:9px 8px}
.language-dropdown .amv2-name{flex:1}
.amv2-check{margin-inline-start:auto;font-size:14px;line-height:1;min-width:12px}
.amv2-mobile-languages{display:none}
.language-menu a:focus-visible,.language-trigger:focus-visible,.amv2-mobile-languages a:focus-visible,.menu:focus-visible,.nav>a:focus-visible,.amv2-nojs-languages a:focus-visible{outline:3px solid #00b8d9;outline-offset:3px}
html[dir=rtl] .language-menu .language-dropdown{left:0;right:auto;inset-inline-start:auto;inset-inline-end:0}
html[dir=rtl] .amv2-icon,html[dir=rtl] .brand-logo-image,html[dir=rtl] .africa-map-svg{transform:none!important}
html[dir=rtl] a[href^="mailto:"],html[dir=rtl] a[href^="tel:"],html[dir=rtl] a[href^="https://wa.me/"],html[dir=rtl] input[type="email"],html[dir=rtl] input[type="tel"],html[dir=rtl] input[type="url"]{direction:ltr;unicode-bidi:isolate;text-align:start;overflow-wrap:anywhere}
html[dir=rtl] .form-honeypot{left:0!important;right:auto!important;clip-path:inset(50%)}
.amv2-nojs-languages{padding:18px 5vw;display:flex;flex-wrap:wrap;gap:12px;background:#fff;color:#162b42}
.amv2-nojs-languages a{display:flex;align-items:center;gap:6px;padding:10px;border:1px solid #dce2df;border-radius:6px}
.amv2-error-languages{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:24px}
.amv2-error-languages a{display:flex;align-items:center;gap:6px;border:1px solid #4b5864;padding:10px;border-radius:6px}
@media(min-width:1181px){
  .topbar .nav{display:flex!important;position:static;flex-direction:row;align-items:center;padding:0;max-height:none;overflow:visible;background:transparent}
  .topbar .menu{display:none!important}
  .topbar .nav>a{padding:8px 0;white-space:nowrap}
  .language-menu{display:block}
}
@media(min-width:1181px) and (max-width:1480px){
  .topbar{padding-inline:2.5vw;gap:12px}
  .topbar .nav{font-size:11px;gap:9px}
  .topbar .header-actions>.btn-small{display:none}
}
@media(max-width:1180px){
  .topbar{min-height:82px;height:82px;padding-inline:22px}
  .topbar .language-menu{display:none}
  .topbar .menu{display:block!important;min-width:44px;min-height:44px}
  .topbar .nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 82px);overflow:auto;overscroll-behavior:contain;padding:18px 22px 24px;background:var(--ink,#071a18);flex-direction:column;align-items:stretch;gap:0;font-size:14px}
  .topbar .nav.open{display:flex}
  .topbar .nav>a{padding:11px 4px;min-height:44px;display:flex;align-items:center;white-space:normal}
  .amv2-mobile-languages{display:block;margin-top:16px;border-top:1px solid rgba(255,255,255,.2);padding-top:18px}
  .amv2-mobile-languages p{margin:0 0 12px;font-size:12px;color:#c4d1cd}
  .amv2-language-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .amv2-language-grid a{display:flex;align-items:center;justify-content:flex-start;gap:7px;min-width:0;min-height:48px;padding:8px!important;font-size:12px;border:1px solid rgba(255,255,255,.2);border-radius:8px}
  .amv2-language-grid a[aria-current=page]{border-color:#00b8d9;background:rgba(0,184,217,.14)}
  .amv2-language-grid .amv2-name{min-width:0;overflow-wrap:anywhere}
  .amv2-language-grid .amv2-check{display:none}
  .nav-open{overflow:hidden}
}
@media(max-width:359px){.amv2-language-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.language-dropdown,.language-chevron{transition:none!important}}

/* P07 V2 MOBILE-CONTRAST-R1: mobile surface and interaction colors only. */
@media(max-width:1180px){
  .topbar .nav{background:#fff;color:#0e1e34}
  .topbar .nav>a,.topbar .amv2-language-grid a{color:#0e1e34}
  .topbar .nav>a:is(:hover,:focus-visible,.active,[aria-current="page"],[aria-current="true"]),
  .topbar .amv2-language-grid a:is(:hover,:focus-visible,[aria-current="page"]){color:#07366b}
  .topbar .amv2-mobile-languages{border-top-color:#dce5ed}
  .topbar .amv2-mobile-languages p{color:#536477}
  .topbar .amv2-language-grid a{border-color:#dce5ed}
  .topbar .amv2-language-grid a[aria-current="page"]{border-color:#07366b}
  .topbar .nav>a:focus-visible,.topbar .amv2-language-grid a:focus-visible,.topbar .menu:focus-visible{outline:3px solid #07366b!important;outline-offset:3px}
}

/* P07 V2 MENU-READABILITY-FOCUS-R2: scoped menu paint and scrollport fixes. */
@media(max-width:1180px){
  .topbar .menu{color:#07366b}
  .topbar .nav{max-height:calc(100dvh - 100%)}
  .topbar .nav>a:focus-visible,
  .topbar .amv2-language-grid a:focus-visible{outline-offset:-3px}
}
@media(min-width:1181px){
  .topbar .language-dropdown a:hover{color:#07366b}
  .topbar .language-trigger:focus-visible,
  .topbar .language-dropdown a:focus-visible,
  .topbar .nav>a:focus-visible{outline:3px solid #07366b!important;outline-offset:3px}
}

/* P07 V2 RESPONSIVE-READABILITY-R3: narrow heading wrap and desktop navigation contrast. */
@media(max-width:390px){
  body.home-page .section h2{overflow-wrap:anywhere}
}
@media(min-width:1181px){
  .topbar .nav>a:is(:hover,:focus-visible,.active,[aria-current="page"],[aria-current="true"]){color:#00788f}
}


/* P07 R4 VISUAL BRAND CONSISTENCY - isolated candidate, affects presentation only.
   Preserves R3 responsive/menu/focus baseline; neutral logo plates, typography scale.
   Deliberately does not flatten dark media sections or change text semantics. */
:root{
  --am-r4-ink:#0e1e34;
  --am-r4-muted:#43566b;
  --am-r4-plate:#ffffff;
  --am-r4-line:#dfe6ed;
  --am-r4-h1:clamp(40px,4.15vw,64px);
  --am-r4-h2:clamp(30px,3.05vw,46px);
}
body.home-page,body.corporate-page{
  font-family:Manrope,Arial,sans-serif;
}
body.home-page .hero h1,
body.corporate-page .sub-hero h1{
  font-family:Manrope,Arial,sans-serif;
  font-size:var(--am-r4-h1);
  font-weight:800;
  line-height:1.12;
  letter-spacing:-.035em;
  overflow-wrap:break-word;
  max-width:100%;
}
body.home-page .section-head h2,
body.corporate-page .section-head h2{
  font-family:Manrope,Arial,sans-serif;
  font-size:var(--am-r4-h2);
  line-height:1.2;
  font-weight:750;
  letter-spacing:-.025em;
  max-width:100%;
  overflow-wrap:break-word;
}
body.corporate-page .sub-lead,
body.corporate-page .sub-description{
  font-family:Manrope,Arial,sans-serif;
  line-height:1.65;
}
html[dir="rtl"] body.home-page,
html[dir="rtl"] body.corporate-page{
  font-family:"Noto Kufi Arabic",Manrope,Arial,sans-serif;
}
html[dir="rtl"] body.home-page .hero h1,
html[dir="rtl"] body.corporate-page .sub-hero h1,
html[dir="rtl"] body.home-page .section-head h2,
html[dir="rtl"] body.corporate-page .section-head h2{
  font-family:"Noto Kufi Arabic",Manrope,Arial,sans-serif;
  font-weight:700;
  letter-spacing:normal;
  line-height:1.4;
}
html[dir="rtl"] body.home-page .hero h1,
html[dir="rtl"] body.corporate-page .sub-hero h1{
  font-size:clamp(34px,3.4vw,52px);
}
/* Constant opaque white logo backplates, including the dark site footer. */
body.home-page .ecosystem-card > img{
  display:block;
  width:100%;
  height:156px;
  max-width:100%;
  box-sizing:border-box;
  object-fit:contain;
  padding:18px 24px;
  background:var(--am-r4-plate)!important;
  border:1px solid var(--am-r4-line);
  border-radius:12px;
}
body.home-page .ecosystem-card{
  min-width:0;
  overflow-wrap:break-word;
}
body.home-page .media-cards .logo-card{
  background:var(--am-r4-plate);
}
body.home-page .media-cards .logo-card img{
  object-fit:contain;
  background:var(--am-r4-plate);
}
.topbar .brand, .footer-main .footer-brand{
  background:var(--am-r4-plate);
  border-radius:10px;
}
.footer-main .footer-brand{
  display:inline-flex;
  padding:7px 12px;
  max-width:100%;
  box-sizing:border-box;
}
@media(max-width:620px){
  body.home-page .hero h1,
  body.corporate-page .sub-hero h1{font-size:40px;line-height:1.16}
  body.home-page .section-head h2,
  body.corporate-page .section-head h2{font-size:30px;line-height:1.28}
  html[dir="rtl"] body.home-page .hero h1,
  html[dir="rtl"] body.corporate-page .sub-hero h1{font-size:34px;line-height:1.45}
  body.home-page .ecosystem-card > img{height:130px;padding:15px 18px}
}


/* P07 R4B: applies typography to older plain-body subpages without changing cards. */
body main .sub-hero h1,
body main .country-detail-hero h1{
  font-family:Manrope,Arial,sans-serif;
  font-size:var(--am-r4-h1);
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.035em;
  overflow-wrap:break-word;
  max-width:100%;
}
html[dir="rtl"] body main .sub-hero h1,
html[dir="rtl"] body main .country-detail-hero h1{
  font-family:"Noto Kufi Arabic",Manrope,Arial,sans-serif;
  font-size:clamp(34px,3.4vw,52px);
  letter-spacing:normal;
  font-weight:700;
  line-height:1.4;
}
body main .section-heading h2,
body main .section-head h2,
body main .sub-cta h2{
  font-family:Manrope,Arial,sans-serif;
  font-size:var(--am-r4-h2);
  line-height:1.2;
  letter-spacing:-.025em;
  overflow-wrap:break-word;
  max-width:100%;
}
html[dir="rtl"] body main .section-heading h2,
html[dir="rtl"] body main .section-head h2,
html[dir="rtl"] body main .sub-cta h2{
  font-family:"Noto Kufi Arabic",Manrope,Arial,sans-serif;
  letter-spacing:normal;
  line-height:1.4;
}
@media(max-width:620px){
  body main .sub-hero h1,
  body main .country-detail-hero h1{font-size:40px;line-height:1.16}
  html[dir="rtl"] body main .sub-hero h1,
  html[dir="rtl"] body main .country-detail-hero h1{font-size:34px;line-height:1.45}
  body main .section-heading h2,
  body main .section-head h2,
  body main .sub-cta h2{font-size:30px;line-height:1.28}
}


/* P07 R4C: measured readable light/dark section text; no global recoloring. */
body main .sub-hero .sub-description{
  color:#43566b!important;
  opacity:1;
}
body main .sub-hero .eyebrow,
body.home-page .hero .eyebrow,
body.home-page main section:not(.service-section):not(.process-band):not(.cta) .eyebrow{
  color:#9c4a00!important;
}
body.home-page .media-cards .logo-card small,
body.home-page .case-grid article small{
  color:#9c4a00!important;
}
body.home-page .ecosystem-card small{color:#43566b!important;}
body .services-intro .eyebrow,
body .services-deliverables .eyebrow{color:#9c4a00!important;}
body .services-specialties .section-heading h2{color:#ffffff!important;}
body .services-specialties .eyebrow{color:#ffdfb0!important;}
body .services-process .eyebrow{color:#0e1e34!important;}


/* P07 R6A visual-UX | reviewed against 11 user-provided full-page captures.
   Keep R5 live application, heading scale, RTL, forms, JS, R4 logos intact.
   Surfaces: brand navy #07366b, pale #f3f6fa, white, orange #f58200.
   The former pure black and screenshot cyan must not remain as page fills. */
:root{
  --p07-r6-navy:#07366b;
  --p07-r6-ink:#0e1e34;
  --p07-r6-surface:#f3f6fa;
  --p07-r6-surface2:#e7eef5;
  --p07-r6-warm:#f58200;
  --p07-r6-brown:#9c4a00;
}
body main .sub-cta,
body main .services-process{
  background:var(--p07-r6-surface)!important;
  color:var(--p07-r6-ink)!important;
}
body main .sub-cta :is(h2,p),
body main .services-process :is(h2,p,b,span){
  color:var(--p07-r6-ink)!important;
}
body main .sub-cta h2,
body main .services-process .section-heading h2{
  color:var(--p07-r6-navy)!important;
}
body main .services-process .eyebrow{
  color:var(--p07-r6-brown)!important;
}
body main .process-strip{
  background:#d2dfeb!important;
  border-color:#d2dfeb!important;
}
body main .process-strip li{
  background:#fff!important;
  color:var(--p07-r6-ink)!important;
  border-color:#d2dfeb!important;
}
body main .services-specialties{
  background:var(--p07-r6-navy)!important;
  color:#fff!important;
}
body main .services-specialties .section-heading h2{
  color:#fff!important;
}
body main .services-specialties .eyebrow{
  color:#ffddae!important;
}
body main .services-specialties .service-specialty{
  background:#fff!important;
  color:var(--p07-r6-ink)!important;
  border:1px solid #dbe4ee!important;
}
body main .services-specialties .service-specialty :is(h3,p,span){
  color:var(--p07-r6-ink)!important;
}
body main .services-specialties .service-specialty:is(:hover,:focus-visible,:focus-within){
  background:#e7eef5!important;
  border-color:var(--p07-r6-warm)!important;
}
body main .services-specialties .service-specialty:is(:hover,:focus-visible,:focus-within) :is(h3,p,span){
  color:var(--p07-r6-ink)!important;
}
body main .sub-cta .btn,
body main .sub-cta a.btn{
  background:var(--p07-r6-navy)!important;
  color:#fff!important;
  border-color:var(--p07-r6-navy)!important;
}
body main .sub-cta .btn:is(:hover,:focus-visible),
body main .sub-cta a.btn:is(:hover,:focus-visible){
  background:var(--p07-r6-warm)!important;
  color:var(--p07-r6-ink)!important;
  border-color:var(--p07-r6-warm)!important;
}
body main .sub-cta .btn:focus-visible,
body main .services-specialties a:focus-visible,
body main .email-directory a:focus-visible{
  outline:3px solid var(--p07-r6-warm)!important;
  outline-offset:3px;
}
body main .email-directory a{
  background:var(--p07-r6-navy)!important;
  color:#fff!important;
  border:1px solid #315b8a;
}
body main .email-directory a span{
  color:#dce8f5!important;
}
body main .email-directory a b{
  color:#fff!important;
}
body main .email-directory a:is(:hover,:focus-visible){
  background:var(--p07-r6-warm)!important;
  border-color:var(--p07-r6-warm)!important;
  color:var(--p07-r6-ink)!important;
}
body main .email-directory a:is(:hover,:focus-visible) :is(span,b){
  color:var(--p07-r6-ink)!important;
}
body main :is(.detail-card,.country-card,.service-specialty-link,.country-profile-card,.related-services a,.service-related a,.service-card a):is(:hover,:focus-visible,:focus-within){
  border-color:var(--p07-r6-warm)!important;
}
body main :is(.detail-card,.country-card,.service-specialty-link,.country-profile-card,.related-services a,.service-related a,.service-card a):is(:hover,:focus-visible,:focus-within) :is(h2,h3,p,small,strong){
  color:var(--p07-r6-ink)!important;
}
body main .ecosystem-grid .ecosystem-card:is(:hover,:focus-visible){
  background:var(--p07-r6-surface)!important;
  border-color:var(--p07-r6-warm)!important;
}
body main .ecosystem-grid .ecosystem-card:is(:hover,:focus-visible) :is(small,strong,p){
  color:var(--p07-r6-ink)!important;
}
@media(max-width:620px){
  body main .sub-cta{gap:1rem}
  body main .sub-cta .btn{max-width:100%;white-space:normal;text-align:center}
  body main .process-strip li{min-width:0;overflow-wrap:anywhere}
}

/* P07 R6A 320px inherited CTA grid minimum overflow: fix without clipping. */
@media(max-width:359px){
  body.home-page .cta{grid-template-columns:minmax(0,1fr)!important}
  body.home-page .cta > *{min-width:0;max-width:100%}
  body.home-page .cta form{min-width:0;max-width:100%}
  body.home-page .cta :is(input,select,textarea,button){max-width:100%;box-sizing:border-box}
}

/* R6UX exact 320px CTA heading wrapping - no clipping. */
@media(max-width:359px){body.home-page .cta h2{overflow-wrap:anywhere;word-break:normal}}


/* P07 R6UX4: measured contrast fixes from uploaded Benin/partner/home screenshots.
   Scope only: Niamey accent-card on navy, orange action labels, country hero text. */
body.home-page .contact-center-card.accent-card h3,
body.home-page .contact-center-card.accent-card .contact-links a{
  color:#ffffff!important;
}
body.home-page .contact-center-card.accent-card .contact-links a:is(:hover,:focus-visible){
  color:#ffdfb0!important;
}
body.home-page .contact-center-card.accent-card .contact-links a:focus-visible{
  outline:3px solid #ffdfb0!important;outline-offset:3px;
}
body main .country-detail-hero .sub-description{
  color:#43566b!important;opacity:1;
}
body main .country-detail-hero .eyebrow{
  color:#9c4a00!important;
}
body main .hero-actions a.btn:not(.dark-btn):not(.light-btn),
body main .country-research-cta a.btn,
body main .sub-form form.detail-form button.btn{
  color:#0e1e34!important;
}
body main .hero-actions a.btn:not(.dark-btn):not(.light-btn):is(:hover,:focus-visible),
body main .country-research-cta a.btn:is(:hover,:focus-visible),
body main .sub-form form.detail-form button.btn:is(:hover,:focus-visible){
  color:#0e1e34!important;
}

/* R15: natural language names share one alignment without flags. */
.language-menu .language-dropdown a{direction:ltr;text-align:left;justify-content:flex-start}.language-dropdown .amv2-name{flex:1;text-align:left;unicode-bidi:isolate}
