.elementor-82 .elementor-element.elementor-element-4f53d17{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-82 .elementor-element.elementor-element-4f53d17.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-82 .elementor-element.elementor-element-106f3c5{width:100%;max-width:100%;}.elementor-82 .elementor-element.elementor-element-106f3c5.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-82 .elementor-element.elementor-element-b3057e5{--display:flex;}.elementor-82 .elementor-element.elementor-element-2edea02{--iteration-count:infinite;--animation-duration:1200ms;--dynamic-text-color:#000000;}.elementor-82 .elementor-element.elementor-element-2edea02 .elementor-headline{text-align:center;font-family:"Nunito", Sans-serif;font-size:50px;font-weight:600;}.elementor-82 .elementor-element.elementor-element-2edea02 .elementor-headline-plain-text{color:#000000;}.elementor-82 .elementor-element.elementor-element-2edea02 .elementor-headline-dynamic-text{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-82 .elementor-element.elementor-element-2edea02 .elementor-headline-dynamic-wrapper path{stroke:#17447D;stroke-width:10px;stroke-linecap:round;stroke-linejoin:round;}.elementor-82 .elementor-element.elementor-element-963ac8e{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:20px 20px;--row-gap:20px;--column-gap:20px;}.elementor-82 .elementor-element.elementor-element-35c0188{width:100%;max-width:100%;}.elementor-82 .elementor-element.elementor-element-35c0188.elementor-element{--flex-grow:0;--flex-shrink:0;}body.elementor-page-82:not(.elementor-motion-effects-element-type-background), body.elementor-page-82 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(180deg, #FFFFFF 63%, #000000 100%);}@media(max-width:1024px){.elementor-82 .elementor-element.elementor-element-106f3c5{width:var( --container-widget-width, 793.219px );max-width:793.219px;--container-widget-width:793.219px;--container-widget-flex-grow:0;}.elementor-82 .elementor-element.elementor-element-2edea02 .elementor-headline{font-size:40px;}}@media(max-width:767px){.elementor-82 .elementor-element.elementor-element-4f53d17{--width:404px;}.elementor-82 .elementor-element.elementor-element-2edea02 .elementor-headline{font-size:25px;}}/* Start custom CSS for shortcode, class: .elementor-element-106f3c5 *//* Container zonder gradient achtergrond */
.modern-news-section {
  margin: 30px 0;
  padding: 30px;
  border-radius: 20px;
  font-family: "Nunito", sans-serif;
  position: relative;
}

.modern-news-grid-container {
  position: relative;
  width: 100%;
}

/* Desktop layout: 1 grote links, 2 middelgrote rechts, 2 kleine rechts */
.modern-news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  min-height: 500px;
}

/* Layout posities */
.modern-news-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
}

.modern-news-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.modern-news-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.modern-news-card:nth-child(4) {
  grid-column: 3;
  grid-row: 1;
}

.modern-news-card:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

/* Basis kaart styling */
.modern-news-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background-color: white;
}

.modern-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Grote kaart heeft meer hoogte */
.modern-news-card:nth-child(1) {
  min-height: 480px;
}

/* Achtergrond afbeelding */
.card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  z-index: 1;
}

/* Gebalanceerde blauw-rood gradiënt alleen onderaan */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 102, 204, 0.5) 80%,
    rgba(204, 0, 51, 0.5) 100%
  );
  z-index: 2;
}

/* Locatie badge rechtsboven */
.card-location {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 4;
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(0, 123, 255, 0.9);
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  color: white;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Kaart inhoud */
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 3;
  color: white;
  box-sizing: border-box;
}

/* Metadata styling */
.card-meta {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

/* GEFIXT: Compacte tijd badge */
.card-time {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
  width: fit-content;
  margin-bottom: 12px;
}

.card-time svg {
  width: 12px;
  height: 12px;
  margin-right: 4px;
  flex-shrink: 0;
}

/* Titel styling */
.card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Grotere titel voor hoofdkaart */
.modern-news-card:nth-child(1) .card-title {
  font-size: 24px;
  margin-bottom: 5px;
}

.modern-news-card:nth-child(1) .card-content {
  padding: 30px;
}

.modern-news-card:nth-child(1) .card-location {
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  font-size: 14px;
}

/* Lazy loading placeholder */
.card-background[data-bg] {
  background-color: #f0f0f0;
  background-image: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Loading state */
.news-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: #6c757d;
  font-size: 16px;
}

/* Responsieve aanpassingen */
@media (max-width: 1200px) {
  .modern-news-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .modern-news-card:nth-child(1) .card-title {
    font-size: 20px;
  }
}

@media (max-width: 992px) {
  .modern-news-section {
    padding: 20px;
  }

  /* Tablet: 1 grote bovenaan, dan 2x2 grid */
  .modern-news-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto auto;
    gap: 15px;
  }

  .modern-news-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 250px;
  }

  .modern-news-card:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .modern-news-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .modern-news-card:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
  }

  .modern-news-card:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (max-width: 768px) {
  .modern-news-section {
    margin: 20px 0;
    padding: 15px;
    border-radius: 15px;
  }

  .modern-news-grid {
    gap: 12px;
  }

  .modern-news-card {
    min-height: 180px;
    border-radius: 10px;
  }

  .modern-news-card:nth-child(1) {
    min-height: 220px;
  }

  .card-content {
    padding: 15px;
  }

  .card-title {
    font-size: 14px;
    line-height: 1.2;
  }

  .modern-news-card:nth-child(1) .card-title {
    font-size: 16px;
  }

  .card-location {
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 15px;
  }

  .modern-news-card:nth-child(1) .card-location {
    padding: 4px 8px;
    font-size: 11px;
    top: 10px;
    right: 10px;
  }

  .card-time {
    padding: 3px 6px;
    font-size: 11px;
    border-radius: 12px;
  }

  .card-time svg {
    width: 10px;
    height: 10px;
    margin-right: 3px;
  }
}

@media (max-width: 480px) {
  .modern-news-section {
    margin: 15px 0;
    padding: 12px;
  }

  .modern-news-grid {
    gap: 8px;
  }

  .modern-news-card {
    min-height: 140px;
  }

  .modern-news-card:nth-child(1) {
    min-height: 180px;
  }

  .card-content {
    padding: 10px;
  }

  .card-title {
    font-size: 12px;
    line-height: 1.2;
  }

  .modern-news-card:nth-child(1) .card-title {
    font-size: 14px;
  }

  .card-location {
    top: 8px;
    right: 8px;
    padding: 3px 6px;
    font-size: 10px;
  }

  .modern-news-card:nth-child(1) .card-location {
    padding: 3px 6px;
    font-size: 10px;
    top: 8px;
    right: 8px;
  }

  .card-time {
    padding: 2px 5px;
    font-size: 9px;
    border-radius: 10px;
  }

  .card-time svg {
    width: 8px;
    height: 8px;
    margin-right: 2px;
  }
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-35c0188 *//* BESTAANDE CSS - BEHOUDEN (alles wat je al had) */

.news-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.badge-container-location {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    font-size: 1rem;
    color: #fff;
    padding: 8px 12px;
    border-radius: 15px;
}

.badge-container-services {
    position: absolute;
    bottom: 15px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.news-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
    max-width: 380px;
    min-width: 250px; /* Minimale breedte voor leesbaarheid */
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-content {
    padding: 15px;
}

.news-meta-date {
    font-size: 0.9rem;
    color: #888;
}

.news-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* GEBALANCEERDE UITLIJNING EN GRID */

/* Container die EXACT matcht */
.news-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 30px;
    position: relative;
    box-sizing: border-box;
}

/* Inner container voor consistente uitlijning */
.news-container-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
}

/* GEBALANCEERDE GRID - LEESBAARHEID EERST */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Verhoogd voor betere leesbaarheid */
    gap: 24px;
    justify-items: center;
    margin-top: 20px;
    width: 100%;
}

/* 2-kolommen layout voor overige nieuws */
.news-grid-two-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
    justify-items: center !important;
}

/* Bekijk al het nieuws knop */
.view-all-news-container {
    text-align: center !important;
    margin-top: 30px !important;
    padding: 20px 0 !important;
}

.view-all-news-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: #e74c3c !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3) !important;
}

.view-all-news-button:hover {
    background-color: #d44235 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

/* RESPONSIVE - GEBALANCEERD VOOR LEESBAARHEID */

/* Zeer grote schermen - max 4 kaarten voor leesbaarheid */
@media (min-width: 1600px) {
    .news-container-inner {
        max-width: 1400px;
        padding: 30px 40px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 28px;
    }
}

/* Grote schermen - max 3-4 kaarten */
@media (min-width: 1200px) and (max-width: 1599px) {
    .news-container-inner {
        max-width: 1200px;
        padding: 30px 30px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
}

/* Laptop schermen - max 3 kaarten */
@media (min-width: 992px) and (max-width: 1199px) {
    .news-container-inner {
        max-width: 1000px;
        padding: 30px 25px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 22px;
    }
}

/* Tablet schermen - max 2-3 kaarten */
@media (min-width: 768px) and (max-width: 991px) {
    .news-container-inner {
        padding: 25px 20px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .news-card {
        max-width: 100%;
        min-width: 250px;
    }
    
    .news-title {
        font-size: 1.1rem !important;
    }
    
    .news-excerpt {
        font-size: 0.85rem !important;
    }
    
    .news-grid-two-columns {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
    
    .view-all-news-button {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

/* Kleine tablet - max 2 kaarten */
@media (min-width: 600px) and (max-width: 767px) {
    .news-container-inner {
        padding: 20px 15px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 18px;
    }
    
    .news-card {
        min-width: 240px;
    }
    
    .news-title {
        font-size: 1.05rem !important;
    }
    
    .news-excerpt {
        font-size: 0.8rem !important;
    }
}

/* Telefoon schermen - 1-2 kaarten afhankelijk van breedte */
@media (max-width: 599px) {
    .news-container {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .news-container-inner {
        padding: 20px 15px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
        justify-items: stretch;
    }
    
    .news-card {
        max-width: 100%;
        min-width: 200px;
        margin: 0 auto;
    }
    
    .news-title {
        font-size: 1rem !important;
        line-height: 1.3;
    }
    
    .news-content {
        padding: 14px;
    }
    
    .news-excerpt {
        font-size: 0.85rem !important;
        line-height: 1.4;
    }
    
    .news-grid-two-columns {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* Kleine telefoons - altijd 1 kolom */
@media (max-width: 480px) {
    .news-container-inner {
        padding: 15px 12px;
    }
    
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }
    
    .news-card {
        min-width: auto;
        max-width: 100%;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-title {
        font-size: 0.95rem !important;
        line-height: 1.2;
    }
    
    .news-excerpt {
        font-size: 0.8rem !important;
    }
    
    .badge-container-location {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .badge-container-services {
        bottom: 8px;
        left: 8px;
    }
    
    .badge-container-services .badge {
        padding: 3px 6px;
        font-size: 0.65rem;
    }
    
    .badge img {
        width: 16px;
        height: 16px;
    }
}

/* Zeer kleine telefoons */
@media (max-width: 360px) {
    .news-container-inner {
        padding: 12px 10px;
    }
    
    .news-grid {
        gap: 12px;
    }
    
    .news-title {
        font-size: 0.9rem !important;
    }
    
    .news-excerpt {
        font-size: 0.75rem !important;
    }
}

.news-grid:empty {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Zoom-proof styling */
@media (min-resolution: 144dpi) {
    .news-card {
        min-width: 280px;
    }
}

@media (min-resolution: 192dpi) {
    .news-card {
        min-width: 300px;
    }
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Nunito';
	font-display: auto;
	src: url('https://112maasalert.nl/wp-content/uploads/Nunito-VariableFont_wght.ttf') format('truetype');
}
/* End Custom Fonts CSS */