/*
Theme Name: Werknemersnieuws
Theme URI: https://werknemersnieuws.nl
Description: Werknemersnieuws thema
Version: 4.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@1,400;1,700&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid #f1f5f9;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header .inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}
.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-decoration: none;
}
.site-logo .logo-accent { color: #2563eb; }
.site-nav { display: flex; align-items: center; gap: 2.5rem; }
.nav-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.nav-icon-link:hover { color: #2563eb; }
.nav-icon-link svg { display: block; }

/* ── Main ── */
.site-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem 4rem;
}

/* ── Hero grid ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 2fr 1fr; }
}
.hero-img-wrap {
  position: relative;
  min-height: 400px;
  background: #1e293b;
}
@media (min-width: 1024px) { .hero-img-wrap { min-height: 500px; } }
.hero-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 50%, transparent 100%);
}
.hero-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2.5rem 3rem;
  color: #fff;
}
.hero-cat {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #93c5fd;
  margin-bottom: 0.5rem;
}
.hero-text h2 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
@media (min-width: 1024px) { .hero-text h2 { font-size: 2.5rem; } }
.hero-text h2 a { color: inherit; text-decoration: none; }

/* ── Net Binnen ── */
.hero-sidebar {
  background: #f8fafc;
  padding: 2rem;
}
.hero-sidebar h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  text-decoration: underline;
  text-decoration-color: #3b82f6;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.nb-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.nb-timeline::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 8px;
  width: 1px;
  height: calc(100% - 16px);
  background: #e2e8f0;
}
.nb-item { position: relative; padding-left: 1.5rem; }
.nb-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}
.nb-time {
  font-size: 0.6rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.nb-title {
  display: block;
  margin-top: 0.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.4;
  transition: color 0.2s;
}
.nb-title:hover { color: #2563eb; }

/* ── Split: nieuws + vacatures ── */
.split-section {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .split-section { grid-template-columns: 1fr 1fr; } }

/* Nieuws cards */
.news-list { display: flex; flex-direction: column; }
.news-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.news-card:first-child { padding-top: 0; }
.news-card:last-child { border-bottom: none; }
.news-card:hover { transform: translateX(5px); }
.news-card-thumb {
  flex-shrink: 0;
  width: 7rem;
  height: 5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e2e8f0;
}
@media (min-width: 768px) { .news-card-thumb { width: 9rem; height: 6rem; } }
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .news-card-thumb img { transform: scale(1.07); }
.news-card-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #94a3b8, #64748b);
}
.news-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  transition: color 0.2s;
}
@media (min-width: 768px) { .news-card-title { font-size: 1rem; } }
.news-card:hover .news-card-title { color: #2563eb; }
.news-card-cat {
  margin-top: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Vacatures */
.vac-card {
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background: #fff;
  padding: 2rem 2.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.vac-card h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}
.vac-list { display: flex; flex-direction: column; }
.vac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.vac-item:first-child { padding-top: 0; }
.vac-item:last-child { border-bottom: none; padding-bottom: 0; }
.vac-name {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  transition: color 0.2s;
}
.vac-item:hover .vac-name { color: #2563eb; }
.vac-loc { font-size: 0.82rem; color: #64748b; margin-top: 0.15rem; }
.vac-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 2px 6px rgba(37,99,235,0.2);
}
.vac-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.vac-empty { color: #64748b; font-size: 0.9rem; }

/* ── Bottom section ── */
.bottom-section {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .bottom-section { grid-template-columns: 1fr 1fr; } }

.feat-card {
  display: block;
  position: relative;
  min-height: 380px;
  border-radius: 1.5rem;
  overflow: hidden;
  text-decoration: none;
  background: #1e293b;
  filter: grayscale(100%);
  transition: filter 0.6s;
}
.feat-card:hover { filter: grayscale(0%); }
.feat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.feat-card:hover img { transform: scale(1.04); }
.feat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent 55%);
}
.feat-card-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  color: #fff;
}
.feat-card-text h4 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}
.feat-card-text p {
  margin-top: 0.4rem;
  font-size: 0.87rem;
  color: #cbd5e1;
}

/* ── Artikel pagina ── */
.artikel-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .artikel-wrap { grid-template-columns: 1fr 320px; }
}
.artikel-hoofd { margin-bottom: 24px; }
.artikel-titel {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 12px;
}
.artikel-intro {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 16px;
}
.artikel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #64748b;
}
.artikel-afb {
  width: 100%;
  border-radius: 0.75rem;
  margin-bottom: 24px;
}
.artikel-inhoud {
  font-size: 1rem;
  line-height: 1.75;
  color: #1e293b;
}
.artikel-inhoud h2, .artikel-inhoud h3 { margin: 1.5em 0 0.5em; font-weight: 700; }
.artikel-inhoud p { margin-bottom: 1.25em; }
.artikel-inhoud a { color: #2563eb; text-decoration: underline; }

/* Tags */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #e2e8f0;
  color: #475569;
  text-decoration: none;
  margin-right: 4px;
}
.tag.arbeidsmarkt { background: #dbeafe; color: #1d4ed8; }
.tag.rechten      { background: #fce7f3; color: #9d174d; }
.tag.cao          { background: #d1fae5; color: #065f46; }
.tag.loopbaan     { background: #ede9fe; color: #5b21b6; }
.tag.pensioen     { background: #fef3c7; color: #92400e; }
.tag.welzijn      { background: #fee2e2; color: #991b1b; }
.tag.zzp          { background: #ffedd5; color: #9a3412; }

/* ── Deel balk ── */
.deel-balk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin: 24px 0;
}
.deel-label { font-size: 0.8rem; font-weight: 600; color: #64748b; }
.deel-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.deel-btn:hover { opacity: 0.8; }
.deel-linkedin { background: #0077b5; color: #fff; }
.deel-twitter  { background: #000; color: #fff; }
.deel-whatsapp { background: #25d366; color: #fff; }
.deel-email    { background: #e2e8f0; color: #1e293b; }

/* ── Gerelateerd ── */
.gerelateerd { margin-top: 32px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.card { background: #fff; border: 1px solid #f1f5f9; border-radius: 10px; overflow: hidden; }
.card-img { width: 100%; height: 160px; object-fit: cover; }
.card-img-ph { width: 100%; background: #e2e8f0; }
.card-body { padding: 14px; }
.card-body h3 { font-size: 0.95rem; font-weight: 700; line-height: 1.35; margin: 6px 0 8px; }
.card-body h3 a { color: #0f172a; }
.card-body h3 a:hover { color: #2563eb; }
.card-meta { font-size: 0.75rem; color: #94a3b8; display: flex; gap: 10px; }

/* ── Widget sidebar ── */
.widget-blok { background: #f8fafc; border-radius: 10px; padding: 18px; margin-bottom: 20px; }
.widget-hoofd { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #475569; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; }
.widget-lijf {}
.mg-item { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f1f5f9; align-items: flex-start; }
.mg-item:last-child { border-bottom: none; }
.mg-nr { font-size: 1.2rem; font-weight: 700; color: #cbd5e1; min-width: 20px; }
.mg-titel a { font-size: 0.87rem; font-weight: 600; color: #1e293b; line-height: 1.35; }
.mg-titel a:hover { color: #2563eb; }
.mg-datum { font-size: 0.72rem; color: #94a3b8; margin-top: 3px; }
.cat-rij { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.85rem; }
.cat-rij:last-child { border-bottom: none; }
.cat-tel { color: #94a3b8; font-size: 0.75rem; }

/* ── Artikel navigatie ── */
.artikel-nav { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid #f1f5f9; }
.artikel-nav a { color: #0f172a; flex: 1; }
.nav-richting { font-size: 0.75rem; color: #94a3b8; margin-bottom: 4px; }
.nav-titel { font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.artikel-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag-badge { background: #f1f5f9; color: #475569; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }

/* ── Footer ── */
.site-footer {
  margin-top: 4rem;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  color: #64748b;
}
.footer-name {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0f172a;
}
.footer-copy { margin-top: 0.5rem; font-size: 0.75rem; }
.footer-links { margin-top: 0.75rem; display: flex; justify-content: center; gap: 1.5rem; font-size: 0.75rem; }
.footer-links a:hover { color: #2563eb; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-header .inner { padding: 0.75rem 1rem; }
  .site-main { padding: 1rem 1rem 3rem; }
  .hero-text { padding: 1.5rem; }
  .hero-sidebar { padding: 1.5rem; }
  .vac-card { padding: 1.5rem; }
  .site-nav { gap: 1.5rem; }
  .artikel-wrap { padding: 20px 16px; }
  .artikel-titel { font-size: 1.5rem; }
}

/* ── Archive / Search layout ── */
.archive-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .archive-layout { grid-template-columns: 1fr 320px; } }

.archive-head { margin-bottom: 2rem; }
.archive-head h1 { font-size: 1.75rem; font-weight: 700; color: #0f172a; }
.archive-head h1 em { font-style: italic; color: #2563eb; }
.archive-desc { margin-top: 0.5rem; color: #64748b; font-size: 0.95rem; }
.archive-count { margin-top: 0.25rem; font-size: 0.8rem; color: #94a3b8; }

/* Grote nieuws card (archive/search) */
.news-card-large {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.news-card-large:first-child { padding-top: 0; }
.news-card-large:last-child { border-bottom: none; }
.news-card-large:hover { transform: translateX(5px); }
.news-card-large-thumb {
  flex-shrink: 0;
  width: 10rem;
  height: 7rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #e2e8f0;
}
@media (min-width: 768px) { .news-card-large-thumb { width: 13rem; height: 8.5rem; } }
.news-card-large-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card-large:hover .news-card-large-thumb img { transform: scale(1.06); }
.news-card-large-thumb .news-card-ph { width: 100%; height: 100%; }
.news-card-large-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  margin: 0.3rem 0 0.5rem;
  transition: color 0.2s;
}
@media (min-width: 768px) { .news-card-large-body h2 { font-size: 1.2rem; } }
.news-card-large:hover .news-card-large-body h2 { color: #2563eb; }
.news-card-excerpt { font-size: 0.875rem; color: #475569; line-height: 1.55; margin-bottom: 0.5rem; }
.news-card-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; font-size: 0.72rem; color: #94a3b8; }

.archive-sidebar {}

/* Pagination */
.paginering { margin-top: 2rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.paginering a, .paginering span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s;
}
.paginering a:hover { background: #2563eb; color: #fff; }
.paginering .current { background: #2563eb; color: #fff; }

/* Search form */
.search-form-bar { display: flex; gap: 0.5rem; margin-top: 1rem; }
.search-form-bar input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  color: #0f172a;
}
.search-form-bar input:focus { border-color: #2563eb; }
.search-form-bar button {
  padding: 0.6rem 1.25rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.search-form-bar button:hover { background: #1d4ed8; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem;
  background: #f8fafc;
  border-radius: 1rem;
  color: #64748b;
}
.empty-state p { margin-bottom: 1rem; }

/* ── Vacatures pagina ── */
.vac-page-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.vac-page-head { margin-bottom: 2rem; }
.vac-page-head h1 { font-size: 1.75rem; font-weight: 700; color: #0f172a; margin-bottom: 0.25rem; }
.vac-page-head p { color: #64748b; font-size: 0.95rem; }
.vac-page-list { display: flex; flex-direction: column; gap: 1rem; }
.vac-page-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.vac-page-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-1px); }
.vac-page-item-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vac-page-item-logo img { width: 100%; height: 100%; object-fit: contain; }
.vac-page-item-info { flex: 1; }
.vac-page-item-title { font-size: 1rem; font-weight: 700; color: #0f172a; }
.vac-page-item-meta { font-size: 0.8rem; color: #64748b; margin-top: 0.2rem; }
.vac-page-item-meta span { margin-right: 0.75rem; }
.vac-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  background: #dbeafe;
  color: #1d4ed8;
  margin-left: 0.5rem;
}

/* Placeholder kleuren */
.ph-hero        { background: linear-gradient(135deg, #1e3a5f, #2a5fa0); }
.ph-arbeidsmarkt{ background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
.ph-rechten     { background: linear-gradient(135deg, #9d174d, #db2777); }
.ph-cao         { background: linear-gradient(135deg, #065f46, #10b981); }
.ph-loopbaan    { background: linear-gradient(135deg, #5b21b6, #8b5cf6); }
.ph-pensioen    { background: linear-gradient(135deg, #92400e, #f59e0b); }
.ph-burnout     { background: linear-gradient(135deg, #991b1b, #ef4444); }
.ph-zzp         { background: linear-gradient(135deg, #9a3412, #f97316); }

/* ── Nieuws pagina (filter grid) ── */
.nieuws-page-header {
  margin-bottom: 1.75rem;
}
.nieuws-page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
}
.nieuws-page-header p {
  margin-top: 0.25rem;
  color: #64748b;
  font-size: 0.95rem;
}

/* Filter chips */
.nieuws-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.nf-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 2rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.nf-chip span {
  font-size: 0.72rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #94a3b8;
  padding: 1px 7px;
  border-radius: 10px;
}
.nf-chip:hover {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}
.nf-chip:hover span { background: rgba(255,255,255,0.2); color: #fff; }
.nf-chip--active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}
.nf-chip--active span { background: rgba(255,255,255,0.2); color: #fff; }

/* Artikel grid */
.nieuws-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .nieuws-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nieuws-grid { grid-template-columns: repeat(3, 1fr); } }

/* Artikel kaart */
.nf-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.nf-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}
.nf-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}
.nf-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.nf-card:hover .nf-card-img img { transform: scale(1.05); }
.nf-card-ph { width: 100%; height: 100%; }
.nf-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.nf-card-cat {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #2563eb;
}
.nf-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  transition: color 0.15s;
}
.nf-card:hover .nf-card-body h3 { color: #2563eb; }
.nf-card-body p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  flex: 1;
}
.nf-card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}
.nf-empty {
  text-align: center;
  padding: 3rem;
  background: #f8fafc;
  border-radius: 1rem;
  color: #64748b;
}

/* ── Nieuws pagina ── */
.nieuws-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.nieuws-header-text h1 { font-size: 2rem; font-weight: 700; color: #0f172a; }
.nieuws-header-text p  { color: #64748b; font-size: 0.95rem; margin-top: 0.25rem; }

/* Categorie chips */
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s;
}
.cat-chip:hover, .cat-chip--active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}
.cat-chip-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 10px;
}
.cat-chip--active .cat-chip-count,
.cat-chip:hover .cat-chip-count { background: rgba(255,255,255,0.2); color: #fff; }

/* Categorie blok */
.nieuws-cat-blok {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid #f1f5f9;
}
.nieuws-cat-blok:last-of-type { border-bottom: none; }

.nieuws-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.nieuws-cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #cbd5e1;
}
.cat-dot--arbeidsmarkt { background: #2563eb; }
.cat-dot--rechten      { background: #db2777; }
.cat-dot--cao          { background: #10b981; }
.cat-dot--loopbaan     { background: #8b5cf6; }
.cat-dot--pensioen     { background: #f59e0b; }
.cat-dot--welzijn      { background: #ef4444; }
.cat-dot--zzp          { background: #f97316; }

.nieuws-cat-title-wrap h2 { font-size: 1.25rem; font-weight: 700; color: #0f172a; }
.nieuws-cat-count { font-size: 0.75rem; color: #94a3b8; font-weight: 600; }
.nieuws-cat-meer {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.nieuws-cat-meer:hover { color: #1d4ed8; }

/* Grid: 1 grote + 3 kleine */
.nieuws-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .nieuws-cat-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .nieuws-cat-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* Grote featured card */
.nieuws-feat-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
}
@media (min-width: 768px) { .nieuws-feat-card { grid-row: span 3; } }
.nieuws-feat-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.nieuws-feat-img { overflow: hidden; height: 220px; background: #e2e8f0; }
.nieuws-feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.nieuws-feat-card:hover .nieuws-feat-img img { transform: scale(1.05); }
.nieuws-feat-img .news-card-ph { width: 100%; height: 100%; }
.nieuws-feat-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.nieuws-feat-body h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.4; color: #0f172a; }
.nieuws-feat-body p  { font-size: 0.85rem; color: #475569; line-height: 1.55; flex: 1; }
.nieuws-feat-card:hover .nieuws-feat-body h3 { color: #2563eb; }

/* Kleine cards */
.nieuws-small-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #f1f5f9;
  transition: background 0.15s, box-shadow 0.15s;
  background: #fff;
}
.nieuws-small-card:hover { background: #f8fafc; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.nieuws-small-img {
  flex-shrink: 0;
  width: 4.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #e2e8f0;
}
.nieuws-small-img img { width: 100%; height: 100%; object-fit: cover; }
.nieuws-small-img .news-card-ph { width: 100%; height: 100%; }
.nieuws-small-card h4 { font-size: 0.875rem; font-weight: 700; line-height: 1.35; color: #0f172a; margin-bottom: 0.25rem; }
.nieuws-small-card:hover h4 { color: #2563eb; }

/* Portals en nieuwsbrief */
* { letter-spacing: 0 !important; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-kicker {
  margin-bottom: 0.4rem;
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.section-row h2 {
  color: #0f172a;
  font-size: 1.45rem;
  line-height: 1.2;
}
.section-link {
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 700;
}

.newsletter-home {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid #fed7aa;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(255,247,237,0.95), rgba(239,246,255,0.95)),
    #fff7ed;
}
.newsletter-home-compact { margin-bottom: 0; }
.newsletter-copy h2 {
  max-width: 680px;
  color: #0f172a;
  font-size: 1.55rem;
  line-height: 1.2;
}
.newsletter-copy p:last-child {
  max-width: 620px;
  margin-top: 0.55rem;
  color: #475569;
}
.newsletter-home-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
}
.newsletter-home-form input,
.newsletter-widget-dark input {
  width: 100%;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  color: #0f172a;
  font-size: 0.95rem;
  outline: none;
}
.newsletter-home-form input:focus,
.newsletter-widget-dark input:focus { border-color: #2563eb; }
.newsletter-home-form button,
.newsletter-widget-dark button {
  border: 0;
  border-radius: 0.65rem;
  background: #0f766e;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  white-space: nowrap;
}
.newsletter-home-form button:hover,
.newsletter-widget-dark button:hover { background: #115e59; }
.newsletter-home-form button.is-success,
.newsletter-widget-dark button.is-success { background: #15803d; }
.site-nav a.is-active { color: #2563eb; }

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2.5rem;
  padding: 2.5rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.portal-hero h1 {
  max-width: 760px;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}
.portal-hero p:not(.section-kicker) {
  max-width: 680px;
  margin-top: 0.85rem;
  color: #475569;
  font-size: 1rem;
}
.portal-hero-news { background: linear-gradient(135deg, #f8fafc, #fff7ed); }
.portal-hero-vacatures { background: linear-gradient(135deg, #ecfeff, #f8fafc); }
.portal-search {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 0.6rem;
  min-width: min(100%, 430px);
}
.portal-search input,
.vacature-filter input,
.vacature-filter select {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 0.65rem;
  padding: 0.72rem 0.85rem;
  color: #0f172a;
  font-size: 0.92rem;
  outline: none;
  background: #fff;
}
.portal-search input:focus,
.vacature-filter input:focus,
.vacature-filter select:focus { border-color: #2563eb; }
.portal-search button,
.vacature-filter button,
.portal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.65rem;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.72rem 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.portal-search button:hover,
.vacature-filter button:hover,
.portal-cta:hover { background: #1d4ed8; color: #fff; }

.category-overview { margin-bottom: 2.8rem; }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.category-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  background: #fff;
  color: #0f172a;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.category-card:hover {
  color: #0f172a;
  border-color: #93c5fd;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.category-card strong {
  font-size: 1.1rem;
  line-height: 1.2;
}
.category-card span:not(.category-count) {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.45;
}
.category-count {
  color: #b45309;
  font-size: 0.78rem;
  font-weight: 700;
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
  align-items: start;
}
.portal-news-list .news-card-large { color: inherit; }
.news-card-large-body h2 a { color: inherit; }
.portal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.newsletter-widget-dark {
  background: #0f172a;
  color: #fff;
}
.newsletter-widget-dark h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.newsletter-widget-dark p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.newsletter-widget-dark form {
  display: grid;
  gap: 0.55rem;
}

.vacature-filter {
  margin-bottom: 2rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
}
.vacature-filter form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 0.45fr) minmax(160px, 0.45fr) auto;
  gap: 0.8rem;
  align-items: end;
}
.vacature-filter label span {
  display: block;
  margin-bottom: 0.35rem;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
}
.vacature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.job-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  padding: 1.15rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.job-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.job-card-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}
.job-logo {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: #ccfbf1;
  color: #115e59;
  font-weight: 800;
  text-transform: uppercase;
}
.job-company {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}
.job-card h3 {
  margin-top: 0.15rem;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.25;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.job-meta span {
  display: inline-flex;
  max-width: 100%;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 600;
}
.job-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  color: #94a3b8;
  font-size: 0.78rem;
}
.vac-all-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .category-grid,
  .vacature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .newsletter-home,
  .portal-hero,
  .vacature-filter form {
    grid-template-columns: 1fr;
  }
  .portal-search,
  .newsletter-home-form {
    grid-template-columns: 1fr;
  }
  .category-grid,
  .vacature-grid { grid-template-columns: 1fr; }
  .portal-hero,
  .newsletter-home { padding: 1.35rem; }
  .job-card { min-height: auto; }
}

@media (max-width: 560px) {
  .section-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .news-card-large {
    display: grid;
    grid-template-columns: 1fr;
  }
  .news-card-large-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .job-card-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
