/* === NODERĪGI (noderigi.html) ===
   Virsraksts, pogas, .img-slot — style.css */

.nd-wrap { max-width: 1365px; margin: 32px auto 56px; padding: 0 24px; }

.nd-group { margin-bottom: 36px; }

.nd-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.nd-group-icon {
  width: 36px; height: 36px; border-radius: 10px; background: #eef2fa; color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.nd-group-head h2 { font-size: 18px; font-weight: 600; color: #111; }

.nd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* kartīte — tāds pats stils kā resursu centra aprīkojumam */
.nd-card {
  display: flex; gap: 14px; align-items: center;
  border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px 16px; background: #fff;
  transition: box-shadow .15s, border-color .15s;
}

.nd-card:hover { border-color: #c0d0e8; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }

/* ikona vai logo: media/noderigi/<k>.png — ja bildes nav, rāda ikonu */
.nd-icon {
  width: 52px; height: 52px; border-radius: 10px; background: #eef2fa; color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden;
}

.nd-icon img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.nd-icon:has(img) { background: #fff; border: 1px solid #eef0f4; }
.nd-icon:has(img) svg { display: none; }

.nd-body { flex: 1; min-width: 0; }
.nd-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.35; transition: color .15s; }
.nd-desc { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.nd-card:hover .nd-title { color: var(--blue); }

.nd-arrow { color: #b0b7c6; flex-shrink: 0; transition: color .15s, transform .15s; }
.nd-card:hover .nd-arrow { color: var(--blue); transform: translate(2px, -2px); }

@media (max-width: 1100px) { .nd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .nd-wrap { padding: 0 16px; } .nd-grid { grid-template-columns: minmax(0, 1fr); } }
