.rb-image:where(.rb-el,.rb-el *) { margin: 0; }
.rb-image-inner { display: inline-block; max-width: 100%; overflow: hidden; vertical-align: top; border-radius: inherit; }
.rb-image-inner:has(> img[src$=".svg"], > a > img[src$=".svg"]) { display: block; }
.rb-image:where(.rb-el,.rb-el *) img { display: block; max-width: 100%; height: auto; }
.rb-image.rb-align-center:where(.rb-el,.rb-el *) { text-align: center; }
.rb-image.rb-align-right:where(.rb-el,.rb-el *) { text-align: right; }
.rb-image:where(.rb-el,.rb-el *) figcaption { margin-top: 0.5em; font-size: 0.875em; opacity: 0.8; }
.rb-img-hover-zoom img { transition: transform 0.4s ease; }
.rb-img-hover-zoom:hover img { transform: scale(1.04); }
.rb-img-hover-fade img { transition: opacity 0.3s ease; }
.rb-img-hover-fade:hover img { opacity: 0.85; }
@media (prefers-reduced-motion: reduce) { .rb-img-hover-zoom:hover img { transform: none; } }
