/* =========================================================
   MALABAR — IMAGE HOVERS
   Keep photography fully framed on hover. Instead of scaling
   (which cropped the edges inside overflow-hidden cards), use
   a subtle opacity fade. Loaded after component styles.
========================================================= */

/* Remove zoom from image-based cards while preserving layout/crop settings. */
.malabar-about__image-strip-item img,
.malabar-about__history-image img,
.malabar-alg-artist-card__image,
.malabar-alg-bottom-gallery__item img,
.malabar-editorial-card__image,
.malabar-editorial-product-card__image,
.malabar-lifestyle-card__image,
.malabar-lifestyle-related-card__image,
.malabar-lifestyle-next__image,
.malabar-artistic-masonry-card__image,
.malabar-product-related__image,
.malabar-product-project__image,
.malabar-project-other__image,
.malabar-press__image,
.malabar-material-card__image img,
.malabar-project-card__image,
.malabar-featured-pieces__img,
.malabar-products-catalog__image,
.malabar-category-carousel__image {
    transform: none !important;
    transition-property: opacity, filter !important;
    transition-duration: .35s !important;
    transition-timing-function: ease !important;
}

@media (hover: hover) and (pointer: fine) {
    .malabar-about__history-card:hover .malabar-about__history-image img,
    .malabar-editorial-card:hover .malabar-editorial-card__image,
    .malabar-editorial-product-card:hover .malabar-editorial-product-card__image,
    .malabar-lifestyle-card:hover .malabar-lifestyle-card__image,
    .malabar-lifestyle-related-card:hover .malabar-lifestyle-related-card__image,
    .malabar-lifestyle-next__link:hover .malabar-lifestyle-next__image,
    .malabar-artistic-masonry-card:hover .malabar-artistic-masonry-card__image,
    .malabar-product-related__card:hover .malabar-product-related__image,
    .malabar-product-project__media:hover .malabar-product-project__image,
    .malabar-product-project__media:focus-visible .malabar-product-project__image,
    .malabar-project-other__link:hover .malabar-project-other__image,
    .malabar-project-other__link:focus-visible .malabar-project-other__image,
    .malabar-press__item:hover .malabar-press__image,
    .malabar-press__item:focus-visible .malabar-press__image,
    .malabar-material-card:hover .malabar-material-card__image img,
    .malabar-project-card__link:hover .malabar-project-card__image,
    .malabar-project-card__link:focus-visible .malabar-project-card__image,
    .malabar-featured-pieces__image-link:hover .malabar-featured-pieces__img,
    .malabar-products-catalog__card-link:hover .malabar-products-catalog__image,
    .malabar-products-catalog__card-link:focus-visible .malabar-products-catalog__image,
    .malabar-category-carousel__card:hover .malabar-category-carousel__image,
    .malabar-category-carousel__card:focus-visible .malabar-category-carousel__image,
    .malabar-alg-bottom-gallery__item:hover img {
        transform: none !important;
        opacity: .86;
    }

    /* About Us already has its own colour tint overlay; only remove the zoom. */
    .malabar-about__image-strip-item:hover img {
        transform: none !important;
    }

    /* Art Lovers artist cards keep the blur-to-sharp concept, but without scale/crop. */
    .malabar-alg-artist-card:hover .malabar-alg-artist-card__image,
    .malabar-alg-artist-card:focus-visible .malabar-alg-artist-card__image {
        transform: none !important;
        opacity: 1;
    }
}

@media (hover: none), (pointer: coarse) {
    .malabar-about__image-strip-item img,
    .malabar-about__history-image img,
    .malabar-alg-artist-card__image,
    .malabar-alg-bottom-gallery__item img,
    .malabar-editorial-card__image,
    .malabar-editorial-product-card__image,
    .malabar-lifestyle-card__image,
    .malabar-lifestyle-related-card__image,
    .malabar-lifestyle-next__image,
    .malabar-artistic-masonry-card__image,
    .malabar-product-related__image,
    .malabar-product-project__image,
    .malabar-project-other__image,
    .malabar-press__image,
    .malabar-material-card__image img,
    .malabar-project-card__image,
    .malabar-featured-pieces__img,
    .malabar-products-catalog__image,
    .malabar-category-carousel__image {
        transform: none !important;
        opacity: 1;
    }
}
