img{image-rendering:-webkit-optimize-contrast;image-rendering:optimize-contrast;transform:translateZ(0);will-change:transform;transition:opacity .3s ease,filter .3s ease}img[srcset]{height:auto;max-width:100%}img[data-optimized-advanced="true"]{opacity:1;filter:none}img[style*="blur"]{background-color:#f0f0f0;background-image:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}.hero img,.banner img,.logo img,.featured img{content-visibility:auto;contain-intrinsic-size:300px 200px}.course figure{position:relative;overflow:hidden;background-color:#f8f9fa;aspect-ratio:16/9}.course figure img{width:100%;height:100%;object-fit:cover;object-position:center;transition:opacity .3s ease,transform .3s ease}.course figure img:hover{transform:scale(1.05)}.ads img,.advertisement img{content-visibility:auto;contain-intrinsic-size:300px 250px;width:100%;height:auto}.gallery img,.image-gallery img{loading:lazy;decoding:async;transition:transform .2s ease,box-shadow .2s ease}.gallery img:hover,.image-gallery img:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.profile-image,.user-avatar{border-radius:50%;object-fit:cover;background-color:#e9ecef;aspect-ratio:1}.blog-content img,.post-content img{max-width:100%;height:auto;margin:1rem 0;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1)}.thumbnail,.thumb{aspect-ratio:4/3;object-fit:cover;background-color:#f8f9fa;border-radius:4px}img[src*="placeholder"],img[alt*="not available"]{background-color:#f8f9fa;border:2px dashed #dee2e6;display:flex;align-items:center;justify-content:center;color:#6c757d;font-size:.875rem;min-height:100px}img[src*=".webp"],img[src*=".avif"]{position:relative}img[src*=".webp"]::after,img[src*=".avif"]::after{content:"WebP";position:absolute;top:4px;right:4px;background:rgba(0,128,0,.8);color:#fff;font-size:10px;padding:2px 4px;border-radius:2px;pointer-events:none;opacity:0;transition:opacity .2s ease}img[src*=".avif"]::after{content:"AVIF";background:rgba(0,100,200,.8)}img[src*=".webp"]:hover::after,img[src*=".avif"]:hover::after{opacity:1}.responsive-image-container{position:relative;overflow:hidden;background-color:#f8f9fa}.responsive-image-container img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}@media(max-width:768px){img{image-rendering:auto}.course figure{aspect-ratio:4/3}.gallery img,.image-gallery img{transition:none}.gallery img:hover,.image-gallery img:hover{transform:none;box-shadow:none}}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){img{image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges}}@media print{img{max-width:100%!important;height:auto!important;page-break-inside:avoid}img[src*=".webp"]::after,img[src*=".avif"]::after{display:none}}@media(prefers-reduced-motion:reduce){img{transition:none!important;animation:none!important}img[style*="blur"]{animation:none;background-image:none}}@media(prefers-color-scheme:dark){img[src*="placeholder"]{background-color:#2d3748;border-color:#4a5568;color:#a0aec0}img[style*="blur"]{background-color:#2d3748;background-image:linear-gradient(90deg,#2d3748 25%,#4a5568 50%,#2d3748 75%)}}