/* MLB editorial image contract — 2026-10-10.
 * Published, scheduled and draft entries share these selectors.
 * Images occupy a complete 16:9 canvas; brand strip is additional space.
 * Never crop graphs, faces, text or official branding to fill a fixed height.
 */
html body :is(.mlb-guide-media,.mlb-blog-img,.mlb-blog-pro-featured-media,.mlb-blog-pro-card-media,.mlb-blog-pro-popular-media,.mlb-editorial-hero),
html body.mlbtd-brand-home .mlb-guide-grid-home .mlb-guide-media,
html body.mlbtd-brand-home #ultimas-noticias .mlb-guide-media {
 position:relative!important;display:block!important;overflow:hidden!important;
 background:#edf3f8!important;aspect-ratio:auto!important;height:auto!important;
 min-height:0!important;max-height:none!important;padding:0 0 34px!important;
 box-sizing:border-box!important;align-self:start!important;
}
html body :is(.mlb-guide-media,.mlb-blog-img,.mlb-blog-pro-featured-media,.mlb-blog-pro-card-media,.mlb-blog-pro-popular-media,.mlb-editorial-hero)::after {
 content:"";position:absolute;inset:auto 0 0;height:34px;
 background:#061f39 url("../img/logo-miluzbarata-light.svg") no-repeat 14px center;
 background-size:124px auto;pointer-events:none;
}
html body :is(.mlb-guide-media,.mlb-blog-img,.mlb-blog-pro-featured-media,.mlb-blog-pro-card-media,.mlb-blog-pro-popular-media,.mlb-editorial-hero)>img,
html body.mlbtd-brand-home .mlb-guide-grid-home .mlb-guide-media img,
html body.mlbtd-brand-home #ultimas-noticias .mlb-guide-media img,
html body .mlb-guide-card .mlb-guide-media img,
html body .mlb-v6156-article .mlb-v6156-article-grid article .mlb-editorial-hero>img.hero {
 position:relative!important;inset:auto!important;display:block!important;
 width:100%!important;height:auto!important;min-height:0!important;
 max-height:none!important;max-width:100%!important;aspect-ratio:16/9!important;
 object-fit:contain!important;object-position:center!important;
 margin:0!important;padding:0!important;border-radius:0!important;
 transform:none!important;background:#edf3f8!important;box-sizing:border-box!important;
}
html body .mlb-editorial-hero{margin:22px 0 28px;border-radius:16px;}
html body .mlb-blog-pro-popular-media{padding-bottom:16px!important;}
html body .mlb-blog-pro-popular-media::after{height:16px;background-position:5px center;background-size:60px auto;}
html body .mlb-v6156-article-content :is(img,svg){max-width:100%;height:auto;object-fit:contain;}
html body .mlb-v6156-article-content figure{max-width:100%;}
@media(max-width:560px){html body .mlb-editorial-hero{border-radius:12px;}}

/* Tariff profile cards: keep text clear of the decorative ring. */
.mlb-tariff-pro .mlb-tariff-profiles > article{padding-inline-start:64px!important;}
.mlb-tariff-pro .mlb-tariff-profiles > article::before{pointer-events:none;}

/* Professional hero: respect the complete original photograph. */
html body .pro-visual > img#mlbp-professional-photo {
 display:block!important;width:100%!important;max-width:100%!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;
}
