/* Public Knowledge/Verification only. Do not target Editor canvas, preview or administration. */
.yalda-editorial-index .yalda-page-hero{padding-block:2.5rem 2rem}
.yalda-editorial-index .yalda-page-hero h1{font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.3;max-width:none;letter-spacing:normal}
.yalda-editorial-index .yalda-page-hero .yalda-lead{margin-block:1rem 0;max-width:65ch;font-size:1.05rem;line-height:1.9}
.yalda-editorial-index .yalda-editorial-directory{padding-block:2rem 2.5rem}
.yalda-editorial-index .yalda-editorial-directory-head{gap:1rem;margin-bottom:1rem}
.yalda-editorial-index .yalda-editorial-directory-head h2{font-size:clamp(1.4rem,2.2vw,1.9rem);line-height:1.5;margin:.4rem 0}
.yalda-editorial-index .yalda-editorial-directory-head p{color:var(--yalda-text,#10253a)}
.yalda-editorial-index .yalda-editorial-count{background:var(--yalda-surface,#fff);color:var(--yalda-text,#10253a)}
.yalda-editorial-index .yalda-editorial-search{background:var(--yalda-surface,#fff);color:var(--yalda-text,#10253a);align-items:end;gap:1rem}
.yalda-editorial-index .yalda-editorial-search label{display:grid;gap:.4rem;flex:1 1 230px;min-width:0;font-size:.95rem;font-weight:600}
.yalda-editorial-index .yalda-editorial-search input{width:100%;background:var(--yalda-surface,#fff);color:var(--yalda-text,#10253a)}
.yalda-editorial-index .yalda-editorial-search button{background:var(--yalda-primary,#087a6d);color:var(--yalda-on-primary,#fff)}
.yalda-editorial-index .yalda-editorial-cards{align-items:stretch;gap:1.25rem}
.yalda-editorial-index .yalda-editorial-card{min-width:0;padding:1.5rem;background:var(--yalda-surface,#fff);color:var(--yalda-text,#10253a)}
.yalda-editorial-index .yalda-editorial-card h3{font-size:1.25rem;line-height:1.65;margin:.25rem 0 .5rem;font-weight:700}
.yalda-editorial-index .yalda-editorial-card h3 a{color:var(--yalda-text,#10253a);text-decoration:none}
.yalda-editorial-index .yalda-editorial-card h3 a:hover{text-decoration:underline}
.yalda-editorial-index .yalda-editorial-card p{color:var(--yalda-text,#10253a);line-height:1.9}
.yalda-editorial-index .yalda-editorial-card .yalda-kicker{font-size:.78rem;letter-spacing:.04em;font-weight:700}
.yalda-editorial-index .yalda-editorial-read{color:var(--yalda-text,#10253a);text-decoration:underline;text-underline-offset:.25em;padding-block-start:1rem}
.yalda-editorial-index .yalda-editorial-empty{color:var(--yalda-text,#10253a);background:var(--yalda-surface,#fff)}
.yalda-editorial-index .yalda-editorial-pager a{display:inline-block;padding:.3rem .8rem;color:var(--yalda-text,#10253a);background:var(--yalda-surface,#fff);border:1px solid currentColor;border-radius:.4rem}
.yalda-editorial-index :is(a,button,input):focus-visible,.yalda-editorial-public a:focus-visible{outline:3px solid currentColor;outline-offset:4px}
/* Existing topic and evidence sections remain optional and keep their content. */
.yalda-editorial-index .yalda-section:not(.yalda-editorial-directory){padding-block:2rem}
.yalda-editorial-index .yalda-section-heading h2{font-size:1.6rem;line-height:1.5;letter-spacing:normal}
.yalda-editorial-index .yalda-section-heading p{font-size:1rem;line-height:1.8;margin-block:.5rem 1rem}
.yalda-editorial-index .yalda-content-card{padding:1.1rem 1.25rem}
.yalda-editorial-index .yalda-content-card h3{font-size:1.2rem;line-height:1.6;margin:.6rem 0}
.yalda-editorial-index .yalda-content-card p{font-size:.96rem;line-height:1.9}
.yalda-editorial-index .yalda-notice h2{font-size:1.35rem;line-height:1.6}
/* Reader refinements preserve data-width percentages and the renderer's markup. */
.yalda-editorial-public{padding-block:2rem}
.yalda-editorial-public .yalda-editorial-article{max-width:56rem;margin:1.5rem auto;color:var(--yalda-text,#10253a)}
.yalda-editorial-public .yalda-editorial-article header{margin-block-end:2rem;padding-block-end:1rem;border-bottom:1px solid var(--yalda-border,#d8e1e7)}
.yalda-editorial-public .yalda-editorial-article h1{line-height:1.5;overflow-wrap:anywhere}
.yalda-editorial-public .yalda-editorial-body{line-height:2.05;font-size:1.05rem}
.yalda-editorial-public .yalda-editorial-article[dir=ltr] .yalda-editorial-body{line-height:1.85}
.yalda-editorial-public .yalda-editorial-body :is(h2,h3,h4){line-height:1.6;margin-block:2rem 1rem}
.yalda-editorial-public .yalda-editorial-body p{max-width:none;margin-block:0 1.15rem;color:var(--yalda-text,#10253a);font-size:inherit;line-height:inherit}
.yalda-editorial-public .yalda-editorial-body figure{overflow:visible;margin-block:1.75rem}
.yalda-editorial-public .yalda-editorial-body figure img{height:auto;max-height:none;object-fit:contain}
.yalda-editorial-public .yalda-editorial-body figcaption{max-width:72ch;margin:.75rem auto 0;line-height:1.8;color:var(--yalda-text,#10253a);font-size:.93rem}
.yalda-editorial-public .yalda-editorial-body .yalda-math-block{direction:ltr;unicode-bidi:isolate;overflow-x:auto;max-width:100%;background:var(--yalda-surface,#fff);color:var(--yalda-text,#10253a);white-space:normal}
.yalda-editorial-public .yalda-editorial-body .yalda-math-inline{direction:ltr;unicode-bidi:isolate}
@media(max-width:620px){.yalda-editorial-index .yalda-page-hero{padding-block:2rem 1.5rem}.yalda-editorial-index .yalda-editorial-search label{width:100%}.yalda-editorial-public .yalda-editorial-article{margin-block:1rem}}

/* The existing CSP blocks MathJax's injected styles. Keep its assistive MathML
   available to accessibility tools while preventing a second visible formula. */
.yalda-editorial-public .yalda-editorial-body mjx-container{position:relative}
.yalda-editorial-public .yalda-editorial-body mjx-assistive-mml{position:absolute!important;top:0;left:0;clip:rect(1px,1px,1px,1px);padding:1px 0 0!important;border:0!important;display:block!important;width:auto!important;overflow:hidden!important;user-select:none}
.yalda-editorial-public .yalda-editorial-body mjx-assistive-mml[display=block]{width:100%!important}
