/* İlan haritası (harita.js). Tam sayfa: solda harita, sağda panel; telefonda panel haritanın altında. */
.hm { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; }
.hm[data-mode=kucuk] { grid-template-columns: 1fr; }
.hm-map { position: relative; height: min(72vh, 680px); min-height: 420px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(16,37,26,.08); background: #EEF3F0; z-index: 0; }
.hm[data-mode=kucuk] .hm-map { height: 440px; min-height: 0; }
.hm-map .leaflet-tile-pane { filter: saturate(.65) brightness(1.03); }
.hm-error { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); z-index: 500; }

.hm-panel { border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: #fff; box-shadow: 0 8px 26px rgba(16,37,26,.06);
  max-height: min(72vh, 680px); overflow: auto; }
.hm-panel h2 { margin: 6px 0 2px; font-size: 22px; letter-spacing: -.4px; }
.hm-sub { margin: 0 0 12px; color: var(--muted); }
.hm-filter { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.hm-filter select { flex: 1; padding: 8px 10px; border: 1.5px solid #D5DED9; border-radius: 10px; font: inherit; color: var(--ink); background: #FBFDFC; }
.hm-semts { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-semt { border: 1px solid #CFE3D7; background: var(--brand-soft); color: var(--brand-dark); border-radius: 999px; padding: 6px 11px; font: inherit;
  font-size: 13.5px; font-weight: 700; cursor: pointer; }
.hm-semt b { margin-left: 3px; padding: 0 6px; border-radius: 999px; background: #fff; }
.hm-semt:hover { background: #D5F0E1; }
.hm-back { border: 0; background: none; padding: 4px 0; font: inherit; font-weight: 700; color: var(--brand-dark); cursor: pointer; }
.hm-list { display: grid; gap: 8px; }
.hm-item { display: grid; gap: 2px; text-align: left; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #FBFDFC;
  font: inherit; color: var(--ink); cursor: pointer; }
.hm-item:hover { border-color: #B9CEC2; background: #fff; }
.hm-item span { font-size: 13.5px; color: var(--muted); }

/* üzüm işaretçisi */
.hm-grape { background: none; border: 0; }
.hm-grape img { width: 36px; height: 36px; display: block; filter: drop-shadow(0 3px 3px rgba(16,37,26,.35)); transition: transform .15s ease; transform-origin: 50% 90%; }
.hm-grape:hover img, .hm-grape:focus img { transform: scale(1.18); }
.hm-grape.vitrin::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -2px; height: 4px; border-radius: 50%; background: #FFD45C;
  box-shadow: 0 0 0 1px #E8A317; z-index: -1; }
.hm-group img { width: 40px; height: 40px; }
.hm-group b { position: absolute; top: -6px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
  background: var(--brand); color: #fff; font: 800 12.5px/1 system-ui, sans-serif; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(16,37,26,.3); }

/* mahalle adı balonu ve işveren kartı */
.hm-tip { font: 13px/1.35 system-ui, sans-serif; border-radius: 10px; border: 0; box-shadow: 0 6px 18px rgba(16,37,26,.18); padding: 7px 10px; }
.hm-pop .leaflet-popup-content-wrapper { border-radius: 16px; padding: 0; box-shadow: 0 12px 30px rgba(16,37,26,.22); }
.hm-pop .leaflet-popup-content { margin: 0; width: 280px !important; max-width: calc(100vw - 80px); }
.hm-card { padding: 14px 16px; font: 14px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); }
.hm-card p { margin: 0; }
.hm-emp { display: flex; gap: 10px; align-items: center; color: inherit !important; text-decoration: none; padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px solid var(--line); }
.hm-emp b { display: block; font-size: 15px; }
.hm-emp small { color: var(--muted); font-size: 12px; }
.hm-av { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: var(--brand);
  color: #fff; font-weight: 800; }
.hm-av img { width: 100%; height: 100%; object-fit: cover; }
.hm-title { font-size: 16px; font-weight: 800; letter-spacing: -.2px; }
.hm-meta { color: var(--muted); font-size: 13px; margin-top: 2px !important; }
.hm-money { margin-top: 6px !important; font-weight: 800; color: var(--brand-dark); }
.hm-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px !important; color: var(--muted); font-size: 12.5px; }
.hm-btn { padding: 8px 12px; border-radius: 10px; background: var(--brand); color: #fff !important; font-weight: 800; text-decoration: none; }
.hm-btn:hover { background: var(--brand-dark); }

/* sayfa başlığı ve ana sayfadaki bölüm */
.hm-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin: 6px 0 16px; }
.hm-head h1 { margin: 0; font-size: clamp(26px, 3.6vw, 34px); letter-spacing: -.8px; display: flex; align-items: center; gap: 10px; }
.hm-head h1 img { width: 40px; height: 40px; }
.hm-head p { margin: 4px 0 0; color: var(--muted); }
.hm-note { margin: 10px 2px 0; font-size: 12.5px; color: var(--muted); }

@media (max-width: 900px) {
  .hm { grid-template-columns: 1fr; }
  .hm-map { height: 58vh; min-height: 360px; }
  .hm-panel { max-height: none; }
}
.sec-map h2 img { vertical-align: -6px; margin-right: 8px; }
.sec-map + .hm { margin-bottom: 28px; }
