/* Clean rounded corners (owner, 2026-11-15): a picture frame with a beige background and a smaller radius than its
   picture showed a beige sliver behind each rounded corner. Every picture frame now has the same 14px radius as
   its picture and no background of its own, so the corner shows only the page behind it. Loaded last. */
.bm-card__media,
.bm-tile__media,
.bm-ct__media,
.barami-cat-tiles .overflow-hidden,
.project-card,
.collection-item,
.barami-lightbox-trigger,
.bm-showroom__photo {
    border-radius: 14px !important;
    background-color: transparent !important;
    overflow: hidden;
}
.bm-card__media > img,
.bm-tile__media > img,
.bm-ct__media > img,
.barami-cat-tiles .overflow-hidden > img {
    border-radius: 14px !important;
}

/* Brand tiles keep their dark ground (it carries the white logo when a brand has no photo); the frame takes the
   picture's radius, so the dark ground never shows behind a corner. */
.barami-brands .barami-brands__item.has-photo { border-radius: 14px !important; overflow: hidden; }
.barami-brands .barami-brands__item.has-photo img.barami-brands__photo { border-radius: 14px !important; }
