/* ----------------------------------------------------
   1. BASIS: Verwijder standaard onderstrepingen
---------------------------------------------------- */
.main-navigation a,
.main-navigation ul.sub-menu a,
.wp-block-navigation a {
  text-decoration: none;
}


/* ----------------------------------------------------
   2. HOVER: Onderstreep ALLE menu-items (hoofd + submenu)
---------------------------------------------------- */
.main-navigation a:hover,
.main-navigation ul.sub-menu a:hover,
.wp-block-navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ----------------------------------------------------
   3. ACTIEF menu-item (hoofd + submenu)
   WordPress gebruikt deze classes automatisch:
   current-menu-item
   current-menu-ancestor
   current_page_item
   current_page_ancestor
---------------------------------------------------- */
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_ancestor > a,
.wp-block-navigation .wp-block-navigation-item.is-current-page > a,
.wp-block-navigation a[aria-current="page"] {
  text-decoration: underline !important;
  text-underline-offset: 4px;
  font-weight: 600;
}


/* ----------------------------------------------------
   4. FIX: voorkom dat submenu verdwijnt
   → Dit was het probleem!
   Submenu-items krijgen bij klikken :focus en sluiten het menu.
---------------------------------------------------- */
.main-navigation ul.sub-menu a:focus,
.main-navigation ul.sub-menu a:active {
  text-decoration: underline !important;
  outline: none !important;
}
/* ----------------------------------------------------
   1. Custom leesbreedte alleen voor tekst
---------------------------------------------------- */

.single-post .entry-content {
    max-width: 850px;   /* jouw ideale tekstbreedte */
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------------------
   2. Featured image + titel + intro op volledige breedte houden
---------------------------------------------------- */

.single-post .post-thumbnail,
.single-post .entry-header,
.single-post .hero-section,
.single-post .ct-featured-image {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* voorkomt dat de header in jouw 850px container valt */
.single-post .post-inner {
    max-width: 100% !important;
}
/* ----------------------------------------------------
   Gerelateerde artikelen sectie full-width maken
   (zonder de tekstbreedte aan te passen)
---------------------------------------------------- */

.single-post .ct-related-posts,
.single-post .ct-related-posts .ct-block,
.single-post .ct-related-posts .ct-related-posts-inner,
.single-post .ct-related-posts .related-posts-grid {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Soms nodig bij themes die een extra wrapper gebruiken */
.single-post .ct-related-posts .ct-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* ----------------------------------------------------
   Reset: volledige breedte voor de content-container
---------------------------------------------------- */
.single-post .entry-content {
    max-width: 100% !important;
}
/* ----------------------------------------------------
   Alleen tekstblok smaller maken (mooie leesbreedte)
---------------------------------------------------- */

.single-post .entry-content > p,
.single-post .entry-content > h2,
.single-post .entry-content > h3,
.single-post .entry-content > h4,
.single-post .entry-content > ul,
.single-post .entry-content > ol,
.single-post .entry-content > blockquote {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}
/* ================================
   Box background alleen wit op home
   ================================ */

/* ALLE pagina's behalve home: box transparant */
body:not(.home):not(.front-page) .container,
body:not(.home):not(.front-page) .boxed,
body:not(.home):not(.front-page) .site-content,
body:not(.home):not(.front-page) .content-area,
body:not(.home):not(.front-page) .wp-site-blocks {
  background-color: transparent !important;
}

/* HOME pagina expliciet wit houden */
body.home .container,
body.front-page .container,
body.home .boxed,
body.front-page .boxed {
  background-color: #ffffff !important;
}/* ============================= */
/* Nieuwsbrief formulier styling */
/* ============================= */

/* Input velden */
.mc4wp-form input[type="text"],
.mc4wp-form input[type="email"] {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 4px solid #ffffff !important;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 20px;
    transition: all 0.3s ease;
}

/* Placeholder wit */
.mc4wp-form input::placeholder {
    color: #ffffff !important;
    opacity: 1;
}

/* Focus */
.mc4wp-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
}

/* Submit knop */
.mc4wp-form input[type="submit"] {
    background-color: #0987f5;
    color: #ffffff;
    border: 4px solid #ffffff;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    width: auto;
    min-width: 185px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Hover */
.mc4wp-form input[type="submit"]:hover {
    background-color: #ffffff;
    color: #203B60;
}

/* Disclaimer styling */
.form-disclaimer {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
}

.form-disclaimer a {
    color: #ffffff;
    text-decoration: underline;
}
.navigation.post-navigation {
    display: none;
} #comments { display: none; }
.postid-2349 .entry-content-title-featured-wrap img {
  object-fit: contain !important;
  width: 100%;
  height: auto;
}

.postid-2349 .entry-content-title-featured-wrap .read-img.pos-rel {
  min-height: auto !important;
}
/* ----------------------------------------------------
   Mail icoon visueel centreren
---------------------------------------------------- */

.menu-item a[href^="mailto:"] {
    font-size: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
}

.menu-item a[href^="mailto:"]::before {
    content: "\f0e0";
    font-family: "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
    position: relative;
    left: 7px;
    top: 1px;
}
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
  }

  .site-main,
  .content-area,
  .entry-content,
  .post,
  article {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .entry-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .entry-content p,
  .entry-content h1,
  .entry-content h2,
  .entry-content h3,
  .entry-content li {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .entry-content img,
  .entry-content picture {
    max-width: 100% !important;
    height: auto !important;
  }
}
/* ==================================================
   PAGINA-ACHTERGROND OVERAL #0987f5
   Overschrijft alleen achtergrondkleuren
================================================== */

body,
body.home,
body.front-page,
body.page,
body.single {
    background-color: #0987f5 !important;
}

/* Hoofdcontainers van het thema */
body .container,
body .boxed,
body .site-content,
body .content-area,
body .site-main,
body .wp-site-blocks {
    background-color: #0987f5 !important;
}


/* ==================================================
   BLOCKSPARE CAROUSEL: TITELS ALTIJD ZICHTBAAR
================================================== */

[class*="blockspare"] [class*="title"],
[class*="blockspare"] [class*="title"] a,
[class*="posts-carousel"] [class*="title"],
[class*="posts-carousel"] [class*="title"] a,
[class*="post-carousel"] [class*="title"],
[class*="post-carousel"] [class*="title"] a {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Ook buiten hover dezelfde zichtbaarheid behouden */
[class*="blockspare"]:hover [class*="title"],
[class*="blockspare"]:hover [class*="title"] a,
[class*="posts-carousel"]:hover [class*="title"],
[class*="posts-carousel"]:hover [class*="title"] a {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}
/* ==========================================
   Paginatitels altijd wit
========================================== */

.page .entry-title,
.page .entry-title a,
.page-header h1,
.page-header .page-title,
.archive .page-title,
.archive .entry-title,
.single .entry-title {
    color: #ffffff !important;
}
/* ==========================================
   Alle titels in Open Sans
========================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.entry-title a,
.page-title,
.page-title a,
.post-title,
.post-title a,
.widget-title,
.section-title,
.card-title,
.card-title a,
.archive-title,
.archive-title a,
[class*="title"],
[class*="title"] a {
    font-family: "Open Sans", sans-serif !important;
}
