/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 22 2026 | 20:03:54 */
/* ==========================================================
   Homepage: nieuwste berichten
   De blauwe en grijze secties met de nieuwste berichten.
   Waar: homepage.
   ========================================================== */

/* --- BASE LAYOUT & CONTAINERS --- */

/* Rek de container uit buiten de standaard marges */
div.stretch-margin {
  max-width: 111.11%;
  width: 111.11%;
  margin-top: -4.36% !important;
  margin-left: -5.55%;
}

/* Voeg extra witruimte toe boven specifieke paragrafen */
div.extra-margin {
  margin-top: 4%;
}

/* Basis styling voor de sectie met achtergrond en padding */
div.nieuwste-berichten {
  padding: 4% 5%;
  background-color: #f4f5f7;
}

/* --- TYPOGRAPHY --- */

/* Uniforme styling voor alle koppen in de berichten-sectie */
div.nieuwste-berichten h4 {
  color: #fff;
  margin: 0 0 calc(1.25em / 2);
  text-transform: uppercase;
  font-size: 0.9em;
}

/* --- LATEST POSTS LIST & CARDS --- */

/* Reset de standaard insprong van de ongeordende lijst */
div.nieuwste-berichten ul.wp-block-latest-posts {
  margin-left: 0;
}

/* Basis kaart-ontwerp voor elk individueel bericht */
div.nieuwste-berichten ul.wp-block-latest-posts li {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 10%);
  padding-bottom: 1.1em;
}

/* In het grid op de lijst zelf: een marge op de laatste kaart maakt die korter dan de andere in de rij */
div.nieuwste-berichten ul.wp-block-latest-posts.is-layout-grid {
  padding-bottom: 1.25em;
}

/* --- FEATURED IMAGES --- */

/* Maak een container met vaste verhouding voor uitgelichte afbeeldingen */
div.nieuwste-berichten ul.wp-block-latest-posts li .wp-block-latest-posts__featured-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Zorg dat de afbeeldingslink de volledige container vult */
div.nieuwste-berichten ul.wp-block-latest-posts li .wp-block-latest-posts__featured-image a {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: inherit;
}

/* Schaal de afbeelding zodat deze de container vult zonder vervorming */
div.nieuwste-berichten ul.wp-block-latest-posts li .wp-block-latest-posts__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 3px 3px 0 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

/* --- POST CONTENT DETAILS --- */

/* Styling voor de aanklikbare titel van het bericht */
div.nieuwste-berichten ul.wp-block-latest-posts li .wp-block-latest-posts__post-title {
  color: #333;
  display: block;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1.23;
  margin: 10px 0 0;
  max-width: 100%;
  padding: 0 15px;
  text-align: left;
  text-decoration: none;
}

/* Styling voor de publicatiedatum onder de titel */
div.nieuwste-berichten ul.wp-block-latest-posts li .wp-block-latest-posts__post-date {
  color: #666;
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1.4;
  padding: 0 15px 3px;
}

/* --- VARIANT: OPVALLEN (HIGHLIGHT) --- */

/* Wijzig achtergrond en tekstkleur voor de 'opvallen' variant */
div.nieuwste-berichten.opvallen {
  background-color: #06558b;
  color: #fff;
}

/* Forceer witte tekst in TablePress cellen binnen de blauwe sectie */
div.nieuwste-berichten.opvallen table.tablepress tbody > tr > td {
  color: #fff;
}

/* Verwijder de standaard zebra-strepen van tabellen in de blauwe sectie */
div.nieuwste-berichten.opvallen table.tablepress tbody > tr:nth-child(odd),
div.nieuwste-berichten.opvallen table.tablepress tbody > tr:nth-child(odd) > td {
  background: transparent !important;
}

/* Versterk de schaduw van kaarten binnen de opvallende sectie */
div.nieuwste-berichten.opvallen ul.wp-block-latest-posts li {
  box-shadow: 0 1px 4px rgb(0 0 0 / 40%);
  padding-bottom: 10px;
}

/* Centreer de titels specifiek voor de opvallende kaarten */
div.nieuwste-berichten.opvallen ul.wp-block-latest-posts li .wp-block-latest-posts__post-title {
  text-align: center;
}

/* --- MEDIA QUERIES: TABLET (2 COLUMNS) --- */

@media (min-width: 600px) and (max-width: 1024px) {
  /* Twee kolommen in het CSS-grid dat WordPress 7.1 voor het blok gebruikt */
  div.nieuwste-berichten .wp-block-latest-posts.is-layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* --- MEDIA QUERIES: MOBILE (1 COLUMN) --- */

@media (max-width: 600px) {
  /* Verwijder alle zijmarges voor een volledige breedte op mobiel */
  div.nieuwste-berichten ul.wp-block-latest-posts li {
    margin-right: 0 !important;
  }

  /* Vergroot de titels voor betere leesbaarheid op kleine schermen */
  div.nieuwste-berichten ul.wp-block-latest-posts .wp-block-latest-posts__post-title {
    font-size: 1.1em !important;
  }

  /* Schaal de datum op voor mobiel */
  div.nieuwste-berichten ul.wp-block-latest-posts .wp-block-latest-posts__post-date {
    font-size: 0.9em !important;
  }
}
