img[src="/images/platform/jade-bangle-single.jpg"] {
  object-position: center 55%;
}

img[src="/images/platform/jade-bangles-green.jpg"] {
  object-position: center 61%;
}

/* Keep the original 16:10 thumbnails, with space for the full bangle groups. */
.platform-card__thumb .media:has(img[src="/images/platform/jade-bangles-amber.jpg"]) {
  background: #f2f5f5;
}

.platform-card__thumb .media:has(img[src="/images/platform/jade-bangles-green.jpg"]) {
  background: linear-gradient(140deg, #102e27, #16463d 70%, #2e5b50);
}

.platform-card__thumb img:is(
  [src="/images/platform/jade-bangles-amber.jpg"],
  [src="/images/platform/jade-bangles-green.jpg"]
) {
  width: 82%;
  margin-inline: auto;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  transform: none;
}

.platform-card__thumb img[src="/images/platform/jade-bangles-amber.jpg"] {
  object-position: center 44%;
}

#jewelry-box .section-banner {
  max-height: 384px;
}

#jewelry-box .section-banner__media img {
  object-position: center 53%;
}

#shop .section-banner {
  aspect-ratio: 8768 / 3628;
  max-height: none;
}

#shop .section-banner__media img {
  object-fit: contain;
}

#consignment .consignment-aside {
  justify-content: center;
  max-height: none;
}

#consignment .consignment-image {
  flex: 0 0 auto;
  width: 100%;
  max-width: 22rem;
  min-height: 0;
  aspect-ratio: 9 / 16;
}

#consignment .consignment-image img {
  object-fit: contain;
}

@media (max-height: 760px) {
  #consignment .consignment-aside {
    position: static;
  }
}

#about .about-layout__image {
  width: min(100%, 22.5rem);
  max-height: none;
  aspect-ratio: 9 / 16;
  justify-self: center;
}

#about .about-layout__image img {
  object-fit: contain;
}

#hero .media__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#contact .contact-layout__image {
  width: min(100%, 28.5rem);
  min-height: 0;
  margin-inline: auto;
  aspect-ratio: 3385 / 3917;
  align-self: center;
}

#contact .contact-layout__image img {
  object-fit: contain;
}

/* The gold category photo is by The Now Time, Unsplash (P2HUVoJFTX8). */
.platform-card__thumb img[src="/images/platform/liushu-jewelry-box.jpg"] {
  object-position: center 25.5%;
}

.product-card__image img[src="/images/products/jade-bangle-pair.jpg"] {
  object-position: 53% center;
}

#craft .craft-image img {
  object-position: center 55%;
}

.product-card__image img[src="/images/products/jade-jewelry-collection.jpg"] {
  object-position: center 21%;
}
