/* Deliberately scoped: no global variables or changes to Astra/Producties. */
.ernieuws {
  --ern-ink: var(--e-global-color-primary, #2b2e37);
  --ern-accent: var(--e-global-color-accent, #ee6c4e);
  color: #2b2e37;
  font-family: var(--e-global-typography-text-font-family, inherit);
  width: 100%;
  min-width: 0;
}
.ernieuws *, .ernieuws *::before, .ernieuws *::after { box-sizing: border-box; }
.ernieuws .ernieuws-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px 28px; flex-wrap:wrap; margin:0 0 24px; }
.ernieuws h1, .ernieuws h2, .ernieuws h3 { color:var(--ern-ink); font-family:var(--e-global-typography-primary-font-family, inherit); font-weight:var(--e-global-typography-primary-font-weight, 600); overflow-wrap:anywhere; }
.ernieuws .ernieuws-heading h2 { font-size:clamp(1.6rem, 3vw, 2.2rem); margin:0; }
.ernieuws a { color:var(--ern-ink); text-underline-offset:4px; }
.ernieuws a:hover { text-decoration:underline; }
.ernieuws a:focus-visible { outline:3px solid var(--ern-ink); outline-offset:5px; border-radius:2px; }
.ernieuws .ernieuws-all, .ernieuws .ernieuws-more { font-weight:600; text-decoration:underline; }
.ernieuws .ernieuws-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:stretch; }
.ernieuws .ernieuws-card { display:flex; flex-direction:column; margin:0; padding:0; min-width:0; background:#fff; border:1px solid #dfe2e5; border-top:3px solid var(--ern-accent); box-shadow:0 5px 18px rgb(20 30 45 / 5%); overflow:hidden; }
.ernieuws .ernieuws-card__image { height:160px; width:100%; overflow:hidden; }
.ernieuws .ernieuws-card__image img { width:100%; height:100%; object-fit:cover; display:block; margin:0; }
.ernieuws .ernieuws-card__body { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:24px; gap:12px; }
.ernieuws .ernieuws-date { display:block; color:#575e69; font-size:.875rem; line-height:1.5; }
.ernieuws .ernieuws-card__title { font-size:clamp(1.2rem, 2vw, 1.45rem); line-height:1.3; margin:0; }
.ernieuws .ernieuws-card__title a { text-decoration:none; }
.ernieuws .ernieuws-card__title a:hover { text-decoration:underline; }
.ernieuws .ernieuws-card__excerpt { margin:0 0 8px; font-size:1rem; line-height:1.65; overflow-wrap:anywhere; }
.ernieuws .ernieuws-more { margin-top:auto; padding-top:4px; }
.ernieuws .ernieuws-empty { padding:24px; background:#f8f9f9; }
.ernieuws-shell { width:100%; padding:clamp(32px, 5vw, 72px) 24px; background:#f8f9f9; }
.ernieuws-shell > #primary.ernieuws { width:100%; max-width:1180px; margin:0 auto; float:none; border:0; padding:0; }
.ernieuws-shell > #primary.ernieuws-detail { max-width:850px; }
.ernieuws .ernieuws-story { padding:clamp(20px, 4vw, 48px); background:white; }
.ernieuws .ernieuws-back { display:inline-block; margin-bottom:32px; }
.ernieuws-detail h1 { font-size:clamp(1.9rem, 4vw, 3rem); line-height:1.15; margin:12px 0 28px; }
.ernieuws .ernieuws-detail__image { margin:0 0 32px; }
.ernieuws .ernieuws-detail__image img { display:block; width:100%; height:auto; }
.ernieuws .ernieuws-content { line-height:1.8; overflow-wrap:anywhere; }
.ernieuws .ernieuws-content img { max-width:100%; height:auto; }
.ernieuws .ernieuws-pagination { margin-top:36px; }
.ernieuws .page-numbers { display:inline-block; padding:8px 12px; }
.ernieuws .page-numbers.current { background:var(--ern-ink); color:#fff; }
@media (max-width:767px) {
  .ernieuws .ernieuws-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
  .ernieuws .ernieuws-card__body { padding:20px; }
  .ernieuws-shell { padding:32px 16px; }
}
