/* Scoped to selected Persian homepage stories, never the source news image. */
html[lang=fa] body.future-home .future-community-story figure[data-story-image-fit] img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-position:center;background:var(--future-white,#fff)}
html[lang=fa] body.future-home .future-community-story figure[data-story-image-fit=contain] img,
html[lang=fa] body.future-home .future-research .future-story-media[data-story-image-fit=contain] img{object-fit:contain}
html[lang=fa] body.future-home .future-community-story figure[data-story-image-fit=cover] img,
html[lang=fa] body.future-home .future-research .future-story-media[data-story-image-fit=cover] img{object-fit:cover}

html[lang="fa"] .future-main figure[data-card-crop] picture {display:contents}
html[lang="fa"] .future-main figure[data-card-crop="research"] {align-self:start;aspect-ratio:4/5;height:auto;min-height:0;overflow:hidden}
html[lang="fa"] .future-main figure[data-card-crop="research"] img {width:100%;height:100%;aspect-ratio:4/5;object-fit:cover}
html[lang="fa"] .future-main figure[data-card-crop="campus"] img {aspect-ratio:3/2;object-fit:cover}
@media(max-width:800px){html[lang="fa"] .future-main figure[data-card-crop="research"],html[lang="fa"] .future-main figure[data-card-crop="research"] img{aspect-ratio:4/3}}

/* Explicit per-placement choices override only a card with saved studio settings. */
html[lang="fa"] .future-main figure[data-card-crop][data-card-fit-desktop="contain"] img{object-fit:contain!important}
@media(max-width:800px){html[lang="fa"] .future-main figure[data-card-crop][data-card-fit-mobile="cover"] img{object-fit:cover!important}html[lang="fa"] .future-main figure[data-card-crop][data-card-fit-mobile="contain"] img{object-fit:contain!important}}
