:root{--green:#243d2d;--green-deep:#172b20;--gold:#b48a52;--ivory:#f4efe5;--paper:#fffdf9;--ink:#292d29;--muted:#77746c;--line:#e8e2d8;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif;--width:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.7}a{color:var(--green);text-decoration:none}a:hover{color:var(--gold)}img{max-width:100%;height:auto;display:block}.site-shell{overflow:hidden}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:var(--width);margin:auto;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{min-width:0}.site-title,.footer-brand>a{font-family:var(--serif);font-size:34px;font-weight:700;letter-spacing:-1.5px;color:var(--green);line-height:1.1}.site-title span{color:var(--gold)}.site-tagline{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);margin-top:7px}.custom-logo{max-height:72px;width:auto}.header-tools{display:flex;align-items:center;gap:20px;font-size:13px;font-weight:700}.header-register{background:var(--green);color:white;padding:11px 17px;border-radius:3px}.header-register:hover{background:var(--gold);color:white}.primary-navigation{background:var(--green);padding:0 24px}.primary-navigation ul{max-width:var(--width);margin:0 auto;padding:0;list-style:none;display:flex;align-items:center;gap:0}.primary-navigation li a{display:block;color:white;padding:15px 17px;font-size:12px;text-transform:uppercase;letter-spacing:.8px;font-weight:700}.primary-navigation li a:hover,.primary-navigation .current-menu-item>a{background:rgba(255,255,255,.12);color:#f2d9b4}.menu-toggle{display:none;background:var(--green);color:white;border:0;padding:10px 14px;border-radius:3px}.site-main{min-height:50vh}.hero-section{max-width:var(--width);margin:52px auto 48px;padding:0 28px;display:grid;grid-template-columns:.86fr 1.14fr;gap:55px;align-items:center}.eyebrow{display:block;color:var(--gold);font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase}.hero-copy h1{font:normal clamp(42px,5vw,66px)/1.06 var(--serif);letter-spacing:-1.8px;color:var(--green-deep);margin:18px 0}.hero-copy p{color:#66645d;font-size:17px;max-width:460px;margin:0 0 28px}.button{display:inline-block;padding:13px 21px;font-size:12px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;border-radius:2px}.button-gold{background:var(--gold);color:#fff}.button-gold:hover{background:var(--green);color:white}.hero-image{position:relative;min-height:390px;background:var(--ivory);overflow:hidden}.hero-image img{width:100%;height:440px;object-fit:cover}.hero-caption{position:absolute;bottom:0;left:0;background:var(--green);color:white;padding:9px 15px;font-size:10px;text-transform:uppercase;letter-spacing:1.3px}.image-placeholder{display:flex;align-items:center;justify-content:center;min-height:190px;background:linear-gradient(135deg,#e9e0d1,#d2c2a8);color:var(--green);font:italic 23px var(--serif);text-align:center;padding:20px}.hero-image .image-placeholder{height:440px}.intro-strip{background:var(--ivory);padding:38px max(28px,calc((100% - var(--width))/2 + 28px));display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.intro-strip h2,.section-heading h2,.writing-banner h2{font:normal 32px/1.2 var(--serif);color:var(--green-deep);margin:9px 0 0}.intro-strip p{color:#625f57;margin:0;font-size:15px}.editorial-links{max-width:var(--width);margin:0 auto;padding:42px 28px 60px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.editorial-links a{border:1px solid var(--line);padding:22px 23px;background:#fff;transition:.2s}.editorial-links a:hover{border-color:var(--gold);transform:translateY(-3px)}.editorial-links span{display:block;color:var(--gold);font:italic 18px var(--serif);margin-bottom:14px}.editorial-links strong{display:block;color:var(--green);font:normal 23px var(--serif)}.editorial-links small{display:block;color:var(--muted);font-size:12px;margin-top:7px}.latest-section{max-width:var(--width);margin:0 auto;padding:5px 28px 65px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.section-heading h2{font-size:36px}.section-heading>a{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.6px}.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.story-card{border:1px solid var(--line);background:white;min-width:0}.card-image{display:block;background:var(--ivory);overflow:hidden}.card-image img{width:100%;height:210px;object-fit:cover;transition:transform .4s}.story-card:hover .card-image img{transform:scale(1.04)}.card-body{padding:18px 19px 20px}.card-category{font-size:10px;color:var(--gold);font-weight:700;letter-spacing:1.2px;text-transform:uppercase}.card-body h3{font:normal 22px/1.25 var(--serif);margin:8px 0;color:var(--green)}.card-body h3 a{color:inherit}.card-body p{font-size:13px;color:var(--muted);margin:0 0 13px}.post-meta{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:11px}.writing-banner{background:var(--green);color:white;padding:42px max(28px,calc((100% - var(--width))/2 + 28px));display:flex;justify-content:space-between;align-items:center;gap:30px}.writing-banner h2{color:white;font-size:34px}.writing-banner p{margin:8px 0 0;color:#d7ded7;font-size:14px}.button-light{background:var(--ivory);color:var(--green);white-space:nowrap}.button-light:hover{background:var(--gold);color:white}.content-wrap{max-width:var(--width);margin:42px auto 70px;padding:0 28px;display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:45px}.post-list{min-width:0}.list-card{display:grid;grid-template-columns:230px 1fr;gap:22px;padding:0 0 25px;margin-bottom:25px;border-bottom:1px solid var(--line)}.list-image img{width:230px;height:160px;object-fit:cover}.list-card h2{font:normal 27px/1.2 var(--serif);margin:8px 0;color:var(--green)}.list-card h2 a{color:inherit}.list-card p{font-size:14px;color:var(--muted);margin:0 0 8px}.read-link{font-size:12px;font-weight:700}.site-sidebar .widget{border:1px solid var(--line);padding:20px;margin-bottom:22px;background:white}.widget-title{font:normal 21px var(--serif);color:var(--green);margin:0 0 15px;padding-bottom:10px;border-bottom:1px solid var(--line)}.widget ul{padding-left:18px;margin:0}.widget li{margin:7px 0;font-size:13px}.article-header{margin-bottom:25px}.article-header h1{font:normal clamp(34px,4vw,52px)/1.12 var(--serif);color:var(--green-deep);letter-spacing:-.8px;margin:12px 0}.article-featured-image{margin-bottom:30px}.article-featured-image img{width:100%;max-height:520px;object-fit:cover}.entry-content{font-size:17px;line-height:1.85;color:#343832}.entry-content p{margin:0 0 1.35em}.entry-content h2,.entry-content h3{font-family:var(--serif);color:var(--green);line-height:1.25;margin:1.6em 0 .6em}.entry-content a{text-decoration:underline;text-underline-offset:3px}.entry-content blockquote{border-left:3px solid var(--gold);margin:25px 0;padding:8px 22px;color:#666;font:italic 21px/1.5 var(--serif)}.article-tags{margin-top:30px;font-size:13px}.comments-area{margin-top:45px;border-top:1px solid var(--line);padding-top:25px}.comments-area input,.comments-area textarea,.search-form input{max-width:100%;padding:11px;border:1px solid var(--line);font:inherit}.comments-area input[type=submit],.search-submit{background:var(--green);color:white;border:0;padding:12px 18px;cursor:pointer}.archive-header{margin-bottom:28px}.archive-header h1{font:normal 38px var(--serif);color:var(--green);margin:8px 0}.not-found{max-width:760px;text-align:center;margin:90px auto;padding:0 25px}.not-found h1{font:normal 46px/1.15 var(--serif);color:var(--green)}.not-found p{color:var(--muted);margin-bottom:25px}.not-found .search-form{margin-top:35px}.site-footer{background:var(--green-deep);color:#dce2dc}.footer-inner{max-width:var(--width);margin:auto;padding:45px 28px 35px;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:45px}.footer-brand>a{color:white;font-size:30px}.footer-brand p{max-width:360px;color:#c3cec3;font-size:13px}.footer-widget-title{font:normal 19px var(--serif);color:white}.footer-widget a,.footer-links a{color:#dce2dc}.footer-widget ul,.footer-links ul{list-style:none;padding:0;margin:0}.footer-widget li,.footer-links li{margin:6px 0;font-size:13px}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);text-align:center;padding:15px 20px;color:#aeb9ae;font-size:11px}.pagination,.nav-links{display:flex;gap:8px;margin:30px 0}.page-numbers{padding:8px 12px;border:1px solid var(--line);font-size:12px}.page-numbers.current{background:var(--green);color:white}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden}
@media(max-width:850px){.header-inner{padding:17px 20px}.header-tools{display:none}.menu-toggle{display:block;margin-left:auto}.primary-navigation{display:none;padding:0 20px}.primary-navigation.is-open{display:block}.primary-navigation ul{display:block}.primary-navigation li a{padding:12px 5px;border-top:1px solid rgba(255,255,255,.12)}.hero-section{grid-template-columns:1fr;gap:25px;margin:32px auto}.hero-copy h1{max-width:650px}.hero-image img,.hero-image .image-placeholder{height:340px;min-height:340px}.intro-strip{grid-template-columns:1fr;gap:15px}.content-wrap{grid-template-columns:1fr;gap:25px}.site-sidebar{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.footer-inner{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}
@media(max-width:600px){body{font-size:15px}.header-inner{padding:15px 17px}.site-title{font-size:29px}.site-tagline{font-size:9px;letter-spacing:1px}.hero-section{padding:0 18px;margin:27px auto 30px}.hero-copy h1{font-size:43px;margin:12px 0}.hero-copy p{font-size:15px}.hero-image img,.hero-image .image-placeholder{height:255px;min-height:255px}.intro-strip{padding:29px 19px}.intro-strip h2,.writing-banner h2{font-size:27px}.editorial-links{padding:27px 18px 40px;grid-template-columns:1fr;gap:10px}.editorial-links a{padding:17px}.editorial-links span{margin-bottom:5px}.editorial-links strong{font-size:21px}.latest-section{padding:0 18px 42px}.section-heading{align-items:start;gap:10px;flex-direction:column}.section-heading h2{font-size:31px}.story-grid{grid-template-columns:1fr 1fr;gap:12px}.card-image img{height:135px}.card-body{padding:12px}.card-body h3{font-size:18px}.card-body p{font-size:12px}.writing-banner{padding:30px 19px;display:block}.writing-banner .button{margin-top:20px}.content-wrap{margin:28px auto 45px;padding:0 18px}.list-card{grid-template-columns:112px 1fr;gap:13px;padding-bottom:18px;margin-bottom:18px}.list-image img{width:112px;height:105px}.list-card h2{font-size:20px;margin:5px 0}.list-card p{font-size:12px;line-height:1.5}.list-card .post-meta{font-size:10px}.site-sidebar{display:block}.article-header h1{font-size:35px}.entry-content{font-size:16px;line-height:1.8}.footer-inner{grid-template-columns:1fr;padding:35px 20px 25px;gap:20px}.footer-brand{grid-column:auto}.not-found{margin:60px auto}.not-found h1{font-size:36px}}


/* AfrikStories visual refresh — reference-led homepage */
:root{--afs-green:#07351f;--afs-deep:#032615;--afs-gold:#d3a13e;--afs-cream:#f6efdf;--afs-paper:#fffaf1;--afs-ink:#17251b;--afs-line:#e6dac2;--afs-serif:Georgia,'Times New Roman',serif}
body{background:var(--afs-paper);color:var(--afs-ink);font-family:Arial,Helvetica,sans-serif}
.site-header{background:var(--afs-deep);border:0;color:#fff}
.afs-header-top{background:linear-gradient(90deg,#032615,#0a3c22);border-bottom:1px solid rgba(224,190,116,.35)}
.afs-header-inner{max-width:1440px;margin:auto;min-height:78px;padding:10px 4%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.afs-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.afs-brand-mark{font-size:37px;color:var(--afs-gold);transform:rotate(-20deg)}
.afs-brand-name{font:700 37px/.95 var(--afs-serif);letter-spacing:-1.4px;color:#fff}
.afs-brand-name>span,.afs-footer-brand span{color:var(--afs-gold)}
.afs-brand-name small{display:block;font:12px/1.4 Arial,sans-serif;letter-spacing:.4px;color:#eee;margin-top:7px}
.afs-header-actions{display:flex;align-items:center;gap:22px;color:#fff;font-size:13px;font-weight:700}
.afs-header-actions>a{color:#fff}
.afs-search{display:flex;height:36px;width:min(350px,32vw);background:#fff;border-radius:5px;overflow:hidden}
.afs-search input{width:100%;border:0;padding:0 12px;font-size:12px;min-width:0}
.afs-search button{width:42px;border:0;background:var(--afs-gold);color:#16251b;font-size:23px;cursor:pointer}
.primary-navigation{background:#07351f;border-top:1px solid rgba(255,255,255,.15);padding:0 3%;position:relative}
.primary-navigation:before,.primary-navigation:after{content:"";position:absolute;top:0;bottom:0;width:24px;opacity:.6;background:repeating-linear-gradient(45deg,transparent 0 6px,#bd8e2e 6px 9px,transparent 9px 14px)}
.primary-navigation:before{left:0}.primary-navigation:after{right:0}
.primary-navigation ul{max-width:1250px;min-height:44px;display:flex;justify-content:center;align-items:center;gap:0}
.primary-navigation li a{padding:13px 19px;color:#fff;font-size:13px;text-transform:none;letter-spacing:0}
.primary-navigation li a:hover,.primary-navigation .current-menu-item>a{color:#f1bd4d;background:rgba(255,255,255,.06)}
.menu-toggle{display:none}
.site-main{min-height:50vh}
.afs-hero{height:390px;max-width:100%;position:relative;overflow:hidden;background:#082d1b;display:flex;align-items:center}
.afs-hero-photo,.afs-hero-shade{position:absolute;inset:0}
.afs-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 35%;opacity:.96}
.afs-hero-shade{background:linear-gradient(90deg,rgba(2,30,16,.98) 0%,rgba(3,38,20,.91) 34%,rgba(3,38,20,.18) 69%,rgba(3,38,20,.02) 100%)}
.afs-hero-content{position:relative;z-index:2;width:min(1250px,100%);margin:auto;padding:25px 7.5%;color:white;pointer-events:none}
.afs-kicker{display:block;text-transform:uppercase;font-size:12px;font-weight:800;letter-spacing:2px;color:#f0c66d;margin-bottom:14px}
.afs-hero h1{font:700 clamp(42px,4.5vw,62px)/.99 var(--afs-serif);letter-spacing:-1.7px;color:#fff;max-width:550px;margin:0 0 15px}
.afs-hero p{max-width:480px;color:#f5f1e8;font-size:17px;line-height:1.5;margin:0 0 23px}
.afs-hero-actions{display:flex;gap:13px;pointer-events:auto}
.afs-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 22px;border-radius:7px;font-size:14px;font-weight:700;text-decoration:none}
.afs-btn-gold{background:#e9b84f;color:#17251b}.afs-btn-gold:hover{background:#f5cc70;color:#17251b}
.afs-btn-outline{border:1.5px solid #fff;color:#fff;background:transparent}.afs-btn-outline:hover{background:#fff;color:var(--afs-green)}
.afs-hero-points{display:flex;gap:27px;margin-top:26px;color:#f5e8c9;font-size:12px;font-weight:600}
.afs-hero-hit{position:absolute;inset:0;z-index:1}
.afs-category-band{background:#f7f0e3;padding:23px 3.5%}
.afs-category-grid{max-width:1360px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.afs-category-card{height:165px;position:relative;overflow:hidden;border-radius:10px;background-color:#29412f;background-image:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,.04) 75%),var(--card-image);background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:flex-end;padding:18px 20px;color:white;box-shadow:0 3px 10px rgba(38,28,10,.12)}
.afs-category-card:after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.16);border-radius:10px;pointer-events:none}
.afs-card-title{font:700 22px/1.05 var(--afs-serif);color:#fff;position:relative;z-index:1;max-width:80%}
.afs-card-desc{font-size:12px;line-height:1.35;color:#fff;margin-top:5px;position:relative;z-index:1;max-width:80%}
.afs-card-arrow{position:absolute;right:15px;bottom:18px;width:30px;height:30px;border-radius:50%;background:#fff;color:#102b1b;display:grid;place-items:center;font-size:19px;z-index:1}
.afs-services{display:grid;grid-template-columns:38% 62%;background:linear-gradient(110deg,#f3e7d0,#fff8eb);min-height:225px}
.afs-services-image{background:#d7c7a7 center/cover no-repeat;min-height:225px}
.afs-services-copy{padding:22px 5% 22px 5.5%;align-self:center}
.afs-services-copy .afs-kicker{color:#805b20;margin-bottom:5px}
.afs-services h2{font:700 32px/1.08 var(--afs-serif);color:#0a2d1b;margin:0 0 8px}
.afs-services p{font-size:14px;line-height:1.45;margin:0 0 11px;max-width:800px}
.afs-services ul{display:flex;flex-wrap:wrap;gap:9px 22px;list-style:none;padding:0;margin:10px 0 16px;font-size:12px;font-weight:700}
.afs-services li:before{content:"✓";display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#d4a03b;color:white;margin-right:7px}
.afs-btn-green{background:#075027;color:white;padding:11px 20px}.afs-btn-green:hover{background:#0c6735;color:#fff}
.afs-journal{max-width:1400px;margin:auto;padding:25px 4% 45px;display:grid;grid-template-columns:minmax(0,2.15fr) minmax(260px,1fr);gap:28px;background:#fffaf1}
.afs-section-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dfcfad;padding-bottom:10px;margin-bottom:15px;gap:12px}
.afs-section-head h2{font:700 31px/1 var(--afs-serif);color:#0b2c1b;margin:0}
.afs-section-head h2:after{content:"";display:block;width:68px;height:4px;background:#c99a3e;margin-top:9px}
.afs-section-head>a{font-size:12px;font-weight:700;color:#19291d;white-space:nowrap}
.afs-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.afs-story{min-width:0}
.afs-story-image{display:block;height:145px;border-radius:8px;overflow:hidden;background:#e5d6b9}
.afs-story-image img{width:100%;height:100%;object-fit:cover}
.afs-story-meta{font-size:10px;color:#6d675b;margin:8px 0 4px}
.afs-story-meta span{margin:0 5px;color:#aa7a2b}
.afs-story h3{font:700 19px/1.13 var(--afs-serif);margin:0;color:#111}
.afs-story h3 a,.afs-popular h3 a{color:inherit}
.afs-popular{border-left:1px solid #e5dac7;padding-left:25px}
.afs-popular-item{display:grid;grid-template-columns:94px 1fr;gap:12px;padding:0 0 12px;margin-bottom:12px;border-bottom:1px solid #e8dfd0}
.afs-popular-image{height:68px;border-radius:7px;overflow:hidden;background:#e6d8c0}
.afs-popular-image img{width:100%;height:100%;object-fit:cover}
.afs-popular h3{font:700 15px/1.2 var(--afs-serif);margin:0 0 7px;color:#171d18}
.afs-popular small{font-size:10px;color:#777}
.site-footer{background:linear-gradient(120deg,#032615,#064022);color:#fff;position:relative;text-align:center;border-top:5px solid #c89a3d}
.afs-footer-inner{padding:28px 20px 24px;max-width:1200px;margin:auto}
.afs-footer-brand{font:700 38px/1 var(--afs-serif);color:#fff;letter-spacing:-1px}
.afs-footer-inner>p{margin:8px 0 15px;color:#e6eadf;font-size:13px}
.afs-footer-social{display:flex;justify-content:center;gap:12px;margin:16px 0 22px}
.afs-footer-social a{width:37px;height:37px;border:1px solid rgba(255,255,255,.65);border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700}
.afs-footer-nav ul{display:flex;justify-content:center;gap:0;list-style:none;padding:0;margin:0}
.afs-footer-nav li{padding:0 15px;border-right:1px solid rgba(255,255,255,.55)}
.afs-footer-nav li:last-child{border:0}
.afs-footer-nav a{color:#fff;font-size:12px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);padding-top:13px;margin-top:18px;font-size:10px;color:#c6d2c7}
@media(max-width:900px){
 .afs-header-inner{padding:10px 20px}.afs-header-actions{gap:12px}.afs-search{width:230px}
 .primary-navigation ul{flex-wrap:wrap}.primary-navigation li a{padding:12px 13px}
 .afs-hero{height:365px}.afs-category-card{height:145px}.afs-card-title{font-size:19px}
 .afs-services{grid-template-columns:35% 65%}.afs-services h2{font-size:27px}
 .afs-journal{grid-template-columns:1fr}.afs-popular{border-left:0;border-top:1px solid #e5dac7;padding:20px 0 0}
}
@media(max-width:650px){
 .afs-header-top{background:#032615}
 .afs-header-inner{min-height:76px;padding:10px 15px}
 .afs-brand{gap:8px}.afs-brand-mark{font-size:27px}
 .afs-brand-name{font-size:29px}.afs-brand-name small{font-size:9px;letter-spacing:0;margin-top:5px}
 .afs-header-actions{display:none}.menu-toggle{display:block;margin-left:auto;background:transparent;border:0;color:white;font-size:28px;padding:5px}
 .primary-navigation{display:none;padding:0 16px}.primary-navigation.is-open{display:block}
 .primary-navigation:before,.primary-navigation:after{display:none}
 .primary-navigation ul{display:flex;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;min-height:45px}
 .primary-navigation li{flex:0 0 auto}.primary-navigation li a{padding:12px 13px;font-size:12px}
 .afs-hero{height:590px;align-items:flex-end}
 .afs-hero-photo img{object-position:58% center}
 .afs-hero-shade{background:linear-gradient(0deg,rgba(2,30,15,.99) 0%,rgba(2,30,15,.88) 42%,rgba(2,30,15,.05) 100%)}
 .afs-hero-content{padding:30px 22px 30px}
 .afs-kicker{font-size:10px;letter-spacing:1.6px}
 .afs-hero h1{font-size:43px;line-height:1.02;margin:8px 0 12px}
 .desktop-break{display:none}.afs-hero p{font-size:16px;line-height:1.42;margin-bottom:18px}
 .afs-hero-actions{gap:9px}.afs-btn{padding:12px 14px;font-size:13px}
 .afs-hero-points{display:none}
 .afs-category-band{padding:18px 13px 23px;border-radius:22px 22px 0 0;margin-top:-2px;position:relative}
 .afs-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .afs-category-card{height:150px;padding:12px;border-radius:9px}
 .afs-card-title{font-size:19px;max-width:90%}.afs-card-desc{display:none}.afs-card-arrow{width:28px;height:28px;right:9px;bottom:9px}
 .afs-services{grid-template-columns:1fr}
 .afs-services-image{min-height:190px}
 .afs-services-copy{padding:22px 20px 25px}
 .afs-services h2{font-size:29px}
 .afs-services p{font-size:14px}
 .afs-services ul{display:grid;grid-template-columns:1fr 1fr;gap:10px 8px;font-size:12px}
 .afs-btn-green{width:100%;justify-content:center}
 .afs-journal{padding:25px 16px 35px;gap:25px}
 .afs-section-head{align-items:center}.afs-section-head h2{font-size:27px}
 .afs-section-head>a{font-size:11px}
 .afs-latest-grid{grid-template-columns:1fr;gap:16px}
 .afs-story:first-child .afs-story-image{height:170px}
 .afs-story:not(:first-child){display:grid;grid-template-columns:112px 1fr;gap:12px;align-items:center;border-bottom:1px solid #e8dfd0;padding-bottom:12px}
 .afs-story:not(:first-child) .afs-story-image{height:92px;grid-row:span 2}
 .afs-story:not(:first-child) .afs-story-meta{margin:0;font-size:9px}
 .afs-story:not(:first-child) h3{font-size:17px}
 .afs-story:first-child h3{font-size:22px}
 .afs-popular{display:none}
 .afs-footer-inner{padding:27px 15px 22px}
 .afs-footer-brand{font-size:34px}
 .afs-footer-nav ul{flex-wrap:wrap;gap:10px 0}
 .afs-footer-nav li{padding:0 10px}
}

/* AfrikStories refinement 1.3.0 */
.afs-category-card{font-family:var(--afs-sans);text-shadow:0 2px 5px rgba(0,0,0,.65)}
.afs-card-title{font:700 clamp(17px,1.55vw,22px)/1.08 var(--afs-serif);letter-spacing:-.35px;margin:0 36px 5px 0;display:block}
.afs-card-desc{font:500 11px/1.25 var(--afs-sans);letter-spacing:0;margin:0 28px 0 0;display:block;max-width:90%}
.afs-card-arrow{position:absolute;right:12px;bottom:12px;width:29px;height:29px;border-radius:50%;background:#fff;color:#172b20;display:grid;place-items:center;font:700 17px/1 var(--afs-sans);z-index:2;text-shadow:none}
.afs-category-card{padding:16px 17px 15px;justify-content:flex-end}
.afs-category-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.02) 70%);z-index:0}
.afs-card-title,.afs-card-desc{z-index:1;position:relative}
.afs-services h2,.afs-section-head h2,.afs-story h3,.afs-popular h3{letter-spacing:-.45px}
.afs-story-meta{font-family:var(--afs-sans);font-size:10px;line-height:1.35}
.afs-popular-image img{width:100%;height:100%;object-fit:cover}
.site-footer{border-top-width:3px}
.afs-footer-inner{padding:17px 20px 12px}
.afs-footer-brand{font-size:32px}
.afs-footer-inner>p{margin:4px 0 8px;font-size:12px}
.afs-footer-social{gap:9px;margin:9px 0 12px}
.afs-footer-social a{width:31px;height:31px;font-size:13px}
.afs-footer-nav ul{flex-wrap:wrap;row-gap:7px}
.afs-footer-nav li{padding:0 10px}
.afs-footer-nav a{font-size:11px}
.footer-bottom{padding-top:8px;margin-top:10px;font-size:9px}
@media(max-width:650px){
 .afs-card-title{font-size:18px;line-height:1.08;margin-right:28px}
 .afs-card-desc{font-size:10px;line-height:1.2;display:block}
 .afs-category-card{height:150px;padding:11px}
 .afs-card-arrow{width:26px;height:26px;right:8px;bottom:8px}
 .afs-footer-inner{padding:18px 14px 12px}
 .afs-footer-brand{font-size:30px}
 .afs-footer-social{margin:8px 0 10px}
}


/* AfrikStories refinement 1.4.0: welcome hero, mobile stories and article reading experience */
.afs-hero h1{font-size:clamp(34px,3.35vw,48px);line-height:1.04;letter-spacing:-1.1px;max-width:500px}
.afs-hero p{font-size:15px;line-height:1.6;max-width:460px}
.afs-kicker{font-size:11px;letter-spacing:1.7px;margin-bottom:11px}
.afs-journal{background:#f7f1e7;border-top:1px solid #e9deca}
.afs-story{background:#fffdf8;border:1px solid #e9dfd0;border-radius:9px;overflow:hidden;padding-bottom:12px;box-shadow:0 3px 12px rgba(43,34,19,.045)}
.afs-story-image{height:155px;border-radius:0}
.afs-story-meta{padding:0 13px;margin:10px 0 5px;color:#786b58;font-size:10px;letter-spacing:.15px}
.afs-story h3{padding:0 13px;font-size:18px;line-height:1.25;color:#173b28}
.afs-story h3 a:hover,.afs-popular h3 a:hover{color:#a9792c}
.afs-popular{background:#fffdf8;border-radius:9px;padding:15px 15px 5px;border:1px solid #e9dfd0}
.afs-popular-item{grid-template-columns:100px 1fr;align-items:center}
.afs-popular h3{font-size:15px;line-height:1.28;color:#173b28}
.content-wrap{background:#f7f2e9;border-radius:12px;padding:30px 28px;margin-top:35px;margin-bottom:55px;gap:32px}
.post-list{background:transparent}
.list-card{background:#fffdf8;border:1px solid #e8dfd1;border-radius:10px;padding:14px;margin-bottom:16px;gap:20px;box-shadow:0 3px 12px rgba(43,34,19,.04)}
.list-image{overflow:hidden;border-radius:7px}
.list-image img{border-radius:7px}
.list-card h2{font-size:25px;line-height:1.24;letter-spacing:-.35px;color:#173b28}
.list-card p{font-size:14px;line-height:1.7;color:#5f625b}
.list-card .post-meta{font-size:11px;color:#817767}
.article-header h1{font-size:clamp(32px,3.6vw,46px);line-height:1.16;letter-spacing:-.65px}
.single-article{background:#fffdf8;border:1px solid #e9dfd0;border-radius:12px;padding:28px 32px;box-shadow:0 4px 18px rgba(43,34,19,.04)}
.entry-content{font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.9;color:#343b33;max-width:780px}
.entry-content p{margin:0 0 1.45em}
.entry-content h2{font-size:29px;color:#173b28;margin-top:1.65em}
.entry-content h3{font-size:23px;color:#244b35}
.entry-content blockquote{background:#f7f0e4;border-left:4px solid #b48a52;border-radius:0 8px 8px 0;padding:18px 22px;color:#5c554a}
.archive-header{background:#f1e8d9;border-left:4px solid #b48a52;padding:20px 23px;border-radius:0 9px 9px 0}
.archive-header h1{font-size:36px;color:#173b28}
.site-sidebar .widget{background:#fffdf8;border-color:#e8dfd1;border-radius:9px}
@media(max-width:650px){
 .afs-hero h1{font-size:32px;line-height:1.08;letter-spacing:-.55px;max-width:350px;margin:7px 0 10px}
 .afs-hero p{font-size:14px;line-height:1.5;max-width:340px;margin-bottom:15px}
 .afs-kicker{font-size:10px;letter-spacing:1.25px;margin-bottom:8px}
 .afs-hero-content{padding:25px 20px 26px}
 .afs-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .afs-story:first-child .afs-story-image,.afs-story-image{height:112px}
 .afs-story:first-child h3,.afs-story h3{font-size:15px;line-height:1.23;padding:0 9px}
 .afs-story-meta{font-size:9px;padding:0 9px;margin:8px 0 4px}
 .afs-story{padding-bottom:10px}
 .afs-story:not(:first-child){display:block;border:1px solid #e9dfd0;border-radius:9px;padding:0 0 10px;margin:0;gap:0;align-items:initial}
 .afs-story:not(:first-child) .afs-story-image{height:112px;grid-row:auto}
 .afs-story:not(:first-child) .afs-story-meta{margin:8px 0 4px;font-size:9px}
 .afs-story:not(:first-child) h3{font-size:15px}
 .afs-journal{padding:22px 13px 30px;gap:22px}
 .afs-section-head h2{font-size:25px}
 .afs-popular{display:block;padding:14px 12px 4px}
 .afs-popular-item{grid-template-columns:82px 1fr;gap:10px}
 .afs-popular-image{height:62px}
 .afs-popular h3{font-size:14px}
 .content-wrap{margin:20px 12px 35px;padding:18px 12px;border-radius:9px;gap:18px}
 .list-card{grid-template-columns:104px 1fr;gap:12px;padding:10px;margin-bottom:12px}
 .list-image img{width:104px;height:100px}
 .list-card h2{font-size:18px;line-height:1.25}
 .list-card p{font-size:12px;line-height:1.55}
 .single-article{padding:19px 16px;border-radius:9px}
 .article-header h1{font-size:29px;line-height:1.2}
 .entry-content{font-size:16px;line-height:1.85}
 .entry-content h2{font-size:24px}
 .entry-content h3{font-size:20px}
 .archive-header{padding:15px 16px}
 .archive-header h1{font-size:29px}
}


/* AfrikStories 1.5.0 refinements */
.afs-hero-photo img {
  object-position: 73% 38%;
}
.afs-hero-content {
  margin-left: max(0px, calc((100% - 1250px) / 2));
  margin-right: auto;
  padding-left: clamp(22px, 6.5vw, 96px);
  padding-right: 24px;
  max-width: 690px;
}
.afs-hero-hit { display: none !important; }
.afs-hero-content { pointer-events: none; }
.afs-hero-actions, .afs-hero-actions a { pointer-events: auto; }
.afs-popular-item { display:grid; grid-template-columns:96px minmax(0,1fr); gap:14px; align-items:center; }
.afs-popular-image { display:block; overflow:hidden; border-radius:8px; }
.afs-popular-image img { display:block; width:96px; height:78px; object-fit:cover; }
@media (max-width: 850px) {
  .afs-hero-photo img { object-position: 72% 38%; }
  .afs-hero-content { margin:0; padding-left:26px; padding-right:24px; max-width:650px; }
}
@media (max-width: 600px) {
  .afs-hero-photo img { object-position: 70% 38%; }
  .afs-hero-content { padding-left:19px; padding-right:18px; }
}


/* AfrikStories 1.6.0 refinements */
.afs-hero h1 {
  white-space: nowrap;
  max-width: none;
  font-size: clamp(30px, 3.1vw, 46px);
  letter-spacing: -1.15px;
}
.afs-view-more-mobile { display:none; }
@media (max-width: 650px) {
  .afs-hero h1 {
    white-space: nowrap;
    font-size: clamp(24px, 6.2vw, 34px);
    letter-spacing: -.8px;
    line-height: 1.12;
  }
  .afs-latest-grid { grid-template-columns: 1fr !important; }
  .afs-story { display:grid !important; grid-template-columns:112px minmax(0,1fr); gap:12px; align-items:center; }
  .afs-story-image { grid-column:1; grid-row:1 / span 2; height:88px !important; }
  .afs-story-meta { grid-column:2; grid-row:1; margin:0 8px 0 0; padding:0; }
  .afs-story h3 { grid-column:2; grid-row:2; font-size:16px !important; line-height:1.2; padding:0 8px 0 0; margin:3px 0 0; }
  .afs-story:first-child .afs-story-image { height:88px !important; }
  .afs-view-more-desktop { display:none !important; }
  .afs-view-more-mobile {
    display:inline-block;
    margin:17px 0 0;
    padding:10px 15px;
    background:#07351f;
    color:#fff !important;
    border-radius:5px;
    font-size:12px;
    font-weight:700;
  }
  .afs-popular-item:nth-of-type(n+4) { display:none !important; }
}
@media (min-width: 651px) {
  .afs-view-more-mobile { display:none !important; }
}


/* AfrikStories 1.7.0 — restore original mobile story layout and fix article width */
@media (max-width: 650px) {
  /* Original mobile treatment: one featured story followed by compact horizontal story rows. */
  .afs-latest-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .afs-story {
    display: block !important;
    width: 100%;
    min-width: 0;
    padding: 0 0 11px !important;
    margin: 0;
  }
  .afs-story:first-child {
    display: block !important;
  }
  .afs-story:first-child .afs-story-image {
    display: block;
    width: 100%;
    height: 170px !important;
  }
  .afs-story:first-child .afs-story-meta,
  .afs-story:first-child h3 {
    display: block;
    padding-left: 12px;
    padding-right: 12px;
  }
  .afs-story:not(:first-child) {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    grid-template-rows: auto auto;
    gap: 5px 12px !important;
    align-items: center;
    padding: 0 0 12px !important;
    border: 0;
    border-bottom: 1px solid #e8dfd0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .afs-story:not(:first-child) .afs-story-image {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 112px;
    height: 92px !important;
  }
  .afs-story:not(:first-child) .afs-story-meta {
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 9px;
  }
  .afs-story:not(:first-child) h3 {
    grid-column: 2;
    grid-row: 2;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.22;
  }

  /* Article pages occupy the full available mobile width. */
  .content-wrap.single-layout {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 16px 10px 32px !important;
    padding: 12px !important;
    overflow: hidden;
  }
  .single-layout .single-article {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 17px 14px !important;
    box-sizing: border-box;
  }
  .single-layout .site-sidebar,
  .single-layout #secondary {
    display: none !important;
  }
  .single-layout .article-header,
  .single-layout .entry-content,
  .single-layout .article-featured-image {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }
  .single-layout .article-header h1 {
    overflow-wrap: anywhere;
    word-break: normal;
    font-size: 27px !important;
    line-height: 1.2;
  }
  .single-layout .entry-content {
    font-size: 16px !important;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }
  .single-layout .entry-content img,
  .single-layout .article-featured-image img,
  .single-layout .entry-content video,
  .single-layout .entry-content iframe {
    max-width: 100% !important;
    height: auto !important;
  }
  .single-layout .entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
  .single-layout .entry-content pre,
  .single-layout .entry-content code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .single-layout .entry-content figure {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
}


/* AfrikStories 1.8.0 — rotating popular stories, full-width mobile articles, brighter reading palette */
.afs-popular h3 a { color:#174b30; }
.afs-popular h3 a:hover { color:#b47a20; }
.entry-content a,
.single-article .article-tags a,
.single-article .article-header .post-meta a {
  color:#176b42;
  text-decoration-color:#c79536;
  text-underline-offset:3px;
}
.entry-content a:hover,
.single-article .article-tags a:hover,
.single-article .article-header .post-meta a:hover {
  color:#a96f12;
}
.entry-content { color:#293b30; }
.entry-content h2,.entry-content h3,.entry-content h4 { color:#174b30; }
.article-header h1 { color:#153d29; }
.article-header .post-meta,.article-header .post-meta a { color:#647567; }
.article-tags { color:#5b6b5e; }
@media (max-width: 650px) {
  /* Full-bleed article layout: remove the narrow centered card and outer gutters. */
  .content-wrap.single-layout {
    display:block !important;
    position:relative;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:#fffaf1;
    box-sizing:border-box;
    overflow:visible !important;
  }
  .single-layout .single-article {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:22px 18px 34px !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:#fffaf1 !important;
    box-sizing:border-box;
  }
  .single-layout .article-header,
  .single-layout .entry-content,
  .single-layout .article-featured-image {
    display:block;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box;
  }
  .single-layout .entry-content {
    color:#293b30 !important;
    font-size:16px !important;
    line-height:1.82 !important;
  }
  .single-layout .entry-content p,
  .single-layout .entry-content ul,
  .single-layout .entry-content ol {
    max-width:none !important;
  }
  .single-layout .entry-content a { color:#176b42 !important; }
  .single-layout .entry-content h2,
  .single-layout .entry-content h3,
  .single-layout .entry-content h4 { color:#174b30 !important; }
  .single-layout .article-header h1 {
    color:#153d29 !important;
    font-size:28px !important;
    line-height:1.2 !important;
  }
  .single-layout .article-featured-image img,
  .single-layout .entry-content img {
    display:block;
    max-width:100% !important;
    height:auto !important;
  }
}


/* AfrikStories 1.9.0 — mobile article refinements */
@media (max-width: 650px) {
  .afs-popular,
  .afs-journal .afs-popular {
    display: none !important;
  }
  .single-layout .article-header h1 {
    font-size: 25px !important;
    line-height: 1.22 !important;
  }
}


/* AfrikStories 2.1.0 — desktop editorial layout with a dedicated Popular Contents rail */
.afs-journal-desktop-refresh {
  display:grid;
  grid-template-columns:minmax(0, 2.35fr) minmax(245px, .9fr);
  gap:28px;
  max-width:1440px;
  margin:0 auto;
  padding:34px clamp(20px,3.2vw,48px) 52px;
  background:#f7f1e7;
  align-items:start;
}
.afs-journal-desktop-refresh .afs-latest { min-width:0; }
.afs-journal-desktop-refresh .afs-section-head {
  display:flex;
  flex-direction:row;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding-bottom:14px;
  margin-bottom:20px;
  border-bottom:1px solid #e5d9c6;
}
.afs-journal-desktop-refresh .afs-section-head h2 {
  font:700 clamp(29px,3vw,42px)/1.08 Georgia,serif;
  color:#07351f;
  margin:0;
}
.afs-journal-desktop-refresh .afs-section-head>a {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#07351f;
  color:#fff;
  border-radius:8px;
  padding:12px 16px;
  font:700 12px Arial,sans-serif;
  text-transform:none;
  white-space:nowrap;
}
.afs-editorial-grid {
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,1fr) minmax(0,1fr);
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}
.afs-editorial-grid .afs-story {
  min-width:0;
  border:1px solid #e9dfd0;
  border-radius:13px;
  overflow:hidden;
  background:#fffdf8;
  box-shadow:0 4px 15px rgba(43,34,19,.055);
  display:flex;
  flex-direction:column;
}
.afs-editorial-grid .afs-story-featured {
  grid-column:1;
  grid-row:1 / span 2;
  position:relative;
  min-height:500px;
  background:#06351f;
}
.afs-story-featured .afs-story-image {
  position:absolute;
  inset:0;
  height:100%;
  border-radius:0;
}
.afs-story-featured .afs-story-image:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.03) 25%,rgba(2,28,15,.96) 100%);
}
.afs-story-featured .afs-story-image img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.afs-featured-overlay {
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  flex:1;
  padding:22px;
  margin-top:auto;
  color:#fff;
  pointer-events:none;
}
.afs-featured-overlay a { pointer-events:auto; }
.afs-featured-category,.afs-compact-category {
  display:inline-flex;
  align-self:flex-start;
  background:#e9b84f;
  color:#142b1d;
  border-radius:20px;
  padding:6px 11px;
  font:700 11px Arial,sans-serif;
}
.afs-featured-overlay h3 {
  font:700 clamp(24px,2.2vw,34px)/1.08 Georgia,serif;
  color:#fff;
  margin:14px 0 9px;
}
.afs-featured-overlay h3 a { color:#fff; }
.afs-featured-overlay p {
  color:#f3f1e8;
  font:15px/1.5 Arial,sans-serif;
  margin:0 0 16px;
}
.afs-featured-overlay .afs-story-meta {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  color:#f6e8c7;
  font:12px Arial,sans-serif;
  margin-bottom:17px;
}
.afs-featured-read {
  align-self:flex-start;
  display:inline-flex;
  gap:9px;
  align-items:center;
  border-radius:7px;
  padding:11px 16px;
  background:#e9b84f;
  color:#182b1e !important;
  font:700 12px Arial,sans-serif;
}
.afs-story-compact .afs-story-image {
  display:block;
  height:142px;
  position:relative;
  overflow:hidden;
  flex:none;
  border-radius:0;
}
.afs-story-compact .afs-story-image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.afs-compact-category {
  position:absolute;
  left:12px;
  bottom:10px;
  background:#08703d;
  color:#fff;
  border-radius:6px;
}
.afs-compact-body {
  display:flex;
  flex:1;
  flex-direction:column;
  padding:12px 14px 13px;
}
.afs-compact-body h3 {
  font:700 18px/1.16 Georgia,serif;
  color:#07351f;
  margin:0 0 14px;
}
.afs-compact-body h3 a { color:#07351f; }
.afs-compact-body .afs-story-meta {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:auto;
  color:#746d60;
  font:11px/1.35 Arial,sans-serif;
}
.afs-journal-desktop-refresh .afs-popular {
  display:block;
  min-width:0;
  padding:0;
  border-left:1px solid #e5d9c6;
  padding-left:22px;
}
.afs-journal-desktop-refresh .afs-popular .afs-section-head {
  margin-bottom:13px;
}
.afs-journal-desktop-refresh .afs-popular .afs-section-head h2 {
  font-size:29px;
}
.afs-journal-desktop-refresh .afs-popular-item {
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #e8dece;
}
.afs-journal-desktop-refresh .afs-popular-image {
  width:86px;
  height:72px;
  display:block;
  border-radius:8px;
  overflow:hidden;
}
.afs-journal-desktop-refresh .afs-popular-image img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.afs-journal-desktop-refresh .afs-popular-item h3 {
  font:700 15px/1.2 Georgia,serif;
  color:#07351f;
  margin:0 0 6px;
}
.afs-journal-desktop-refresh .afs-popular-item h3 a { color:#07351f; }
.afs-journal-desktop-refresh .afs-popular-item small {
  font:11px Arial,sans-serif;
  color:#756f63;
}
@media (max-width: 1050px) and (min-width: 651px) {
  .afs-journal-desktop-refresh { grid-template-columns:minmax(0,1.8fr) minmax(220px,.9fr); gap:18px; }
  .afs-editorial-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:auto; }
  .afs-editorial-grid .afs-story-featured { grid-column:1 / -1; grid-row:auto; min-height:320px; }
  .afs-story-compact .afs-story-image { height:125px; }
}
@media (max-width: 650px) {
  .afs-journal-desktop-refresh {
    display:block;
    padding:22px 13px 30px;
    margin:0;
  }
  .afs-journal-desktop-refresh .afs-section-head {
    align-items:flex-start;
    flex-direction:column;
  }
  .afs-journal-desktop-refresh .afs-section-head>a.afs-view-more-desktop { display:none !important; }
  .afs-editorial-grid {
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:auto !important;
    gap:14px !important;
  }
  .afs-editorial-grid .afs-story-featured {
    grid-column:auto;
    grid-row:auto;
    min-height:0;
    display:block;
  }
  .afs-story-featured .afs-story-image {
    position:relative;
    display:block;
    height:170px !important;
  }
  .afs-story-featured .afs-story-image:after { display:none; }
  .afs-featured-overlay {
    display:block;
    padding:12px;
    margin:0;
    color:#173b28;
  }
  .afs-featured-overlay h3,.afs-featured-overlay h3 a { color:#07351f; }
  .afs-featured-overlay p { color:#59665c; }
  .afs-featured-overlay .afs-story-meta { color:#746d60; }
  .afs-featured-read { display:none; }
  .afs-story-compact {
    display:grid !important;
    grid-template-columns:112px minmax(0,1fr);
    grid-template-rows:auto;
    gap:0 12px;
    min-height:92px;
    border:0 !important;
    border-bottom:1px solid #e8dfd0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:transparent !important;
  }
  .afs-story-compact .afs-story-image {
    grid-column:1;
    grid-row:1;
    height:92px !important;
  }
  .afs-compact-category { display:none; }
  .afs-compact-body {
    grid-column:2;
    grid-row:1;
    padding:0;
  }
  .afs-compact-body h3 { font-size:16px; margin:0 0 7px; }
  .afs-compact-body .afs-story-meta { font-size:9px; }
  .afs-journal-desktop-refresh .afs-popular { display:none !important; }
  .afs-view-more-mobile { display:inline-block; margin-top:16px; }
}


/* AfrikStories 2.2.0 — balanced desktop contents grid and lighter headline typography */
@media (min-width: 1051px) {
  .afs-journal-desktop-refresh {
    grid-template-columns:minmax(0, 2.2fr) minmax(250px, .9fr);
    gap:26px;
    align-items:start;
  }
  .afs-editorial-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:auto;
    gap:18px;
    align-items:stretch;
    grid-auto-flow:row;
  }
  .afs-editorial-grid .afs-story,
  .afs-editorial-grid .afs-story-featured,
  .afs-editorial-grid .afs-story-compact {
    grid-column:auto !important;
    grid-row:auto !important;
    min-height:0;
    height:100%;
    display:flex;
    flex-direction:column;
    border:1px solid #e8dfd2;
    border-radius:11px;
    overflow:hidden;
    background:#fffdf8;
    box-shadow:0 3px 12px rgba(43,34,19,.045);
  }
  .afs-editorial-grid .afs-story-image,
  .afs-editorial-grid .afs-story-featured .afs-story-image {
    position:relative;
    inset:auto;
    display:block;
    height:155px;
    flex:none;
    overflow:hidden;
  }
  .afs-editorial-grid .afs-story-image:after { display:none; }
  .afs-editorial-grid .afs-story-image img {
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
  }
  .afs-editorial-grid .afs-compact-body {
    display:flex;
    flex:1;
    flex-direction:column;
    padding:13px 15px 14px;
  }
  .afs-editorial-grid .afs-compact-body h3 {
    font:600 17px/1.28 Arial, Helvetica, sans-serif;
    letter-spacing:-.15px;
    margin:0 0 14px;
    color:#173b2a;
  }
  .afs-editorial-grid .afs-compact-body h3 a { color:#173b2a; }
  .afs-editorial-grid .afs-compact-body h3 a:hover { color:#a66e18; }
  .afs-editorial-grid .afs-story-meta {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:auto;
    color:#777064;
    font:11px/1.4 Arial, Helvetica, sans-serif;
  }
  .afs-editorial-grid .afs-compact-category {
    left:11px;
    bottom:10px;
    font-size:10px;
    padding:5px 9px;
  }
  .afs-journal-desktop-refresh .afs-popular {
    border-left:1px solid #e5d9c6;
    padding-left:21px;
  }
  .afs-journal-desktop-refresh .afs-popular-item {
    grid-template-columns:78px minmax(0,1fr);
    gap:11px;
    padding:11px 0;
  }
  .afs-journal-desktop-refresh .afs-popular-image {
    width:78px;
    height:68px;
  }
  .afs-journal-desktop-refresh .afs-popular-item h3 {
    font:600 14px/1.28 Arial, Helvetica, sans-serif;
  }
}
@media (min-width:651px) and (max-width:1050px) {
  .afs-editorial-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:auto;
  }
  .afs-editorial-grid .afs-story-featured {
    grid-column:auto;
    grid-row:auto;
    min-height:0;
  }
}


/* AfrikStories 2.3.0 — mobile card title refinement and homepage pagination */
@media (max-width: 650px) {
  .afs-compact-body h3,
  .afs-editorial-grid .afs-compact-body h3 {
    font-size: 15px !important;
    line-height: 1.23 !important;
  }
}
.afs-home-pagination {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:20px 0 6px;
}
.afs-home-pagination a {
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:6px;
  background:#07351f;
  color:#fff !important;
  font:700 12px/1.2 Arial,Helvetica,sans-serif;
  text-decoration:none;
}
.afs-home-pagination a:hover { background:#b48a35; color:#172b20 !important; }
@media (max-width:650px) {
  .afs-home-pagination { margin:15px 0 4px; }
  .afs-home-pagination a { padding:9px 12px; font-size:11px; }
}


/* AfrikStories 2.4.0 — remove duplicate mobile pagination and refine article title scale */
@media (max-width: 650px) {
  /* Keep the View More Contents link below the sixth article; hide duplicate pager buttons. */
  .afs-home-pagination {
    display: none !important;
  }
  .single-layout .article-header h1 {
    font-size: 23px !important;
    line-height: 1.24 !important;
  }
  .single-layout .entry-content h2 {
    font-size: 23px !important;
    line-height: 1.3 !important;
  }
  .single-layout .entry-content h3 {
    font-size: 19px !important;
    line-height: 1.32 !important;
  }
}
@media (min-width: 651px) {
  .single-layout .article-header h1 {
    font-size: 30px !important;
    line-height: 1.22 !important;
  }
  .single-layout .entry-content h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
  .single-layout .entry-content h3 {
    font-size: 21px !important;
    line-height: 1.32 !important;
  }
}


/* AfrikStories 2.5.0 — single-column editorial feed for desktop and mobile */
.afs-journal-single-column {
  display:block !important;
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:34px clamp(16px,3vw,38px) 48px;
  box-sizing:border-box;
  background:#f7f1e7;
}
.afs-journal-single-column .afs-latest { width:100%; min-width:0; }
.afs-journal-single-column .afs-section-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 20px;
  padding:0 0 13px;
  border-bottom:1px solid #e5d9c6;
}
.afs-journal-single-column .afs-section-head h2 {
  margin:0;
  color:#07351f;
  font:700 clamp(29px,3vw,40px)/1.1 Georgia,serif;
}
.afs-single-feed {
  display:flex !important;
  flex-direction:column !important;
  gap:13px !important;
  width:100%;
}
.afs-feed-row {
  display:grid;
  grid-template-columns:minmax(210px,32%) minmax(0,1fr);
  gap:20px;
  align-items:center;
  width:100%;
  min-width:0;
  min-height:160px;
  padding:10px;
  border:1px solid #e8dfd2;
  border-radius:12px;
  background:#fffdf8;
  box-shadow:0 3px 12px rgba(43,34,19,.045);
  box-sizing:border-box;
}
.afs-feed-image {
  display:block;
  width:100%;
  height:150px;
  overflow:hidden;
  border-radius:8px;
}
.afs-feed-image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.afs-feed-copy {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
  padding:5px 8px 5px 0;
}
.afs-feed-category {
  display:inline-flex;
  align-items:center;
  margin:0 0 7px;
  padding:5px 10px;
  border-radius:20px;
  background:#f4d27a;
  color:#26351f;
  font:700 11px/1.1 Arial,Helvetica,sans-serif;
}
.afs-feed-copy h3 {
  margin:0 0 7px;
  color:#103b27;
  font:700 clamp(19px,1.8vw,23px)/1.2 Georgia,serif;
}
.afs-feed-copy h3 a { color:#103b27; text-decoration:none; }
.afs-feed-copy h3 a:hover { color:#a66e18; }
.afs-feed-excerpt {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin:0 0 10px;
  color:#4f5b51;
  font:14px/1.45 Arial,Helvetica,sans-serif;
}
.afs-feed-meta {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-top:auto;
  color:#777064;
  font:12px/1.3 Arial,Helvetica,sans-serif;
}
.afs-journal-single-column .afs-view-more-desktop {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 15px;
  border-radius:7px;
  background:#07351f;
  color:#fff;
  font:700 12px Arial,Helvetica,sans-serif;
  text-decoration:none;
}
.afs-journal-single-column .afs-home-pagination {
  display:block !important;
  margin:24px 0 0;
  text-align:center;
}
.afs-journal-single-column .afs-home-pagination ul {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:7px;
  margin:0;
  padding:0;
  list-style:none;
}
.afs-journal-single-column .afs-home-pagination li { margin:0; padding:0; }
.afs-journal-single-column .afs-home-pagination a,
.afs-journal-single-column .afs-home-pagination span {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-width:38px;
  min-height:38px;
  padding:8px 12px;
  border:1px solid #dfd4c4;
  border-radius:7px;
  background:#fffdf8;
  color:#173b28;
  font:700 12px Arial,Helvetica,sans-serif;
  text-decoration:none;
  box-sizing:border-box;
}
.afs-journal-single-column .afs-home-pagination .current {
  background:#07351f;
  border-color:#07351f;
  color:#fff;
}
.afs-journal-single-column .afs-home-pagination .prev,
.afs-journal-single-column .afs-home-pagination .next {
  padding-left:14px;
  padding-right:14px;
}
@media (max-width:650px) {
  .afs-journal-single-column {
    padding:22px 12px 32px;
    margin:0;
  }
  .afs-journal-single-column .afs-section-head {
    align-items:center;
    margin-bottom:14px;
  }
  .afs-journal-single-column .afs-section-head h2 {
    font-size:27px;
  }
  .afs-journal-single-column .afs-view-more-desktop { display:none !important; }
  .afs-single-feed { gap:11px !important; }
  .afs-feed-row {
    grid-template-columns: minmax(100px,34%) minmax(0,1fr);
    gap:11px;
    min-height:116px;
    padding:8px;
    border-radius:9px;
  }
  .afs-feed-image {
    height:110px;
    border-radius:7px;
  }
  .afs-feed-copy { padding:0 2px 0 0; }
  .afs-feed-category {
    margin-bottom:5px;
    padding:4px 7px;
    font-size:9px;
  }
  .afs-feed-copy h3 {
    margin:0 0 5px;
    font-size:16px;
    line-height:1.2;
  }
  .afs-feed-excerpt {
    -webkit-line-clamp:2;
    margin-bottom:6px;
    font-size:11px;
    line-height:1.35;
  }
  .afs-feed-meta {
    gap:8px;
    font-size:9px;
  }
  .afs-journal-single-column .afs-home-pagination {
    margin-top:17px;
  }
  .afs-journal-single-column .afs-home-pagination ul { gap:5px; }
  .afs-journal-single-column .afs-home-pagination a,
  .afs-journal-single-column .afs-home-pagination span {
    min-width:32px;
    min-height:34px;
    padding:7px 9px;
    font-size:10px;
  }
}


/* AfrikStories Editorial 2.6.0 — reference layout with a real right sidebar */
.afs-hero {
  height:clamp(155px,16vw,190px) !important;
  max-width:1200px !important;
  margin:16px auto 0 !important;
  border-radius:13px !important;
}
.afs-hero-photo img {
  object-position:center center !important;
  object-fit:cover !important;
}
.afs-hero-shade {
  background:linear-gradient(90deg,rgba(2,39,21,.96) 0%,rgba(3,43,24,.88) 34%,rgba(3,43,24,.08) 73%,rgba(3,43,24,0) 100%) !important;
}
.afs-hero-content {
  width:100% !important;
  max-width:1200px !important;
  padding:18px 4.2% !important;
}
.afs-hero .afs-kicker { display:none; }
.afs-hero h1 {
  max-width:380px !important;
  margin:0 0 4px !important;
  font-size:clamp(30px,3.2vw,40px) !important;
  line-height:1.08 !important;
  letter-spacing:-.6px !important;
}
.afs-hero p {
  max-width:390px !important;
  margin:0 0 12px !important;
  font-size:15px !important;
  line-height:1.35 !important;
}
.afs-hero .afs-btn { padding:9px 17px !important; font-size:12px !important; }
.afs-hero-points { display:none !important; }

/* Keep the latest feed editorially compact and reserve a right rail. */
.afs-journal-sidebar-layout {
  display:grid !important;
  grid-template-columns:minmax(0,2.05fr) minmax(260px,.95fr);
  gap:28px;
  align-items:start;
  width:min(1200px,100%);
  max-width:1200px;
  margin:0 auto;
  padding:25px 20px 48px;
  box-sizing:border-box;
  background:#f7f1e7;
}
.afs-journal-sidebar-layout > .afs-latest {
  min-width:0;
  width:100%;
}
.afs-journal-sidebar-layout .afs-section-head {
  margin-bottom:14px;
  padding-bottom:10px;
}
.afs-journal-sidebar-layout .afs-section-head h2 {
  font-size:clamp(27px,2.8vw,36px);
}
.afs-journal-sidebar-layout .afs-feed-row {
  grid-template-columns:minmax(135px,34%) minmax(0,1fr);
  min-height:130px;
  gap:13px;
  padding:8px;
  border-radius:9px;
}
.afs-journal-sidebar-layout .afs-feed-image { height:118px; }
.afs-journal-sidebar-layout .afs-feed-copy h3 {
  font-size:clamp(16px,1.55vw,20px);
  line-height:1.2;
}
.afs-journal-sidebar-layout .afs-feed-excerpt {
  -webkit-line-clamp:2;
  font-size:12px;
  line-height:1.4;
  margin-bottom:7px;
}
.afs-journal-sidebar-layout .afs-feed-meta { font-size:10px; gap:10px; }
.afs-home-popular {
  min-width:0;
  padding-left:20px;
  border-left:1px solid #e5d9c6;
}
.afs-home-popular .afs-section-head {
  margin:0 0 8px;
  padding-bottom:10px;
  border-bottom:1px solid #e5d9c6;
}
.afs-home-popular .afs-section-head h2 {
  margin:0;
  color:#07351f;
  font:700 25px/1.1 Georgia,serif;
}
.afs-home-popular .afs-popular-item {
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #e9dfd1;
}
.afs-home-popular .afs-popular-image {
  display:block;
  width:92px;
  height:76px;
  overflow:hidden;
  border-radius:7px;
}
.afs-home-popular .afs-popular-image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.afs-home-popular .afs-popular-item h3 {
  margin:0 0 6px;
  font:700 14px/1.28 Georgia,serif;
  color:#173b28;
}
.afs-home-popular .afs-popular-item h3 a {
  color:#173b28;
  text-decoration:none;
}
.afs-home-popular .afs-popular-item h3 a:hover { color:#a66e18; }
.afs-home-popular .afs-popular-item small {
  color:#887b68;
  font:11px Arial,Helvetica,sans-serif;
}

/* Page 2+ and article pages use the configurable Main Sidebar widget area. */
.content-wrap.single-layout {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:28px;
  align-items:start;
  max-width:1200px;
  margin:28px auto 50px;
}
.content-wrap.single-layout .single-article { min-width:0; }
.content-wrap.single-layout .site-sidebar,
.content-wrap .site-sidebar {
  display:block;
  min-width:0;
}
.site-sidebar .widget {
  margin:0 0 18px;
  padding:16px;
  background:#fffdf8;
  border:1px solid #e8dfd1;
  border-radius:9px;
  overflow-wrap:anywhere;
}
.site-sidebar .widget-title {
  margin:0 0 12px;
  color:#07351f;
  font:700 20px/1.2 Georgia,serif;
}
.afs-journal-sidebar-layout .site-sidebar {
  display:block;
}
@media (max-width:900px) and (min-width:651px) {
  .afs-journal-sidebar-layout {
    grid-template-columns:minmax(0,1.7fr) minmax(220px,1fr);
    gap:18px;
    padding-left:15px;
    padding-right:15px;
  }
  .afs-journal-sidebar-layout .afs-feed-row {
    grid-template-columns:120px minmax(0,1fr);
  }
  .afs-home-popular { padding-left:14px; }
  .afs-home-popular .afs-popular-item { grid-template-columns:75px minmax(0,1fr); gap:9px; }
  .afs-home-popular .afs-popular-image { width:75px; height:65px; }
}
@media (max-width:650px) {
  .afs-hero {
    height:190px !important;
    margin:10px 10px 0 !important;
    border-radius:9px !important;
  }
  .afs-hero-content { padding:18px 17px !important; }
  .afs-hero h1 { font-size:29px !important; }
  .afs-hero p { max-width:245px !important; font-size:12px !important; }
  .afs-hero .afs-btn { padding:8px 12px !important; font-size:11px !important; }
  .afs-journal-sidebar-layout {
    display:flex !important;
    flex-direction:column !important;
    gap:24px;
    padding:20px 12px 34px;
  }
  .afs-journal-sidebar-layout > .afs-latest,
  .afs-home-popular,
  .afs-journal-sidebar-layout > .site-sidebar {
    width:100%;
    max-width:none;
  }
  .afs-journal-sidebar-layout .afs-feed-row {
    grid-template-columns:104px minmax(0,1fr);
    min-height:110px;
    gap:10px;
    padding:7px;
  }
  .afs-journal-sidebar-layout .afs-feed-image { height:100px; }
  .afs-journal-sidebar-layout .afs-feed-copy h3 { font-size:15px; }
  .afs-journal-sidebar-layout .afs-feed-excerpt { font-size:10px; }
  .afs-journal-sidebar-layout .afs-feed-meta { font-size:9px; }
  .afs-home-popular {
    padding:18px 0 0;
    border-left:0;
    border-top:1px solid #e5d9c6;
  }
  .afs-home-popular .afs-section-head h2 { font-size:23px; }
  .afs-home-popular .afs-popular-item {
    grid-template-columns:82px minmax(0,1fr);
    padding:9px 0;
  }
  .afs-home-popular .afs-popular-image { width:82px; height:65px; }
  .afs-home-popular .afs-popular-item h3 { font-size:13px; }
  .content-wrap.single-layout {
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 12px 30px !important;
    gap:22px !important;
    box-sizing:border-box;
  }
  .content-wrap.single-layout .single-article {
    width:100% !important;
    max-width:100% !important;
  }
  .content-wrap.single-layout .site-sidebar,
  .content-wrap.single-layout #secondary {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
  }
  .content-wrap.single-layout .site-sidebar .widget {
    margin-bottom:13px;
  }
}


/* AfrikStories Editorial 2.7.0 — closer match to supplied homepage reference */
.afs-hero-reference {
  position:relative;
  height:clamp(205px,16vw,245px) !important;
  max-width:1440px !important;
  width:calc(100% - 64px) !important;
  margin:16px auto 16px !important;
  border-radius:15px !important;
  overflow:hidden;
  background:#06351f;
}
.afs-hero-reference .afs-hero-photo,
.afs-hero-reference .afs-hero-photo img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.afs-hero-reference .afs-hero-photo img {
  object-fit:cover !important;
  object-position:center 43% !important;
}
.afs-hero-reference .afs-hero-shade {
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(0,43,22,.97) 0%,rgba(0,43,22,.9) 28%,rgba(0,43,22,.38) 49%,rgba(0,43,22,0) 73%) !important;
}
.afs-hero-reference .afs-hero-content {
  position:relative;
  z-index:2;
  width:100% !important;
  max-width:1440px !important;
  height:100%;
  padding:25px 4.2% !important;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.afs-hero-reference h1 {
  color:#fff !important;
  font:700 clamp(34px,3vw,48px)/1.05 Georgia,serif !important;
  letter-spacing:-.8px !important;
  margin:0 0 4px !important;
  max-width:470px;
}
.afs-hero-reference p {
  color:#fff !important;
  font:400 clamp(14px,1.25vw,18px)/1.35 Arial,Helvetica,sans-serif !important;
  max-width:440px !important;
  margin:0 0 16px !important;
}
.afs-hero-reference .afs-btn-gold {
  background:#ffc83d !important;
  color:#172b20 !important;
  border-radius:11px !important;
  padding:12px 20px !important;
  font:700 14px Arial,Helvetica,sans-serif !important;
  box-shadow:none !important;
}
.afs-category-reference {
  max-width:1440px !important;
  width:calc(100% - 64px) !important;
  margin:0 auto 26px !important;
  padding:0 !important;
  background:transparent !important;
}
.afs-category-reference .afs-category-grid {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
  align-items:stretch !important;
}
.afs-category-reference .afs-category-reference-card {
  display:flex !important;
  flex-direction:row !important;
  justify-content:flex-start !important;
  align-items:center !important;
  gap:13px !important;
  width:100% !important;
  min-width:0 !important;
  height:104px !important;
  box-sizing:border-box !important;
  padding:13px 15px !important;
  border:1px solid #e6ddcf !important;
  border-radius:14px !important;
  background:linear-gradient(135deg,#fffdf8,#f9f2e7) !important;
  box-shadow:0 3px 12px rgba(45,35,20,.045) !important;
  text-decoration:none !important;
  text-shadow:none !important;
  overflow:hidden;
}
.afs-category-reference .afs-category-reference-card:before,
.afs-category-reference .afs-category-reference-card:after { display:none !important; }
.afs-category-icon {
  flex:0 0 48px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#075128;
  color:#fff;
  font:700 29px/1 Arial,sans-serif;
  text-shadow:none;
}
.afs-category-icon.afs-icon-gold {
  background:transparent;
  color:#a96e17;
  font-size:42px;
}
.afs-category-text {
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  gap:4px;
  color:#111;
}
.afs-category-text strong {
  display:block;
  color:#111;
  font:700 clamp(15px,1.35vw,20px)/1.12 Georgia,serif;
  letter-spacing:-.35px;
  white-space:nowrap;
}
.afs-category-text small {
  display:block;
  color:#171717;
  font:400 clamp(11px,.95vw,14px)/1.3 Arial,Helvetica,sans-serif;
}
.afs-services-reference {
  max-width:1440px !important;
  width:calc(100% - 64px) !important;
  margin:0 auto 18px !important;
  min-height:205px;
  display:grid !important;
  grid-template-columns:30% minmax(0,1fr) !important;
  border:1px solid #e7ddcc !important;
  border-radius:14px !important;
  overflow:hidden !important;
  background:#fbf2e3 !important;
  box-shadow:0 3px 12px rgba(45,35,20,.04);
}
.afs-services-reference .afs-services-image {
  min-height:205px !important;
  background-position:center 38% !important;
  background-size:cover !important;
}
.afs-services-reference .afs-services-copy {
  padding:20px clamp(22px,3vw,48px) !important;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.afs-services-reference .afs-kicker {
  color:#80501b !important;
  font:700 11px/1.2 Arial,Helvetica,sans-serif !important;
  letter-spacing:1.8px !important;
  text-transform:uppercase;
  margin:0 0 6px !important;
}
.afs-services-reference h2 {
  color:#07351f !important;
  font:700 clamp(25px,2.5vw,37px)/1.08 Georgia,serif !important;
  margin:0 0 6px !important;
  letter-spacing:-.7px !important;
}
.afs-services-reference p {
  color:#171717 !important;
  font:400 14px/1.4 Arial,Helvetica,sans-serif !important;
  margin:0 0 10px !important;
}
.afs-services-reference ul {
  display:flex !important;
  flex-wrap:wrap;
  gap:9px 24px !important;
  list-style:none !important;
  padding:0 !important;
  margin:0 0 13px !important;
  color:#151515;
  font:600 12px/1.3 Arial,Helvetica,sans-serif;
}
.afs-services-reference ul li:before {
  content:"✓";
  display:inline-grid;
  place-items:center;
  width:18px;height:18px;
  margin-right:7px;
  border-radius:50%;
  background:#e9ae24;
  color:#fff;
  font-weight:700;
}
.afs-services-reference .afs-btn-green {
  background:#075128 !important;
  color:#fff !important;
  padding:11px 18px !important;
  border-radius:9px !important;
  font:700 13px Arial,Helvetica,sans-serif !important;
}

/* Pagination matches the reference: Previous, numbered pages, Next. */
.afs-journal-sidebar-layout .afs-home-pagination {
  display:block !important;
  margin:25px 0 10px !important;
  text-align:center !important;
}
.afs-journal-sidebar-layout .afs-home-pagination ul {
  display:flex !important;
  flex-wrap:wrap;
  justify-content:center !important;
  align-items:center !important;
  gap:9px !important;
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
}
.afs-journal-sidebar-layout .afs-home-pagination li { margin:0 !important; padding:0 !important; }
.afs-journal-sidebar-layout .afs-home-pagination a,
.afs-journal-sidebar-layout .afs-home-pagination span {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:58px !important;
  height:48px !important;
  padding:0 17px !important;
  border:1px solid #ddd5c9 !important;
  border-radius:11px !important;
  background:#fffdf9 !important;
  color:#1b1b1b !important;
  font:700 15px/1 Arial,Helvetica,sans-serif !important;
  text-decoration:none !important;
  box-sizing:border-box !important;
}
.afs-journal-sidebar-layout .afs-home-pagination .current {
  min-width:48px !important;
  background:#064326 !important;
  border-color:#064326 !important;
  color:#fff !important;
}
.afs-journal-sidebar-layout .afs-home-pagination .prev,
.afs-journal-sidebar-layout .afs-home-pagination .next {
  padding:0 20px !important;
  min-width:0 !important;
}
.afs-journal-sidebar-layout .afs-home-pagination a:hover {
  background:#eab52f !important;
  border-color:#eab52f !important;
  color:#172b20 !important;
}
@media (max-width:900px) {
  .afs-hero-reference,.afs-category-reference,.afs-services-reference {
    width:calc(100% - 30px) !important;
  }
  .afs-category-reference .afs-category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .afs-category-reference .afs-category-reference-card { height:96px !important; }
}
@media (max-width:650px) {
  .afs-hero-reference {
    width:calc(100% - 20px) !important;
    height:205px !important;
    margin:10px auto 12px !important;
  }
  .afs-hero-reference .afs-hero-photo img {
    object-position:68% 43% !important;
  }
  .afs-hero-reference .afs-hero-shade {
    background:linear-gradient(90deg,rgba(0,43,22,.96) 0%,rgba(0,43,22,.82) 44%,rgba(0,43,22,.12) 100%) !important;
  }
  .afs-hero-reference .afs-hero-content { padding:17px 18px !important; }
  .afs-hero-reference h1 { font-size:29px !important; max-width:230px; }
  .afs-hero-reference p { max-width:245px !important; font-size:12px !important; }
  .afs-hero-desktop-break { display:none; }
  .afs-hero-reference .afs-btn-gold { padding:9px 13px !important; font-size:11px !important; }
  .afs-category-reference {
    width:calc(100% - 20px) !important;
    margin-bottom:15px !important;
  }
  .afs-category-reference .afs-category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }
  .afs-category-reference .afs-category-reference-card {
    height:88px !important;
    gap:8px !important;
    padding:9px !important;
    border-radius:10px !important;
  }
  .afs-category-icon { flex-basis:34px; width:34px; height:34px; font-size:21px; }
  .afs-category-icon.afs-icon-gold { font-size:29px; }
  .afs-category-text strong { font-size:13px; white-space:normal; }
  .afs-category-text small { font-size:10px; line-height:1.2; }
  .afs-services-reference {
    width:calc(100% - 20px) !important;
    grid-template-columns:1fr !important;
    margin-bottom:12px !important;
  }
  .afs-services-reference .afs-services-image { min-height:145px !important; }
  .afs-services-reference .afs-services-copy { padding:17px !important; }
  .afs-services-reference h2 { font-size:24px !important; }
  .afs-services-reference p { font-size:12px !important; }
  .afs-services-reference ul { gap:8px 12px !important; font-size:10px !important; }
  .afs-services-reference .afs-btn-green { width:auto !important; }
  .afs-journal-sidebar-layout .afs-home-pagination ul { gap:5px !important; }
  .afs-journal-sidebar-layout .afs-home-pagination a,
  .afs-journal-sidebar-layout .afs-home-pagination span {
    min-width:34px !important;
    height:37px !important;
    padding:0 10px !important;
    border-radius:8px !important;
    font-size:11px !important;
  }
  .afs-journal-sidebar-layout .afs-home-pagination .prev,
  .afs-journal-sidebar-layout .afs-home-pagination .next {
    padding:0 10px !important;
  }
}


/* AfrikStories Editorial 2.8.0 — edge-to-edge mobile homepage and refined article reading */
.afs-home-popular { min-width:0; }
@media (max-width:650px) {
  /* Homepage promotional content reaches the screen edges without side gutters. */
  .afs-hero-reference {
    width:100% !important;
    max-width:none !important;
    margin:0 0 13px !important;
    border-radius:0 !important;
    height:clamp(215px,62vw,275px) !important;
  }
  .afs-hero-reference .afs-hero-photo img {
    object-fit:cover !important;
    object-position:74% 43% !important;
  }
  .afs-hero-reference .afs-hero-shade {
    background:linear-gradient(90deg,rgba(0,43,22,.97) 0%,rgba(0,43,22,.84) 43%,rgba(0,43,22,.16) 100%) !important;
  }
  .afs-hero-reference .afs-hero-content {
    padding:18px 20px !important;
  }
  .afs-hero-reference h1 {
    font-size:30px !important;
    line-height:1.06 !important;
    max-width:245px !important;
  }
  .afs-hero-reference p {
    font-size:13px !important;
    line-height:1.4 !important;
    max-width:245px !important;
  }

  /* Compact, consistent two-column category tiles. */
  .afs-category-reference {
    width:100% !important;
    max-width:none !important;
    padding:0 12px !important;
    box-sizing:border-box !important;
    margin:0 auto 15px !important;
  }
  .afs-category-reference .afs-category-grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
  }
  .afs-category-reference .afs-category-reference-card {
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:8px !important;
    height:132px !important;
    min-height:132px !important;
    padding:12px !important;
    border-radius:12px !important;
    background:#fffdf8 !important;
    border:1px solid #e8dfd2 !important;
    box-shadow:0 2px 8px rgba(40,30,15,.05) !important;
  }
  .afs-category-icon {
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
    font-size:20px !important;
  }
  .afs-category-icon.afs-icon-gold {
    width:34px !important;
    height:34px !important;
    border-radius:50% !important;
    background:#f4ead8 !important;
    color:#986315 !important;
    font-size:23px !important;
  }
  .afs-category-text { gap:3px !important; }
  .afs-category-text strong {
    font-size:14px !important;
    line-height:1.15 !important;
    white-space:normal !important;
  }
  .afs-category-text small {
    font-size:10.5px !important;
    line-height:1.25 !important;
  }

  /* Writing services banner also spans the mobile viewport. */
  .afs-services-reference {
    width:100% !important;
    max-width:none !important;
    margin:0 0 12px !important;
    border-left:0 !important;
    border-right:0 !important;
    border-radius:0 !important;
  }

  /* Popular Contents is desktop-only; the mobile feed keeps its full reading width. */
  .afs-journal-sidebar-layout {
    display:block !important;
    width:100% !important;
    max-width:none !important;
    padding-left:12px !important;
    padding-right:12px !important;
    box-sizing:border-box !important;
  }
  .afs-journal-sidebar-layout .afs-home-popular {
    display:none !important;
  }
}

/* Article pages: clear editorial reading hierarchy on desktop and mobile. */
.single-layout {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(260px,30%) !important;
  gap:30px !important;
  width:min(1200px,calc(100% - 48px)) !important;
  max-width:1200px !important;
  margin:30px auto 48px !important;
  align-items:start !important;
}
.single-article {
  min-width:0;
  padding:0;
  color:#30352f;
}
.single-article .article-header {
  margin:0 0 20px !important;
  padding:0 0 17px !important;
  border-bottom:1px solid #e7dfd3 !important;
}
.single-article .card-category {
  display:inline-block;
  margin:0 0 11px !important;
  padding:6px 11px !important;
  border-radius:20px !important;
  background:#f2d17a !important;
  color:#263a2a !important;
  font:700 11px/1.2 Arial,Helvetica,sans-serif !important;
}
.single-article .article-header h1 {
  margin:0 0 13px !important;
  color:#123b28 !important;
  font:700 clamp(29px,3vw,38px)/1.16 Georgia,serif !important;
  letter-spacing:-.55px !important;
}
.single-article .post-meta {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  color:#777064 !important;
  font:13px/1.4 Arial,Helvetica,sans-serif !important;
}
.single-article .post-meta a { color:#93651f !important; text-decoration:none; }
.single-article .article-featured-image {
  margin:0 0 24px !important;
  border-radius:12px !important;
  overflow:hidden;
  background:#eee5d8;
}
.single-article .article-featured-image img {
  display:block;
  width:100% !important;
  height:auto !important;
  max-height:520px;
  object-fit:cover;
}
.single-article .entry-content {
  color:#333a34 !important;
  font:400 17px/1.82 Arial,Helvetica,sans-serif !important;
  overflow-wrap:anywhere;
}
.single-article .entry-content p { margin:0 0 1.35em !important; }
.single-article .entry-content h2 {
  margin:1.6em 0 .65em !important;
  color:#123b28 !important;
  font:700 27px/1.25 Georgia,serif !important;
}
.single-article .entry-content h3 {
  margin:1.45em 0 .55em !important;
  color:#244b35 !important;
  font:700 22px/1.3 Georgia,serif !important;
}
.single-article .entry-content h4 {
  margin:1.3em 0 .5em !important;
  color:#244b35 !important;
  font:700 19px/1.35 Georgia,serif !important;
}
.single-article .entry-content a {
  color:#98651b !important;
  text-decoration:underline;
  text-underline-offset:2px;
}
.single-article .entry-content ul,
.single-article .entry-content ol {
  margin:0 0 1.4em 1.4em !important;
  padding:0 !important;
}
.single-article .entry-content li { margin:0 0 .55em !important; }
.single-article .entry-content blockquote {
  margin:1.5em 0 !important;
  padding:15px 20px !important;
  border-left:4px solid #c79a43 !important;
  background:#f7f1e7 !important;
  color:#344638 !important;
  font:italic 18px/1.65 Georgia,serif !important;
}
.single-article .article-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:28px 0 !important;
}
.single-article .article-tags a {
  display:inline-block;
  padding:6px 10px;
  border-radius:18px;
  background:#f1eadf;
  color:#78531d !important;
  font:12px Arial,Helvetica,sans-serif;
  text-decoration:none !important;
}
.single-layout > #secondary,
.single-layout > .widget-area,
.single-layout > aside {
  min-width:0;
}
@media (max-width:650px) {
  .single-layout {
    display:flex !important;
    flex-direction:column !important;
    gap:22px !important;
    width:100% !important;
    max-width:none !important;
    margin:0 auto 28px !important;
    padding:0 14px !important;
    box-sizing:border-box !important;
  }
  .single-article { width:100% !important; }
  .single-article .article-header {
    margin:0 0 15px !important;
    padding:18px 0 13px !important;
  }
  .single-article .article-header h1 {
    font-size:25px !important;
    line-height:1.2 !important;
    letter-spacing:-.25px !important;
  }
  .single-article .post-meta { font-size:11px !important; }
  .single-article .article-featured-image {
    margin:0 -14px 19px !important;
    border-radius:0 !important;
  }
  .single-article .article-featured-image img {
    width:100% !important;
    max-height:330px !important;
    object-fit:cover !important;
  }
  .single-article .entry-content {
    font-size:16px !important;
    line-height:1.78 !important;
  }
  .single-article .entry-content p { margin-bottom:1.2em !important; }
  .single-article .entry-content h2 {
    font-size:22px !important;
    line-height:1.28 !important;
    margin:1.45em 0 .55em !important;
  }
  .single-article .entry-content h3 {
    font-size:19px !important;
    line-height:1.3 !important;
  }
  .single-article .entry-content h4 { font-size:17px !important; }
  .single-article .entry-content blockquote {
    margin:1.2em 0 !important;
    padding:12px 15px !important;
    font-size:16px !important;
  }
  .single-layout > #secondary,
  .single-layout > .widget-area,
  .single-layout > aside {
    width:100% !important;
    max-width:none !important;
  }
}


/* AfrikStories Editorial 2.9.0 — Facebook-inspired article typography and link colours */
@media (min-width:651px) {
  .single-layout {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(280px,320px) !important;
    gap:34px !important;
    width:100% !important;
    max-width:none !important;
    margin:28px 0 48px !important;
    padding:0 clamp(24px,3.2vw,54px) !important;
    box-sizing:border-box !important;
    align-items:start !important;
  }
  .single-article {
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    font-family:Arial,Helvetica,sans-serif !important;
  }
  .single-article .article-header h1 {
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:34px !important;
    font-weight:700 !important;
    line-height:1.22 !important;
    letter-spacing:-.45px !important;
  }
  .single-article .entry-content {
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:17px !important;
    line-height:1.78 !important;
    color:#303a35 !important;
  }
  .single-article .entry-content h2,
  .single-article .entry-content h3,
  .single-article .entry-content h4 {
    font-family:Arial,Helvetica,sans-serif !important;
    font-weight:700 !important;
    letter-spacing:-.2px !important;
  }
  .single-layout > #secondary,
  .single-layout > .widget-area,
  .single-layout > aside {
    width:100% !important;
    max-width:320px !important;
    min-width:0 !important;
  }
}

/* Bright, accessible link treatment on article pages, desktop and mobile. */
.single-article .entry-content a,
.single-article .article-tags a,
.single-article .post-meta a,
.single-article .comment-content a,
.single-article .comments-area a {
  color:#1877f2 !important;
  text-decoration:underline !important;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
  transition:color .15s ease;
}
.single-article .entry-content a:visited,
.single-article .article-tags a:visited {
  color:#1464c4 !important;
}
.single-article .entry-content a:hover,
.single-article .entry-content a:focus,
.single-article .article-tags a:hover,
.single-article .post-meta a:hover,
.single-article .comment-content a:hover,
.single-article .comments-area a:hover {
  color:#16834a !important;
}
.single-article .article-tags a {
  text-decoration:none !important;
  background:#eef6f0 !important;
  border:1px solid #cfe5d5;
}
@media (max-width:650px) {
  .single-article .entry-content a,
  .single-article .article-tags a,
  .single-article .post-meta a,
  .single-article .comment-content a,
  .single-article .comments-area a {
    color:#1877f2 !important;
  }
  .single-article .entry-content a:hover,
  .single-article .entry-content a:focus,
  .single-article .article-tags a:hover,
  .single-article .comments-area a:hover {
    color:#16834a !important;
  }
}


/* AfrikStories Editorial 2.10.0 — desktop article canvas blends into site background */
@media (min-width:651px) {
  body.single-post {
    background:#f7f1e7 !important;
  }
  body.single-post .site-content,
  body.single-post .content-wrap,
  body.single-post .single-layout,
  body.single-post .single-article,
  body.single-post .single-article .article-header,
  body.single-post .single-article .entry-content {
    background:transparent !important;
    box-shadow:none !important;
  }
  body.single-post .single-layout {
    width:100% !important;
    max-width:none !important;
    margin:0 auto !important;
    padding:34px clamp(28px,4vw,64px) 55px !important;
    box-sizing:border-box !important;
    border:0 !important;
    border-radius:0 !important;
  }
  body.single-post .single-article {
    width:100% !important;
    max-width:none !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
  }
  body.single-post .single-article .article-header {
    padding:0 0 18px !important;
    border-bottom:1px solid #e5dccc !important;
  }
  body.single-post .single-article .entry-content {
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
  }
}


/* AfrikStories Editorial 2.11.0 — edge-to-edge mobile article layout */
@media (max-width:650px) {
  body.single-post {
    background:#f7f1e7 !important;
    overflow-x:hidden;
  }
  body.single-post .site-content,
  body.single-post .content-wrap,
  body.single-post .single-layout {
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }
  body.single-post .single-layout {
    display:flex !important;
    flex-direction:column !important;
    gap:22px !important;
    margin-top:0 !important;
    margin-bottom:26px !important;
  }
  body.single-post .single-article {
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }
  body.single-post .single-article .article-header {
    margin:0 !important;
    padding:20px 18px 14px !important;
    background:transparent !important;
    border:0 !important;
    border-bottom:1px solid #e5dccc !important;
    box-shadow:none !important;
  }
  body.single-post .single-article .article-header h1 {
    font-size:21px !important;
    line-height:1.23 !important;
    letter-spacing:-.2px !important;
    margin:0 0 11px !important;
  }
  body.single-post .single-article .post-meta {
    font-size:11px !important;
    line-height:1.4 !important;
    gap:7px !important;
  }
  body.single-post .single-article .article-featured-image {
    width:100vw !important;
    max-width:100vw !important;
    margin:0 0 19px !important;
    padding:0 !important;
    border-radius:0 !important;
    overflow:hidden !important;
    background:transparent !important;
  }
  body.single-post .single-article .article-featured-image img {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    max-height:390px !important;
    object-fit:cover !important;
    border-radius:0 !important;
  }
  body.single-post .single-article .entry-content {
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 18px !important;
    box-sizing:border-box !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    font-size:16px !important;
    line-height:1.72 !important;
  }
  body.single-post .single-article .entry-content p {
    margin:0 0 1.2em !important;
  }
  body.single-post .single-article .entry-content h2 {
    font-size:21px !important;
    line-height:1.28 !important;
  }
  body.single-post .single-article .entry-content h3 {
    font-size:18px !important;
    line-height:1.3 !important;
  }
  body.single-post .single-layout > #secondary,
  body.single-post .single-layout > .widget-area,
  body.single-post .single-layout > aside {
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 18px !important;
    box-sizing:border-box !important;
  }
}


/* AfrikStories Editorial 2.12.0 — sticky desktop sidebars and below-popular widget slot */
@media (min-width:651px) {
  /* Article, archive and page sidebars remain visible as the reader scrolls. */
  .single-layout > .site-sidebar,
  .content-wrap > .site-sidebar,
  .archive-layout > .site-sidebar,
  .page-layout > .site-sidebar {
    position:sticky !important;
    top:24px !important;
    align-self:start !important;
    max-height:calc(100vh - 48px);
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
  }

  /* Keep the Popular Contents column and its advert slot together while scrolling. */
  .afs-journal-sidebar-layout .afs-home-popular {
    position:sticky !important;
    top:24px !important;
    align-self:start !important;
    max-height:calc(100vh - 48px);
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
  }
  .afs-home-popular .afs-below-popular-widgets {
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top:22px;
  }
  .afs-home-popular .afs-below-popular-widgets .widget {
    margin:0 0 18px;
  }
  .afs-home-popular .afs-below-popular-widgets img {
    max-width:100%;
    height:auto;
  }
}
@media (max-width:650px) {
  .afs-home-popular .afs-below-popular-widgets { display:none !important; }
}


/* AfrikStories Editorial 2.13.0 — sticky sidebar reliability fix */
@media (min-width:651px) {
  /* Sticky positioning fails when an ancestor creates a scrolling container.
     Keep the article and homepage layout ancestors visible. */
  html, body,
  #page, .site, .site-content, main,
  .content-wrap, .content-wrap.single-layout,
  .afs-journal, .afs-journal-sidebar-layout,
  .afs-journal-sidebar-layout > .afs-latest {
    overflow:visible !important;
  }

  /* Main widget sidebar beside individual posts and regular pages. */
  body.single-post .content-wrap.single-layout,
  body.page .content-wrap.page-layout {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 300px !important;
    align-items:start !important;
    gap:30px !important;
  }
  body.single-post .content-wrap.single-layout > .site-sidebar,
  body.page .content-wrap.page-layout > .site-sidebar,
  .content-wrap > .site-sidebar {
    position:-webkit-sticky !important;
    position:sticky !important;
    top:88px !important;
    align-self:start !important;
    height:max-content !important;
    max-height:none !important;
    overflow:visible !important;
    z-index:5;
  }

  /* Right rail on homepage: Popular Contents plus its advert/widget slot. */
  .afs-journal-sidebar-layout {
    display:grid !important;
    grid-template-columns:minmax(0,2.05fr) minmax(260px,.95fr) !important;
    align-items:start !important;
    overflow:visible !important;
  }
  .afs-journal-sidebar-layout > .afs-home-popular {
    position:-webkit-sticky !important;
    position:sticky !important;
    top:88px !important;
    align-self:start !important;
    height:max-content !important;
    max-height:none !important;
    overflow:visible !important;
    z-index:5;
  }
}


/* AfrikStories Editorial 2.14.0 — actual sticky blocker fix */
@media (min-width:651px) {
  /*
   * The theme's .site-shell wrapper had overflow:hidden.
   * That creates an overflow ancestor and prevents position:sticky
   * from sticking to the viewport while the document scrolls.
   */
  .site-shell {
    overflow:visible !important;
  }

  /* Keep clipping confined to decorative media/cards, not the page wrapper. */
  .site-header,
  .site-footer {
    overflow:visible;
  }

  body.single-post .content-wrap.single-layout {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 300px !important;
    align-items:start !important;
    gap:30px !important;
    overflow:visible !important;
  }

  body.single-post .content-wrap.single-layout > .site-sidebar {
    position:-webkit-sticky !important;
    position:sticky !important;
    top:88px !important;
    align-self:start !important;
    height:auto !important;
    max-height:calc(100vh - 108px) !important;
    overflow-y:auto !important;
    overscroll-behavior:contain;
    z-index:20;
  }

  .afs-journal-sidebar-layout {
    overflow:visible !important;
  }
  .afs-journal-sidebar-layout > .afs-home-popular {
    position:-webkit-sticky !important;
    position:sticky !important;
    top:88px !important;
    align-self:start !important;
    height:auto !important;
    max-height:calc(100vh - 108px) !important;
    overflow-y:auto !important;
    overscroll-behavior:contain;
    z-index:20;
  }
}

/* Do not alter the approved mobile layout. */


/* AfrikStories Editorial 2.15.0 — polished sidebar cards, natural page scrolling */
@media (min-width:651px) {
  /* Keep the sticky rail attached to the page; never create an inner scrollbar. */
  body.single-post .content-wrap.single-layout > .site-sidebar,
  body.page .content-wrap.page-layout > .site-sidebar,
  .content-wrap > .site-sidebar,
  .afs-journal-sidebar-layout > .afs-home-popular {
    position:-webkit-sticky !important;
    position:sticky !important;
    top:88px !important;
    align-self:start !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
    overflow-y:visible !important;
    overscroll-behavior:auto !important;
    scrollbar-width:none !important;
  }
  body.single-post .content-wrap.single-layout > .site-sidebar::-webkit-scrollbar,
  .afs-journal-sidebar-layout > .afs-home-popular::-webkit-scrollbar {
    display:none !important;
    width:0 !important;
  }
}

/* Sidebar widget appearance */
.site-sidebar {
  display:flex;
  flex-direction:column;
  gap:18px;
}
.site-sidebar .widget {
  margin:0 0 18px !important;
  padding:0 0 16px !important;
  overflow:hidden;
  background:#fffdf8 !important;
  border:1px solid #e5dccd !important;
  border-radius:13px !important;
  box-shadow:0 5px 18px rgba(43,35,22,.055) !important;
}
.site-sidebar .widget-title {
  margin:0 0 13px !important;
  padding:14px 17px !important;
  background:#073b24 !important;
  color:#fff !important;
  font:700 17px/1.25 Arial,Helvetica,sans-serif !important;
  letter-spacing:.1px;
}
.site-sidebar .widget > :not(.widget-title) {
  margin-left:16px;
  margin-right:16px;
}
.site-sidebar .widget ul {
  list-style:none !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
  padding:0 !important;
}
.site-sidebar .widget li {
  position:relative;
  padding:9px 0 !important;
  border-bottom:1px solid #eee7dc;
  color:#314237;
  font:13px/1.5 Arial,Helvetica,sans-serif;
}
.site-sidebar .widget li:last-child { border-bottom:0; }
.site-sidebar .widget li a {
  color:#174b31 !important;
  font-weight:600;
  text-decoration:none !important;
}
.site-sidebar .widget li a:hover {
  color:#1877f2 !important;
}
.site-sidebar .widget p {
  color:#5c655e;
  font:13px/1.65 Arial,Helvetica,sans-serif;
}
.site-sidebar .widget img {
  max-width:100%;
  height:auto;
  border-radius:8px;
}
.site-sidebar .widget select,
.site-sidebar .widget input[type="text"],
.site-sidebar .widget input[type="search"] {
  max-width:100%;
  border:1px solid #ddd4c6;
  border-radius:7px;
  padding:9px 10px;
  background:#fff;
}

/* Popular Contents right rail */
.afs-home-popular {
  padding:0 0 15px !important;
  border:1px solid #e5dccd !important;
  border-radius:14px !important;
  background:#fffdf8 !important;
  box-shadow:0 5px 18px rgba(43,35,22,.055) !important;
  overflow:visible !important;
}
.afs-home-popular > .afs-section-head {
  margin:0 0 4px !important;
  padding:15px 16px !important;
  border:0 !important;
  border-radius:13px 13px 0 0 !important;
  background:#073b24 !important;
}
.afs-home-popular > .afs-section-head h2 {
  color:#fff !important;
  font:700 18px/1.25 Arial,Helvetica,sans-serif !important;
}
.afs-home-popular .afs-popular-item {
  margin:0 14px !important;
  padding:12px 0 !important;
  border-bottom:1px solid #eee7dc !important;
}
.afs-home-popular .afs-popular-item:last-of-type {
  border-bottom:0 !important;
}
.afs-home-popular .afs-popular-image {
  width:82px !important;
  height:68px !important;
  border-radius:9px !important;
  box-shadow:0 2px 7px rgba(0,0,0,.12);
}
.afs-home-popular .afs-popular-item h3 {
  margin:0 0 5px !important;
  color:#173b28 !important;
  font:700 13px/1.35 Arial,Helvetica,sans-serif !important;
}
.afs-home-popular .afs-popular-item h3 a {
  color:#173b28 !important;
  text-decoration:none !important;
}
.afs-home-popular .afs-popular-item h3 a:hover {
  color:#1877f2 !important;
}
.afs-home-popular .afs-popular-item small {
  color:#81877f !important;
  font:11px/1.35 Arial,Helvetica,sans-serif !important;
}
.afs-home-popular .afs-below-popular-widgets {
  margin:15px 13px 0 !important;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.afs-home-popular .afs-below-popular-widgets .widget {
  margin:0 !important;
  padding:14px !important;
  border:1px solid #dce7d9 !important;
  border-radius:12px !important;
  background:#f4f8ef !important;
  box-shadow:none !important;
}
.afs-home-popular .afs-below-popular-widgets .widget-title {
  padding:0 !important;
  margin:0 0 8px !important;
  background:transparent !important;
  color:#174b31 !important;
  font:700 16px/1.3 Arial,Helvetica,sans-serif !important;
}
.afs-home-popular .afs-below-popular-widgets .widget p {
  margin:0 0 10px !important;
  color:#5b665d !important;
  font:13px/1.55 Arial,Helvetica,sans-serif !important;
}
.afs-home-popular .afs-below-popular-widgets img {
  display:block;
  max-width:100%;
  height:auto;
  border-radius:8px;
}
@media (max-width:650px) {
  .site-sidebar .widget { border-radius:10px !important; }
  .site-sidebar .widget-title { font-size:15px !important; }
}


/* AfrikStories Editorial 2.16.0 — article heading hierarchy inspired by the supplied reference */
@media (min-width:651px) {
  body.single-post .single-article .article-header {
    padding:0 0 24px !important;
    margin:0 0 24px !important;
    border-bottom:1px solid #e5dccd !important;
  }
  body.single-post .single-article .article-header .card-category {
    display:inline-flex !important;
    align-items:center;
    width:auto !important;
    margin:0 0 22px !important;
    padding:9px 22px !important;
    border-radius:999px !important;
    font:700 17px/1.2 Arial,Helvetica,sans-serif !important;
    letter-spacing:.1px;
  }
  body.single-post .single-article .article-header h1 {
    margin:0 0 28px !important;
    color:#17231f !important;
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:clamp(36px,3.25vw,48px) !important;
    font-weight:800 !important;
    line-height:1.16 !important;
    letter-spacing:-1.25px !important;
    max-width:100% !important;
  }
  body.single-post .single-article .article-header .post-meta {
    display:flex !important;
    align-items:center;
    flex-wrap:wrap;
    gap:14px !important;
    color:#707a75 !important;
    font:400 16px/1.5 Arial,Helvetica,sans-serif !important;
  }
  body.single-post .single-article .article-header .post-meta a {
    color:#174b31 !important;
    font-weight:700;
    text-decoration:none !important;
  }
  body.single-post .single-article .entry-content h2 {
    margin:1.45em 0 .55em !important;
    color:#17231f !important;
    font:800 27px/1.25 Arial,Helvetica,sans-serif !important;
    letter-spacing:-.45px;
  }
  body.single-post .single-article .entry-content h3 {
    margin:1.3em 0 .5em !important;
    color:#17231f !important;
    font:750 22px/1.3 Arial,Helvetica,sans-serif !important;
  }
  body.single-post .single-article .entry-content h4 {
    margin:1.2em 0 .45em !important;
    color:#17231f !important;
    font:700 19px/1.35 Arial,Helvetica,sans-serif !important;
  }
  body.single-post .single-article .entry-content p {
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:17px !important;
    line-height:1.8 !important;
  }
}


/* AfrikStories Editorial 2.17.0 — article breadcrumbs and social sharing */
.afs-breadcrumbs {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 28px;
  color:#78827b;
  font:400 14px/1.6 Arial,Helvetica,sans-serif;
}
.afs-breadcrumbs a {
  color:#52665a;
  text-decoration:none;
}
.afs-breadcrumbs a:hover {
  color:#1877f2;
  text-decoration:underline;
}
.afs-breadcrumb-separator {
  color:#a5afa8;
  font-size:21px;
  line-height:1;
}
.afs-share-row {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin:26px 0 30px;
}
.afs-share-label {
  margin-right:4px;
  color:#69746e;
  font:400 17px/1.3 Arial,Helvetica,sans-serif;
}
.afs-share-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:54px;
  border-radius:50%;
  color:#fff !important;
  text-decoration:none !important;
  font:700 25px/1 Arial,Helvetica,sans-serif;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  transition:transform .18s ease, box-shadow .18s ease;
}
.afs-share-button:hover {
  transform:translateY(-2px);
  box-shadow:0 5px 12px rgba(0,0,0,.18);
}
.afs-share-facebook { background:#1877f2; }
.afs-share-x { background:#080808; }
.afs-share-whatsapp { background:#20c66b; font-size:24px; }
.afs-share-linkedin { background:#0a7eaa; font-size:22px; }
@media (max-width:650px) {
  .afs-breadcrumbs {
    gap:7px;
    margin-bottom:20px;
    font-size:12px;
  }
  .afs-share-row {
    gap:10px;
    margin:20px 0 24px;
  }
  .afs-share-label { font-size:15px; }
  .afs-share-button {
    width:43px;
    height:43px;
    font-size:21px;
  }
}


/* AfrikStories Editorial 2.18.0 — recurring Discover Africa banner and archive layout */
.afs-post-page-hero {
  display:block !important;
  position:relative;
  width:calc(100% - 56px);
  max-width:var(--width,1200px);
  margin:28px auto 0 !important;
  box-sizing:border-box;
}
.afs-post-page-hero .afs-hero-photo,
.afs-post-page-hero .afs-hero-shade {
  position:absolute;
  inset:0;
  border-radius:inherit;
}
.afs-post-page-hero .afs-hero-photo img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:74% 43%;
  border-radius:inherit;
}
.afs-post-page-hero .afs-hero-content {
  position:relative;
  z-index:2;
}
@media (min-width:651px) {
  .category-list-layout {
    width:calc(100% - 56px) !important;
    max-width:1400px !important;
    margin:35px auto 60px !important;
    padding:30px 28px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 300px !important;
    align-items:start !important;
    gap:32px !important;
    box-sizing:border-box !important;
  }
  .category-list-layout > .post-list {
    min-width:0;
    width:100%;
  }
  .category-list-layout > .site-sidebar {
    width:100%;
    min-width:0;
    position:sticky;
    top:88px;
    align-self:start;
  }
}
@media (max-width:650px) {
  .afs-post-page-hero {
    width:100% !important;
    max-width:none !important;
    margin:0 0 18px !important;
    border-radius:0 !important;
  }
  .afs-post-page-hero .afs-hero-photo,
  .afs-post-page-hero .afs-hero-shade,
  .afs-post-page-hero .afs-hero-photo img {
    border-radius:0 !important;
  }
  .category-list-layout {
    width:100% !important;
    max-width:none !important;
    display:block !important;
    padding:18px 14px !important;
    margin:18px auto 35px !important;
    box-sizing:border-box !important;
  }
  .category-list-layout > .site-sidebar {
    margin-top:24px;
  }
}


/* AfrikStories Editorial 2.19.0 — cleaner article sharing panel */
.single-article .afs-share-row {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin:22px 0 26px;
  padding:15px 18px;
  background:rgba(255,255,255,.62);
  border:1px solid #e7dece;
  border-radius:14px;
  box-shadow:0 4px 14px rgba(35,48,35,.045);
}
.single-article .afs-share-label {
  margin-right:5px;
  color:#425247;
  font:700 14px/1.2 Arial,Helvetica,sans-serif;
  letter-spacing:.02em;
}
.single-article .afs-share-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:50%;
  text-decoration:none !important;
  color:#fff !important;
  font:700 17px/1 Arial,Helvetica,sans-serif;
  box-shadow:0 2px 6px rgba(0,0,0,.10);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.single-article .afs-share-button:hover,
.single-article .afs-share-button:focus-visible {
  transform:translateY(-2px);
  box-shadow:0 5px 12px rgba(0,0,0,.16);
  filter:brightness(1.08);
}
.single-article .afs-share-facebook {background:#1877f2}
.single-article .afs-share-x {background:#171717}
.single-article .afs-share-whatsapp {background:#20bd68}
.single-article .afs-share-linkedin {background:#0a78a8}
@media (max-width:650px) {
  .single-article .afs-share-row {
    gap:10px;
    margin:17px 0 22px;
    padding:12px 13px;
    border-radius:12px;
  }
  .single-article .afs-share-label {
    font-size:13px;
    margin-right:2px;
  }
  .single-article .afs-share-button {
    width:37px;
    height:37px;
    flex-basis:37px;
    font-size:16px;
  }
}


/* AfrikStories Editorial 2.20.0 — inherit page background for share strip */
.single-article .afs-share-row {
  background:transparent !important;
  border:1px solid rgba(180,138,82,.28) !important;
  box-shadow:none !important;
  border-radius:12px !important;
}
.single-article .afs-share-label {
  color:inherit !important;
}
.single-article .afs-published-by {
  color:inherit;
}


/* AfrikStories Editorial 2.23.0 — compact hero headline, no supporting description */
.afs-hero-reference .afs-hero-content h1 {
  font-size:clamp(34px, 3.4vw, 52px) !important;
  line-height:1.08 !important;
  max-width:760px;
}
.afs-hero-reference .afs-hero-content > p {
  display:none !important;
}
@media (max-width:650px) {
  .afs-hero-reference .afs-hero-content h1 {
    font-size:clamp(27px, 7vw, 36px) !important;
    line-height:1.12 !important;
  }
}

/* AfrikStories Editorial 2.24.0 — requested hero heading sizes */
.afs-hero-reference .afs-hero-content h1 {
  font-size:56px !important;
  line-height:1.08 !important;
}
@media (max-width:650px) {
  .afs-hero-reference .afs-hero-content h1 {
    font-size:15px !important;
    line-height:1.2 !important;
  }
}


/* AfrikStories Editorial 2.25.0 — mobile hero fit and compact rectangular category tiles */
@media (max-width:900px) {
  body.home .afs-hero-reference .afs-hero-content h1 {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    font-size:15px !important;
    line-height:1.25 !important;
    letter-spacing:0 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
    margin:0 0 10px !important;
  }

  body.home .afs-hero-reference .afs-hero-content {
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    padding:18px 18px !important;
  }

  body.home .afs-hero-reference .afs-hero-content > p {
    display:none !important;
  }

  body.home .afs-hero-reference .afs-hero-actions {
    margin-top:0 !important;
  }

  body.home .afs-hero-reference .afs-btn-gold {
    max-width:100% !important;
    white-space:normal !important;
    font-size:12px !important;
    padding:10px 13px !important;
  }

  body.home .afs-category-reference .afs-category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }

  body.home .afs-category-reference .afs-category-reference-card {
    height:96px !important;
    min-height:96px !important;
    padding:10px 11px !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:9px !important;
    border-radius:10px !important;
  }

  body.home .afs-category-reference .afs-category-icon {
    flex:0 0 34px !important;
    width:34px !important;
    height:34px !important;
    font-size:20px !important;
  }

  body.home .afs-category-reference .afs-category-text {
    min-width:0 !important;
  }

  body.home .afs-category-reference .afs-category-text strong {
    display:block !important;
    font-size:13px !important;
    line-height:1.15 !important;
    margin:0 0 3px !important;
  }

  body.home .afs-category-reference .afs-category-text small {
    display:block !important;
    font-size:10px !important;
    line-height:1.25 !important;
  }
}

@media (max-width:420px) {
  body.home .afs-category-reference .afs-category-reference-card {
    height:90px !important;
    min-height:90px !important;
    padding:8px !important;
    gap:7px !important;
  }
  body.home .afs-category-reference .afs-category-icon {
    flex-basis:30px !important;
    width:30px !important;
    height:30px !important;
    font-size:18px !important;
  }
  body.home .afs-category-reference .afs-category-text strong {
    font-size:12px !important;
  }
  body.home .afs-category-reference .afs-category-text small {
    font-size:9px !important;
  }
}


/* AfrikStories Editorial 2.26.0 — hero CTA only */
body.home .afs-hero-reference .afs-hero-content h1 {
  display:none !important;
}
body.home .afs-hero-reference .afs-hero-content > p {
  display:none !important;
}
body.home .afs-hero-reference .afs-hero-content {
  justify-content:center !important;
}
body.home .afs-hero-reference .afs-hero-actions {
  margin:0 !important;
}
body.home .afs-hero-reference .afs-btn-gold {
  font-size:16px !important;
  padding:14px 22px !important;
}
@media (max-width:650px) {
  body.home .afs-hero-reference .afs-btn-gold {
    font-size:12px !important;
    padding:10px 13px !important;
  }
}


/* AfrikStories Editorial 2.27.0 — refined mobile category cards */
@media (max-width:900px) {
  body.home .afs-category-reference {
    width:100% !important;
    max-width:none !important;
    padding:0 14px !important;
    margin:0 auto 18px !important;
    box-sizing:border-box !important;
  }

  body.home .afs-category-reference .afs-category-grid {
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
    align-items:stretch !important;
  }

  body.home .afs-category-reference .afs-category-reference-card {
    display:grid !important;
    grid-template-columns:44px 2px minmax(0,1fr) !important;
    grid-template-rows:1fr !important;
    align-items:center !important;
    justify-content:stretch !important;
    column-gap:10px !important;
    height:116px !important;
    min-height:116px !important;
    padding:12px 10px !important;
    box-sizing:border-box !important;
    border:1px solid #eadfce !important;
    border-radius:17px !important;
    background:#fffdf8 !important;
    box-shadow:0 4px 14px rgba(45,55,40,.055) !important;
    text-decoration:none !important;
    color:#172b20 !important;
    overflow:hidden !important;
  }

  body.home .afs-category-reference .afs-category-icon {
    grid-column:1 !important;
    grid-row:1 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    flex:none !important;
    border-radius:50% !important;
    background:#075b35 !important;
    color:#fff !important;
    font-size:24px !important;
    line-height:1 !important;
    text-shadow:none !important;
  }

  body.home .afs-category-reference .afs-category-icon.afs-icon-gold {
    background:#075b35 !important;
    color:#fff !important;
    font-size:25px !important;
  }

  body.home .afs-category-reference .afs-category-reference-card:before {
    content:"" !important;
    grid-column:2 !important;
    grid-row:1 !important;
    position:static !important;
    display:block !important;
    width:2px !important;
    height:72% !important;
    min-height:52px !important;
    background:#d5a32e !important;
    border-radius:2px !important;
    opacity:1 !important;
    z-index:1 !important;
  }

  body.home .afs-category-reference .afs-category-text {
    grid-column:3 !important;
    grid-row:1 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    min-width:0 !important;
    gap:4px !important;
    color:#172b20 !important;
    text-shadow:none !important;
  }

  body.home .afs-category-reference .afs-category-text strong {
    display:block !important;
    margin:0 !important;
    color:#172b20 !important;
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:15px !important;
    font-weight:750 !important;
    line-height:1.12 !important;
    letter-spacing:-.25px !important;
    overflow-wrap:anywhere !important;
  }

  body.home .afs-category-reference .afs-category-text small {
    display:block !important;
    margin:0 !important;
    color:#41483f !important;
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:11px !important;
    font-weight:400 !important;
    line-height:1.3 !important;
    overflow-wrap:anywhere !important;
  }

  body.home .afs-category-reference .afs-category-reference-card:after {
    border:0 !important;
    border-radius:17px !important;
  }
}

@media (max-width:420px) {
  body.home .afs-category-reference {
    padding:0 12px !important;
  }
  body.home .afs-category-reference .afs-category-grid {
    gap:10px !important;
  }
  body.home .afs-category-reference .afs-category-reference-card {
    grid-template-columns:36px 2px minmax(0,1fr) !important;
    column-gap:8px !important;
    height:112px !important;
    min-height:112px !important;
    padding:10px 8px !important;
    border-radius:15px !important;
  }
  body.home .afs-category-reference .afs-category-icon {
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    font-size:20px !important;
  }
  body.home .afs-category-reference .afs-category-text strong {
    font-size:13px !important;
  }
  body.home .afs-category-reference .afs-category-text small {
    font-size:10px !important;
    line-height:1.25 !important;
  }
}


/* 2.28.0 cache-busted mobile category card layout */
@media screen and (max-width: 900px) {
 body.home .afs-category-band.afs-category-reference .afs-category-grid { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:12px !important; }
 body.home .afs-category-band.afs-category-reference a.afs-category-reference-card { display:grid !important; grid-template-columns:42px 2px minmax(0,1fr) !important; align-items:center !important; gap:9px !important; min-height:112px !important; height:112px !important; padding:10px !important; background:#fffdf8 !important; border:1px solid #eadfce !important; border-radius:16px !important; box-shadow:0 4px 14px rgba(45,55,40,.07) !important; box-sizing:border-box !important; overflow:hidden !important; }
 body.home .afs-category-band.afs-category-reference .afs-category-reference-card:before { content:"" !important; display:block !important; grid-column:2 !important; grid-row:1 !important; width:2px !important; height:68px !important; background:#d5a32e !important; position:static !important; opacity:1 !important; }
 body.home .afs-category-band.afs-category-reference .afs-category-icon { grid-column:1 !important; grid-row:1 !important; width:42px !important; height:42px !important; min-width:42px !important; border-radius:50% !important; background:#075b35 !important; color:#fff !important; display:flex !important; align-items:center !important; justify-content:center !important; font-size:22px !important; }
 body.home .afs-category-band.afs-category-reference .afs-category-text { grid-column:3 !important; grid-row:1 !important; min-width:0 !important; display:flex !important; flex-direction:column !important; gap:4px !important; }
 body.home .afs-category-band.afs-category-reference .afs-category-text strong { color:#173b2b !important; font:700 14px/1.15 Arial,Helvetica,sans-serif !important; margin:0 !important; }
 body.home .afs-category-band.afs-category-reference .afs-category-text small { color:#41483f !important; font:400 10px/1.28 Arial,Helvetica,sans-serif !important; margin:0 !important; }
}
@media screen and (max-width:380px) {
 body.home .afs-category-band.afs-category-reference .afs-category-grid { gap:8px !important; }
 body.home .afs-category-band.afs-category-reference a.afs-category-reference-card { grid-template-columns:34px 2px minmax(0,1fr) !important; gap:7px !important; min-height:104px !important; height:104px !important; padding:8px !important; }
 body.home .afs-category-band.afs-category-reference .afs-category-icon { width:34px !important; height:34px !important; min-width:34px !important; font-size:18px !important; }
 body.home .afs-category-band.afs-category-reference .afs-category-text strong { font-size:12px !important; }
 body.home .afs-category-band.afs-category-reference .afs-category-text small { font-size:9px !important; }
}


/* AfrikStories Editorial 2.29.0 — mobile homepage hero and editorial content cards */
.afs-feed-readmore {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:2px 0 10px;
  padding:9px 14px;
  border-radius:7px;
  background:#075b35;
  color:#fff !important;
  font:700 12px/1.2 Arial,Helvetica,sans-serif;
  text-decoration:none !important;
  transition:background .2s ease;
}
.afs-feed-readmore:hover { background:#b48a52; color:#172b20 !important; }

/* Archive cards retain their desktop two-column format. */
.list-card-body { min-width:0; }
.list-card-excerpt { min-width:0; }
.list-card-excerpt p { margin:0 0 10px; }
.list-card-excerpt .read-link {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 14px;
  border-radius:7px;
  background:#075b35;
  color:#fff !important;
  font:700 12px/1.2 Arial,Helvetica,sans-serif;
  text-decoration:none;
}
.list-card-excerpt .read-link:hover { background:#b48a52; color:#172b20 !important; }

@media (max-width:650px) {
  /* Match the mobile post-page banner on the homepage. */
  body.home .afs-hero-reference {
    width:100% !important;
    max-width:none !important;
    height:clamp(220px,66vw,285px) !important;
    min-height:220px !important;
    margin:0 0 14px !important;
    border-radius:0 !important;
  }
  body.home .afs-hero-reference .afs-hero-photo,
  body.home .afs-hero-reference .afs-hero-shade,
  body.home .afs-hero-reference .afs-hero-photo img { border-radius:0 !important; }
  body.home .afs-hero-reference .afs-hero-photo img {
    object-fit:cover !important;
    object-position:74% 43% !important;
  }
  body.home .afs-hero-reference .afs-hero-shade {
    background:linear-gradient(90deg,rgba(0,43,22,.97) 0%,rgba(0,43,22,.84) 43%,rgba(0,43,22,.16) 100%) !important;
  }
  body.home .afs-hero-reference .afs-hero-content {
    display:flex !important;
    justify-content:center !important;
    align-items:flex-start !important;
    width:100% !important;
    height:100% !important;
    padding:20px 22px !important;
  }
  body.home .afs-hero-reference .afs-hero-content h1 {
    display:block !important;
    max-width:270px !important;
    width:100% !important;
    margin:0 0 14px !important;
    color:#fff !important;
    font:700 clamp(25px,7vw,32px)/1.08 Georgia,serif !important;
    letter-spacing:-.4px !important;
    white-space:normal !important;
  }
  body.home .afs-hero-reference .afs-hero-content > p { display:none !important; }
  body.home .afs-hero-reference .afs-hero-actions { margin:0 !important; }
  body.home .afs-hero-reference .afs-btn-gold {
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    max-width:100% !important;
    padding:11px 15px !important;
    border-radius:9px !important;
    background:#ffc83d !important;
    color:#172b20 !important;
    font:700 12px/1.25 Arial,Helvetica,sans-serif !important;
    white-space:normal !important;
  }

  /* Homepage latest contents: title, image, excerpt, continue reading. */
  .afs-journal-sidebar-layout .afs-feed-row {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    min-height:0 !important;
    padding:13px !important;
    border:1px solid #e8dfd2 !important;
    border-radius:13px !important;
    background:#fffdf8 !important;
    box-shadow:0 4px 14px rgba(43,34,19,.05) !important;
  }
  .afs-journal-sidebar-layout .afs-feed-copy { display:contents !important; }
  .afs-journal-sidebar-layout .afs-feed-category {
    order:0 !important;
    align-self:flex-start !important;
    margin:0 0 7px !important;
    font-size:10px !important;
  }
  .afs-journal-sidebar-layout .afs-feed-copy h3 {
    order:1 !important;
    margin:0 0 11px !important;
    color:#173b28 !important;
    font:700 21px/1.2 Georgia,serif !important;
  }
  .afs-journal-sidebar-layout .afs-feed-image {
    order:2 !important;
    display:block !important;
    width:100% !important;
    height:auto !important;
    aspect-ratio:16/9 !important;
    margin:0 0 11px !important;
    border-radius:9px !important;
    overflow:hidden !important;
  }
  .afs-journal-sidebar-layout .afs-feed-image img {
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
  .afs-journal-sidebar-layout .afs-feed-excerpt {
    order:3 !important;
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    margin:0 0 12px !important;
    color:#454b45 !important;
    font:14px/1.5 Arial,Helvetica,sans-serif !important;
  }
  .afs-journal-sidebar-layout .afs-feed-readmore {
    order:4 !important;
    align-self:flex-start !important;
    margin:0 0 10px !important;
    padding:10px 15px !important;
    font-size:12px !important;
  }
  .afs-journal-sidebar-layout .afs-feed-meta {
    order:5 !important;
    display:flex !important;
    gap:10px !important;
    margin:0 !important;
    padding-top:9px !important;
    border-top:1px solid #eee5d8 !important;
    color:#817767 !important;
    font-size:10px !important;
  }

  /* Category archive cards: heading first, wide featured image, excerpt, CTA. */
  .category-list-layout .list-card {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    padding:14px !important;
    margin:0 0 16px !important;
    border:1px solid #e8dfd2 !important;
    border-radius:13px !important;
    background:#fffdf8 !important;
    box-shadow:0 4px 14px rgba(43,34,19,.05) !important;
  }
  .category-list-layout .list-card-body { display:contents !important; }
  .category-list-layout .list-card-body .post-meta {
    order:0 !important;
    margin:0 0 6px !important;
    font-size:10px !important;
  }
  .category-list-layout .list-card-body h2 {
    order:1 !important;
    margin:0 0 11px !important;
    color:#173b28 !important;
    font:700 21px/1.2 Georgia,serif !important;
  }
  .category-list-layout .list-image {
    order:2 !important;
    display:block !important;
    width:100% !important;
    margin:0 0 11px !important;
    border-radius:9px !important;
    overflow:hidden !important;
    aspect-ratio:16/9 !important;
  }
  .category-list-layout .list-image img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
  .category-list-layout .list-card-excerpt {
    order:3 !important;
    margin:0 !important;
  }
  .category-list-layout .list-card-excerpt p {
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    margin:0 0 12px !important;
    color:#454b45 !important;
    font:14px/1.5 Arial,Helvetica,sans-serif !important;
  }
  .category-list-layout .list-card-excerpt .read-link {
    display:inline-flex !important;
    align-items:center !important;
    gap:7px !important;
    padding:10px 15px !important;
    border-radius:7px !important;
    background:#075b35 !important;
    color:#fff !important;
    font:700 12px/1.2 Arial,Helvetica,sans-serif !important;
  }
}


/* AfrikStories Editorial 2.30.0 — 15px mobile content titles */
@media (max-width: 767px) {
  /* Homepage Latest Contents feed */
  .afs-latest .afs-feed-copy h3,
  .afs-latest .afs-feed-copy h3 a,
  .afs-latest-grid .afs-feed-copy h3,
  .afs-latest-grid .afs-feed-copy h3 a {
    font-size:15px !important;
    line-height:1.35 !important;
  }

  /* Category and other archive content titles */
  body.archive .post-list article h2,
  body.archive .post-list article h2 a,
  body.archive .post-list article h3,
  body.archive .post-list article h3 a,
  body.category .post-list article h2,
  body.category .post-list article h2 a,
  body.category .post-list article h3,
  body.category .post-list article h3 a,
  .card-body h3,
  .card-body h3 a {
    font-size:15px !important;
    line-height:1.35 !important;
  }
}


/* AfrikStories Editorial 2.31.0 — temporarily hide homepage category tiles on mobile */
@media (max-width: 767px) {
  body.home .afs-category-reference,
  body.home .afs-category-band {
    display:none !important;
  }
}


/* AfrikStories Editorial 2.32.1 — desktop article banner, 18px titles and mobile-style category archives */
@media (min-width:768px) {
  /* The welcome banner is retained on mobile articles but hidden on desktop articles. */
  body.single-post .afs-post-page-hero {
    display:none !important;
  }

  /* Bring desktop post title typography into a consistent 18px scale. */
  body.single-post .article-header h1,
  body.single-post .single-article h1,
  body.archive .post-list .list-card-body h2,
  body.blog .post-list .list-card-body h2,
  body.search .post-list .list-card-body h2,
  .afs-latest .afs-feed-copy h3,
  .afs-latest .afs-feed-copy h3 a,
  .afs-latest-grid .afs-feed-copy h3,
  .afs-latest-grid .afs-feed-copy h3 a,
  .afs-popular-item h3,
  .afs-popular-item h3 a,
  .afs-content-card h3,
  .afs-mixed-title,
  .afs-mixed-item h3,
  .list-card-body h2,
  .list-card-body h2 a {
    font-size:18px !important;
    line-height:1.3 !important;
  }

  /* Category archive cards use the same sequence as mobile:
     title first, featured image second, excerpt third. */
  .category-list-layout .list-card {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    padding:16px !important;
    margin:0 0 18px !important;
    border:1px solid #e8dfd2 !important;
    border-radius:13px !important;
    background:#fffdf8 !important;
    box-shadow:0 4px 14px rgba(43,34,19,.05) !important;
  }
  .category-list-layout .list-card-body {
    display:contents !important;
  }
  .category-list-layout .list-card-body .post-meta {
    order:0 !important;
    margin:0 0 6px !important;
    color:#817767 !important;
    font:11px/1.4 Arial,Helvetica,sans-serif !important;
  }
  .category-list-layout .list-card-body h2 {
    order:1 !important;
    margin:0 0 11px !important;
    color:#173b28 !important;
    font:700 18px/1.3 Georgia,serif !important;
  }
  .category-list-layout .list-card-body h2 a {
    color:inherit !important;
    text-decoration:none !important;
  }
  .category-list-layout .list-image {
    order:2 !important;
    display:block !important;
    width:100% !important;
    margin:0 0 12px !important;
    border-radius:9px !important;
    overflow:hidden !important;
    aspect-ratio:16/9 !important;
  }
  .category-list-layout .list-image img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
  .category-list-layout .list-card-excerpt {
    order:3 !important;
    margin:0 !important;
  }
  .category-list-layout .list-card-excerpt p {
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
    margin:0 0 12px !important;
    color:#454b45 !important;
    font:14px/1.55 Arial,Helvetica,sans-serif !important;
  }
  .category-list-layout .list-card-excerpt .read-link {
    display:inline-flex !important;
    align-items:center !important;
    gap:7px !important;
    padding:10px 15px !important;
    border-radius:7px !important;
    background:#075b35 !important;
    color:#fff !important;
    font:700 12px/1.2 Arial,Helvetica,sans-serif !important;
    text-decoration:none !important;
  }
}


/* AfrikStories Editorial 2.33.0 — Stories directory page facelift */
body.page .afs-stories-directory-layout {
  width:min(1240px, calc(100% - 48px));
  display:grid;
  grid-template-columns:minmax(0, 1fr) 300px;
  gap:32px;
  align-items:start;
  margin:34px auto 56px;
}
.afs-stories-directory .article-header {
  margin:0 0 20px;
  padding:0 0 15px;
  border-bottom:1px solid #e4d8c5;
}
.afs-stories-directory .article-header h1 {
  margin:0;
  color:#123b27;
  font:700 clamp(28px,3vw,38px)/1.15 Georgia,serif;
  letter-spacing:-.5px;
}
.afs-stories-directory-content {
  color:#303b33;
  font:16px/1.7 Arial,Helvetica,sans-serif;
}
.afs-stories-directory-content > p:first-child {
  margin:0 0 22px;
}
.afs-stories-directory-content img.wp-image-17391 {
  display:block;
  width:min(100%, 520px);
  height:auto;
  margin:0 auto 24px;
  border-radius:14px;
  box-shadow:0 8px 24px rgba(29,45,31,.10);
}
.afs-stories-directory-content > div[style*="background: #0a8f2e"],
.afs-stories-directory-content > div[style*="background:#0a8f2e"] {
  margin:24px 0 30px !important;
  padding:24px !important;
  border:1px solid rgba(180,138,82,.42) !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,#123b27 0%,#075b35 100%) !important;
  box-shadow:0 12px 28px rgba(15,52,33,.14) !important;
  font-family:Arial,Helvetica,sans-serif !important;
}
.afs-stories-directory-content > div[style*="background: #0a8f2e"] > div:first-child,
.afs-stories-directory-content > div[style*="background:#0a8f2e"] > div:first-child {
  padding-bottom:14px !important;
  margin-bottom:8px !important;
  color:#f5d28a !important;
  font:700 20px/1.3 Georgia,serif !important;
  letter-spacing:.1px;
}
.afs-stories-directory-content > div[style*="background: #0a8f2e"] a,
.afs-stories-directory-content > div[style*="background:#0a8f2e"] a {
  min-height:48px;
  padding:12px 10px !important;
  border-bottom:1px solid rgba(255,255,255,.16) !important;
  color:#fff !important;
  font:600 15px/1.35 Arial,Helvetica,sans-serif !important;
  transition:background .2s ease, padding .2s ease;
}
.afs-stories-directory-content > div[style*="background: #0a8f2e"] a:hover,
.afs-stories-directory-content > div[style*="background:#0a8f2e"] a:hover {
  padding-left:16px !important;
  color:#ffd36f !important;
  background:rgba(255,255,255,.07);
}
.afs-stories-directory-content strong {
  display:block;
  margin:28px 0 14px;
  color:#123b27;
  font:700 25px/1.2 Georgia,serif;
}
.afs-stories-directory-content hr {
  height:3px;
  margin:14px 0 22px;
  border:0;
  background:linear-gradient(90deg,#bd914b 0 90px,#e9dfcf 90px 100%);
}
.afs-stories-directory-content p:last-child {
  margin:22px 0 0;
  padding:15px 18px;
  border-left:4px solid #bd914b;
  border-radius:0 10px 10px 0;
  background:#f1e9dc;
  color:#465348;
  font-size:14px;
}
.afs-stories-directory-content .category-blog-items,
.afs-stories-directory-content .banner-news-list,
.afs-stories-directory-content .news-snippet,
.afs-stories-directory-content .afrik-mixed-feed {
  margin-top:18px;
}
.afs-stories-directory-content a:not([style]) {
  color:#0867a8;
}
@media (max-width:767px) {
  body.page .afs-stories-directory-layout {
    display:block;
    width:100%;
    margin:16px auto 34px;
    padding:0 15px;
    box-sizing:border-box;
  }
  .afs-stories-directory .article-header {
    margin-bottom:16px;
    padding-bottom:12px;
  }
  .afs-stories-directory .article-header h1 {
    font-size:27px;
    line-height:1.18;
  }
  .afs-stories-directory-content {
    font-size:15px;
    line-height:1.65;
  }
  .afs-stories-directory-content img.wp-image-17391 {
    width:100%;
    max-width:520px;
    margin-bottom:18px;
    border-radius:11px;
  }
  .afs-stories-directory-content > div[style*="background: #0a8f2e"],
  .afs-stories-directory-content > div[style*="background:#0a8f2e"] {
    margin:18px 0 24px !important;
    padding:18px !important;
    border-radius:14px !important;
  }
  .afs-stories-directory-content > div[style*="background: #0a8f2e"] > div:first-child,
  .afs-stories-directory-content > div[style*="background:#0a8f2e"] > div:first-child {
    font-size:18px !important;
  }
  .afs-stories-directory-content > div[style*="background: #0a8f2e"] a,
  .afs-stories-directory-content > div[style*="background:#0a8f2e"] a {
    min-height:46px;
    font-size:14px !important;
  }
  .afs-stories-directory-content strong {
    margin:24px 0 12px;
    font-size:22px;
  }
}


/* AfrikStories Editorial 2.34.0 — Stories directory markup and visual system */
.afs-stories-directory-content .afs-stories-page {
  --afs-story-green:#073b25;
  --afs-story-green-2:#0c5b37;
  --afs-story-gold:#c99b4b;
  --afs-story-cream:#fffaf1;
  color:#303a32;
}
.afs-stories-page .afs-stories-intro-image {
  display:block;
  width:min(100%,560px);
  height:auto;
  margin:0 auto 24px;
  border:1px solid #e7dece;
  border-radius:15px;
  box-shadow:0 8px 24px rgba(24,48,32,.09);
}
.afs-stories-page .afs-story-sections {
  margin:24px 0 34px;
  padding:23px 25px 18px;
  border:1px solid rgba(201,155,75,.45);
  border-radius:17px;
  background:linear-gradient(135deg,#073b25 0%,#0b5735 100%);
  box-shadow:0 12px 28px rgba(7,59,37,.13);
}
.afs-stories-page .afs-story-sections-title {
  margin:0 0 10px;
  padding:0 0 15px;
  border-bottom:1px solid rgba(255,255,255,.23);
  color:#f4d18b;
  font:700 22px/1.25 Georgia,serif;
}
.afs-stories-page .afs-story-section-links {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:24px;
}
.afs-stories-page .afs-story-section-links a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:0;
  padding:15px 5px;
  border-bottom:1px solid rgba(255,255,255,.15);
  color:#fff !important;
  font:600 15px/1.35 Arial,Helvetica,sans-serif;
  text-decoration:none !important;
  transition:color .18s ease, padding .18s ease, background .18s ease;
}
.afs-stories-page .afs-story-section-links a span {
  flex:0 0 auto;
  color:#f2c66f;
  font-size:23px;
  line-height:1;
}
.afs-stories-page .afs-story-section-links a:hover {
  padding-left:11px;
  color:#ffd77f !important;
}
.afs-stories-page .afs-completed-heading {
  display:flex;
  align-items:center;
  gap:14px;
  margin:32px 0 17px;
  color:#123b27;
  font:700 clamp(24px,2.5vw,31px)/1.2 Georgia,serif;
}
.afs-stories-page .afs-completed-heading:after {
  content:"";
  flex:1;
  height:2px;
  background:linear-gradient(90deg,#c99b4b,#e9dfcf);
}
.afs-stories-page .afs-story-help-note {
  margin:26px 0 0;
  padding:16px 19px;
  border-left:4px solid #c99b4b;
  border-radius:0 11px 11px 0;
  background:#f1e9dc;
  color:#4c584e;
  font:14px/1.65 Arial,Helvetica,sans-serif;
}
@media(max-width:767px) {
  .afs-stories-page .afs-stories-intro-image {
    width:100%;
    margin-bottom:18px;
    border-radius:11px;
  }
  .afs-stories-page .afs-story-sections {
    margin:19px 0 27px;
    padding:18px 17px 12px;
    border-radius:14px;
  }
  .afs-stories-page .afs-story-sections-title {
    font-size:19px;
  }
  .afs-stories-page .afs-story-section-links {
    grid-template-columns:1fr;
  }
  .afs-stories-page .afs-story-section-links a {
    padding:13px 3px;
    font-size:14px;
  }
  .afs-stories-page .afs-completed-heading {
    margin:26px 0 14px;
    font-size:24px;
  }
  .afs-stories-page .afs-story-help-note {
    padding:13px 15px;
    font-size:13px;
  }
}


/* AfrikStories Editorial 2.35.0 — approved Story Sections panel redesign */
.afs-stories-page .afs-stories-intro-image {
  display:block;
  width:min(100%,560px);
  height:auto;
  margin:0 auto 24px;
  border-radius:15px;
  object-fit:contain;
  box-shadow:0 8px 22px rgba(19,42,28,.10);
}
.afs-stories-page .afs-story-sections-panel {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  margin:24px 0 32px;
  padding:25px 26px 27px;
  border:1px solid rgba(201,155,75,.55);
  border-radius:19px;
  background:
    radial-gradient(circle at 88% 12%,rgba(38,116,64,.24),transparent 24%),
    linear-gradient(135deg,#073b25 0%,#07502f 58%,#06351f 100%);
  box-shadow:0 12px 28px rgba(7,59,37,.14);
}
.afs-stories-page .afs-story-sections-panel:before {
  content:"";
  position:absolute;
  z-index:-1;
  top:-42px;
  right:-32px;
  width:230px;
  height:155px;
  opacity:.12;
  background-image:
    repeating-linear-gradient(45deg,transparent 0 13px,#d7b15f 13px 17px,transparent 17px 29px),
    repeating-linear-gradient(-45deg,transparent 0 13px,#d7b15f 13px 17px,transparent 17px 29px);
  mask-image:linear-gradient(135deg,transparent 0%,#000 42%,#000 100%);
}
.afs-stories-page .afs-story-sections-heading {
  display:flex;
  align-items:center;
  gap:15px;
  margin:0 0 22px;
  padding:0 0 15px;
  border-bottom:1px solid rgba(255,255,255,.24);
  color:#f4d28a;
  font:700 clamp(21px,2.2vw,28px)/1.2 Georgia,serif;
}
.afs-stories-page .afs-story-sections-heading .afs-story-book-icon {
  display:inline-grid;
  flex:0 0 48px;
  width:48px;
  height:48px;
  place-items:center;
  color:#f4c54e;
  font:normal 40px/1 Georgia,serif;
}
.afs-stories-page .afs-story-section-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 16px;
}
.afs-stories-page .afs-story-section-card {
  display:flex;
  align-items:center;
  gap:17px;
  min-width:0;
  min-height:91px;
  box-sizing:border-box;
  padding:15px 18px;
  border:1px solid #d6a83d;
  border-radius:17px;
  background:linear-gradient(110deg,#fffdf7 0%,#f6efdf 100%);
  color:#14291d !important;
  text-decoration:none !important;
  box-shadow:0 4px 10px rgba(0,0,0,.10);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.afs-stories-page .afs-story-section-card:hover {
  transform:translateY(-2px);
  border-color:#f4c54e;
  box-shadow:0 8px 18px rgba(0,0,0,.17);
}
.afs-stories-page .afs-story-section-icon {
  display:grid;
  flex:0 0 55px;
  width:55px;
  height:55px;
  place-items:center;
  color:#08723c;
  font:normal 37px/1 Arial,sans-serif;
}
.afs-stories-page .afs-story-section-icon.afs-icon-red {color:#b51e1e}
.afs-stories-page .afs-story-section-icon.afs-icon-gold {color:#b88316}
.afs-stories-page .afs-story-section-copy {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  min-width:0;
  gap:4px;
}
.afs-stories-page .afs-story-section-copy strong {
  display:block;
  margin:0;
  color:#10251a;
  font:700 19px/1.2 Arial,Helvetica,sans-serif;
}
.afs-stories-page .afs-story-section-copy small {
  display:block;
  color:#39443c;
  font:400 14px/1.35 Arial,Helvetica,sans-serif;
}
.afs-stories-page .afs-story-section-arrow {
  flex:0 0 auto;
  margin-left:auto;
  color:#07502f;
  font:700 30px/1 Arial,sans-serif;
}
.afs-stories-page .afs-story-section-card.afs-story-true {
  grid-column:1/-1;
}
@media(max-width:767px) {
  .afs-stories-page .afs-stories-intro-image {
    width:100%;
    margin-bottom:18px;
    border-radius:12px;
  }
  .afs-stories-page .afs-story-sections-panel {
    margin:18px 0 26px;
    padding:18px 15px 19px;
    border-radius:15px;
  }
  .afs-stories-page .afs-story-sections-heading {
    gap:10px;
    margin-bottom:15px;
    padding-bottom:12px;
    font-size:20px;
  }
  .afs-stories-page .afs-story-sections-heading .afs-story-book-icon {
    flex-basis:38px;
    width:38px;
    height:38px;
    font-size:32px;
  }
  .afs-stories-page .afs-story-section-grid {
    grid-template-columns:1fr;
    gap:10px;
  }
  .afs-stories-page .afs-story-section-card,
  .afs-stories-page .afs-story-section-card.afs-story-true {
    grid-column:auto;
    min-height:75px;
    padding:12px 13px;
    gap:12px;
    border-radius:13px;
  }
  .afs-stories-page .afs-story-section-icon {
    flex-basis:43px;
    width:43px;
    height:43px;
    font-size:30px;
  }
  .afs-stories-page .afs-story-section-copy strong {
    font-size:16px;
  }
  .afs-stories-page .afs-story-section-copy small {
    font-size:12px;
  }
  .afs-stories-page .afs-story-section-arrow {
    font-size:25px;
  }
}
