/* Component overrides: retain article image sizing and advertising artwork. */
body.public-v18 .article-main{min-width:0;--article-reading-width:840px}
body.public-v18 .article-main :is(.article-header,.article-cover,.article-actions,.article-body){box-sizing:border-box;width:100%;max-width:var(--article-reading-width);margin-left:0;margin-right:0}
body.public-v18 .article-cover img{display:block;max-width:100%!important;width:100%;height:auto!important;max-height:none;object-fit:contain}
body.public-v18 :is(.article-body,.editorial-public-body) :is(img,figure,video,iframe){max-width:100%!important;box-sizing:border-box}
@media(min-width:1100px){body.public-v18 .home-super-section .news-rail-track{--rail-visible:6;--rail-gap:14px}body.public-v18 .home-super-section .rail-news-card h3{font-size:15px;line-height:1.4}}
body.public-v18 .category-news-grid{align-items:start}
body.public-v18 .public-news-card-category-lead{grid-row:auto}
body.public-v18 .category-news-stack{display:grid;gap:12px;align-content:start;min-width:0}
body.public-v18 .public-news-card-compact{padding:12px;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:12px;min-width:0}
body.public-v18 .public-news-card-category-lead .public-news-card-body{padding:16px}
body.public-v18 .home-latest-full .latest-news-list-modern{gap:12px}
body.public-v18 .home-latest-full .latest-compact-card{padding:12px;gap:14px;align-items:center;min-width:0}
body.public-v18 :is(.latest-compact-media,.public-news-card-media,.rail-news-media)>img{display:block;width:100%!important;height:100%!important;object-fit:cover;object-position:center}
body.public-v18 :is(.latest-compact-media,.public-news-card-compact .public-news-card-media){overflow:hidden;flex-shrink:0}
body.public-v18 :is(.latest-compact-copy,.public-news-card-body){min-width:0;overflow-wrap:anywhere}
body.public-v18[data-site-theme=dark] :is(.rail-news-card h3,.rail-news-card h3 a,.article-title,.article-header h1,.editorial-public-title,.editorial-public-header h1,.article-comments h2,.comment-field label,.public-comment-copy,.public-comment-copy p,.public-comment-meta strong,.article-body,.editorial-public-body,.article-lead,.editorial-public-lead){color:var(--refresh-ink)!important}
body.public-v18[data-site-theme=dark] :is(.article-body,.editorial-public-body) :is(p,span,strong,b,em,i,li,h2,h3,h4,td,th){color:inherit!important}
body.public-v18[data-site-theme=dark] :is(.article-body,.editorial-public-body) a{color:#93c5fd!important}
body.public-v18[data-site-theme=dark] :is(.article-comments,.public-comment,.article-body blockquote,.editorial-public-body blockquote){background:var(--refresh-card)!important;color:var(--refresh-ink)!important;border-color:var(--refresh-line)!important}
body.public-v18[data-site-theme=dark] :is(.comment-form,.comment-field input,.comment-field textarea,.comment-empty){background:#101827!important;color:var(--refresh-ink)!important;border-color:var(--refresh-line)!important}
body.public-v18[data-site-theme=dark] :is(.comment-field small,.comment-form-footer p,.public-comment-meta,.article-time-meta){color:#a8b5c6!important}
body.public-v18[data-site-theme=dark] .comment-field :is(input,textarea)::placeholder{color:#a8b5c6}
body.public-v18[data-site-theme=dark] :is(.site-topline,.site-header-search input){background:#151e2b!important;color:#e7edf5!important}
body.public-v18[data-site-theme=dark] .site-brand-copy :is(strong,small){color:#e7edf5!important}
body.public-v18[data-site-theme=dark] :is(.breaking-strip,.breaking-strip-inner){background:#101827!important;color:#fff!important}
body.public-v18[data-site-theme=dark] .breaking-strip a{color:#fff!important}
body.public-v18[data-site-theme=dark] .site-header-search button{background:#b91c1c!important;color:#fff!important}
body.public-v18[data-site-theme=dark] :is(.article-most-read-panel,.article-most-read-list,.article-most-read-item,.article-most-read-link){background:var(--refresh-card)!important;border-color:var(--refresh-line)!important}
body.public-v18[data-site-theme=dark] .article-most-read-copy strong{color:var(--refresh-ink)!important}
body.public-v18[data-site-theme=dark] .article-most-read-meta{color:#a8b5c6!important}
body.admin-refresh .perm-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
body.admin-refresh .perm-group{padding:16px!important;background:var(--surface-2)!important;border:1px solid var(--border-strong);border-radius:14px}
body.admin-refresh .perm-group-head{min-height:38px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid var(--border)}
body.admin-refresh .perm-group h4{font-size:14px!important;color:var(--text)!important}
body.admin-refresh .perm-count{display:block;font-size:11px;font-weight:500;color:var(--muted);margin-top:4px}
body.admin-refresh .perm-item{align-items:center!important;min-height:36px;margin:2px 0!important;padding:6px 8px!important;border-radius:8px;font-size:13px!important;cursor:pointer}
body.admin-refresh .perm-item:has(input:checked){background:color-mix(in srgb,#2563eb 14%,transparent)}
body.admin-refresh .perm-item input[type=checkbox]{appearance:auto!important;width:17px!important;height:17px!important;min-height:0!important;margin:0!important;padding:0!important;flex-shrink:0;accent-color:#2563eb}
body.admin-refresh .perm-toolbar{flex-wrap:wrap}
body.admin-refresh .perm-search{width:min(100%,300px)}
body.admin-refresh .perm-group[hidden]{display:none!important}
@media(max-width:1000px){body.admin-refresh .perm-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body.admin-refresh .perm-groups{grid-template-columns:minmax(0,1fr)}body.admin-refresh .role-panel{padding:14px}body.public-v18 .public-news-card-compact{padding:10px;grid-template-columns:88px minmax(0,1fr)}body.public-v18 .public-news-card-compact .public-news-card-media{width:88px;height:72px}body.public-v18 .home-latest-full .latest-compact-card{grid-template-columns:88px minmax(0,1fr);padding:10px;gap:12px}body.public-v18 .home-latest-full .latest-compact-media{width:88px;height:72px}}
