/* Laatste blogberichten — gescoped op .ewb-posts */
.ewb.ewb-posts { background: var(--ewb-white); }
.ewb.ewb-posts.is-bg-light { background: var(--ewb-light); }
.ewb.ewb-posts.is-bg-blue { background: var(--ewb-light-blue); }
.ewb-posts .ewb-posts__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.ewb-posts .ewb-posts__eyebrow { margin: 0 0 12px; color: var(--ewb-primary); font-size: 15px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ewb-posts .ewb-posts__btn { flex-shrink: 0; }
.ewb-posts .ewb-posts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.ewb-posts .ewb-posts__card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dde3ee; border-radius: var(--ewb-radius-card); background: var(--ewb-white); transition: box-shadow .2s ease; }
.ewb-posts .ewb-posts__card:hover { box-shadow: 0 10px 30px rgba(38, 51, 110, .1); }
.ewb-posts .ewb-posts__media { aspect-ratio: 16 / 10; background: var(--ewb-light-blue); }
.ewb-posts .ewb-posts__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ewb-posts .ewb-posts__body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.ewb-posts .ewb-posts__date { font-size: 14px; }
.ewb-posts .ewb-posts__title { margin: 6px 0 0; font-family: var(--ewb-font-heading); font-size: 19px; font-weight: 600; line-height: 1.3; }
.ewb-posts .ewb-posts__title a { color: var(--ewb-primary); text-decoration: none; }
.ewb-posts .ewb-posts__title a::after { content: ""; position: absolute; inset: 0; }
.ewb-posts .ewb-posts__excerpt { flex: 1; margin: 10px 0 0; font-size: 15px; line-height: 1.55; }
.ewb-posts .ewb-posts__more { margin-top: 16px; color: var(--ewb-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ewb-posts .ewb-posts__card:hover .ewb-posts__more { text-decoration-color: var(--ewb-accent); }
.ewb-posts .ewb-posts__empty { margin: 0; padding: 16px; border: 1px dashed #c5cbe0; }
@media (max-width: 1024px) { .ewb-posts .ewb-posts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
  .ewb-posts .ewb-posts__head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .ewb-posts .ewb-posts__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Mobiel: compacte kaarten (foto links, titel rechts, geen samenvatting) */
@media (max-width: 575px) {
  .ewb-posts .ewb-posts__card { flex-direction: row; }
  .ewb-posts .ewb-posts__media { flex: 0 0 34%; aspect-ratio: auto; min-height: 112px; }
  .ewb-posts .ewb-posts__body { min-width: 0; padding: 14px 16px; }
  .ewb-posts .ewb-posts__date { font-size: 13px; }
  .ewb-posts .ewb-posts__title { font-size: 16px; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
  .ewb-posts .ewb-posts__excerpt { display: none; }
  .ewb-posts .ewb-posts__more { margin-top: 8px; font-size: 14px; }
}
