/* Distinct homepage compositions within the forest, brass and paper palette. */
body.ke-site.keh-home{
 --hc-soft:#edf2ed;--hc-journal:#f5f3ec;--hc-surface:#fafbf8;--hc-card:#fff;--hc-ink:#193c32;
 --hc-muted:#617267;--hc-line:#d6dfd4;--hc-model:#eef1e9;--hc-number:#e2e8dc;
}
html[data-theme="dark"] body.ke-site.keh-home{
 --hc-soft:#132119;--hc-journal:#132119;--hc-surface:#1b2b22;--hc-card:#1c2c24;--hc-ink:#edf2e9;
 --hc-muted:#b0c0b3;--hc-line:#3b5142;--hc-model:#1c2c24;--hc-number:#2b4233;
}

/* A sage service court with three matching cards. */
body.ke-site.keh-home .keh-section.keh-services{
 padding:40px 0 32px;background:var(--hc-soft);
}
body.ke-site.keh-home .keh-services .keh-section-heading{margin-bottom:30px}
body.ke-site.keh-home .keh-services .keh-section-heading>p{
 padding:0 0 0 22px;border-left:2px solid #b89b62;color:var(--hc-muted);
}
body.ke-site.keh-home .keh-service-grid{gap:18px;align-items:stretch}
body.ke-site.keh-home .keh-service-card{
 position:relative;padding:28px 26px 24px;background:var(--hc-surface);
 border-color:var(--hc-line);border-top:3px solid #b99c64;box-shadow:0 8px 24px #183c3205;
}
body.ke-site.keh-home .keh-service-card h3{color:var(--hc-ink)}
body.ke-site.keh-home .keh-service-card p{color:var(--hc-muted)}
body.ke-site.keh-home .keh-service-card .keh-card-link{border-color:var(--hc-line);color:var(--hc-ink)}
body.ke-site.keh-home .keh-service-card:is(:hover,:focus-visible){border-color:#b99c64;background:var(--hc-card)}

/* A quiet transition into the existing local coverage panel. */
body.ke-site.keh-home .keh-regions{padding-top:22px}
body.ke-site.keh-home .keh-global .keh-global-panel{padding-bottom:20px}
body.ke-site.keh-home .keh-global-countries{
 margin:24px -18px -4px;padding:20px 18px;background:#e9e9de;border:0;border-radius:4px;
}
html[data-theme="dark"] body.ke-site.keh-home .keh-global-countries{background:#12231a}

/* Investment is one two-part editorial panel rather than another white section. */
body.ke-site.keh-home .keh-section.keh-investment{padding:40px 0;background:var(--hc-card)}
body.ke-site.keh-home .keh-investment-grid{
 grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:0;align-items:stretch;
 background:var(--hc-model);border:1px solid var(--hc-line);border-radius:5px;overflow:hidden;
}
body.ke-site.keh-home .keh-investment-grid>div:first-child{
 display:flex;flex-direction:column;justify-content:center;padding:38px 40px;
 background:#173d34;border-right:3px solid #c3a56e;color:#f1f4eb;
}
body.ke-site.keh-home .keh-investment-grid>div:first-child .keh-eyebrow{color:#ddc18c}
body.ke-site.keh-home .keh-investment-grid>div:first-child h2{color:#f1f4eb;margin-top:16px}
body.ke-site.keh-home .keh-investment-grid>div:first-child>p:not(.keh-eyebrow){color:#ccdacd;margin:20px 0}
body.ke-site.keh-home .keh-investment-grid>div:first-child>.keh-text-link{
 align-self:flex-start;color:#f0d6a2;border-bottom:1px solid #c3a56e80;padding-bottom:8px;
}
body.ke-site.keh-home .keh-models{padding:12px 30px}
body.ke-site.keh-home .keh-models>a{gap:16px;padding:18px 0;border-color:var(--hc-line)}
body.ke-site.keh-home .keh-models>a:first-child{padding-top:18px}
body.ke-site.keh-home .keh-models>a:last-child{border-bottom:0}
body.ke-site.keh-home .keh-models>a>span{
 display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;
 background:var(--hc-number);border:1px solid var(--hc-line);border-radius:4px;color:#8c713e;font-size:21px;
}
body.ke-site.keh-home .keh-models h3{color:var(--hc-ink);font-size:17px}
body.ke-site.keh-home .keh-models p{color:var(--hc-muted);font-size:13px}
body.ke-site.keh-home .keh-models>a:hover h3{color:#94743c}

/* The latest guide leads; two compact stories sit beside it. */
body.ke-site.keh-home .keh-section.keh-journal{padding:38px 0 40px;background:var(--hc-journal)}
body.ke-site.keh-home .keh-journal .keh-section-heading{margin-bottom:24px}
body.ke-site.keh-home .keh-post-grid{
 grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:18px;
}
body.ke-site.keh-home .keh-post{background:var(--hc-card);border-color:var(--hc-line);box-shadow:none}
body.ke-site.keh-home .keh-post:first-child{grid-row:span 2}
body.ke-site.keh-home .keh-post:not(:first-child){display:grid;grid-template-columns:minmax(0,.45fr) minmax(0,.55fr)}
body.ke-site.keh-home .keh-post:not(:first-child) .keh-post-image{height:100%;min-height:190px;aspect-ratio:auto}
body.ke-site.keh-home .keh-post-image:has(>span){
 position:relative;isolation:isolate;background:linear-gradient(135deg,#254d3e,#102f28);
}
body.ke-site.keh-home .keh-post-image:has(>span)::before{
 content:"";position:absolute;inset:22px;border:1px solid #d9bc8047;pointer-events:none;
}
body.ke-site.keh-home .keh-post-image:has(>span)::after{
 content:"";position:absolute;width:120px;height:120px;right:-45px;bottom:-50px;
 border:1px solid #d9bc8066;transform:rotate(45deg);pointer-events:none;
}
body.ke-site.keh-home .keh-post-image>span{position:relative;z-index:1;color:#d7bb82}
body.ke-site.keh-home .keh-post-image>span svg{width:62px;height:62px}
body.ke-site.keh-home .keh-post-body{padding:22px;min-width:0}
body.ke-site.keh-home .keh-post:first-child h3{font-size:22px;line-height:1.45}
body.ke-site.keh-home .keh-post h3{color:var(--hc-ink)}
body.ke-site.keh-home .keh-post-body p{font-size:13px;color:var(--hc-muted)}
body.ke-site.keh-home .keh-post-body>.keh-text-link{color:var(--hc-ink)}

@media(max-width:1050px){
 body.ke-site.keh-home .keh-service-card{padding:24px 20px}
 body.ke-site.keh-home .keh-investment-grid>div:first-child{padding:28px}
 body.ke-site.keh-home .keh-models{padding-inline:22px}
 body.ke-site.keh-home .keh-post:not(:first-child){grid-template-columns:minmax(0,.36fr) minmax(0,.64fr)}
 body.ke-site.keh-home .keh-post-body{padding:18px}
}
@media(max-width:960px){
 body.ke-site.keh-home .keh-section.keh-services{padding:24px 0}
 body.ke-site.keh-home .keh-services .keh-section-heading{margin-bottom:18px}
 body.ke-site.keh-home .keh-services .keh-section-heading>p{padding-left:14px}
 body.ke-site.keh-home .keh-service-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 body.ke-site.keh-home .keh-service-card{padding:20px}
 body.ke-site.keh-home .keh-regions{padding-top:18px}
 body.ke-site.keh-home .keh-global-countries{margin:20px 0 0;padding:18px 14px;gap:18px 12px}
 body.ke-site.keh-home .keh-section.keh-investment{padding:24px 0}
 body.ke-site.keh-home .keh-investment-grid{grid-template-columns:minmax(0,1fr);gap:0}
 body.ke-site.keh-home .keh-investment-grid>div:first-child{padding:24px;border-right:0;border-bottom:3px solid #c3a56e}
 body.ke-site.keh-home .keh-models{padding:4px 20px}
 body.ke-site.keh-home .keh-models>a,body.ke-site.keh-home .keh-models>a:first-child{padding:15px 0}
 body.ke-site.keh-home .keh-section.keh-journal{padding:24px 0}
 body.ke-site.keh-home .keh-post-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:16px}
 body.ke-site.keh-home .keh-post:first-child{grid-row:auto}
 body.ke-site.keh-home .keh-post:not(:first-child){grid-template-columns:minmax(0,.34fr) minmax(0,.66fr)}
 body.ke-site.keh-home .keh-post:not(:first-child) .keh-post-image{min-height:180px}
 body.ke-site.keh-home .keh-post:first-child h3{font-size:22px}
 body.ke-site.keh-home .keh-post-body{padding:18px}
}
@media(max-width:480px){
 body.ke-site.keh-home .keh-post:not(:first-child){display:flex}
 body.ke-site.keh-home .keh-post:not(:first-child) .keh-post-image{height:auto;min-height:0;aspect-ratio:2.4}
 body.ke-site.keh-home .keh-models{padding-inline:16px}
 body.ke-site.keh-home .keh-investment-grid>div:first-child{padding:24px 20px}
}

/* One wide lead story followed by three compact, photograph-led reads. */
body.ke-site.keh-home .keh-journal-covers .keh-section-heading h2{font-size:29px;line-height:1.3;letter-spacing:-.65px}
body.ke-site.keh-home .keh-journal-covers .keh-post-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:18px}
body.ke-site.keh-home .keh-journal-covers .keh-post:first-child{
 grid-column:1/-1;grid-row:auto;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);border:0;
}
body.ke-site.keh-home .keh-journal-covers .keh-post:first-child .keh-post-image{height:100%;min-height:300px;aspect-ratio:auto}
body.ke-site.keh-home .keh-journal-covers .keh-post:first-child .keh-post-body{
 justify-content:center;padding:30px 34px;background:#183e33;color:#f1f4eb;
}
body.ke-site.keh-home .keh-journal-covers .keh-post:first-child h3{font-size:25px;line-height:1.45;color:#f1f4eb;margin:12px 0}
body.ke-site.keh-home .keh-journal-covers .keh-post:first-child .keh-post-label{color:#dfc28b}
body.ke-site.keh-home .keh-journal-covers .keh-post:first-child p{color:#cbd9ce;margin-bottom:20px}
body.ke-site.keh-home .keh-journal-covers .keh-post:first-child .keh-text-link{margin-top:0;color:#ead2a2}
body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child){
 display:grid;grid-template-columns:minmax(0,.38fr) minmax(0,.62fr);grid-row:auto;min-height:170px;
}
body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child) .keh-post-image{height:100%;min-height:0;aspect-ratio:auto}
body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child) .keh-post-body{padding:16px;justify-content:center}
body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child) .keh-post-label{display:none}
body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child) h3{font-size:15px;line-height:1.55;margin:0 0 12px}
body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child) p{display:none}
body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child) .keh-text-link{margin-top:auto;font-size:12px!important}
body.ke-site.keh-home .keh-journal-covers .keh-post-image img{object-position:center}
@media(max-width:1050px){
 body.ke-site.keh-home .keh-journal-covers .keh-post-grid{gap:14px}
 body.ke-site.keh-home .keh-journal-covers .keh-post:first-child .keh-post-body{padding:26px}
 body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child){grid-template-columns:minmax(0,1fr)}
 body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child) .keh-post-image{height:140px}
}
@media(max-width:760px){
 body.ke-site.keh-home .keh-journal-covers .keh-section-heading h2{font-size:25px}
 body.ke-site.keh-home .keh-journal-covers .keh-post-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 body.ke-site.keh-home .keh-journal-covers .keh-post:first-child{grid-template-columns:minmax(0,1fr)}
 body.ke-site.keh-home .keh-journal-covers .keh-post:first-child .keh-post-image{height:auto;min-height:0;aspect-ratio:1.8}
 body.ke-site.keh-home .keh-journal-covers .keh-post:first-child .keh-post-body{padding:22px}
 body.ke-site.keh-home .keh-journal-covers .keh-post:first-child h3{font-size:22px}
 body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child){grid-template-columns:minmax(0,.34fr) minmax(0,.66fr);min-height:155px}
 body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child) .keh-post-image{height:100%}
 body.ke-site.keh-home .keh-journal-covers .keh-post:not(:first-child) .keh-post-body{padding:15px}
}
