.search-results-page {
  padding: 0px;
  background: #fff;
}

.search-header {
  background: white;
  border-radius: 8px;
  margin-bottom: 4rem;
  padding: 0px 20px;
}

.search-title {
  font-size: 32px;
  margin-bottom: 18px;
  color: #111827;
  padding-top: 4rem;
}
.search-title span {
  color: rgb(242, 144, 10);
}

.search-form-page {
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: #9ca3af;
  pointer-events: none;
  z-index: 1;
}

.search-input {
  flex: 1;
  padding: 12px 50px 12px 48px;
  font-size: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.search-input:focus {
  border-color: unset;
  outline: none;
  outline-offset: 0px;
  --tw-ring-color: transparent;
  border: 2px solid #e5e7eb;
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: color 0.3s;
  z-index: 1;
}
.clear-search-btn:hover {
  color: #ef4444;
}

.search-submit-btn {
  display: none;
}

/* Filter Navigation Styles */
.filter-navigation {
  background: white;
  border-radius: 8px;
  margin-bottom: 40px;
}
.filter-navigation p {
  margin: 0;
  white-space: nowrap;
}

.filter-tabs {
  flex: 1;
}

.filter-tab {
  transition: all 0.3s ease;
}
.filter-tab .filter-label {
  font-size: 1.125rem;
  line-height: 1.575rem;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.3s ease;
}
.filter-tab:hover .filter-label {
  color: rgb(242, 144, 10);
}
.filter-tab.active .filter-label {
  color: rgb(242, 144, 10);
  font-weight: 700;
}

.search-results-area {
  --tw-bg-opacity: 1;
  background-color: rgb(244, 244, 244, var(--tw-bg-opacity));
  padding-bottom: 3rem;
  padding-top: 3rem;
  position: relative;
}

.inner-search-results-area {
  padding: 0px 20px;
  border-radius: 8px;
  position: relative;
  min-height: 400px;
}

/* Loading Overlay */
.search-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(4px);
  border-radius: 8px;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.loading-spinner svg {
  width: 48px;
  height: 48px;
  color: rgb(242, 144, 10);
}
.loading-spinner p {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.results-info {
  margin-bottom: 24px;
  font-size: 14px;
  color: #6b7280;
}

.search-results-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.search-result-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 0px;
  padding: 2rem;
}
.search-result-item a {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.search-result-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.search-result-item.hidden {
  display: none;
}

.result-thumbnail {
  width: 30%;
  max-width: 280px;
  height: 156px;
  overflow: hidden;
  margin-left: auto;
}
.result-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-content {
  width: 70%;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.result-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #e5e7eb;
  border-radius: 12px;
  font-size: 12px;
  color: #374151;
}

.result-date {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 8px;
  margin-top: 8px;
}

.result-title {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
  --tw-text-opacity: 1;
  color: rgb(74, 74, 74, var(--tw-text-opacity));
}
@media (max-width: 768px) {
  .result-title {
    font-size: 20px;
  }
}

.result-excerpt {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.6;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
}
.no-results h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #111827;
}
.no-results p {
  font-size: 16px;
  color: #6b7280;
}

/* Pagination styles */
.insights-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.insights-pagination .page-numbers {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.insights-pagination .page-numbers li {
  display: inline-block;
}
.insights-pagination .pagination-link,
.insights-pagination .page-numbers .current,
.insights-pagination .page-numbers .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 40px;
  padding: 0 6px;
  border: 0px solid #e5e7eb;
  border-radius: 0px;
  color: #374151;
  text-decoration: none;
  transition: all 0.3s;
}
.insights-pagination .pagination-link:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(229, 231, 235, var(--tw-bg-opacity));
}
.insights-pagination .page-numbers .current {
  background: unset;
  border: 0px;
  border-top: 2px solid rgb(242, 144, 10);
  color: rgb(242, 144, 10);
  font-weight: 600;
}
.insights-pagination .page-numbers .dots {
  border: none;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .filter-navigation {
    flex-direction: column;
  }
  .filter-navigation p {
    margin-bottom: 16px;
  }
}
@media (max-width: 768px) {
  .search-results-grid {
    grid-template-columns: 1fr;
  }
  .search-header {
    padding: 24px;
  }
  .inner-search-results-area {
    padding: 24px;
  }
  .filter-navigation {
    padding: 20px;
  }
  .filter-tabs {
    flex-direction: column;
    gap: 8px;
  }
  .filter-tab {
    padding: 8px 0 !important;
    border-left: none !important;
  }
  .result-thumbnail {
    width: 100%;
    max-width: 100%;
    height: 200px;
    margin-left: 0;
    margin-bottom: 1rem;
  }
  .result-content {
    width: 100%;
  }
  .search-result-item {
    padding: 1.5rem;
  }
  .search-result-item a {
    flex-direction: column;
  }
}

/*# sourceMappingURL=search.css.map */
