/* V9 | 10th product integration. Layout only on the public portfolio page. */
@media (min-width:1240px){
 #products .product-grid>.product-card:nth-child(6){grid-column:1 / span 2 !important;grid-row:2 !important}
 #products .product-grid>.product-card:nth-child(7){grid-column:3 / span 2 !important;grid-row:2 !important}
 #products .product-grid>.product-card:nth-child(8){grid-column:5 / span 2 !important;grid-row:2 !important}
 #products .product-grid>.product-card:nth-child(9){grid-column:7 / span 2 !important;grid-row:2 !important}
 #products .product-grid>.product-card:nth-child(10){grid-column:9 / span 2 !important;grid-row:2 !important}
}
/* FinMentor only: constrain the image to the same illustration slot used by all other
   product cards. No scaling outside the slot, stretching, overflow or changes to art. */
#products .product-grid > .product-card.finmentor .product-art {
  overflow: hidden !important;
}
#products .product-grid > .product-card.finmentor .product-art img {
  display: block !important;
  box-sizing: border-box !important;
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  flex: 0 1 auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  transform: none !important;
}
#products .product-grid > .product-card.finmentor:hover .product-art img {
  transform: none !important;
}


/* FinMentor AI - Image Size */
#products .product-grid > .product-card.finmentor .product-art {
    overflow: hidden !important;
}

#products .product-grid > .product-card.finmentor .product-art img,
#products .product-grid > .product-card.finmentor:hover .product-art img {
    transform: scale(1.48) !important;
    transform-origin: center center !important;
    object-fit: contain !important;
}
