/* ---------- Site içi arama / etiket sonuçları ---------- */
.search-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 40px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 85% 0%, rgba(59, 130, 246, 0.16), transparent 65%),
    radial-gradient(50% 100% at 10% 100%, rgba(255, 196, 0, 0.08), transparent 70%);
}

.search-kicker {
  margin: 0 0 10px;
  color: var(--yellow-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.search-title {
  max-width: 760px;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.search-title em {
  color: var(--yellow-soft);
  font-style: normal;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
}

.search-field {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
  min-width: 0;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.search-field:focus-within {
  border-color: rgba(255, 196, 0, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.search-field .icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--muted-2);
}

.search-field input {
  width: 100%;
  min-width: 0;
  padding: 14px 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.search-field input::placeholder {
  color: var(--muted-2);
}

.search-form .btn {
  flex: none;
}

.search-meta-line {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.search-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.search-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.search-tag:hover {
  border-color: rgba(255, 196, 0, 0.45);
  background: rgba(255, 196, 0, 0.08);
  color: var(--yellow-soft);
}

.search-tag small {
  color: var(--muted-2);
  font-size: 0.66rem;
}

.search-section {
  padding: 38px 0 70px;
}

.search-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.search-section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.search-section-head span {
  color: var(--muted-2);
  font-size: 0.74rem;
}

.search-results {
  display: grid;
  gap: 14px;
}

.search-result {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.search-result:hover {
  border-color: rgba(255, 196, 0, 0.35);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.search-result-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: var(--panel-solid);
}

.search-result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-media .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(6, 10, 19, 0.78);
  color: var(--yellow-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-result-body {
  min-width: 0;
  padding: 2px 0;
}

.search-result-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-result-kicker b {
  color: var(--yellow-soft);
  font-weight: 700;
}

.search-result h3 {
  margin: 7px 0 8px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
}

.search-result h3 a {
  color: inherit;
  text-decoration: none;
}

.search-result h3 a:hover {
  color: var(--yellow-soft);
}

.search-result p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-result-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.7rem;
}

.search-result-foot .icon {
  width: 13px;
  height: 13px;
}

.search-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.search-result-tags a {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 0.64rem;
  text-decoration: none;
}

.search-result-tags a:hover {
  border-color: rgba(255, 196, 0, 0.4);
  color: var(--yellow-soft);
}

.search-empty {
  padding: 34px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
}

.search-empty h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.search-empty p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.search-empty .btn {
  margin: 0 4px;
}

@media (max-width: 720px) {
  .search-hero {
    padding: 34px 0 30px;
  }

  .search-form {
    flex-direction: column;
    align-items: stretch;
  }

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

  .search-result {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .search-result-media {
    max-width: none;
  }
}
