/* Version: 2026-01-27 — dark mode readability */
/* GeneratePress header basics */
.site-header {
    background: var(--brand);
}

/* GP wrapper */
.site-header .inside-header {
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Title/logo */
.site-header .site-title a,
.site-header .site-title {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

/* Navigation */
.main-navigation,
.inside-navigation {
    display: flex;
    align-items: center;
}

.main-navigation a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.main-navigation a:hover {
    color: #ffe6e6;
}

/* Mobile */
@media (max-width: 600px) {
    .site-header .inside-header {
        padding: .8rem 1rem;
    }
}

/* --------------------------------------------------
   Header search bar (AOO)
   Matches custom element markup
-------------------------------------------------- */

.header-search-bar {
    background: var(--brand);
    padding: 1.2rem;
    display: flex;
    justify-content: center;
}

.header-search-bar form {
    display: flex;
    width: 100%;
    max-width: 800px;
    margin: 0;
}

.header-search-bar input[type="search"],
.header-search-bar input[name="s"] {
    flex: 1;
    padding: .75rem 1rem;
    border-radius: 12px 0 0 12px;
    border: 0;
    font-size: 1rem;
    outline: none;
    background: var(--aoo-surface);
    color: var(--aoo-fg);
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.header-search-bar button[type="submit"] {
    background: var(--aoo-fg);
    border: 0;
    padding: .75rem 1rem;
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    color: var(--aoo-bg);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.header-search-bar button[type="submit"]:hover {
    opacity: .92;
}

/* Mobile */
@media (max-width: 600px) {
    .header-search-bar {
        padding: .9rem;
    }

    .header-search-bar input[name="s"] {
        font-size: .95rem;
    }

    .header-search-bar button[type="submit"] {
        font-size: .95rem;
    }
}

/* ================================
   Header logo
   ================================ */
/* Logo sizing – default (desktop) */
#masthead .aoo-site-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 280px;
    /* desktop */
}
@media (max-width: 768px) {
    #masthead .aoo-site-logo img {
        max-width: 180px;
        /* mobiel */
    }
}
@media (max-width: 1024px) {
    #masthead .aoo-site-logo img {
        max-width: 220px;
    }
}
.site-header.is-sticky .aoo-site-logo img {
    max-width: 200px;
}
/* =========================================
   Force center logo in GeneratePress header
   ========================================= */

#masthead .inside-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
}

#masthead .aoo-header-logo {
    margin: 0 auto !important;
    display: flex;
    justify-content: center;
}
