/* ============================================================
   LoKa · Discover (website/loka/discover) — /loka-discover
   ------------------------------------------------------------
   LokaDiscover of the Dékolé Global reference
   (SOURCE/app/loka-destinations.css): the search form in the
   hero's right half and the four-column signal grid with its
   follow / share chips. The frame, hero, pulse, section header
   and card tiles come from css/loka/shared/destinations.css.
   Scoped under .lk-discover .lkd-discover. State from
   js/loka/discover.js: [hidden] on cards and the empty state.
   ============================================================ */

/* ---------- Search form ---------- */
.lk-discover .lkd-discover-hero > form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 44px;
  border-left: 1px solid var(--lkd-line);
  background:
    radial-gradient(circle at 70% 10%, rgba(108, 236, 209, .16), transparent 34%),
    rgba(5, 14, 18, .38);
}
.lk-discover .lkd-discover-hero label {
  color: #7debd2;
  font: 800 10px/1.4 var(--lkd-mono);
  letter-spacing: .12em;
}
.lk-discover .lkd-discover-hero input {
  display: block;
  width: 100%;
  height: 66px;
  margin-top: 12px;
  padding: 0 18px;
  border: 1px solid rgba(128, 237, 218, .3);
  border-radius: 14px;
  outline: 0;
  color: #0e1915;
  background: #fff;
  /* The label's mono caps would carry into the box (font: inherit): use the
     page's font, so the hint reads plainly and fits. */
  font: 500 18px/1.2 var(--lk-font, sans-serif);
  letter-spacing: 0;
  -webkit-appearance: none;
  appearance: none;
}
.lk-discover .lkd-discover-hero input::placeholder { color: #697a75; opacity: 1; }
.lk-discover .lkd-discover-hero input::-webkit-search-cancel-button { cursor: pointer; }
.lk-discover .lkd-discover-hero form > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.lk-discover .lkd-discover-hero select {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--lkd-line);
  border-radius: 10px;
  color: #dff4ee;
  background: #101c21;
  font-size: 16px;
}
.lk-discover .lkd-discover-hero form > button {
  height: 52px;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  color: #071510;
  background: linear-gradient(90deg, #6de9ce, #9ca1ff);
  font-size: 14px;
  font-weight: 900;
}
.lk-discover .lkd-discover-hero form > button:hover { filter: brightness(1.06); }

/* The button takes the visitor down to the signals (js/loka/discover.js):
   stop just under the sticky LoKa bar (desktop) with the heading in view. */
.lk-discover .lkd-discover [data-lkd-results] { scroll-margin-top: calc(var(--lk-top-h, 0px) - 40px); }
.lk-discover .lkd-discover [data-lkd-results] h2:focus { outline: 0; }

/* ---------- Signal grid ---------- */
.lk-discover .lkd-discovery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lk-discover .lkd-discovery-grid article { background: rgba(8, 19, 24, .66); }
.lk-discover .lkd-discovery-grid article > a > div { min-height: 166px; padding: 21px; }
.lk-discover .lkd-discovery-grid article > a > div > strong {
  display: block;
  margin-top: 17px;
  color: #77ead0;
  font-size: 12px;
  font-weight: 700;
}
.lk-discover .lkd-discovery-grid article > a:hover h3 { color: #fff; }
.lk-discover .lkd-discovery-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  padding: 0 12px 13px;
}
.lk-discover .lkd-discovery-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--lkd-line);
  border-radius: 999px;
  color: #dff6ef;
  background: #15252a;
  font-size: 10px;
  font-weight: 850;
}
.lk-discover .lkd-discovery-actions button:last-child { color: #07130f; background: var(--lkd-mint); }

@media (max-width: 1100px) {
  .lk-discover .lkd-discover-hero > form { min-height: 380px; border-top: 1px solid var(--lkd-line); border-left: 0; }
  .lk-discover .lkd-discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .lk-discover .lkd-discover-hero > form { min-height: 0; padding: 25px 18px; }
  .lk-discover .lkd-discover-hero form > div { grid-template-columns: 1fr; }
  .lk-discover .lkd-discovery-grid { grid-template-columns: 1fr; }
  .lk-discover .lkd-discovery-grid figure { height: 310px; }
}
