/* WGC News: changes Jay asked for on 19 Nov 2026. Jay's site.css is untouched; this file only adds rules. */

/* Game cards: full 2:3 cover art fills the card (no blurred border, no partial picture) */
.pi img.fit.cov{object-fit:cover!important;padding:0!important;width:100%;height:100%;display:block}
.gcover.cov{object-fit:cover}

/* Language pill: globe icon and a small caret, like Jay's mockup */
.lang{display:inline-flex;align-items:center;gap:6px;line-height:1.2}
.lang::before{content:"";width:15px;height:15px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.4 2.6 3.6 5.6 3.6 9s-1.2 6.4-3.6 9c-2.4-2.6-3.6-5.6-3.6-9S9.6 5.6 12 3z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.4 2.6 3.6 5.6 3.6 9s-1.2 6.4-3.6 9c-2.4-2.6-3.6-5.6-3.6-9S9.6 5.6 12 3z'/%3E%3C/svg%3E") center/contain no-repeat}
.lang::after{content:"";width:6px;height:6px;flex:none;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:translateY(-2px) rotate(45deg);margin-left:1px;opacity:.75}

/* Phones: tidy top menu (Jay's mockup) — row 1 logo | edition, row 2 language | display mode, row 3 search */
@media (max-width:760px){
  .mrow{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"logo ed" "lang theme" "srch srch";align-items:center;gap:12px 10px}
  .mrow .wm.brand-news{grid-area:logo;flex:none;max-width:min(230px,58vw)}
  .mrow .edno{grid-area:ed;margin-left:0;justify-self:end;border-left:0;padding-left:0}
  .mrow .lang{grid-area:lang;justify-self:start}
  .mrow .theme{grid-area:theme;justify-self:end}
  .mrow .srch{grid-area:srch;order:0}
}

/* Wide pictures replaced with a full HD picture fill their frame */
.fitw>img.fit.cov{object-fit:cover!important;padding:0!important;width:100%;height:100%}

/* Phones: the search box spans the full width under the two control rows */
@media (max-width:760px){.mrow .srch{margin-left:0;width:100%;max-width:none;justify-self:stretch}}

/* Game pages: the banner picture fills the whole banner behind the title (as site.css intends: .banner img is
   absolute/inset 0); the picture wrapper had shrunk it to a strip above a black block */
.banner>.fitw.covw{position:absolute;inset:0;height:100%}
.banner>.fitw.covw>img.fit{height:100%}
