/* NetValg Front Grid v1.4.0 */
.nvfg-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
@media (max-width: 1024px){
  .nvfg-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .nvfg-grid{ grid-template-columns: 1fr; }
}
.nvfg-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.nvfg-card:hover{
  box-shadow: 0 8px 24px rgba(2,6,23,.08);
  transform: translateY(-2px);
  border-color:#e2e8f0;
}
.nvfg-media{
  aspect-ratio: 16 / 9;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  border-bottom:1px solid #e5e7eb;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}
.nvfg-media.has-img{ background:none; }
.nvfg-ic{ width:88px; height:88px; filter: drop-shadow(0 1px 0 rgba(255,255,255,.4)); }
.nvfg-img{ width:100%; height:100%; object-fit:cover; display:block; }
.nvfg-body{ padding:14px 16px; display:flex; flex-direction:column; gap:8px; }
.nvfg-title{ font-weight:800; font-size:18px; line-height:1.25; color:#0f172a; margin:0; }
.nvfg-desc{ color:#475569; margin:0; }

/* Themed gradients per category (fallback når der ikke er billede) */
.nvfg-key-billigst .nvfg-media{ background: linear-gradient(180deg, #f0f9ff, #e0f2fe); }
.nvfg-key-streaming .nvfg-media{ background: linear-gradient(180deg, #eef2ff, #e0e7ff); }
.nvfg-key-gaming .nvfg-media{ background: linear-gradient(180deg, #ecfeff, #cffafe); }
.nvfg-key-familie .nvfg-media{ background: linear-gradient(180deg, #f0fdf4, #dcfce7); }
.nvfg-key-hjemmekontor .nvfg-media{ background: linear-gradient(180deg, #fdf2f8, #fce7f3); }
.nvfg-key-fiber .nvfg-media{ background: linear-gradient(180deg, #f5f3ff, #ede9fe); }
.nvfg-key-mobilt .nvfg-media{ background: linear-gradient(180deg, #fff7ed, #ffedd5); }

.nvfg-debug{ margin-top:12px; font-size:12px; color:#334155; background:#f8fafc; border:1px dashed #cbd5e1; padding:8px; border-radius:8px; }
.nvfg-debug code{ background:#e2e8f0; padding:1px 4px; border-radius:4px; }
