/* Edge-to-edge catalogue art; card copy keeps its own comfortable padding. */
body[data-page] .lug-card.game-card{padding:0!important;overflow:hidden}
body[data-page] .lug-card.game-card>.thumb{width:100%;aspect-ratio:1/1;flex-shrink:0;margin:0;padding:0;overflow:hidden}
body[data-page] .lug-card.game-card>.thumb>img{display:block;width:100%!important;height:100%!important;max-width:none;max-height:none;object-fit:cover!important;object-position:center!important;border-radius:0;transform:none!important}

body[data-page] .home-tournament-card{padding:0!important;gap:0;overflow:hidden}
body[data-page] .home-tournament-card>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover!important;border-radius:0;margin:0}
.home-tournament-body{display:flex;flex-direction:column;gap:12px;flex:1;padding:22px}
@media(max-width:575px){.home-tournament-body{padding:18px}}
/* Tournament artwork fills its stretched media column instead of keeping height:auto. */
body[data-page=tournaments] .lug-card.tournament-event{padding:0!important;overflow:hidden}
body[data-page=tournaments] .tournament-cover{height:100%;min-height:260px;overflow:hidden}
body[data-page=tournaments] .tournament-cover>img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-height:none;object-fit:cover!important;object-position:center!important}
body[data-page=tournaments] .tournament-detail-hero>img{width:100%!important;object-fit:cover!important}
body[data-page=tournaments] .gt-cover{object-fit:cover!important}
body[data-page=tournaments] *,body[data-page=tournaments] *::before,body[data-page=tournaments] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
body[data-page=tournaments] .reveal{opacity:1!important;transform:none!important}
body[data-page=tournaments] :is(.lug-card,.btn,.tournament-cover img):hover{transform:none!important}
@media(max-width:991px){body[data-page=tournaments] .tournament-cover{height:auto;min-height:0;aspect-ratio:16/10}}
body[data-page=home] .hero-game-slide .hero-game-art{object-fit:cover!important;object-position:center!important}

/* Content artwork uses its intrinsic ratio instead of cropping or reserving an empty square. */
body[data-page] #main .lug-card.game-card > .thumb:has(> img),
body[data-page] #main .game-cover-frame,
body[data-page] #main .tournament-cover:has(> img),
body[data-page] #main .media-open:has(> img){
  display:block; aspect-ratio:auto; height:auto; min-height:0; max-height:none;
}
body[data-page] #main :is(.lug-card.game-card > .thumb, .game-cover-frame, .tournament-cover, .tournament-detail-hero .col-md-5, .media-open) > img,
body[data-page] #main .home-tournament-card > img,
body[data-page] #main img.gt-cover{
  position:static; display:block; width:100%!important; height:auto!important;
  min-height:0; max-height:none; aspect-ratio:auto; object-fit:contain!important; transform:none!important;
}
body[data-page] #main :is(.game-grid,.home-tournament-grid,.media-grid){align-items:start}
body[data-page] #main .tournament-event .row > :first-child{align-self:start}
