/* GENERAL SEARCH STYLES */
.search-container {
  position: relative;
  max-width: 100%;
}

#search-form {
  margin: 0;
}

#search-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  color: #666666;
  background-color: #FFFFFF;
  transform: translateY(-50%);
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px;
  cursor: pointer;
}

.content-type-filter {
  margin: 10px 0;
}

.filter-link {
  color: #800000; /* Donkerrood */
  font-size: 0.8rem;
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid #800000;
  border-radius: 5px;
  margin: 0 3px 5px 0;
  text-decoration: none;
}

.filter-link:hover {
  text-decoration: none;
  background-color: #FFFFFF;
}

.filter-link.active {
  color: #FFFFFF;
  background-color: #800000;
  border-color: #800000;
}

/* LIVE SEARCH (STANDAARD OVERLAY) */
.live-search {
  position: relative;
}

.live-search .search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  max-height: 300px;
  overflow-y: auto;
}

.live-search .search-results:empty {
  border: none;
}

/* SIDEBAR SEARCH (STATISCHE POSITIONERING) */
.sidebar-search {
  background: #FFFFFF;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  position: static;
}

.sidebar-search > div {
  position: relative;
}

.sidebar-search input[type="text"] {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-search input[type="text"]:focus {
  outline: none;
  border-color: #888;
  box-shadow: 0 0 5px rgba(136, 136, 136, 0.5);
}

.sidebar-search .search-results {
  font-size: 0.9rem;
  position: static;
  background: #ffffff;
  border: none;
  box-shadow: none;
  max-height: none;
  overflow: visible;
  color: #555;
  margin-top: 5px;
}

.sidebar-search .search-results a {
  color: #555;
}

.sidebar-search .search-header {
  border-bottom: 1px solid #ddd;
}

/* HAMBURGER SEARCH (STATISCHE POSITIONERING) */
.hamburger-search {
  position: static;
}

.hamburger-search .search-results {
  position: static;
  background: #f8f8f8;
  border: none;
  box-shadow: none;
  max-height: none;
  overflow: visible;
  color: #555;
  margin-top: 5px;
}

.hamburger-search .search-results a {
  color: #555;
}

.hamburger-search .search-header {
  border-bottom: 1px solid #ddd;
}

/* OPTIONELE SIDEBAR DROPDOWN (indien je een id gebruikt) */
#search-results {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: none;
}

#search-results li {
  list-style: none;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s;
}

#search-results li:hover {
  background: #f9f9f9;
}


@media (max-width: 640px) {
  .live-search, .content-type-filter {
    padding: 0 20px;
    }
  .hamburger-search {
  padding: 0 0px;
  }    
    
}