.search-section {
    display: flex;
    width: 100%;
    padding: 0px 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 1; /* Devant la vidéo */
}
.search-section .search-wrapper {
    display: flex;
    align-items: center;
}
.search-section .search-wrapper input {
    height: 100%;
}
.search-section .search-wrapper svg {
    color: #FFF;
}

.search-bar-wrapper {
    display: flex;
}
.search-bar-wrapper h1 {
    display: flex;
    gap: 10px;
    color:#FFF;
    font-weight: 100;
    margin: 0;
}
.search-bar-wrapper select.search-category {
    height: 100%;
}



.search-results {
    display: none; /* Initialement caché, on l'affiche via JS quand il y a des résultats */
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 20px; /* Ajouter un peu de marge pour l'espacement sous la barre de recherche */
    height: max-content;
    overflow-y: auto; /* Si le contenu dépasse, un scroll vertical */
    background-color: #fff; /* Fond blanc */
}


.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

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

.search-result-item a {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}
.search-result-item a > div {
    display: flex;
    flex-direction: column;
}

.search-result-item a h3 {
    margin:0;
    margin-bottom: auto;
}
.search-result-item a img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}
.search-result-item a p {
    margin: 0;
}

.search-result-item a:hover {
    color: var(--secondary-color);
}