.search-page-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px;
}

.search-hero {
  border: 1px solid #dbe5f1;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% -18%, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 42%),
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.16) 0%, rgba(59, 130, 246, 0) 42%),
    #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
  padding: 24px;
}

.search-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.search-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.search-hero p {
  margin: 0;
  color: #334155;
  line-height: 1.72;
  max-width: 900px;
}

.search-hero-form {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-hero-input {
  flex: 1;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 0 14px;
  font-size: 14px;
  color: #0f172a;
}

.search-hero-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.search-hero-submit {
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 18px;
  transition: all 0.18s ease;
}

.search-hero-submit:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
}

.search-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid #dbe5f1;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 0 12px;
  transition: all 0.18s ease;
}

.search-chip:hover,
.search-chip.active {
  border-color: #1d4ed8;
  background: #1d4ed8;
  color: #fff;
}

.search-list-shell {
  margin-top: 18px;
  border: 1px solid #dbe5f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.search-list-head {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-list-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.search-list-count {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.search-list {
  padding: 8px 18px 16px;
}

.search-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f7;
}

.search-item:last-child {
  border-bottom: none;
}

.search-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.search-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-thumb-fallback {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 28px;
  background: linear-gradient(145deg, #f8fafc 0%, #eef2f7 100%);
}

.search-content {
  min-width: 0;
}

.search-title {
  display: inline-block;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.36;
  text-decoration: none;
  color: #0f172a;
}

.search-title:hover {
  color: #1d4ed8;
}

.search-summary {
  margin: 8px 0 10px;
  color: #334155;
  line-height: 1.72;
  font-size: 14px;
}

.search-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid #dbe5f1;
  background: #f8fafc;
  color: #334155;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 0 10px;
}

.search-tag:hover {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.search-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 12px;
}

.search-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.search-more {
  text-decoration: none;
  color: #1d4ed8;
  font-weight: 700;
}

.search-more:hover {
  color: #1e40af;
}

.search-pagination {
  padding: 12px 18px 18px;
}

.search-empty {
  text-align: center;
  padding: 56px 20px;
}

.search-empty .icon {
  font-size: 48px;
  color: #94a3b8;
}

.search-empty .text {
  margin-top: 10px;
  color: #64748b;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .search-item {
    grid-template-columns: 1fr;
  }

  .search-thumb {
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .search-page-wrap {
    padding: 14px;
  }

  .search-hero {
    padding: 16px;
  }

  .search-hero-form {
    flex-direction: column;
  }

  .search-hero-submit,
  .search-hero-input {
    width: 100%;
  }

  .search-title {
    font-size: 18px;
  }

  .search-list-head {
    padding: 14px;
  }

  .search-list {
    padding: 6px 14px 12px;
  }

  .search-pagination {
    padding: 10px 14px 14px;
  }
}
