/* Isolate the editorial layout from legacy parent-theme presentation. */
body.ist-article{margin:0;min-width:0;width:100%;background:#f8f8f1!important;color:#17382e!important;text-shadow:none!important;font:16px/1.65 'Trebuchet MS',Arial,sans-serif}
body.ist-article #main-content{width:100%;max-width:none;min-width:0;background:#f8f8f1;color:#17382e}
body.ist-article .article-head{background:#e9f0e5}
body.ist-article .article-head h1,body.ist-article .article h2,body.ist-article .article h3{font-family:Georgia,serif;color:#17382e;text-shadow:none}
body.ist-article .article{width:100%;max-width:850px;min-width:0;float:none;background:transparent;color:inherit;padding:45px 30px 80px}
body.ist-article .article p,body.ist-article .article li{line-height:1.75}
body.ist-article .article img,body.ist-article .article iframe,body.ist-article .article video{max-width:100%}
body.ist-article #cookie-notice{min-width:0;max-width:100%;box-sizing:border-box}
html[data-theme=dark] body.ist-article,html[data-theme=dark] body.ist-article #main-content{background:#101c18!important;color:#eaf2e8!important}
html[data-theme=dark] body.ist-article .article-head{background:#1b3126}
html[data-theme=dark] body.ist-article .article-head h1,html[data-theme=dark] body.ist-article .article h2,html[data-theme=dark] body.ist-article .article h3{color:#eaf2e8}
/* Legacy guide heading colours override the dark palette, especially on mobile. */
html[data-theme=dark] body.ist-article .article :is(h1,h2,h3,h4,h5,h6,p,li,strong,em){color:#eaf2e8!important}
html[data-theme=dark] body.ist-article .article span[style*="#000080"]{color:#eaf2e8!important}
@media(max-width:780px){body.ist-article .article{padding:35px 20px 60px}body.ist-article .header{width:100%;min-width:0}body.ist-article .theme-toggle,body.ist-article .menu{width:auto;flex:none}}
@media(max-width:450px){body.ist-article .header{gap:5px}body.ist-article .logo img{width:145px;max-width:100%}body.ist-article .header .theme-toggle{width:90px!important;min-width:0!important;padding:8px 4px!important;flex:0 0 90px!important;font-size:12px}body.ist-article .header .menu{width:70px!important;min-width:0!important;padding:8px 4px!important;flex:0 0 70px!important;font-size:12px}}
