/* Final cover layout: no source enlargement and no offscreen cropping. */
body.ed-site img { max-width:100%; }
body.ed-site .news-story { max-width:1040px; width:min(1040px,calc(100% - 40px)); margin:56px auto 85px; padding:0; }
body.ed-site .news-story h1 { max-width:950px; }
body.ed-site .news-story .dek { max-width:920px; }
body.ed-site .journal-art-frame {display:block; margin:32px 0 18px; padding:0; width:100%; overflow:visible; background:#0b0d0d;}
body.ed-site .journal-art-image { display:block; width:100%; height:auto !important; max-height:none !important; aspect-ratio:auto !important; object-fit:contain !important; object-position:center center !important; transform:none !important; filter:none !important; border:1px solid #27302f; border-radius:0; image-rendering:auto; }
body.ed-site .journal-art-frame figcaption { color:#9eaaa7; font:500 11px/1.5 'DM Sans',sans-serif; padding:11px 0 0; letter-spacing:.02em; }
/* 16:9 card slots keep entire frame with no surprise crop. */
body.ed-site .news-card .art.art-image { padding:0 !important; height:auto !important; aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; overflow:hidden; background:#0b1011; }
body.ed-site .news-card .art.art-image img { display:block; width:100%; height:100%; object-fit:contain !important; object-position:center !important; transform:none !important; filter:none !important; transition:none !important; }
/* Software article cover has the same rule; no forced 345-pixel crop. */
body.ed-site .article-hero.article-hero-image { height:auto !important; min-height:0; aspect-ratio:3/2; display:grid; place-items:center; overflow:hidden; background:#0b1011; }
body.ed-site .article-hero.article-hero-image img { display:block; width:100%; height:100%; object-fit:contain !important; object-position:center !important; transform:none !important; }
/* Department art may change intrinsic proportions: don't stretch a 2:1 illustration into a 3:1 slot. */
body.ed-site .ed-department-banner.journal-department-art { position:relative; padding:0; border:1px solid #303c3b; margin-top:22px; margin-bottom:34px; background:#080a0a; overflow:hidden; }
body.ed-site .journal-department-art img { display:block; width:100%; height:auto !important; aspect-ratio:auto !important; max-height:none !important; max-width:100%; object-fit:contain !important; transform:none !important; filter:none !important; }
body.ed-site .journal-department-caption { position:absolute; bottom:22px; left:25px; font:600 clamp(24px,3vw,45px)/1.1 Georgia,serif; color:#f7f5f0; letter-spacing:.09em; text-shadow:0 3px 18px #000c; background:#050809ab; padding:7px 15px; }
body.ed-site .journal-department-gaming .journal-department-caption { display:none; } /* existing gaming art includes its own title */
/* Breakpoints: keep the same visible artwork at every viewport width. */
@media(max-width:760px){body.ed-site .news-story{width:calc(100% - 28px);margin:28px auto 65px;padding:0;}body.ed-site .journal-art-frame{margin:24px 0 15px;}body.ed-site .journal-department-caption{font-size:24px;bottom:10px;left:10px;padding:6px 10px;}body.ed-site .journal-department-art{margin-bottom:24px;}}
@media(max-width:480px){body.ed-site .news-story h1{font-size:39px!important;}body.ed-site .news-story .dek{font-size:16px;}body.ed-site .news-card .art.art-image{aspect-ratio:16/9;}}

/* Clean Gaming banner uses HTML text, not lettering baked into the artwork. */
body.ed-site .journal-department-gaming .journal-department-caption { display:block !important; }
body.ed-site .journal-department-gaming .journal-department-caption {bottom:20px;left:25px;}
@media(max-width:720px){body.ed-site .journal-department-gaming .journal-department-caption {font-size:25px;bottom:9px;left:9px;}}
