/* R3 is loaded only by the six authorized prototypes. R2 remains intact. */
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;align-items:start;gap:28px}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-gallery-grid>.je-photo{grid-column:auto;grid-row:auto;padding:0;margin:0;min-height:0}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-gallery-grid>.je-photo img{width:100%;height:auto;aspect-ratio:1.65;object-fit:cover}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-gallery-grid>.je-photo figcaption{font-size:12px!important;line-height:1.8!important;padding-top:12px}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-district-spread{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:start}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-district-spread>.mx-chart{grid-column:1/-1;grid-row:1;margin:0;width:100%}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-district-spread>.mx-district-photo{grid-column:1;grid-row:2}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-district-spread>.mx-district-secondary{grid-column:2;grid-row:2}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-district-spread :is(.mx-district-photo,.mx-district-secondary) img{width:100%;height:auto;aspect-ratio:1.8;object-fit:cover}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-author-card{grid-template-columns:112px minmax(0,1fr);gap:26px;max-width:860px;padding:26px;background:linear-gradient(110deg,#edf4f3,#fff);border-inline-start:3px solid #54b9af}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-author-card img{width:112px;height:auto;border-start-start-radius:28px}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-author-card>div{display:block}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-author-card strong{display:block;font-size:22px;margin-block:6px}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-author-card p{font-size:14px;line-height:1.8}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-author-card a{display:inline-block;margin-block-start:10px}
html[lang=ar] body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3.jp3-landing .je-front-cover h1{font-family:'Noto Kufi Arabic',sans-serif!important;font-size:clamp(30px,3vw,44px)!important;line-height:1.65!important;max-width:20ch;letter-spacing:0;margin-block:18px}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-decision-spread{display:block}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-decision-spread>.mx-puzzle{max-width:540px;margin:0 auto 36px}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #ownership-and-costs{max-width:100%;padding:28px;background:#edf4f3;border-block-start:3px solid #54b9af;margin-block:30px}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #ownership-and-costs>p{max-width:70ch}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #due-diligence .mx-editorial-list{list-style:none;counter-reset:checks;display:grid;grid-template-columns:1fr 1fr;gap:0 28px;padding:0;margin-block:28px}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #due-diligence .mx-editorial-list li{counter-increment:checks;position:relative;padding:20px 0;padding-inline-start:42px;border-block-start:1px solid #b9d6cf;margin:0;font-size:16px;line-height:1.8}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #due-diligence .mx-editorial-list li::before{content:counter(checks,decimal-leading-zero);position:absolute;inset-inline-start:0;color:#287a7a;font-weight:700}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .jp3-table-wrap{scrollbar-width:auto;scrollbar-color:#287a7a #edf4f3;scroll-margin-top:110px}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .jp3-table-wrap table{table-layout:auto}
.jp3-r3-table-cue{color:#195a62;font-size:13px;line-height:1.8;padding:10px 12px;border-inline-start:3px solid #54b9af;background:#edf4f3;margin:0}
.jp3-r3-table-cue[hidden]{display:none}
@media(max-width:760px){
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-gallery-grid{display:block}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-gallery-grid>.je-photo{margin-block:0 26px}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-district-spread{display:flex;flex-direction:column;gap:26px}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-district-spread>.mx-chart{order:-1}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-district-spread>*{width:100%;margin:0}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .sj-masthead{padding-block:12px}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .sj-wordmark{font-size:24px}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-journal-mark{margin-bottom:8px}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 :is(.mx-cover,.mx-flagship-cover){margin-top:8px;padding-top:4px;gap:16px}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-cover-copy{padding-top:0}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-reading-frame{margin-block:18px;padding-block:12px}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-author-card{grid-template-columns:80px minmax(0,1fr);gap:18px;padding:18px;margin-block:20px}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-author-card img{width:80px}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-author-card strong{font-size:18px}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #due-diligence .mx-editorial-list{grid-template-columns:1fr}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #ownership-and-costs{padding:20px}
 html[lang=ar] body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3.jp3-landing .je-front-cover h1{font-size:30px!important;line-height:1.65!important;max-width:none}
 /* Measured dock reserve lets every section scroll above the reachable controls. */
 body:has(main.jp3-r3){padding-bottom:var(--r3-dock-reserve,150px)}
 body:has(main.jp3-r3) .cookie-banner{position:fixed!important;inset:auto 12px calc(12px + env(safe-area-inset-bottom))!important;width:calc(100% - 24px);margin:0;padding:16px;max-height:55dvh;overflow:auto;gap:12px;z-index:10000}
 body:has(main.jp3-r3) .cookie-settings{position:fixed!important;left:12px!important;right:auto!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;max-width:calc(100% - 86px);min-height:44px;z-index:9999}
 body:has(main.jp3-r3) .whatsapp-float{position:fixed!important;right:12px!important;left:auto!important;bottom:calc(var(--r3-banner-height,0px) + 24px + env(safe-area-inset-bottom))!important;width:48px;height:48px;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:10001}
 body:has(main.jp3-r3):not(:has(.cookie-banner)) .whatsapp-float{bottom:calc(12px + env(safe-area-inset-bottom))!important}
 html:has(main.jp3-r3){scroll-padding-block:100px var(--r3-dock-reserve,150px)}
}
@media(max-width:370px){body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-author-card{grid-template-columns:1fr}body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-author-card img{width:88px}}

html[lang=ar] body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-decision-spread .mx-reading{max-width:850px;padding:28px;background:#edf4f3;border-block-start:3px solid #54b9af;margin:30px auto}
html[lang=ar] body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-decision-spread .mx-reading p+p{border-block-start:1px solid #b9d6cf;padding-top:22px}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-reading-frame h2{font-size:26px!important;line-height:1.35!important;max-width:28ch}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-gallery>header h2{font-size:36px!important;line-height:1.3!important}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #ownership-and-costs{display:grid;grid-template-columns:1fr 1fr;gap:16px 28px}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #ownership-and-costs h3{grid-column:1/-1;margin:0}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #ownership-and-costs p{margin:0}
body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #ownership-and-costs p+p{border-inline-start:1px solid #b9d6cf;padding-inline-start:28px}
html[lang=ar] body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-reading-frame h2{font-size:23px!important;line-height:1.8!important}
html[lang=ar] body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-gallery>header h2{font-size:30px!important;line-height:1.8!important}
@media(max-width:760px){
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .mx-journal-mark{display:none}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 .je-gallery>header h2{font-size:29px!important}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #ownership-and-costs{display:block}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #ownership-and-costs p{margin-block-start:18px}
 body main.jp3-editorial.jp3-editorial.jp3-editorial.jp3-r3 #ownership-and-costs p+p{border-inline-start:0;border-block-start:1px solid #b9d6cf;padding:18px 0 0}
}
