/* Tools Hub Page */

.hub-hero {
  background: linear-gradient(135deg, #1d4ed8 0%, #6366f1 100%);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  color: #fff;
}
.hub-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff !important;
  margin-bottom: 0.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hub-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

.hub-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.hub-search-wrap {
  margin-bottom: 2.5rem;
}
.hub-search {
  width: 100%;
  max-width: 500px;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  display: block;
}
.hub-search:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.hub-section {
  margin-bottom: 3rem;
}
.hub-section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  border-left: 4px solid #6366f1;
  padding-left: 0.9rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.65rem;
}

.hub-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none !important;
  color: var(--text) !important;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.18s;
  line-height: 1.3;
}
.hub-link:hover {
  border-color: #6366f1;
  color: #6366f1 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99,102,241,0.12);
}
.hub-link i {
  font-size: 0.82rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  color: #6366f1;
}
.hub-link.hidden { display: none; }

.hub-no-results {
  display: none;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}
