/* rood logo #EF1927; */
/* grijs in logo #1B3241 */
.navbar-brand.logo-control img.logo-img {max-height: unset !important;}
.categories-list .com-content-categories__items .com-content-categories__item {flex-basis: 24.33% !important;}
/* .categories-list .page-header .badge {display: none !important;}*/
.t4-palette-blue {background-color: #BA5B19;}
.logo-img.d-none.d-sm-block {margin: 6px 0px;}
.t4-masthead .t4-masthead-title, .t4-masthead-description {color:#ffffff;}
.categories-list .com-content-categories__items .com-content-categories__item img {margin-bottom: unset;}
.header-default-template .t4-section-inner.container .header-block, .t4-masthead .t4-section-inner.t4-masthead-detail .header-block {padding-left: calc(var(--t4-gutter-x) * .5) !important;}
/* Blog categorie: 2 per rij op desktop en tablet, 1 per rij op mobiel */
.com-content-category-blog__items .items-row.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 0;
}

.com-content-category-blog.blog .items-row > .col-12.col-md-6.col-lg-6 {
  width: 50% !important;
  flex: 0 0 50%;
  max-width: 50%;
  box-sizing: border-box;
}

/* Item: afbeelding boven, tekst eronder */
.com-content-category-blog__items .item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.com-content-category-blog__items figure.item-image {
  float: none !important;
  width: 100%;
  margin: 0 0 12px 0;
}

.com-content-category-blog__items figure.item-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  padding: 0 !important;
}

.com-content-category-blog__items .item-content {
  width: 100%;
}

/* Mobiel: 1 per rij */
@media (max-width: 767.98px) {
  .com-content-category-blog.blog .items-row > .col-12.col-md-6.col-lg-6 {
    width: 100% !important;
    flex: 0 0 100%;
    max-width: 100%;
  }
}
img {vertical-align: bottom !important;padding:10px !important;}
table.media-table td {vertical-align:top !important;}
.joimagegallery.elegant .gallery-item img {padding:0px !important;}
.article-body a {text-decoration: underline !important;}
.article-body a:hover {cursor: pointer;color: blue !important;}
/* menu */
.home-icon {width:40px;filter: brightness(0) saturate(100%) invert(18%) sepia(87%) saturate(5832%) hue-rotate(345deg) brightness(97%) contrast(106%);} 
.t4-megamenu .navbar-nav>li>a, .t4-megamenu .navbar-nav>li>.nav-link {padding: 20px 0.5rem;}
/* contactpagina */
body.item-134 .t4-masthead-inner.has-bg {background-position:center center;}
@media (max-width: 48rem) {
  .iris ul.iris-documents {
    --iris-colonnes: 2 !important; /* wint van de inline style */
  }
}
@media (max-width: 30rem) {
  .iris ul.iris-documents {
    --iris-colonnes: 1 !important;
  }
}
.iris-document__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  min-width: 0;
  max-width: 100%;
}
.iris-document__actions .btn {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
/* Open-knop: leesbaar bij hover en focus */
.iris .iris-document__actions a.btn.iris-btn-vide:hover,
.iris .iris-document__actions a.btn.iris-btn-vide:focus-visible {
  background-color: var(--bs-primary, #1a56c8);
  border-color: var(--bs-primary, #1a56c8);
  color: #fff;
}
/* Grotere thumbnail */
.iris .iris-document__miniature {
  display: block;
  width: 100%;
  max-width: 14rem;
  height: auto;
}
.iris .iris-document__miniature img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}
#t4-sideshow .t4-section-inner.container, #t4-section-3 .t4-section-inner.container,  #t4-section-3 .t4-section-inner.container {padding-top:1.5rem;padding-bottom:1.5rem;}
.t4-col.footnav-4.col-12.col-sm-6.col-md.mt-4.mt-md-0.offset-lg-2, .t4-col.footnav-4.col-sm.mt-sm-4.mt-lg-0.offset-lg-2 {margin-left:0;}
.contact-link {display: none;}
.nieuws-header {
    padding: var(--t4-card-cap-padding-y) var(--t4-card-cap-padding-x);
    margin-bottom: 0;
    color: var(--t4-card-cap-color);
    background-color: var(--t4-card-cap-bg);
    border-bottom: var(--t4-card-border-width) solid var(--t4-card-border-color);
}

/* ==========================================
   LAATSTE NIEUWS - Joomla artikelenmodule
   Maximaal 3 kolommen
   ========================================== */

/* Module met binnenruimte */
.nieuws-header {
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
}

/* Modulekop */
.nieuws-header > h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #193448;
    margin: 0 0 28px;
}

/* Grid */
.nieuws-header ul.mod-articles-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Joomla lijststijl verwijderen */
.nieuws-header .mod-articles-items > li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.nieuws-header .mod-articles-items > li::marker {
    content: "";
}

/* Nieuwskaart */
.nieuws-header .mod-articles-item {
    height: 100%;
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
    transition: transform .2s ease,
                box-shadow .2s ease;
}

.nieuws-header .mod-articles-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,.10);
}

/* Inhoud als verticale flexbox */
.nieuws-header .mod-articles-item-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Afbeelding bovenaan */
.nieuws-header figure.mod-articles-image {
    order: -1;
    width: 100%;
    margin: 0;
    padding: 0;
    float: none;
}

.nieuws-header .mod-articles-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Artikeltitel */
.nieuws-header .mod-articles-title {
    margin: 0;
    padding: 18px 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.nieuws-header .mod-articles-title a {
    color: #1455b5;
    text-decoration: none;
}

.nieuws-header .mod-articles-title a:hover {
    color: #0a3473;
    text-decoration: underline;
}

/* Introtekst */
.nieuws-header .mod-articles-item-content
    > p:not(.readmore) {
    margin: 12px 0 0;
    padding: 0 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #344454;
}

/* Lees meer: onderaan kaart */
.nieuws-header p.readmore {
    margin: auto 0 0;
    padding: 20px;
}

/* Lees meer als tekstlink */
.nieuws-header .readmore .btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    color: #1455b5;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

/* Pijltje na lees meer */
.nieuws-header .readmore .btn-readmore::after {
    content: "\2192";
    transition: transform .2s ease;
}

.nieuws-header .readmore .btn-readmore:hover {
    color: #0a3473;
    background: transparent;
    text-decoration: underline;
}

.nieuws-header .readmore .btn-readmore:hover::after {
    transform: translateX(4px);
}

/* Binnenruimte bij kaarten zonder leesmeer */
.nieuws-header .mod-articles-item-content
    > p:not(.readmore):last-child {
    padding-bottom: 20px;
}

/* Tablet: 2 kolommen */
@media (max-width: 991px) {
    .nieuws-header ul.mod-articles-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Mobiel: 1 kolom */
@media (max-width: 600px) {
    .nieuws-header {
        padding: 16px;
    }

    .nieuws-header > h2 {
        font-size: 1.65rem;
        margin-bottom: 20px;
    }

    .nieuws-header ul.mod-articles-items {
        grid-template-columns: 1fr;
    }

    .nieuws-header .mod-articles-title {
        font-size: 1.1rem;
    }
}

/* Joomla artikel: afbeelding boven tekst */
.t4-main-body .com-content-article > figure.item-image {
    float: none !important;
    display: block;
    width: 100%;
    margin: 0 0 24px 0;
}

/* Afbeelding responsive houden */
.t4-main-body .com-content-article > figure.item-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Artikeltekst altijd onder afbeelding */
.t4-main-body .com-content-article > .article-body {
    clear: both;
    display: block;
}
/* Footer 4 blokken */
.footnav-3 .custom {background-color: #fff;}
/* Kolommen: breedte naar inhoud, niet 50/50 */
#t4-footer .t4-col.footer,
#t4-footer .t4-col.stip-online {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

/* Rechter kolom helemaal naar rechts */
#t4-footer .t4-col.stip-online {
  margin-left: auto;
  text-align: right;
}

#t4-footer .mod-footer,
#t4-footer .custom,
#t4-footer .custom p {
  margin: 0;
}

/* Mobiel: onder elkaar, links uitgelijnd */
@media (max-width: 767.98px) {
  #t4-footer .t4-col.footer,
  #t4-footer .t4-col.stip-online {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
    text-align: left;
  }
}