/* RTL content-page template. Scoped so existing landing pages are unchanged. */
.ok1-editorial{--ink:#13213a;--muted:#58677c;--line:rgba(100,116,139,.19);--panel:rgba(255,255,255,.87);--soft:rgba(148,163,184,.07);--accent:var(--color-primary,#2563eb);color:var(--ink);direction:rtl;padding:clamp(7rem,11vw,9rem) 0 5rem}
.dark .ok1-editorial{--ink:#f2f6ff;--muted:#b3bdd0;--line:rgba(210,220,240,.12);--panel:rgba(13,22,41,.87);--soft:rgba(255,255,255,.04)}
.ok1-editorial *, .ok1-editorial *:before,.ok1-editorial *:after{box-sizing:border-box}
.ok1-editorial .editorial-shell{width:min(1200px,calc(100% - 2rem));margin-inline:auto}
.ok1-editorial .editorial-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;margin:0 0 1.65rem;color:var(--muted);font-size:.85rem}
.ok1-editorial .editorial-breadcrumb a{color:inherit;text-decoration:none}
.ok1-editorial .editorial-breadcrumb a:hover{color:var(--accent)}
.ok1-editorial .editorial-breadcrumb [aria-current]{color:var(--ink);font-weight:800}
.ok1-editorial .editorial-hero{position:relative;overflow:hidden;padding:clamp(2rem,5vw,4rem);border:1px solid var(--line);border-radius:2rem;background:radial-gradient(circle at 3% 5%,rgba(37,99,235,.15),transparent 48%),var(--panel);box-shadow:0 24px 65px rgba(15,23,42,.055)}
.ok1-editorial .editorial-hero:before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:4px;background:linear-gradient(var(--accent),transparent)}
.ok1-editorial .editorial-eyebrow{display:inline-flex;gap:.6rem;align-items:center;color:var(--accent);font-size:.86rem;font-weight:850;margin:0 0 1.2rem}
.ok1-editorial .editorial-eyebrow:before{content:"";height:.5rem;width:.5rem;border-radius:100%;background:currentColor;box-shadow:0 0 0 5px rgba(37,99,235,.1)}
.ok1-editorial .editorial-hero h1{margin:0;color:var(--ink);font-size:clamp(2rem,5vw,3.5rem);font-weight:900;line-height:1.5;overflow-wrap:anywhere}
.ok1-editorial .editorial-description{max-width:68ch;margin:1.2rem 0 0;color:var(--muted);font-size:clamp(1rem,1.55vw,1.16rem);line-height:2.1}
.ok1-editorial .editorial-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,260px);align-items:start;gap:clamp(1.2rem,3vw,2.4rem);margin-top:2rem}
.ok1-editorial .editorial-article{min-width:0;padding:clamp(1.45rem,4vw,3.2rem);border:1px solid var(--line);border-radius:1.8rem;background:var(--panel);box-shadow:0 18px 55px rgba(15,23,42,.04)}
.ok1-editorial .editorial-article>section{padding-block:0!important;scroll-margin-top:8rem}
.ok1-editorial .editorial-article>section+section{margin-top:2.4rem;padding-top:2.4rem!important;border-top:1px solid var(--line)}
.ok1-editorial .editorial-article>section>div{width:100%;max-width:none!important;padding-inline:0!important}
.ok1-editorial .editorial-article [data-component="text"]>div{max-width:none}
.ok1-editorial .editorial-aside{position:sticky;top:6.5rem;display:grid;gap:1rem}
.ok1-editorial .editorial-panel{border:1px solid var(--line);border-radius:1.5rem;padding:1.35rem;background:var(--panel)}
.ok1-editorial .editorial-panel-title{display:flex;align-items:center;gap:.55rem;margin:0 0 1rem;color:var(--ink);font-weight:900;font-size:1rem}
.ok1-editorial .editorial-panel-title:before{content:"";width:.35rem;height:1.12rem;border-radius:5px;background:var(--accent)}
.ok1-editorial .editorial-toc{display:grid;gap:.15rem;list-style:none;padding:0;margin:0}
.ok1-editorial .editorial-toc a{display:block;border-radius:.7rem;padding:.55rem .7rem;font-size:.86rem;line-height:1.9;color:var(--muted);text-decoration:none;overflow-wrap:anywhere}
.ok1-editorial .editorial-toc a:hover,.ok1-editorial .editorial-toc a:focus-visible{background:var(--soft);color:var(--accent)}
.ok1-editorial .editorial-toc .level-3 a{padding-inline-start:1.4rem;font-size:.8rem}
.ok1-editorial .editorial-panel p{font-size:.86rem;line-height:2.05;color:var(--muted)}
.ok1-editorial .editorial-panel>a,.ok1-editorial .editorial-back{font-size:.88rem;color:var(--accent);font-weight:800;text-decoration:none}
.ok1-editorial .editorial-back{display:inline-flex;margin-top:2rem}
.ok1-editorial a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
