/* AFRIDOM promo v2 (2026-11-29): compact bordered card from the owner's reference. */
.afx-promo{box-sizing:border-box;max-width:680px;margin:0 auto 24px;padding:30px 24px 22px;border:1px solid rgba(255,255,255,.14);border-radius:16px;
 background:rgba(255,255,255,.02);color:inherit;text-align:center;
 font-family:Inter,"Segoe UI",system-ui,-apple-system,Roboto,"Noto Sans Ethiopic","Nyala","Noto Sans Arabic",sans-serif}
.afx-promo *{box-sizing:border-box}
.afx-promo h3{margin:0 0 12px;font-family:inherit;font-size:clamp(22px,3.6vw,32px);font-weight:700;line-height:1.2;letter-spacing:-.01em;color:inherit}
.afx-promo .afx-sub{margin:0 0 16px;font-size:14px;line-height:1.5;opacity:.72;color:inherit}
.afx-promo .afx-cta{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 18px;border-radius:999px;background:#fff;color:#111;
 font-size:14px;font-weight:600;text-decoration:none;border:0}
.afx-promo .afx-cta:hover{background:#f0f0f0}
.afx-promo a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.afx-promo .afx-community{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 10px;margin:18px 0 14px}
.afx-promo .afx-community img,.afx-promo .afx-community svg{display:block;width:128px;height:auto}
.afx-promo .afx-community span{font-size:14px;opacity:.85}
.afx-promo .afx-tag{margin:0;font-size:12.5px;opacity:.6;color:inherit}
html[data-theme="light"] .afx-promo{border-color:rgba(0,0,0,.14);background:rgba(0,0,0,.015)}
html[data-theme="light"] .afx-promo .afx-cta{background:var(--afx-btn,#14162e);color:#fff}
.afx-promo--chad{--afx-btn:#27358f}.afx-promo--edc{--afx-btn:#1d4d36}
@media (max-width:560px){.afx-promo{padding:24px 16px 18px;margin-inline:auto}.afx-promo .afx-cta{min-height:44px}}
.afx-promo .afx-faces{display:inline-flex;align-items:center}.afx-promo .afx-community .afx-faces img{display:block;width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid #1b1b1b;margin-inline-start:-9px;background:#d9d9d9}.afx-promo .afx-community .afx-faces img:first-child{margin-inline-start:0}
html[data-theme="light"] .afx-promo .afx-community .afx-faces img{border-color:#fff}
/* AFRIDOM.net home only (#ai): promo + AFRIDOM AI card as one balanced pair (2026-11-29) */
#ai{display:grid;grid-template-columns:1fr;gap:20px;align-items:stretch;margin-inline:auto}
#ai>.px-section__head{grid-column:1/-1}
#ai>.afx-promo,#ai>.px-cgrid{width:100%;max-width:none;margin:0}
#ai>.px-cgrid{display:flex}
#ai>.px-cgrid>.px-card{flex:1 1 auto;width:100%;height:100%;margin:0}
#ai>.afx-promo{display:flex;flex-direction:column;justify-content:center;border-radius:18px;border-color:rgba(255,255,255,.13);background:rgba(255,255,255,.043);padding:24px 28px}
@media (min-width:1000px){#ai{grid-template-columns:1fr 1fr;max-width:1180px}}

/* C1 hero AI call to action (2026-11-29) */
.afx-hero-ai{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:18px 0 0}.afx-hero-ai__btn{display:inline-block;padding:11px 20px;border-radius:999px;background:#f5b301;color:#111!important;font-weight:700;text-decoration:none!important;line-height:1.2}.afx-hero-ai__btn:hover,.afx-hero-ai__btn:focus-visible{background:#ffc933}.afx-hero-ai__btn--ghost{background:transparent;color:inherit!important;box-shadow:inset 0 0 0 2px currentColor}.afx-hero-ai__btn--ghost:hover,.afx-hero-ai__btn--ghost:focus-visible{background:rgba(245,179,1,.12)}.afx-hero-ai span{flex-basis:100%;font-size:.88rem;opacity:.8}@media(max-width:560px){.afx-hero-ai__btn{flex:1 1 100%;text-align:center}}
