.cv100 {
    max-width: 252px;
    max-height: 252px !important;
  	min-height: 235px !important;
    align-content: center;
}
@media (min-width: 1024px) {
  .home header:not(.fixed-header)  .custom-header{
      background: transparent !important;
  }

  .home header:not(.fixed-header) .custom-header .mod-menu__sub{
      background: transparent !important;
  }

  .home header:not(.fixed-header) .custom-menu a{
      color: #ffffff !important;
  }

  .home header:not(.fixed-header) .custom-menu a:hover{
      color: var(--primary) !important;
  }

  .home header:not(.fixed-header) .custom-menu span{
      color: #ffffff !important;
  }

  .home header:not(.fixed-header) .custom-menu span:hover{
      color: var(--primary) !important;
  }

  .home header:not(.fixed-header) .custom-social i{
      color: #ffffff !important;
  }

  .home header:not(.fixed-header) .custom-social i:hover{
      color: var(--primary) !important;
  }

  .home .custom-social #item-14962256600{
    color: #000000 !important;
  }

  .home .custom-header {
      transition: all .3s ease-in-out ;
      -webkit-transition: all .3s ease-in-out;
  }
}
@media (max-width: 1024px) {
  header .custom-header{
    background: #ffffff !important;
  }
  header .custom-menu a{
  	color: #000000 !important;
  }
  header .custom-menu a:hover{
  	color: var(--primary) !important;
	}
  header .custom-menu span{
  	color: #000000 !important;
  }
   header .custom-menu span:hover{
  	color: var(--primary) !important;
	}
  header .custom-social i{
  	color: #000000 !important;
	}
	header .custom-social i:hover{
  	color: var(--primary) !important;
	}
  .item-detail .ba-field-label {
  width: 140px;
}
}
strong {
  font-weight: bold;
}

/* Algemene fade-in animatie */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================== */
/* Overzichtspagina - Nieuwskaarten */
/* ============================== */

#news-overview, #all-news {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    align-items: stretch;
}

.news-card, .news-entry {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.news-card:hover, .news-entry:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.news-card img, .news-entry img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-content h3 {
    font-size: 1.1rem;
    margin: 0 0 10px;
    line-height: 1.4;
    text-align: center;
}

.news-meta {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-bottom: 15px;
}

/* ========================= */
/* Detailpagina - Nieuwsitem */
/* ========================= */

#news-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Header afbeelding met overlay */
.news-header {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.news-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

/* Tekst op afbeelding */
.news-header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    width: 90%;
}

.news-header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
  	line-height: 3rem;
}

.news-header-content h2 {
    color: white;
}

@media (max-width: 1024px) {
  .news-header-content h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
  	line-height: 2rem;
  }

  .news-header-content h2 {
      color: white;
  }
}
/* Body tekst onder afbeelding */
.news-body {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
  	margin-top: 15px;
    margin-bottom: 15px;
}

/* ========================= */
/* Algemene knoppen (Meer lezen + Terug) */
/* ========================= */

.read-more, .back-link {
    margin-top: auto;
    display: inline-block;
    background-color: #8c1519;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
    cursor: pointer;
}

.read-more:hover, .back-link:hover {
    background-color: #1b1b1d;
    text-decoration: none;
  	color: #ffffff;
}

/* ========================= */
/* Filter dropdown styling */
/* ========================= */

#categoryFilter {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    font-size: 1rem;
}