/* QA2 fixes */
/* Responsive YouTube 16:9 */
.video-box, .video-embed { width: 100%; }
.video-box .video-embed { position: relative; aspect-ratio: 16 / 9; background: #0e121b;
  border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.06); }
.video-box .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Footer stability */
.site-footer { margin-top: 40px; padding: 24px 0; background: #0e121b;
  border-top: 1px solid rgba(255,255,255,0.06); width: 100%; clear: both; }
.site-footer .container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer .links a { color: #aeb7cc; text-decoration: none; }
.site-footer .links a:hover { text-decoration: underline; }
@media (max-width: 768px){ .site-footer .links { justify-content: center; text-align: center; } }
html, body, .page, .wrapper, main { overflow-x: hidden; }

/* Jeux similaires layout guard */
.related-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.related-row .card { position: relative; display:block; width:100%; aspect-ratio:1/1;
  border-radius: 16px; overflow: hidden; background: #0e121b;
  box-shadow: 0 6px 18px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06); }
.related-row .card img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; border-radius: inherit; display: block; }
.related-row .card .p { display: none; }
@media (min-width: 1024px){ .related-row { display: flex; gap: 24px; flex-wrap: nowrap; } .related-row .card { flex: 0 0 156px; } }

/* Hide catalog meta under cards */
.catalog-grid .meta{display:none!important;}
