.rating-summary{
    display:inline-flex; align-items:center; gap:.4rem; font-size:18px;
}
.rating-summary .avg{ font-weight:700; }
.rating-summary .stars .fa{ margin-right:2px; }
.rating-summary .stars .fa-star,
.rating-summary .stars .fa-star-half-o{ color:#f5b301; } /* gevuld/half */
.rating-summary .stars .fa-star-o{ color:#ddd; }         /* leeg */
.rating-summary .count{ color:#777; font-size:90%; }

/* ——— Zoekbalk (header) ——— */
.header-search {
    max-width: 520px;          /* pas aan naar wens */
    width: 100%;
    margin: 0 10px;            /* ruimte t.o.v. WhatsApp-icoon */
}

.header-search .gi-search-group-form {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #fff;
    height: 36px;
}

.header-search .gi-search-bar.form-control {
    flex: 1 1 auto;
    border: 0;
    outline: 0;
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 1;
    color: #333;
    background: transparent;
    box-shadow: none;
}

.header-search .gi-search-group-form:focus-within {
    border-color: #ccc;
    box-shadow: 0 0 0 2px rgba(0,0,0,.035);
}

.header-search .search_submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 38px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.header-search .search_submit i {
    font-size: 16px;           /* Font Awesome icoon */
    opacity: .85;
}

.header-search .search_submit:hover i {
    opacity: 1;
}

/* Optioneel: op hele smalle schermen 100% breedte maken */
@media (max-width: 480px) {
    .header-search { max-width: 100%; margin: 8px 0; }
}


/* Resultaten drop-down onder het veld */
.header-search .search-results{
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    z-index: 9999;
    display: none;      /* JS zet dit op block */
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    max-height: 60vh;
    overflow-y: auto;
}

.search-results .item { padding: 10px 12px; border-bottom: 1px solid #f5f5f5; }


.search-results .item:last-child { border-bottom: 0; }
.search-results .item a { display:block; color:#333; text-decoration:none; }

.search-results .empty { padding: 10px 12px; color:#777; font-size: 13px; }

.search-results .item a * {
    color: inherit !important;
    text-decoration: inherit !important;
}

.search-results .item { border-bottom: 1px solid #f5f5f5; padding: 0; }
.search-results .item a {
    display: block;
    padding: 10px 12px;          /* verplaatst vanaf .item */
    color: #333;
    text-decoration: none;
}


search-results .item { border-bottom: 1px solid #f5f5f5; padding: 0; }
.search-results .item a {
    display: block;
    padding: 10px 12px;          /* verplaatst vanaf .item */
    /*color: #333;*/
    text-decoration: none;
}

/* Hover op de hele rij */
.search-results .item a:hover,
.search-results .item:focus-within a:hover {
    color: #eb3239;
    text-decoration: underline;
    text-underline-offset: 2px;  /* mooier/leesbaarder */
    text-decoration-thickness: from-font;
    background: #fff3f4;         /* optioneel highlight */
}

.foundtitle {
    margin-bottom: 2px;
    padding:2px;
}
/* Hover: bovenstaande .search-results .item a:hover definitie is actief */


header .navbar-wp .navbar-brand {
    height: auto;
    padding: 0px 7px !important;
    margin-top: 2px !important;
}

/* ——— Top-header: WhatsApp + zoekbalk naast elkaar (flex) ——— */
.top-header-right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    /* hoogte gelijk aan navbar-wp top (43px) om overlap te voorkomen */
    height: 43px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.top-header-right .header-search {
    margin: 0 !important;   /* override de standaard margin: 0 10px */
    flex: 1 1 0;
    min-width: 0;
    max-width: 380px;
}

@media (min-width: 1200px) {
    .top-header-right .header-search {
        max-width: 480px;
    }
}

/* ——— Footer nav-links (geen &nbsp; scheidingstekens meer) ——— */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 4px 0 0;
    gap: 2px 0;
}
.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 8px;
    border-right: 1px solid #ccc;
    line-height: 1.4;
    white-space: nowrap;
}
.footer-links a:first-child { padding-left: 0; }
.footer-links a:last-child  { border-right: none; }
.footer-copyright {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px 1px 0;
    border-right: 1px solid #ccc;
    white-space: nowrap;
    line-height: 1.4;
    font-size: inherit;
}

/* KVK | BIG scheidingsteken in footer */
.footer-pipe {
    margin: 0 6px;
    color: #bbb;
}

/* ——— Accordion / panel-heading focus-ring ——— */
/* Bootstrap 3: de <a> in .panel-heading vult het hele vlak en krijgt
   standaard de rode themakleur als focus-outline bij muisklik.
   Oplossing: outline weghalen bij klikken, wél tonen bij Tab (toetsenbord). */
.panel-heading a:focus,
.panel-title a:focus {
    outline: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}
.panel-heading a:focus-visible,
.panel-title a:focus-visible {
    outline: 2px solid #999;
    outline-offset: 2px;
}

/* ——— Toegankelijkheid: skip-to-main ——— */
.skip-to-main {
    position: absolute;
    top: -100%;
    left: 8px;
    z-index: 9999;
    padding: 6px 14px;
    background: #e91b23;
    color: #fff !important;
    font-weight: 600;
    border-radius: 0 0 4px 4px;
    text-decoration: none;
    transition: top 0.15s;
}
.skip-to-main:focus {
    top: 0;
}

/* ——— Toegankelijkheid: links in lopende tekst krijgen underline ——— */
/* Geldt voor alinea's, lijstitems en tabelcellen in de hoofdinhoud */
.slice p a:not(.btn):not([class*="btn"]),
.wp-section p a:not(.btn):not([class*="btn"]),
.container p a:not(.btn):not([class*="btn"]),
.wp-block p a:not(.btn):not([class*="btn"]) {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ——— Toegankelijkheid: footer heading stijl (h2 als h4) ——— */
.footer .footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
    margin-top: 0;
    letter-spacing: 0;
}

/* ——— Toegankelijkheid: main-inhoud skip target ——— */
#main-content:focus {
    outline: none;
}

/* ——— Leaflet kaart: zoom-controls onder navbar dropdown ——— */
/* Leaflet .leaflet-top/.leaflet-bottom staan standaard op z-index:1000,
   gelijk aan Bootstrap dropdown-menu. Navbar dropdown moet erboven liggen. */
.leaflet-top,
.leaflet-bottom {
    z-index: 400 !important;
}

/* ——— font-display: swap voor FontAwesome 4 (geen font-display in global-style-red.css) ——— */
@font-face {
    font-family: 'FontAwesome';
    src: url('/font-awesome/fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'),
         url('/font-awesome/fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}