/* Minimal styling for the semantic-search page inside the site's own chrome.
 * Deliberately plain: on the original iCompendium site the custom stylesheet
 * never loaded, so the page rendered in the site's native look — this file
 * keeps that look and only adds the result-grid layout the native CSS can't
 * provide. Fonts and colors are inherited from the site's global.css. */

.cyber-grid,
.cyber-overlay,
.button-glow {
    display: none;
}

.search-wrapper {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

#searchInput {
    flex: 1;
    max-width: 420px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    font: inherit;
}

#searchButton {
    padding: 6px 14px;
    border: 1px solid #ccc;
    background: #f2f2f2;
    font: inherit;
    cursor: pointer;
}

#searchButton:hover {
    background: #e8e8e8;
}

.search-controls {
    margin: 8px 0;
}

/* Results laid out like the site's native gallery grid (.imageItemContainer). */
#searchResults {
    margin-top: 15px;
}

.result-item {
    display: inline-block;
    vertical-align: top;
    width: 170px;
    margin: 0 20px 25px 0;
}

.result-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

.result-item p {
    margin: 5px 0 0;
}
