/* search.css - Dedicated stylesheet for search functionality only */

/* Base background style — left-aligned, capped at 1600px to match main site */
body {
    background-color: #000000;
    max-width: 1600px;
    font-family: Verdana, sans-serif;
    margin: 0;
    padding: 5px 40px;
}

/* Navigation Bar — matches main site mega-menu palette
   (#000 bg, #1f1f1f border, #d8dbe2 link, #ffcc00 accent on hover) */
.navbar {
    background: #000000;
    border-bottom: 1px solid #1f1f1f;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    position: sticky;
    top: 0;
    z-index: 9999;
    overflow: visible;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 12px 0;
    padding: 0;
}

.navbar a {
    display: block;
    padding: 11px 16px;
    color: #d8dbe2;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
}

.navbar a:hover {
    background: #141414;
    color: #ffcc00;
}


/* Search results styling */
.search-results {
    width: 100%;
    margin: 20px 0;
}

.search-results a {
    display: block;
    padding: 8px 0;
    margin: 0;
    color: #0066ff;
    text-decoration: none;
    font-size: 16px;
}

.search-results a:hover {
    color: #ffcc00;
    background-color: transparent;
}

/* Override any conflicting styles */
.search-results a {
    float: none !important;
    clear: both !important;
    text-align: left !important;
    line-height: 1.5 !important;
}

/* Search input styling */
.search-input {
    width: 750px;
    height: 40px;
    padding: 10px;
    font-size: 24px;
    border: none;
    border-radius: 4px;
    margin-right: 10px;
    padding-left: 15px;
}

/* --- 2026-04-25: Mobile responsive additions ----------------------------- */
@media (max-width: 768px) {
    body {
        width: 100% !important;
        max-width: 100%;
        padding: 5px 16px;
        box-sizing: border-box;
    }
    .navbar {
        width: 100% !important;
        max-width: 100%;
    }
    .navbar a {
        font-size: 13px;
        padding: 10px 10px;
    }
    .search-input {
        width: 100% !important;
        max-width: 100%;
        font-size: 18px;
        height: 44px;
        margin-right: 0;
        margin-bottom: 8px;
        box-sizing: border-box;
    }
    .search-results a { font-size: 14px; }
}

@media (max-width: 480px) {
    body { padding: 5px 10px; }
    .navbar a { font-size: 12px; padding: 8px 8px; }
    .search-input { font-size: 16px; }
    .search-results a { font-size: 13px; }
}
