/* NESKO Central — Inzichten hub layout (plugin-owned, theme-independent) */

.nesko-iz {
  --iz-navy: #0f2b46;
  --iz-blue: #0a84c1;
  --iz-ink: #1b2733;
  --iz-muted: #5b6b7b;
  --iz-line: #e2e8ef;
  --iz-bg-soft: #f4f7fa;
  --iz-radius: 10px;
  --iz-max: 1240px;
  color: var(--iz-ink);
  font-size: 17px;
  line-height: 1.65;
}

/* Kill theme sidebars/containers on these pages */
.nesko-iz-page #secondary,
.nesko-iz-page .sidebar,
.nesko-iz-page .widget-area,
.nesko-iz-page aside.widget-area {
  display: none !important;
}

.nesko-iz *,
.nesko-iz *::before,
.nesko-iz *::after { box-sizing: border-box; }

.nesko-iz__wrap {
  max-width: var(--iz-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */
.nesko-iz__hero {
  position: relative;
  background: var(--iz-navy);
  background-size: cover;
  background-position: center;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
.nesko-iz__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 43, 70, 0.25) 0%, rgba(15, 43, 70, 0.85) 100%);
}
.nesko-iz__hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--iz-max);
  margin: 0 auto;
  padding: 56px 24px;
  color: #fff;
}
.nesko-iz__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fd4f2;
  margin-bottom: 10px;
}
.nesko-iz__hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 10px;
  font-weight: 700;
}
.nesko-iz__hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin: 0;
  font-size: 1.05rem;
}

/* ---------- Intro (twee kolommen) ---------- */
.nesko-iz__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 56px 0 40px;
}
.nesko-iz__intro-claim {
  color: var(--iz-blue);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.3;
  font-weight: 600;
  margin: 0;
}
.nesko-iz__intro-body { margin: 0; color: var(--iz-muted); }
@media (max-width: 860px) {
  .nesko-iz__intro { grid-template-columns: 1fr; gap: 20px; padding: 36px 0 28px; }
}

/* ---------- Filterchips ---------- */
.nesko-iz__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 12px;
}
.nesko-iz__chip {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--iz-line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--iz-navy);
  text-decoration: none;
  background: #fff;
  transition: all 0.15s ease;
}
.nesko-iz__chip:hover { border-color: var(--iz-blue); color: var(--iz-blue); }
.nesko-iz__chip--active { background: var(--iz-navy); border-color: var(--iz-navy); color: #fff; }
.nesko-iz__chips-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iz-muted);
  align-self: center;
  margin-right: 4px;
}

/* ---------- Secties ---------- */
.nesko-iz__section { padding: 40px 0; border-top: 1px solid var(--iz-line); }
.nesko-iz__section:first-of-type { border-top: 0; }
.nesko-iz__section--soft { background: var(--iz-bg-soft); }
.nesko-iz__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.nesko-iz__section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--iz-navy);
  font-weight: 700;
}
.nesko-iz__section-head p { margin: 6px 0 0; color: var(--iz-muted); font-size: 0.98rem; }
.nesko-iz__more {
  white-space: nowrap;
  color: var(--iz-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nesko-iz__more:hover { text-decoration: underline; }

/* ---------- Kaarten ---------- */
.nesko-iz__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}
.nesko-iz__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--iz-line);
  border-radius: var(--iz-radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nesko-iz__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15, 43, 70, 0.12);
}
.nesko-iz__card-thumb {
  display: block;
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, #123a5e, #0a84c1);
  overflow: hidden;
}
.nesko-iz__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nesko-iz__card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nesko-iz__card-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iz-blue);
  font-weight: 700;
}
.nesko-iz__card h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; color: var(--iz-navy); }
.nesko-iz__card h3 a { color: inherit; text-decoration: none; }
.nesko-iz__card h3 a:hover { color: var(--iz-blue); }
.nesko-iz__card p { margin: 0; color: var(--iz-muted); font-size: 0.95rem; }
.nesko-iz__card-meta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.82rem;
  color: var(--iz-muted);
  display: flex;
  gap: 12px;
}

/* ---------- Paginering ---------- */
.nesko-iz__pagination { padding: 28px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.nesko-iz__pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--iz-line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--iz-navy);
}
.nesko-iz__pagination .page-numbers.current { background: var(--iz-navy); color: #fff; border-color: var(--iz-navy); }

/* ---------- Empty ---------- */
.nesko-iz__empty {
  padding: 48px 0;
  color: var(--iz-muted);
  text-align: center;
}

/* ---------- CTA ---------- */
.nesko-iz__cta {
  background: var(--iz-navy);
  color: #fff;
  margin-top: 48px;
}
.nesko-iz__cta-inner {
  max-width: var(--iz-max);
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.nesko-iz__cta h2 { color: #fff; margin: 0 0 6px; font-size: 1.6rem; }
.nesko-iz__cta p { margin: 0; color: rgba(255, 255, 255, 0.82); }
.nesko-iz__btn {
  display: inline-block;
  background: var(--iz-blue);
  color: #fff !important;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
}
.nesko-iz__btn:hover { background: #0b6fa3; }

/* ---------- Single inzicht ---------- */
.nesko-iz__article { padding: 48px 0 8px; max-width: 820px; }
.nesko-iz__article h2 { color: var(--iz-navy); margin-top: 2em; }
.nesko-iz__article h3 { color: var(--iz-navy); }
.nesko-iz__article img { max-width: 100%; height: auto; border-radius: var(--iz-radius); }
.nesko-iz__answer {
  border-left: 4px solid var(--iz-blue);
  background: var(--iz-bg-soft);
  padding: 18px 22px;
  border-radius: 0 var(--iz-radius) var(--iz-radius) 0;
  margin: 0 0 28px;
  font-size: 1.05rem;
}
.nesko-iz__crumbs { padding: 20px 0 0; font-size: 0.88rem; color: var(--iz-muted); }
.nesko-iz__crumbs a { color: var(--iz-muted); text-decoration: none; }
.nesko-iz__crumbs a:hover { color: var(--iz-blue); }

/* Legacy sync-markup binnen onze container netjes tonen */
.nesko-iz .nesko-inzicht-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}
.nesko-iz .nesko-inzicht-card {
  background: #fff;
  border: 1px solid var(--iz-line);
  border-radius: var(--iz-radius);
  overflow: hidden;
}
