/* Article-only layout; typography, colors and adjacent-post navigation stay shared. */
body.single-post .mle-news-detail{padding:70px 0;background:#f5f5f5}
.mle-news-detail .mle-article-breadcrumb{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin:0 0 25px;color:var(--mle-muted);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.mle-news-detail .mle-article-breadcrumb a{color:inherit}
.mle-news-detail .mle-article-breadcrumb a:hover{color:var(--mle-blue)}
.mle-news-detail .mle-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:50px;align-items:start}
.mle-news-detail .mle-article-main,.mle-news-detail .mle-article,.mle-news-detail .mle-article-sidebar{min-width:0;max-width:100%}
.mle-news-detail .mle-article-body{padding:54px 60px 28px;background:#fff;border-radius:10px 10px 0 0;box-shadow:0 4px 24px rgba(19,42,76,.04)}
.mle-news-detail .mle-article-content>:first-child{margin-top:0}
.mle-news-detail .mle-article-content>:last-child{margin-bottom:0}
.mle-news-detail .mle-article-content :is(img,video,iframe){max-width:100%}
.mle-news-detail .mle-article-content :is(figure,.wp-caption){max-width:100%}
.mle-news-detail .mle-article-pagination{margin:0;padding:26px 30px;background:#fff;border-radius:0 0 10px 10px}
.mle-news-detail .mle-article-pagination>div{min-width:0}
.mle-news-detail .mle-article-pagination strong{max-width:100%}
.mle-news-detail .mle-article-sidebar{position:sticky;top:var(--mle-article-sidebar-top,100px);padding:0 3px 4px}
body.admin-bar .mle-news-detail .mle-article-sidebar{top:var(--mle-article-sidebar-top,132px)}
.mle-news-detail .mle-article-sidebar .mle-article-toc{margin:0 0 40px;padding:28px}
.mle-news-detail .mle-article-recommendations{padding:28px;background:#fff;border-radius:10px;box-shadow:0 4px 24px rgba(19,42,76,.04)}
.mle-news-detail .mle-article-recommendations>h2{margin:0 0 24px;color:var(--mle-ink);font-size:22px;line-height:1.35;font-weight:600}
.mle-news-detail .mle-article-recommendation-list{list-style:none;margin:0;padding:0;display:grid;gap:22px}
.mle-news-detail .mle-article-recommendation{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:center}
.mle-news-detail .mle-article-recommendation-no-image{grid-template-columns:minmax(0,1fr)}
.mle-news-detail .mle-article-recommendation-image{display:block;aspect-ratio:4/3;overflow:hidden;border-radius:5px}
.mle-news-detail .mle-article-recommendation-image img{display:block;width:100%;height:100%;object-fit:cover}
.mle-news-detail .mle-article-recommendation h3{font-size:16px;font-weight:500;line-height:1.5;margin:0 0 8px}
.mle-news-detail .mle-article-recommendation h3 a{color:var(--mle-ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mle-news-detail .mle-article-recommendation h3 a:hover{color:var(--mle-blue)}
.mle-news-detail .mle-article-recommendation time{font-size:13px;color:var(--mle-muted);line-height:1.5}
@media(min-width:992px) and (max-width:1200px){
 .mle-news-detail .mle-article-layout{grid-template-columns:minmax(0,1fr) 340px;gap:30px}
 .mle-news-detail .mle-article-body{padding:40px 30px 28px}
 .mle-news-detail .mle-article-sidebar .mle-article-toc,.mle-news-detail .mle-article-recommendations{padding:24px}
 .mle-news-detail .mle-article-recommendation{grid-template-columns:84px minmax(0,1fr);gap:12px}
 .mle-news-detail .mle-article-recommendation-no-image{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:991px){
 body.single-post .mle-news-detail{padding:45px 0 55px}
 .mle-news-detail .mle-article-layout{grid-template-columns:minmax(0,1fr);gap:40px}
 .mle-news-detail .mle-article-body{padding:40px 45px 28px}
 .mle-news-detail .mle-article-sidebar,body.admin-bar .mle-news-detail .mle-article-sidebar{position:static;max-height:none;overflow:visible;padding:0}
}
@media(max-width:600px){
 body.single-post .mle-news-detail{padding:28px 0 45px}
 .mle-news-detail .mle-article-breadcrumb{font-size:12px;gap:5px;margin-bottom:20px}
 .mle-news-detail .mle-article-body{padding:28px 16px 22px;border-radius:8px}
 .mle-news-detail .mle-article-header h1{font-size:27px;line-height:1.35;margin-bottom:20px}
 .mle-news-detail .mle-article-meta-row,.mle-news-detail .mle-article-meta{gap:8px 16px;font-size:12px}
 .mle-news-detail .mle-article-header{margin-bottom:26px}
 .mle-news-detail .mle-article-pagination{gap:16px;padding:22px 16px}
 .mle-news-detail .mle-article-pagination strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px}
 .mle-news-detail .mle-article-sidebar .mle-article-toc{padding:24px 20px;margin-bottom:30px}
 .mle-news-detail .mle-article-content>.mle-article-toc{margin:0 0 30px;padding:24px 20px}
 .mle-news-detail .mle-article-recommendations{padding:24px 20px}
}
@media(min-width:992px){
 .mle-news-detail .mle-article-sidebar .mle-article-toc-list{max-height:44dvh;overflow-y:auto;scrollbar-width:thin;padding-right:6px}
}
.mle-news-detail summary.mle-article-toc-title{position:relative;padding-right:22px}
.mle-news-detail summary.mle-article-toc-title::after{content:"";position:absolute;right:1px;top:7px;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.mle-news-detail .mle-article-toc:not([open]) summary.mle-article-toc-title::after{transform:rotate(-45deg)}
/* Keep both sidebar cards in one sticky stack; independently sticky siblings overlap at the article boundary. */
@media(min-width:992px){
 .mle-news-detail .mle-article-sidebar,
 body.admin-bar .mle-news-detail .mle-article-sidebar{
  position:sticky;top:var(--mle-article-sidebar-top,100px);align-self:start;
  display:flex;flex-direction:column;box-sizing:border-box;
  max-height:calc(100dvh - var(--mle-article-sidebar-top,100px) - 24px);
 }
 .mle-news-detail .mle-article-sidebar .mle-article-toc{position:static;flex:none}
 .mle-news-detail .mle-article-sidebar .mle-article-recommendations{
  position:static;flex:0 1 auto;min-height:0;overflow-y:auto;
  overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--mle-blue) #e5e9ef;
 }
}
/* Sidebar scrollbars: keep the thumb and track, without arrow buttons. */
.mle-news-detail .mle-article-sidebar :is(.mle-article-toc-list,.mle-article-recommendations){scrollbar-width:auto;scrollbar-color:auto}
.mle-news-detail .mle-article-sidebar :is(.mle-article-toc-list,.mle-article-recommendations)::-webkit-scrollbar{width:6px;height:6px}
.mle-news-detail .mle-article-sidebar :is(.mle-article-toc-list,.mle-article-recommendations)::-webkit-scrollbar-track{background:#e5e9ef;border-radius:999px}
.mle-news-detail .mle-article-sidebar :is(.mle-article-toc-list,.mle-article-recommendations)::-webkit-scrollbar-thumb{background:var(--mle-blue,#1a4499);border:0;border-radius:999px}
.mle-news-detail .mle-article-sidebar :is(.mle-article-toc-list,.mle-article-recommendations)::-webkit-scrollbar-button{display:none;width:0;height:0}
@supports not selector(::-webkit-scrollbar){
 .mle-news-detail .mle-article-sidebar :is(.mle-article-toc-list,.mle-article-recommendations){scrollbar-width:thin;scrollbar-color:var(--mle-blue,#1a4499) #e5e9ef}
}