/* =========================
   PAGE CONTAINER
========================= */
.homepage-container {
    width: 100%;
    max-width: 100%;
    margin: 0px auto;
    padding: 0 16px;
    text-align: center;
    font-family: Open Sans, sans-serif;
    box-sizing: border-box;
}

/* =========================
   SEARCH INPUT
========================= */
#search-input {
    display: block;

    width: 100%;
    max-width: 700px;
    min-width: 280px;

    margin: 0 auto;

    padding: 14px 20px;
    font-size: 17px;

    border: none;
    border-radius: 24px;

    background-color: #ffffff;
    color: #202124;

    outline: none;
    box-sizing: border-box;

    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#search-input::placeholder {
    color: #5f6368;
}

#search-input:focus {
    background-color: #ffffff;
    box-shadow: 0 1px 6px rgba(32,33,36,0.28);
}

/* =========================
   SEARCH RESULTS DROPDOWN
========================= */
#search-suggestions {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    width: 75vw;
    max-width: 900px;

    margin-top: 8px;
    background: #ffffff;
    border-radius: 14px;

    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    max-height: 420px;
    overflow-y: auto;

    display: none;
    z-index: 9999;
}

#search-suggestions.active {
    display: block;
}

/* =========================
   SINGLE RESULT ITEM
========================= */
.suggestion-item {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    background: #fff;

    text-align: left;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f7f7f7;
}

/* =========================
   RESULT HEADER (TITLE)
========================= */
.suggestion-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.suggestion-header .type {
    margin-left: auto;
    font-size: 11px;
    opacity: 0.6;
}

/* =========================
   RESULT DESCRIPTION
========================= */
.suggestion-excerpt {
    display: block;
    margin-top: 4px;
    margin-left: 22px;

    font-size: 14px;
    color: #555;
    line-height: 1.3em;

    text-align: left;
}

/* =========================
   HIGHLIGHT
========================= */
.highlight {
    font-weight: bold;
    color: #0073aa;
}

/* =========================
   LOADING STATE
========================= */
.suggestion-loading {
    padding: 10px 16px;
    font-style: italic;
    color: #666;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

    #search-input {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        font-size: 16px;
    }

    #search-suggestions {
        width: 95vw;
    }

    .suggestion-excerpt {
        font-size: 12px;
    }
}
.search-container {
  display: flex;
  justify-content: center;
}

.search-container input {
  margin: 0 auto;
}
input {
  display: block;
  margin: 0 auto;
}

h3 {
    font-size: 24px;
}

/* =========================
   SEARCH FILTER BUTTONS
========================= */
.search-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 16px;
}

.search-filters button {
    padding: 8px 16px;

    font-size: 14px;
    font-weight: 500;

    border: 1px solid #dadce0;
    border-radius: 20px;

    background-color: #ffffff;
    color: #3c4043;

    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.search-filters button:hover {
    background-color: #f1f3f4;
}

.search-filters button.active {
    background-color: #1a73e8;
    color: #ffffff;
    border-color: #1a73e8;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .search-filters {
        gap: 8px;
    }

    .search-filters button {
        font-size: 13px;
        padding: 7px 14px;
    }
}

/* =========================
   Live Search Container
========================= */
#search-suggestions {
    position: absolute;
    width: 100%;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    margin-top: 8px;
    z-index: 9999;
    display: none;
}

/* =========================
   Loading
========================= */
.suggestion-loading {
    padding: 14px 16px;
    font-size: 14px;
    color: #777;
}

/* =========================
   Suggestion Item
========================= */
.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: #f3f6fa;
}

/* =========================
   Header Row
========================= */
.suggestion-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion-header .icon {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.suggestion-header .title {
    font-weight: 600;
    font-size: 14px;
    color: #111;
}

.suggestion-header .type {
    margin-left: auto;
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
}

/* =========================
   Excerpt
========================= */
.suggestion-excerpt {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    line-height: 1.4;
}

/* =========================
   Highlight
========================= */
.highlight {
    background: #ffe08a;
    padding: 0 2px;
    border-radius: 3px;
}

/* =========================
   No Results
========================= */
#search-suggestions .suggestion-item:only-child {
    cursor: default;
    color: #777;
}

/* =========================
   Scrollbar (nice)
========================= */
#search-suggestions::-webkit-scrollbar {
    width: 6px;
}

#search-suggestions::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 6px;
}

/* =========================
   Mobile tweaks
========================= */
@media (max-width: 768px) {
    #search-suggestions {
        max-height: 60vh;
    }
}

.search-filters {
	display: none; }

.search-history-wrapper {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.search-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clear-history {
    background: none;
    border: none;
    color: #cc0000;
    cursor: pointer;
    font-size: 13px;
}

.search-history-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 20px 0;
}

.search-history-wrapper li {
    padding: 6px 0;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.search-history-wrapper li:hover {
    color: #0073aa;
}

/* =========================
   Pure Search Bar
========================= */
.xanthi-search-bar-mini {
    display: block;
    width: 60%;
    max-width: 700px;
    min-width: 280px;
    margin: 0 auto;
    border: none;
    border-radius: 24px;
    background-color: #f1f3f4;
    color: #202124;
    outline: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.fa-solid, .fas  {
    font-weight: 900;
    font-size: 30px;
}

.fa-regular, .far {
    font-weight: 400;
    font-size: 30px;
}

.fa-adversal {
   font-size: 30px;
}