/* Alternate local art direction: original section and cover composition retained. */
.li section.lr3-section{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(112deg,#003c29 0%,#005331 48%,#006534 74%,#147448 100%);color:#fbf8ed;border:0;padding-top:64px}
.li section.lr3-section::before{content:'';position:absolute;inset:0;z-index:-2;background:url('/research-senegal-background-v5-1817.webp') center center / cover no-repeat;opacity:.82;filter:brightness(1.42) saturate(1.12);pointer-events:none}
.li section.lr3-section::after{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 82% 20%,transparent 0 46%,#ffffff0a 46.1%,transparent 46.3%),linear-gradient(112deg,#003c2960 0%,#00533138 48%,#00653428 74%,#14744820 100%);pointer-events:none}
.li .lr3-heading .eyebrow{color:#edce82;letter-spacing:2px}
.li .lr3-heading h2{color:#fffaf0;font-weight:500}
.li .lr3-heading p{color:#d2dfd3}
.li .lr3-feature{margin-top:33px;margin-bottom:32px}
.li .lr3-book-stage{background:radial-gradient(ellipse at 50% 55%,#e0c06b14 0,transparent 68%)}
.li .lr3-book{box-shadow:13px 22px 35px #001a115c,4px 7px 8px #00140f33}
.li .lr3-copy .lr3-kicker{color:#f0d18a;letter-spacing:1.5px}
.li .lr3-copy h3{color:#fffaf0}
.li .lr3-sector{color:#b7c9b7}
.li .lr3-copy>p{color:#edf0e3}
.li .lr3-copy p.lr3-topics{color:#c4d4bd}
.li .lr3-primary{background:#efd191;color:#163f2b;border:1px solid #f2d79e;box-shadow:0 3px 10px #012b221c}
.li .lr3-primary:hover{background:#f5ddaa}
.li .lr3-free{color:#becdbc}
.li .lr3-demo-entry{border-top-color:#e2d5a338}
.li .lr3-demo-entry .lr3-kicker{color:#d7c28a}
.li .lr3-demo-entry p{color:#e8eedd}
.li .lr3-demo-entry a{color:#efda9d}
/* Keep the section's gutters independent of the copied site's generic rules. */
.li #lima-research>.inner{width:100%;min-width:0;padding-inline:clamp(24px,4.2cqw,44px)}
.li #lima-research .lr3-feature{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4cqw,50px)}
.li #lima-research .lr3-heading,.li #lima-research .lr3-copy,.li #lima-research .lr3-demo-entry>div{min-width:0}
.li #lima-research .lr3-heading h2{text-wrap:balance}
.li #lima-research .lr3-heading p{text-wrap:pretty}
.li #lima-research .lr3-demo-entry{flex-wrap:wrap;gap:16px 28px}
.li #lima-research .lr3-demo-entry p{max-width:none;text-wrap:pretty}
.li #lima-research .lr3-demo-entry a{margin-top:0;min-height:44px;flex-shrink:0}

@container lima-layout (max-width:820px){
 .li section#lima-research{padding-top:44px}
 .li #lima-research>.inner{max-width:640px}
 /* Anchor the artwork to the book, not to a fixed distance below the heading. */
 .li section#lima-research::before{display:none}
 .li #lima-research .lr3-heading{text-align:left}
 .li #lima-research .lr3-heading h2{font-size:clamp(27px,4.8cqw,34px);line-height:1.24;letter-spacing:-.5px}
 .li #lima-research .lr3-heading h2 br{display:none}
 .li #lima-research .lr3-heading p{font-size:15px;line-height:1.65;margin-top:16px;color:#d7e2d5}
 .li #lima-research .lr3-heading .eyebrow{font-size:11px;margin-bottom:14px}
 .li #lima-research .lr3-feature{grid-template-columns:minmax(0,1fr);gap:24px;margin:24px auto 30px}
 .li #lima-research .lr3-book-stage{position:relative;isolation:isolate;min-width:0;min-height:0;justify-content:center;padding:20px 0 26px}
 .li #lima-research .lr3-book-stage::before{content:'';position:absolute;left:50%;bottom:12px;width:100cqw;height:max(229px,47.66cqw);transform:translateX(-50%);z-index:-1;background:url('/research-senegal-background-v5-1024.webp') center / max(100cqw,480px) auto no-repeat;opacity:.82;filter:brightness(1.42) saturate(1.12);mask-image:linear-gradient(180deg,transparent,#000 24%,#000 80%,transparent);pointer-events:none}
 .li #lima-research .lr3-book{width:clamp(230px,62cqw,286px);height:auto;aspect-ratio:286 / 399;flex:none}
 .li #lima-research .lr3-copy{width:100%;max-width:none}
 .li #lima-research .lr3-copy h3{font-size:30px}
 .li #lima-research .lr3-copy>p{font-size:16px;max-width:none;margin:20px 0 15px}
 .li #lima-research .lr3-copy p.lr3-topics{font-size:12px;margin-bottom:23px}
 .li #lima-research .lr3-demo-entry{display:flex;padding:26px 0 30px}
 .li #lima-research .lr3-demo-entry p{font-size:16px}
 .li #lima-research .lr3-demo-entry a{font-size:14px}
}
@container lima-layout (max-width:560px){
 .li #lima-research .lr3-demo-entry{flex-direction:column;align-items:flex-start;gap:12px}
}

/* Keep both destinations together beside the book, with a clear visual order. */
.li section#lima-research{padding-bottom:48px}
.li #lima-research .lr3-feature{margin-top:42px;margin-bottom:0}
.li #lima-research .lr3-copy{width:100%;max-width:420px;justify-self:start}
.li #lima-research .lr3-study>.lr3-kicker{font-size:11px;margin-bottom:10px}
.li #lima-research .lr3-study>h3{font-size:42px;line-height:1.15;margin:0 0 20px}
.li #lima-research .lr3-study>.lr3-primary{min-width:178px;white-space:nowrap;padding-inline:24px}
.li #lima-research .lr3-free{margin-top:14px;font-size:12px;line-height:1.6;color:#d2dfd3}
.li #lima-research .lr3-demo-entry{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;margin-top:28px;padding:26px 0 0;border-top-color:#e2d5a350}
.li #lima-research .lr3-demo-entry .lr3-kicker{font-size:11px;letter-spacing:1.5px;color:#f0d18a;margin-bottom:12px}
.li #lima-research .lr3-demo-entry h3{font:500 25px/1.25 'azo-sans-web',Arial,sans-serif;letter-spacing:-.4px;color:#fffaf0;margin:0 0 12px;text-wrap:balance}
.li #lima-research .lr3-demo-entry p{font:400 15px/1.6 'azo-sans-web',Arial,sans-serif;color:#d2dfd3;margin:0;max-width:390px}
.li #lima-research .lr3-demo-entry .lr3-demo-button{display:inline-flex;align-items:center;justify-content:center;justify-self:start;min-width:178px;min-height:48px;padding:13px 24px;border:1px solid #efd191;border-radius:4px;background:#003c2926;color:#f5ddaa;font:500 15px/1.3 'azo-sans-web',Arial,sans-serif;white-space:nowrap;text-decoration:none;margin:0}
.li #lima-research .lr3-demo-entry .lr3-demo-button:hover{background:#efd191;color:#163f2b}
.li #lima-research .lr3-portal-actions{display:grid;gap:12px}
.li #lima-research .lr3-demo-entry .lr3-subscribe-button{background:#efd191;color:#163f2b}
.li #lima-research .lr3-demo-entry .lr3-subscribe-button:hover{background:#f5ddaa}
.li #lima-research .lr3-primary:focus-visible,.li #lima-research .lr3-demo-button:focus-visible{outline:2px solid #fffaf0;outline-offset:4px}
@container lima-layout (max-width:820px){
 .li section#lima-research{padding-bottom:40px}
 .li #lima-research .lr3-feature{gap:20px;margin-top:24px}
 .li #lima-research .lr3-copy{max-width:500px;justify-self:center}
 .li #lima-research .lr3-study{text-align:center}
 .li #lima-research .lr3-study>h3{font-size:34px;margin-bottom:18px}
 .li #lima-research .lr3-free{max-width:320px;margin:14px auto 0}
 .li #lima-research .lr3-demo-entry{gap:20px;margin-top:30px;padding-top:28px}
}
@container lima-layout (max-width:400px){
 .li #lima-research .lr3-demo-entry h3{font-size:23px}
}

/* Matching dimensions and axes for both Research destinations. */
.li #lima-research .lr3-study>.lr3-primary,
.li #lima-research .lr3-demo-entry .lr3-demo-button{width:220px;max-width:100%;min-width:0;min-height:50px;padding:13px 22px;border-width:1px;border-style:solid;box-sizing:border-box;font-size:15px;line-height:1.4}
@container lima-layout (max-width:820px){
 .li #lima-research .lr3-study>.lr3-primary,
 .li #lima-research .lr3-demo-entry .lr3-demo-button{width:min(100%,280px);justify-self:center;margin-inline:auto}
}
