/*
Theme Name: Mierlo voor Mierlo - Sub
Theme URI: https://www.mierlovoormierlo.nl/
Template: newsup-pro
Author: Nicky
Author URI: https://www.mierlovoormierlo.nl/
Description: Mierlo voor Mierlo Unified Child Theme. Centrale, updatebestendige huisstijllaag voor Newsup Pro en de publieke MvM-integraties (wpForo, PeepSo, WP Event Manager, Encyclopedie en Hub), met vaste light/dark-mode en deterministische CSS-laadvolgorde.
Tags: one-column,two-columns,right-sidebar,flexible-header,custom-background,custom-header,custom-menu,editor-style,featured-images,footer-widgets,theme-options,threaded-comments,rtl-language-support,translation-ready,full-width-template,custom-logo,blog,news
Version: 2.1.0
Update URI: https://www.mierlovoormierlo.nl/mvm-theme-lock/
Updated: 2026-08-31 22:12:00

*/

/* Mierlo voor Mierlo: correct Newsup breadcrumb/page-title typography. */
.mg-breadcrumb-title h1 {
    font-size: 32px !important;
    font-weight: 600 !important;
    font-family: "Poppins", sans-serif !important;
    line-height: 1.25 !important;
}

.mg-page-breadcrumb,
.mg-page-breadcrumb a {
    font-size: 13px !important;
    font-weight: 500 !important;
    font-family: "Poppins", sans-serif !important;
    line-height: 20px !important;
}

@media (max-width: 767px) {
    .mg-breadcrumb-title h1 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }
}

/* MvM: metadata on image-overlay news cards must stay readable. */
body.mierlo-voor-mierlo-sub .mg-blog-post.lg .mg-blog-meta,
body.mierlo-voor-mierlo-sub .mg-blog-post.lg .mg-blog-meta a,
body.mierlo-voor-mierlo-sub .mg-blog-post.lg .mg-blog-meta span,
body.mierlo-voor-mierlo-sub .mg-blog-post.lg .mg-blog-meta i,
body.mierlo-voor-mierlo-sub .mg-blog-post.lg .post-edit-link,
body.mierlo-voor-mierlo-sub .mg-blog-post.md .mg-blog-meta,
body.mierlo-voor-mierlo-sub .mg-blog-post.md .mg-blog-meta a,
body.mierlo-voor-mierlo-sub .mg-blog-post.md .mg-blog-meta span,
body.mierlo-voor-mierlo-sub .mg-blog-post.md .mg-blog-meta i,
body.mierlo-voor-mierlo-sub .mg-blog-post.md .post-edit-link,
body.mierlo-voor-mierlo-sub .mg-blog-post .bottom .mg-blog-meta,
body.mierlo-voor-mierlo-sub .mg-blog-post .bottom .mg-blog-meta a,
body.mierlo-voor-mierlo-sub .mg-blog-post .bottom .mg-blog-meta span,
body.mierlo-voor-mierlo-sub .mg-blog-post .bottom .mg-blog-meta i,
body.mierlo-voor-mierlo-sub .mg-blog-post .bottom .mg-blog-date,
body.mierlo-voor-mierlo-sub .mg-blog-post .bottom .mg-blog-date a,
body.mierlo-voor-mierlo-sub .mg-blog-post .bottom .post-edit-link,
body.mierlo-voor-mierlo-sub .bs-blog-post.three .mg-blog-meta,
body.mierlo-voor-mierlo-sub .bs-blog-post.three .mg-blog-meta a,
body.mierlo-voor-mierlo-sub .bs-blog-post.three .mg-blog-meta span,
body.mierlo-voor-mierlo-sub .bs-blog-post.three .mg-blog-meta i,
body.mierlo-voor-mierlo-sub .mg-post-box .mg-blog-meta,
body.mierlo-voor-mierlo-sub .mg-post-box .mg-blog-meta a,
body.mierlo-voor-mierlo-sub .mg-post-box .mg-blog-meta span,
body.mierlo-voor-mierlo-sub .mg-post-box .mg-blog-meta i,
body.mierlo-voor-mierlo-sub .mg-post-box .mg-blog-date,
body.mierlo-voor-mierlo-sub .mg-post-box .post-edit-link {
    color: #fff !important;
}

body.mierlo-voor-mierlo-sub .mg-blog-post.lg .mg-blog-meta svg,
body.mierlo-voor-mierlo-sub .mg-blog-post.md .mg-blog-meta svg,
body.mierlo-voor-mierlo-sub .mg-blog-post .bottom .mg-blog-meta svg,
body.mierlo-voor-mierlo-sub .bs-blog-post.three .mg-blog-meta svg,
body.mierlo-voor-mierlo-sub .mg-post-box .mg-blog-meta svg {
    fill: currentColor !important;
    color: #fff !important;
}

/* MvM: make date/comment metadata unmistakable on image cards. */
body.mierlo-voor-mierlo-sub .mg-blog-post .bottom .mg-blog-meta,
body.mierlo-voor-mierlo-sub .mg-blog-post.lg .mg-blog-meta,
body.mierlo-voor-mierlo-sub .mg-blog-post.md .mg-blog-meta,
body.mierlo-voor-mierlo-sub .bs-blog-post.three .mg-blog-meta,
body.mierlo-voor-mierlo-sub .mg-post-box .mg-blog-meta {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 7px 14px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-top: 7px !important;
    padding: 6px 10px !important;
    border-radius: 7px !important;
    background: rgba(0, 0, 0, 0.62) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

body.mierlo-voor-mierlo-sub .mg-blog-post .bottom .mg-blog-meta > span,
body.mierlo-voor-mierlo-sub .mg-blog-post.lg .mg-blog-meta > span,
body.mierlo-voor-mierlo-sub .mg-blog-post.md .mg-blog-meta > span,
body.mierlo-voor-mierlo-sub .bs-blog-post.three .mg-blog-meta > span,
body.mierlo-voor-mierlo-sub .mg-post-box .mg-blog-meta > span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    color: #fff !important;
    white-space: nowrap !important;
}

body.mierlo-voor-mierlo-sub .mg-blog-meta i {
    color: #fff !important;
    font-size: 13px !important;
    opacity: 1 !important;
}

body.mierlo-voor-mierlo-sub .mg-blog-meta a {
    color: #fff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

body.mierlo-voor-mierlo-sub .mg-blog-meta a:hover,
body.mierlo-voor-mierlo-sub .mg-blog-meta a:focus {
    color: #fff !important;
    text-decoration: underline !important;
}

@media (max-width: 767px) {
    body.mierlo-voor-mierlo-sub .mg-blog-post .bottom .mg-blog-meta,
    body.mierlo-voor-mierlo-sub .mg-blog-post.lg .mg-blog-meta,
    body.mierlo-voor-mierlo-sub .mg-blog-post.md .mg-blog-meta,
    body.mierlo-voor-mierlo-sub .bs-blog-post.three .mg-blog-meta,
    body.mierlo-voor-mierlo-sub .mg-post-box .mg-blog-meta {
        gap: 5px 11px !important;
        padding: 6px 9px !important;
        font-size: 13px !important;
    }
}

/* MvM: restore a clear, compact wpForo forum index on phones/tablets. */
@media (max-width: 991.98px) {
    #wpforo-wrap.wpft-forum .wpforo-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        margin: 0 0 18px !important;
        padding: 0 !important;
        border: 1px solid #dce5ee !important;
        border-radius: 8px !important;
        background: #fff !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-category,
    #wpforo-wrap.wpft-forum .wpforo-cat-panel {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #1966AE !important;
        border: 0 !important;
        border-radius: 7px 7px 0 0 !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-category .cat-title {
        display: block !important;
        margin: 0 !important;
        padding: 11px 13px !important;
        background: transparent !important;
        color: #fff !important;
        font-size: 17px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-category .cat-name {
        color: #fff !important;
    }

    #wpforo-wrap.wpft-forum .forum-wrap {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #e6edf3 !important;
        background: #fff !important;
    }

    #wpforo-wrap.wpft-forum .forum-wrap:last-child {
        border-bottom: 0 !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-forum {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 12px !important;
        background: #fff !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-forum-icon {
        display: flex !important;
        flex: 0 0 38px !important;
        width: 38px !important;
        margin: 1px 0 0 !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-forum-icon > div {
        width: 36px !important;
        height: 36px !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-forum-info {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-forum-title {
        margin: 0 0 3px !important;
        padding: 0 !important;
        font-size: 17px !important;
        line-height: 1.3 !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-forum-title a {
        color: #111 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-forum-description,
    #wpforo-wrap.wpft-forum .wpforo-forum-description p {
        margin: 0 0 5px !important;
        padding: 0 !important;
        color: #4d5965 !important;
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-forum-info > div[style*="font-size: 12px"] {
        margin: 0 !important;
        padding: 0 !important;
        color: #6a737d !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    #wpforo-wrap.wpft-forum .wpforo-forum-topic-toggle {
        display: none !important;
    }
}

/* MvM: ticker label must stay white on the blue news ticker. */
.mg-latest-news .bn_title .wtitle,
.mg-latest-news .bn_title .wtitle span {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* MvM: Tags widget title must stay white on its blue heading bar. */
.widget_tag_cloud > h6,
#tag_cloud-2 > h6 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* MvM Encyclopedie: één duidelijke hoofdkop en een compacte pagina-intro. */
body.page-id-1492 .mg-breadcrumb-section {
    display: none !important;
}

body.page-id-1492 #content.page-class {
    padding-top: 24px !important;
}

@media (max-width: 767px) {
    body.page-id-1492 #content.page-class {
        padding-top: 16px !important;
    }
}

/* MvM header seal: weer/datumregel op witte achtergrond blijft Mierlos blauw. */
.mg-headwidget.light .mg-head-detail .info-left li,
.mg-headwidget.light .mg-head-detail .info-left li a,
.mg-headwidget.light .mg-head-detail .info-left li > span:not(.time),
.header-center .mg-head-detail .info-left li,
.header-center .mg-head-detail .info-left li a,
.header-center .mg-head-detail .info-left li span,
.heacent span.time {
    color: #1966AE !important;
    -webkit-text-fill-color: #1966AE !important;
}

/* MvM approved footer: one stable blue footer, independent of Newsup/Elementor footer layers. */
.mvm-site-footer {
    margin-top: 4rem;
    background: #1966AE !important;
    background-color: #1966AE !important;
    color: #FFFFFF !important;
}

.mvm-site-footer__inner {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
    padding: 2.5rem 0 1.75rem;
}

.mvm-site-footer__title {
    margin: 0;
    color: #FFFFFF !important;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.mvm-site-footer__intro {
    max-width: 46rem;
    margin: .75rem 0 1.5rem;
    color: #FFFFFF !important;
    line-height: 1.65;
}

.mvm-site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.25rem;
    margin: 0;
    padding: 0;
}

.mvm-site-footer a,
.mvm-site-footer a:visited {
    color: #FFFFFF !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.mvm-site-footer a:hover,
.mvm-site-footer a:focus-visible {
    color: #FFFFFF !important;
    text-decoration-thickness: 2px;
}

.mvm-site-footer a:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

.mvm-site-footer__copy {
    margin: 1.75rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .3);
    color: #FFFFFF !important;
    font-size: .875rem;
}

@media (max-width: 640px) {
    .mvm-site-footer {
        margin-top: 3rem;
    }

    .mvm-site-footer__inner {
        width: min(100% - 1.5rem, 72rem);
        padding-top: 2rem;
    }

    .mvm-site-footer__nav {
        align-items: flex-start;
        flex-direction: column;
        gap: .7rem;
    }
}

