/* PipeMag listing — full covers for erteashat + manisman cards only
 * Root cause: .mag-card__media uses aspect-ratio:16/10 + overflow:hidden
 * and img uses height:100% + object-fit:cover, which crops non-16/10 art.
 */
.mag-card__media.mag-card__media--fullcover,
.mag-card__media:has(img[src*="mag-erteashat-cover-rubber-expansion-joint"]),
.mag-card__media:has(img[src*="mag-manisman-cover-thickness-table"]) {
  aspect-ratio: auto;
  height: auto;
  overflow: hidden; /* keep radius clip without forcing a short frame */
  background: #e8eef5;
}

.mag-card__media.mag-card__media--fullcover img,
.mag-card__media img[src*="mag-erteashat-cover-rubber-expansion-joint"],
.mag-card__media img[src*="mag-manisman-cover-thickness-table"] {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  object-fit: contain;
  object-position: center center;
  display: block;
}
