/* V42: preserve full people photographs and app screenshots, on all pages. */
body img.jyoti-person-fit{object-fit:contain!important;object-position:50% 50%!important;clip-path:none!important;transform:none!important}
body img.jyoti-screen-fit{object-fit:contain!important;object-position:50% 50%!important;clip-path:none!important;transform:none!important;border-radius:14px!important}
/* Remove arch-shaped clipping and absolute image positioning from guide heroes. */
body.jyoti-guide .hero-photo{border-radius:20px!important;overflow:visible!important;min-height:0!important;height:auto!important;margin-inline:auto!important;max-width:100%;padding:12px;box-sizing:border-box;background:#e7eee1;box-shadow:0 15px 35px #103c2f16}
body.jyoti-guide .hero-photo img{position:static!important;inset:auto!important;display:block;width:100%!important;height:auto!important;max-height:620px!important;object-fit:contain!important;object-position:center!important;border-radius:14px!important}
body.jyoti-guide .hero-photo img.jyoti-screen-fit{width:auto!important;max-width:100%!important;max-height:640px!important;margin-inline:auto!important}
body.jyoti-guide .hero-photo figcaption{position:static!important;display:block;border-radius:8px!important;text-align:center;margin:12px 0 0!important;padding:8px 12px;background:#fff;color:#103c2f}
/* Whole images in cards. No zoom-on-hover that cuts off heads or hands. */
body.jyoti-guide .section .cards .card-image{height:260px!important;aspect-ratio:auto!important;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#eaf0e4}
body.jyoti-guide .section .cards .card-image img{display:block;width:100%!important;height:100%!important;max-height:260px!important;object-fit:contain!important;object-position:center!important;transform:none!important;padding:8px;box-sizing:border-box}
body.jyoti-guide .card:hover .card-image img{transform:none!important}
/* Portraits, feature photos, editorial figures: retain the source framing. */
body .founder-hero-photo img.jyoti-person-fit{aspect-ratio:auto!important;width:auto!important;max-width:100%;height:auto!important;max-height:620px!important;display:block;margin-inline:auto}
body .editorial-photo.jyoti-person-fit,body .media-portrait.jyoti-person-fit{height:auto!important;max-height:580px!important;width:auto!important;max-width:100%;display:block;margin-inline:auto}
body .founder-card img.jyoti-person-fit{object-fit:contain!important;object-position:center!important;background:#eaf0e4}
body .challenge-page .challenge-hero-photo img.jyoti-person-fit,body .challenge-page .challenge-habit-photo img.jyoti-person-fit,body .homepage-carousel .challenge-carousel-photo img.jyoti-person-fit{width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
body .challenge-page .challenge-hero-photo img{border-radius:20px!important}
body .challenge-habit-photo .sticker-top{top:-14px!important;left:6px!important;max-width:76%;font-size:.78rem!important}
body .challenge-habit-photo .sticker-habit-bottom{bottom:48px!important;font-size:.78rem!important}
/* Small author/avatar circles deliberately centre the face instead of the torso. */
body img.jyoti-avatar-fit{object-fit:cover!important;object-position:center 40%!important;border-radius:50%!important}
body .guide-profile img.jyoti-avatar-fit{object-position:center 38%!important}
/* Product figures outside guide pages are also kept whole. */
body .screen-grid img.jyoti-screen-fit,body .media-card img.jyoti-screen-fit{object-fit:contain!important;object-position:center!important}
@media(max-width:700px){body.jyoti-guide .hero-photo img{max-height:500px!important}body.jyoti-guide .hero-photo img.jyoti-screen-fit{max-height:570px!important}body.jyoti-guide .section .cards .card-image{height:250px!important}body.jyoti-guide .section .cards .card-image img{max-height:250px!important}body .challenge-habit-photo .sticker-top{font-size:.65rem!important}body .challenge-habit-photo .sticker-habit-bottom{font-size:.65rem!important}}
body .j26-card img.jyoti-person-fit,body .j26-card img.jyoti-screen-fit{height:230px!important;object-fit:contain!important;object-position:center!important;background:#eaf0e4}
body .j26-figure img.jyoti-person-fit{object-fit:contain!important;height:auto!important;max-height:620px!important;width:auto!important;max-width:100%;display:block;margin-inline:auto}
body img.yb-screen-img.jyoti-screen-fit{object-fit:contain!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:620px!important;display:block;margin-inline:auto;border-radius:14px!important}
body .challenge-carousel-photo .sticker-challenge{top:-14px;transform:translateY(-40%) rotate(-4deg)}
