/* The approved artwork sets its own 4:3 frame; no fixed-height letterboxing. */
body.v5 [data-mg-illustration]{
 min-width:0;margin:0;padding:0!important;border:0!important;
 background:#f8f4ee!important;overflow:hidden;
}
body.v5 :is(.mg-header-art,.mg-consult-art,.mg-practice-overview-photo)[data-mg-illustration]{
 display:block;position:relative;align-self:start;flex:none;
 width:100%;height:auto!important;min-height:0!important;max-height:none!important;
 aspect-ratio:4/3!important;
}
body.v5 [data-mg-illustration] .mg-art-window{
 position:relative;width:100%;height:auto;max-width:none!important;max-height:none;
 margin:0;aspect-ratio:4/3!important;background:#f8f4ee;
}
body.v5 [data-mg-illustration] img{
 position:static;display:block;inset:auto;width:100%!important;height:auto!important;
 max-width:none;max-height:none;margin:0;aspect-ratio:4/3;
 object-fit:contain;object-position:center;
}
body.v5.mg-integrated-consultation .mg-consult-visual{
 display:flex;flex-direction:column;min-width:0;border:0;background:var(--v6-navy);
}
body.v5.mg-integrated-consultation .mg-consult-knowledge-link{flex:1}
/* Avoid a tall text column forcing empty space around the artwork on tablets. */
@media(max-width:1100px){
 body.v5.mg-unified-practice :is(.mg-consult-topic,.mg-consult-overview),
 body.v5 .v6-hub-hero.mg-editorial-hero,
 body.v5.v6-hub .v6-hub-hero.mg-hub-stage{grid-template-columns:minmax(0,1fr)}
 body.v5.v6-hub .mg-hub-stage .mg-header-art{grid-column:1;grid-row:2}
}

/* Arbeitsrecht overview: cover the empty top edge and crop only the lower margin. */
body.v5 .mg-consult-overview .mg-consult-art[data-mg-illustration="arbeitsrecht"]{aspect-ratio:40/27!important}
body.v5 .mg-consult-overview .mg-consult-art[data-mg-illustration="arbeitsrecht"] img{position:absolute;top:0;left:0}
body.v5 .mg-consult-overview .mg-consult-art[data-mg-illustration="arbeitsrecht"]::after{content:"";position:absolute;inset:0 0 auto;height:6.666667%;background:#17243c;pointer-events:none}
