/* Nuvex content visuals: product cards and blog covers only.
   Service icons stay in page markup so the same SVG is used everywhere.
   Team member imagery is intentionally untouched. */

/* ---------- Product imagery ---------- */
.product-screen{
  padding:0;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.product-screen:not(:has(> img)) > *{display:none!important}
.product-screen:has(> img){background:none!important}
.product-screen > img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}

#home-products-grid .product-card:nth-child(1) .product-screen:not(:has(> img)),
#products-api-grid .product-card:nth-child(1) .product-screen:not(:has(> img)){
  background-image:linear-gradient(rgba(20,18,55,.12),rgba(20,18,55,.12)),url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1200&q=82');
}
#home-products-grid .product-card:nth-child(2) .product-screen:not(:has(> img)),
#products-api-grid .product-card:nth-child(2) .product-screen:not(:has(> img)){
  background-image:linear-gradient(rgba(20,18,55,.08),rgba(20,18,55,.08)),url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1200&q=82');
}
#home-products-grid .product-card:nth-child(3) .product-screen:not(:has(> img)),
#products-api-grid .product-card:nth-child(3) .product-screen:not(:has(> img)){
  background-image:linear-gradient(rgba(20,18,55,.10),rgba(20,18,55,.10)),url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=82');
}

/* ---------- Blog cover imagery ---------- */
.article-image{background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}
.article-image > span{display:none}
.article-link[href*='scalable-platforms'] .article-image,.scale-image{background-image:linear-gradient(rgba(18,18,58,.24),rgba(18,18,58,.24)),url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1200&q=82')!important}
.article-link[href*='automation-future'] .article-image,.ai-image{background-image:linear-gradient(rgba(18,18,58,.22),rgba(18,18,58,.22)),url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=1200&q=82')!important}
.article-link[href*='data-driven-growth'] .article-image,.data-image{background-image:linear-gradient(rgba(18,18,58,.20),rgba(18,18,58,.20)),url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1200&q=82')!important}
.article-link[href*='social-media-management'] .article-image{background-image:linear-gradient(rgba(18,18,58,.18),rgba(18,18,58,.18)),url('https://images.unsplash.com/photo-1611162617474-5b21e879e113?auto=format&fit=crop&w=1200&q=82')!important}
.article-image:has(> img){background:none!important}
.article-image > img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}

@media (max-width:700px){.product-screen{height:180px}.article-image{height:180px}}
