/* Site images (4 Dec 2026): shown whole, never cropped, whatever the founder uploads in «صور الموقع».
   The home editor's own crop setting (design → image ratio) still wins when he picks one (qq-cms-crop). */
/* Same selector as the page's own rule, loaded after it: wins without !important */
.site-main .v4hero:not(.compact) .v4illustration.qq-hero-photo,.site-main .v4hero .v4illustration.qq-hero-photo{width:100%;max-width:560px;overflow:hidden;background:#fff}
@media (min-width:851px){
  .site-main .v4hero[data-cms-block="hero"],.site-main .v4hero.compact:has(.qq-prog-art){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
.site-main .v4hero .qq-hero-photo img{display:block;width:100%;height:auto;aspect-ratio:auto 16/9;max-height:560px;object-fit:contain;object-position:center}
@media (max-width:850px){
  .site-main .v4hero[data-cms-block="hero"],.site-main .v4hero.compact:has(.qq-prog-art){grid-template-columns:1fr!important}
  .site-main .v4hero .v4illustration.qq-hero-photo{display:block!important;max-width:100%!important;margin:12px auto 0}
}

/* Programme page */
.site-main .v4hero .qq-prog-art{max-width:560px!important}
.site-main .v4hero .qq-prog-art img{aspect-ratio:auto 1448/800}

/* Free tools: hidden unless the founder adds an image */
.qq-tools-art{margin:0;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 10px 26px rgba(0,56,43,.12)}
.qq-tools-art[hidden]{display:none}
.qq-tools-art img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain}
