/**
 * Várostér – keresőmezők (főoldal egyvonalas sáv + listing sidebar címkék).
 * Autocomplete: a lista a body-n marad (z-index 99999), a hero overflow nem vágja.
 */

.vs-search-field {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.vs-search-field__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  padding: 0;
  font-family: Rubik, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #4b5563;
}

.vs-search-field__label i {
  font-size: 14px;
  color: var(--color-primary, #5e239d);
  line-height: 1;
}

.vs-search-field .input-group,
.vs-search-field .form-group {
  width: 100%;
}

.widget-area .vs-search-field .form-control::placeholder {
  font-weight: 400;
  color: #9ca3af;
  opacity: 1;
}

/* Kapcsolódó cikkek a találati oldalon — B2B, primary hover, semleges háttér */
.vs-related-posts {
  margin-top: 24px;
  padding: 20px 20px 8px;
  background: #f8f7fb;
  border: 1px solid #eceaf2;
  border-radius: 12px;
}

.vs-related-posts__title {
  margin: 0 0 14px;
  font-family: Raleway, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
}

.vs-related-posts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 768px) {
  .vs-related-posts__list {
    grid-template-columns: 1fr 1fr;
  }
}

.vs-related-posts__item {
  margin: 0;
}

.vs-related-posts__link {
  display: block;
  height: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vs-related-posts__link:hover,
.vs-related-posts__link:focus {
  border-color: var(--color-primary, #5e239d);
  box-shadow: 0 6px 18px rgba(94, 35, 157, 0.08);
  outline: none;
}

.vs-related-posts__name {
  display: block;
  font-family: Raleway, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}

.vs-related-posts__link:hover .vs-related-posts__name,
.vs-related-posts__link:focus .vs-related-posts__name {
  color: var(--color-primary, #5e239d);
}

.vs-related-posts__excerpt {
  display: block;
  margin-top: 6px;
  font-family: Rubik, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}
