/* Shared editorial layout for all AIED news and language editions. */
.single-post{--news-ink:#23364b;--news-muted:#627487;--news-blue:#174b83;--news-line:#dbe5ef;--news-paper:#f5f8fc}
body.single-post #content{background:#fff!important}
body.single-post #content>.ast-container{display:block;max-width:1200px;padding:52px 28px 0!important}
body.single-post #primary article.ast-article-single{background:#fff!important;padding:0!important}
body.single-post #primary h1.entry-title{font-size:clamp(27px,2.7vw,38px)!important;line-height:1.4!important;color:#183b64!important}
.single-post .site-content>.ast-container{display:block;max-width:1200px;padding:52px 28px 0}
.single-post #primary{float:none;width:100%;margin:0 auto}
.single-post article.ast-article-single{padding:0;background:#fff}
.single-post .entry-header,.single-post .entry-content{max-width:880px;margin-inline:auto}
.single-post .entry-header{padding-bottom:26px;margin-bottom:30px;border-bottom:1px solid var(--news-line)}
.single-post .entry-title{font-size:clamp(27px,2.7vw,38px);font-weight:700;line-height:1.4;letter-spacing:-.015em;color:#183b64;text-wrap:balance;margin:0 0 20px;overflow-wrap:anywhere}
.single-post .entry-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;color:var(--news-muted);font-size:14px;line-height:1.6}
.aied-news-categories{display:flex;gap:8px;flex-wrap:wrap;list-style:none;margin:0;padding:0}
.aied-news-categories a{display:inline-block;padding:3px 10px;background:#edf4fb;border-radius:4px;color:var(--news-blue);font-size:13px;text-decoration:none}
.single-post .entry-content{color:var(--news-ink);font-size:18px;line-height:1.88;overflow-wrap:anywhere}
.single-post .entry-content :where(p,section,div){max-width:100%!important;min-width:0;box-sizing:border-box}
.single-post .entry-content :where(p,li,td,th,blockquote,section,div,span){font-family:inherit!important;line-height:inherit!important}
.single-post .entry-content :where(p,li,td,th,section,div,span){font-size:inherit!important}
.single-post .entry-content p{margin:0 0 1.25em!important;text-indent:0!important}
.single-post .entry-content h2{font-size:1.5em;line-height:1.5;margin:2em 0 .9em;color:var(--news-blue);border-inline-start:3px solid #2b6aab;padding-inline-start:16px}
.single-post .entry-content h3{font-size:1.2em;line-height:1.55;margin:1.75em 0 .8em;color:#244f7e}
.single-post .entry-content :where(h4,h5,h6){font-size:1.07em;line-height:1.6;margin:1.4em 0 .7em;color:var(--news-ink)}
.single-post .entry-content :where(h2,h3,h4,h5,h6){scroll-margin-top:30px}
.single-post .entry-content :where(ul,ol){margin:1em 0 1.4em;padding-inline-start:1.6em}
.single-post .entry-content li{padding-inline-start:.2em;margin-bottom:.6em}
.single-post .entry-content blockquote{margin:1.7em 0;padding:20px 24px;border-inline-start:4px solid #779bc1;background:var(--news-paper);font-size:1em;color:#344d67}
.single-post .entry-content blockquote p:last-child{margin-bottom:0!important}
.single-post .entry-content>hr{margin:2.2em 0;border:0;border-top:1px solid var(--news-line)}
.single-post .entry-content a{color:#155c96;text-underline-offset:3px;text-decoration-thickness:1px}
.single-post .entry-content p a{text-decoration:underline}
.single-post .entry-content :where(figure,.wp-block-image){display:block!important;width:auto!important;max-width:100%!important;margin:30px auto!important;float:none}
.single-post .entry-content img{display:block;max-width:100%!important;height:auto!important;margin-inline:auto;border-radius:7px}
.single-post .entry-content :where(figcaption,.wp-element-caption){display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box;font-size:14px!important;line-height:1.65!important;color:var(--news-muted);text-align:center!important;margin:11px 0 0!important;padding:0 10px}
.single-post .entry-content figcaption :where(span,p){font-size:inherit!important;color:inherit}
.single-post .entry-content .has-text-align-center{text-align:center!important}
.single-post .entry-content .has-text-align-right{text-align:right!important}
.single-post .entry-content .has-text-align-left{text-align:left!important}
.single-post .entry-content table{display:block;width:max-content!important;max-width:100%!important;overflow-x:auto;margin:28px 0;border-collapse:collapse;font-size:15px!important;line-height:1.65}
.single-post .entry-content :where(td,th){min-width:100px;border:1px solid #d4dfeb;padding:12px 14px!important;vertical-align:top;background:transparent}
.single-post .entry-content :where(thead th,thead td){background:#edf3f9;color:#23486f;font-weight:700}
.single-post .entry-content tbody tr:nth-child(even){background:#f7f9fc}
.single-post .entry-content td p:last-child{margin-bottom:0!important}
.single-post .entry-content :where(pre,code){font-family:ui-monospace,Consolas,monospace!important}
.single-post .entry-content pre{max-width:100%;overflow-x:auto;padding:20px;background:#f3f6fa;border-radius:5px;font-size:.85em}
.aied-news-languages{padding:13px 18px;margin:0 0 28px;border:1px solid var(--news-line);border-radius:7px;background:var(--news-paper);font-size:14px!important;line-height:1.6!important}
.aied-news-languages>span{display:block;color:var(--news-muted);font-size:12px!important;margin-bottom:7px}
.aied-news-languages ul{display:flex;flex-wrap:wrap;gap:7px 17px;list-style:none!important;margin:0!important;padding:0!important}
.aied-news-languages li{padding:0!important;margin:0!important}
.aied-news-languages a{text-decoration:none}
.aied-news-languages a[aria-current=page]{color:#163c65;font-weight:700;text-decoration:underline}
.aied-news-source{margin:40px 0 24px;padding:20px 22px;border-inline-start:4px solid #5486b6;background:var(--news-paper);font-size:14px!important;line-height:1.75!important}
.aied-news-source p{margin-bottom:8px!important}
.aied-news-source p:last-child{margin-bottom:0!important}
.single-post .post-navigation{max-width:880px;margin:38px auto;padding:24px 0;border-top:1px solid var(--news-line)}
.single-post .ast-related-posts-wrap{max-width:1100px;margin:60px auto}
.single-post .ast-related-posts-title{font-size:25px;line-height:1.5;color:#214970}
.single-post .ast-related-posts-title-section{margin-bottom:22px}
.single-post .ast-single-related-posts-container{max-width:880px;margin:48px auto 72px;padding:0!important}
.single-post .ast-related-posts-wrapper{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.single-post .ast-related-posts-wrapper article.ast-related-post{width:auto!important;min-width:0;margin:0!important;padding:22px!important;border:1px solid var(--news-line);border-radius:8px;background:#f8fbfe}
.single-post .ast-related-posts-wrapper .ast-related-post-featured-section{display:none}
.single-post .ast-related-posts-wrapper .entry-header{max-width:none;margin:0 0 14px;padding:0;border:0}
.single-post .ast-related-posts-wrapper .entry-title{font-size:19px!important;line-height:1.5!important;margin:0 0 12px;color:var(--news-blue);text-wrap:normal}
.single-post .ast-related-posts-wrapper .entry-meta{font-size:12px;gap:8px}
.single-post .ast-related-posts-wrapper .aied-news-categories a{font-size:11px;padding:2px 7px}
.single-post .ast-related-posts-wrapper .entry-content{max-width:none;margin:0}
.single-post .ast-related-posts-wrapper .entry-content p{font-size:15px!important;line-height:1.8!important;margin:0 0 12px!important}
.single-post .ast-related-posts-wrapper .ast-related-post-link{font-size:14px;color:var(--news-blue);text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.single-post .ast-related-posts-wrapper{grid-template-columns:1fr}.single-post .ast-related-posts-wrapper article.ast-related-post{padding:18px!important}}
@media print{.single-post .ast-single-related-posts-container{display:none}}
html[lang^=en] .single-post .entry-content,html[lang^=fr] .single-post .entry-content,html[lang^=es] .single-post .entry-content,html[lang^=ru] .single-post .entry-content{line-height:1.78}
html[dir=rtl] .single-post .entry-title{letter-spacing:normal;line-height:1.55}
html[dir=rtl] .single-post .entry-content{line-height:2}
html[dir=rtl] .aied-news-languages,html[dir=rtl] .aied-news-source{text-align:right;direction:rtl}
@media(max-width:768px){.single-post .site-content>.ast-container{padding:30px 22px 0}.single-post .entry-title{font-size:29px}.single-post .entry-content{font-size:17px}.single-post .entry-header{padding-bottom:22px;margin-bottom:24px}}
@media(max-width:480px){.single-post .site-content>.ast-container{padding:26px 18px 0}.single-post .entry-title{font-size:26px;line-height:1.45}.single-post .entry-content{font-size:16px;line-height:1.9}.single-post .entry-meta{gap:8px 12px}.single-post .entry-content :where(figure,.wp-block-image){margin:24px auto!important}.aied-news-source{padding:16px}.aied-news-languages{padding:12px 14px}.single-post .entry-content blockquote{padding:16px 18px}}
@media(max-width:768px){body.single-post #content>.ast-container{padding:30px 22px 0!important}body.single-post #primary h1.entry-title{font-size:29px!important}}
@media(max-width:480px){body.single-post #content>.ast-container{padding:26px 18px 0!important}body.single-post #primary h1.entry-title{font-size:26px!important;line-height:1.45!important}}
@media print{.single-post :where(#masthead,#colophon,.post-navigation,.ast-related-posts-wrap){display:none}.single-post .site-content>.ast-container{padding:0;max-width:none}.single-post .entry-content,.single-post .entry-header{max-width:none}.single-post .entry-content{font-size:11pt}.single-post .entry-title{font-size:22pt}.single-post .entry-content :where(figure,table,blockquote){break-inside:avoid}}
