/* Actueel — startpagina: nieuws, nieuwsbrieven, updates */
.actueel {
  margin: 36px 0 0;
  padding: 40px clamp(1.25rem, 4vw, 2.5rem) 48px;
  background: linear-gradient(180deg, #f0f4f8 0%, #f8fafc 50%, #fff 100%);
  border: 1px solid #e1e8ed;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(53, 152, 220, 0.07);
}

.actueel__header {
  text-align: center;
  max-width: min(100%, 52rem);
  margin: 0 auto 2rem;
  padding: 0 clamp(0.75rem, 3vw, 2rem);
}

.actueel__title {
  font-size: 26px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.4rem 0;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .actueel__title {
    font-size: 28px;
  }
}

.actueel__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #5d6a78;
}

/* 'en Calcupal' blijft op één regel; op heel smalle schermen mag het weer wrappen */
.actueel__lead-join {
  white-space: nowrap;
}

@media (max-width: 360px) {
  .actueel__lead-join {
    white-space: normal;
  }
}

/* Raster: 1 + 2×3 op tablet+ */
.actueel__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .actueel__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .actueel__item--featured {
    grid-column: 1 / -1;
  }
}

.actueel__item {
  min-width: 0;
  display: flex;
}

/* Gelijkwaardige kaart — gelijke hoogte in rijen dankzij flex in item */
.actueel__card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(46, 64, 89, 0.08);
  border: 1px solid #e1e8ed !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
  .actueel__card:hover {
    box-shadow: 0 8px 28px rgba(53, 152, 220, 0.14);
    transform: translateY(-2px);
  }
}

.actueel__card .blog-post-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 18px 22px 22px;
  background: #fff;
}

.actueel__card .blog-post-content > .blog-post-title {
  margin: 0 0 0.9rem 0;
}

.actueel__card .blog-post-content > .blog-post-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5f6a76;
  flex: 1 1 auto;
}

/* Afbeelding: iets lager, cover voor rustiger raster */
.actueel.blog-content-1 .actueel__card:not(.actueel__card--featured).blog-post-lg > .blog-img-thumb {
  height: 200px;
}

/* Uitgelichte (nieuwste) kaart */
@media (min-width: 768px) {
  .actueel__card--featured {
    flex-direction: row;
    align-items: stretch;
  }

  .actueel__card--featured > .blog-img-thumb {
    flex: 0 0 40%;
    max-width: 44%;
    width: 40%;
    min-height: 260px;
    height: auto;
    align-self: stretch;
  }

  .actueel__card--featured > .blog-post-content {
    flex: 1 1 56%;
    min-width: 0;
  }
}

.actueel__card--featured .blog-post-content {
  padding: 22px 24px 26px;
}

/* Mobiel: uitgelichte beeldhoogte */
.actueel.blog-content-1 .actueel__card--featured.blog-post-lg > .blog-img-thumb {
  height: 200px;
}

@media (min-width: 768px) {
  .actueel.blog-content-1 .actueel__card--featured.blog-post-lg > .blog-img-thumb {
    height: 100%;
    min-height: 260px;
  }
}

.actueel__card .blog-img-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}
