.afd-news-search-widget {
    margin: 0 auto;
    font-family: system-ui, sans-serif;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 2em 2em 0.4em 2em;
}

.afd-news-search-input-group {
    display: flex;
    gap: 0.5em;
}

.afd-news-search-input-group input[type="text"] {
    flex: 1;
    font-size: 1.4em;
    padding: 0.75em 1em;
    border: 1px solid #d4dae5;
    border-radius: 6px;
    background: #f6f7f9;
    transition: border .2s;
}

.afd-news-search-input-group input[type="text"]:focus {
    border-color: #0d99e5;
    outline: none;
    background: #fff;
}

.afd-news-search-input-group button {
    background: #2a73b8;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.75em 1.5em;
    font-weight: bold;
    font-size: 1.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5em;
    transition: background .2s;
}
.afd-news-search-input-group button:hover {
    background: #21598d;
}

#afd-news-search-results {
    margin-top: 2em;
}

#afd-news-search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#afd-news-search-results li {
    background: #f6f7f9;
    border-radius: 8px;
    margin-bottom: 1em;
    padding: 0.75em 1em;
    font-size: 1.4em;
    line-height: 1.4;
    transition: box-shadow .18s;
    display: flex;
    flex-direction: row;
    gap: 0.5em;
}

#afd-news-search-results li a {
    color: #0d99e5;
    font-weight: bold;
    font-size: 1.06em;
    text-decoration: none;
    margin-bottom: 0.1em;
}

#afd-news-search-results li a:hover {
    text-decoration: underline;
    color: #094b86;
}

#afd-news-search-results .afd-highlight-snippet,
#afd-news-search-results mark {
    /* background: #fffaa3;
    border-radius: 2px; */
    padding: 0 2px;
    font-weight: 500;
}

#afd-news-search-results p,
#afd-news-search-results span {
    margin: 0;
    color: #555;
}

#afd-news-search-results .afd-result-meta {
    font-size: 0.96em;
    color: #999;
    margin-top: 0.1em;
}

#afd-news-search-widget .afd-no-results {
    color: #c00;
    font-size: 1.1em;
    text-align: center;
    margin-top: 2em;
}


mark {
    background: #f9ef2e!important;
    padding: 0 2px;
    border-radius: 2px;
}
