/* Trim the square JPEG corners in both the seeker and employer logo lists. */
.page-seekers .logo-item img:is(
  [src$="/featured-businesses/shibusawa-bakery.jpg"],
  [src$="/featured-businesses/nanaya.jpg"],
  [src$="/featured-businesses/houbi-ichigo.jpg"]
) {
  /* The mask must follow the square image, not the wider object-fit box. */
  width: auto;
  height: 100%;
  aspect-ratio: 1;
}

.logo-item img[src$="/featured-businesses/shibusawa-bakery.jpg"],
.business-logos img[src$="/featured-businesses/shibusawa-bakery.jpg"] {
  clip-path: circle(49.5% at 50% 50%);
}

.logo-item img[src$="/featured-businesses/nanaya.jpg"],
.business-logos img[src$="/featured-businesses/nanaya.jpg"] {
  clip-path: circle(49.5% at 50% 50%);
}

.logo-item img[src$="/featured-businesses/houbi-ichigo.jpg"],
.business-logos img[src$="/featured-businesses/houbi-ichigo.jpg"] {
  clip-path: circle(49.2% at 50% 50%);
}
