.public-search-section {
  border-top: 1px solid var(--public-border);
  background: var(--public-surface);
}

.search-showcase {
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid var(--public-border);
  border-radius: var(--public-radius-lg);
  background: var(--public-bg);
  box-shadow: var(--public-shadow-sm);
}

.search-showcase-top {
  display: grid;
  grid-template-columns:
    210px
    1fr
    auto;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--public-border);
}

.search-type,
.search-location {
  padding: 10px 12px;
  border: 1px solid var(--public-border);
  border-radius: 8px;
  background: var(--public-surface);
}

.search-type small,
.search-location small {
  display: block;
  margin-bottom: 5px;
  color: var(--public-text-muted);
  font-size: 8px;
  font-weight: 800;
}

.search-type strong,
.search-location strong {
  font-size: 10px;
}

.search-submit {
  display: flex;
  align-items: center;
  padding: 0 17px;
  border-radius: 8px;
  background: var(--public-blue);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.search-result-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 18px;
}

.search-result-head strong,
.search-result-head span,
.search-result-head small {
  display: block;
}

.search-result-head strong {
  font-size: 15px;
}

.search-result-head span {
  margin-top: 3px;
  color: var(--public-text-soft);
  font-size: 10px;
}

.search-result-head small {
  margin-top: 5px;
  color: var(--public-text-muted);
  font-size: 9px;
}

.search-view-toggle {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--public-border);
  border-radius: 8px;
  background: var(--public-surface);
}

.search-view-toggle span {
  margin: 0;
  padding: 7px 10px;
  border-radius: 5px;
}

.search-view-toggle .is-active {
  background: var(--public-blue-soft);
  color: var(--public-blue);
  font-weight: 700;
}

.search-content {
  display: grid;
  grid-template-columns:
    minmax(270px, 0.78fr)
    minmax(0, 1.22fr);
  gap: 10px;
  padding: 0 18px 18px;
}

.search-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--public-border);
  border-radius: 12px;
  background: #eaf0e8;
}

.search-map::before,
.search-map::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  background: rgba(180, 211, 226, 0.9);
}

.search-map::before {
  width: 350px;
  height: 350px;
  top: -180px;
  right: -80px;
}

.search-map::after {
  width: 180px;
  height: 180px;
  bottom: -100px;
  left: -40px;
}

.map-road {
  position: absolute;
  height: 2px;
  border-radius: 20px;
  background: #e3b66c;
  transform-origin: left center;
}

.map-road-one {
  width: 90%;
  top: 45%;
  left: -4%;
  transform: rotate(-12deg);
}

.map-road-two {
  width: 80%;
  top: 68%;
  left: 20%;
  transform: rotate(31deg);
}

.map-road-three {
  width: 70%;
  top: 24%;
  left: 25%;
  transform: rotate(63deg);
}

.map-label,
.map-marker {
  position: absolute;
  z-index: 2;
}

.map-label {
  color: #5f7484;
  font-size: 10px;
  font-weight: 700;
}

.map-label-one {
  top: 48%;
  left: 44%;
}

.map-label-two {
  top: 67%;
  left: 62%;
}

.map-label-three {
  top: 24%;
  left: 20%;
}

.map-marker {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--public-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(47, 116, 255, 0.28);
  font-size: 8px;
  font-weight: 800;
}

.map-marker-one {
  top: 42%;
  left: 52%;
}

.map-marker-two {
  top: 58%;
  left: 68%;
}

.map-marker-three {
  top: 29%;
  left: 31%;
}

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

.search-company {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    auto;
  gap: 18px;
  align-items: center;
  min-height: 128px;
  padding: 15px;
  border: 1px solid var(--public-border);
  border-radius: 11px;
  background: var(--public-surface);
}

.search-company.is-selected {
  border-color: var(--public-blue);
  box-shadow:
    inset 3px 0 0 var(--public-blue);
}

.search-company-main > *,
.search-company-meta > * {
  display: block;
}

.search-company-main small {
  width: fit-content;
  margin-bottom: 9px;
  padding: 3px 6px;
  border: 1px solid var(--public-border);
  border-radius: 999px;
  color: var(--public-text-soft);
  font-size: 7px;
  font-weight: 700;
}

.search-company-main strong {
  margin-bottom: 4px;
  font-size: 12px;
}

.search-company-main span,
.search-company-meta span {
  margin-top: 3px;
  color: var(--public-text-soft);
  font-size: 8px;
  line-height: 1.35;
}

.search-company-meta b {
  color: var(--public-text);
}

.search-company-action {
  align-self: start;
  padding: 8px 10px;
  border: 1px solid var(--public-blue);
  border-radius: 7px;
  color: var(--public-blue);
  white-space: nowrap;
  font-size: 8px;
  font-weight: 700;
}
