/* Header styling afgestemd op postcode-zoeken.net */

.pz-site-header {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.pz-header-inner {
    max-width: 1480px;
    margin: 0 auto;
    padding: 18.5px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pz-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.pz-logo img {
    display: block;
    width: 200px;
    height: auto;
    max-height: 25px;
}

.pz-main-nav {
    margin-left: auto;
}

.pz-menu,
.pz-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pz-menu li {
    margin: 0;
}

.pz-menu a {
    display: block;
    padding: 0 10px;
    line-height: 35px;
    font-family: Nunito, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #222222;
    text-decoration: none;
    transition: color 0.15s ease;
}

.pz-menu a:hover,
.pz-menu a:focus,
.pz-menu .current-menu-item > a,
.pz-menu .current_page_item > a {
    color: #ff8000;
}

.pz-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    cursor: pointer;
}

.pz-menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #222222;
    border-radius: 1px;
}

/* GeneratePress default header verbergen als die nog mee rendert */
.site-header:not(.pz-site-header),
#mobile-menu-control-wrapper,
#site-navigation.main-navigation {
    display: none !important;
}

@media (max-width: 768px) {
    .pz-header-inner {
        padding: 16px 20px;
        flex-wrap: wrap;
    }

    .pz-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .pz-main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-left: 0;
        padding-top: 8px;
        border-top: 1px solid #eee;
    }

    .pz-main-nav.is-open {
        display: block;
    }

    .pz-menu,
    .pz-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .pz-menu a {
        padding: 10px 0;
        line-height: 1.4;
    }
}
