/* ============================================
   RSL Images Component
   Version: 1.0.0
   Description: Utility classes for responsive images,
   sizing, borders, shadows, shapes, and filters.
   ============================================ */

/* ──────────────────────────────────────────────
   Responsive Image
   ────────────────────────────────────────────── */

img.responsive-img {
    width: 100%;
    height: auto;
}

/* Minimum widths */
img.min-width-100 {
    min-width: 100px;
}

img.min-width-200 {
    min-width: 200px;
}

img.min-width-300 {
    min-width: 300px;
}

/* Maximum widths */
img.max-width-100 {
    max-width: 100px;
}

img.max-width-200 {
    max-width: 200px;
}

img.max-width-300 {
    max-width: 300px;
}

img.max-width-400 {
    max-width: 400px;
}

img.max-width-500 {
    max-width: 500px;
}

/* Rounded corners */
img.rounded {
    border-radius: 8px;
}

img.rounded-sm {
    border-radius: 4px;
}

img.rounded-lg {
    border-radius: 16px;
}

/* Circle images */
img.circle {
    border-radius: 50%;
}

/* Image with border */
img.bordered {
    border: 2px solid #ddd;
    padding: 4px;
}

img.bordered-thick {
    border: 4px solid #ddd;
    padding: 8px;
}

/* Image with shadow */
img.shadow {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

img.shadow-lg {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Center image */
img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Thumbnail size */
img.thumbnail {
    max-width: 150px;
    height: auto;
}

/* Full width */
img.full-width {
    width: 100%;
    height: auto;
}

/* Object fit utilities */
img.cover {
    object-fit: cover;
}

img.contain {
    object-fit: contain;
}

/* Fixed aspect ratios */
img.aspect-square {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

img.aspect-video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

img.aspect-portrait {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* Grayscale filter */
img.grayscale {
    filter: grayscale(100%);
}

img.grayscale:hover {
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}