/* Blog-zoekbalk (Advies & tips) — altijd zichtbaar + live suggesties. */

.awcf-blog-search {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 480px;
    margin-top: 32px;
    border: 1px solid #123c57;
    border-radius: 4px;
    overflow: visible;
    box-sizing: border-box;
    background: #fff;
}
.awcf-blog-search__input {
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
    height: 44px;
    padding: 8px 14px;
    border: 0;
    border-radius: 4px 0 0 4px;
    background: #fff;
    color: #123c57;
    font-size: 16px;
    line-height: 1.2;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.awcf-blog-search__input:focus { outline: none; box-shadow: none; }
.awcf-blog-search__input::placeholder { color: #123c57; opacity: 0.5; }
.awcf-blog-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 44px;
    padding: 0;
    border: 0;
    background: #123c57;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 0 4px 4px 0;
}
.awcf-blog-search__submit:hover { background: #0d2d42; }
.awcf-blog-search__submit:focus-visible {
    outline: 2px solid #123c57;
    outline-offset: 2px;
}

/* Op mobiel: laat de balk uitrekken. */
@media (max-width: 767px) {
    .awcf-blog-search { max-width: none; }
}

/* Live suggesties dropdown. */
.awcf-blog-search__suggest {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    border: 1px solid #123c57;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(18,60,87,0.12), 0 2px 6px rgba(18,60,87,0.08);
    max-height: 60vh;
    overflow-y: auto;
}
.awcf-blog-search__suggest[hidden] { display: none; }
.awcf-blog-search__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.awcf-blog-search__list li { margin: 0; padding: 0; }
.awcf-blog-search__item {
    display: block;
    padding: 10px 14px;
    color: #123c57;
    text-decoration: none;
    border-bottom: 1px solid rgba(18,60,87,0.08);
    line-height: 1.35;
}
.awcf-blog-search__list li:last-child .awcf-blog-search__item { border-bottom: 0; }
.awcf-blog-search__item:hover,
.awcf-blog-search__item:focus {
    background: rgba(18,60,87,0.06);
    color: #123c57;
    text-decoration: none;
    outline: none;
}
.awcf-blog-search__title {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}
.awcf-blog-search__excerpt {
    display: block;
    font-size: 13px;
    color: rgba(18,60,87,0.75);
}
.awcf-blog-search__empty {
    padding: 12px 14px;
    color: rgba(18,60,87,0.7);
    font-size: 14px;
    font-style: italic;
}
