/* All-areas hub (/permits/) */
.hub-hero { padding: 32px 0 24px; background: radial-gradient(70% 120% at 100% 0%, #ffd23f12, transparent 60%), var(--bg); }
.hub-title { font: 800 clamp(2.6rem, 5.5vw, 4.4rem)/.9 var(--display); text-transform: uppercase; margin: 0 0 16px; }
.hub-hero .lede { max-width: 62ch; color: #c9d2ca; font-size: 1.1rem; margin: 0; }
.hub-split { padding: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
.hub-map-col { position: sticky; top: 0; z-index: 0; height: 100svh; border-right: 1px solid var(--line); }
.hub-map { height: 100%; background: var(--bg2); }
.hub-map-off { display: none; }
.hub-legend { position: absolute; left: 12px; bottom: 26px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px 14px; background: #0a0f0cdd; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: .82rem; color: #dfe6df; }
.hub-legend span { display: inline-flex; align-items: center; gap: 6px; }
.hub-legend i { display: inline-block; width: 14px; height: 11px; border-radius: 2px; }
.hl-f { background: var(--fresh); } .hl-c { border: 2px dashed var(--coming); background: #3fd0ff22; } .hl-o { border: 2px solid #fff; }
.hub-list-col { padding: 36px 28px 28px; }

.hub-tools { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.hub-tools .display { margin: 0; }
.hub-ctrl { display: flex; flex-wrap: wrap; gap: 10px; }
.hub-ctrl label { display: grid; gap: 4px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.hub-ctrl select { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 600 .95rem var(--body); min-width: 190px; }
#hub-geo-msg { flex-basis: 100%; margin: 0; }
#hub-geo-msg:empty { display: none; }

.hub-cards { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hc[hidden] { display: none; }
.hc-link { display: grid; gap: 8px; height: 100%; color: var(--text); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: border-color .15s, transform .15s; }
.hc-link:hover, .hc.hot .hc-link { border-color: var(--fresh); color: var(--text); transform: translateY(-2px); }
.hc h3 { font: 800 2rem/.95 var(--display); text-transform: uppercase; margin: 0; }
.hc p { margin: 0; }
.hc-where { color: var(--dim); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.hc-dist { color: var(--coming); }
.hc-fresh { font-weight: 600; } .hc-fresh b { font: 800 2.2rem/1 var(--display); color: var(--fresh); margin-right: 4px; }
.hc-fresh span { display: block; color: var(--muted); font-weight: 400; font-size: .88rem; }
.hc-bar { display: block; height: 6px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.hc-bar i { display: block; height: 100%; background: var(--fresh); border-radius: 99px; }
.hc-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; color: var(--muted); }
.hc-meta b { color: var(--text); } .hc-meta li:first-child b { color: var(--coming); } .hc-meta span { color: var(--dim); }
.hc-sale { font-size: .85rem; color: var(--muted); } .hc-sale b.sold { color: #ff8fb4; } .hc-sale b.open { color: var(--fresh); }
.hc-free { font-size: .85rem; color: #6dff8a; }
.hc-go { margin-top: auto; padding-top: 4px; color: var(--fresh); font-weight: 700; }

.hub-more { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.hub-more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hub-other { border-color: var(--line); background: var(--surface); }
.hub-other .kicker { color: var(--fresh); }
@media (max-width: 960px) {
  .hub-split { grid-template-columns: 1fr; }
  .hub-map-col { position: relative; height: 62svh; border-right: 0; border-bottom: 1px solid var(--line); }
  .hub-list-col { padding: 32px 20px 20px; }
}
@media (max-width: 760px) {
  .hub-more-grid { grid-template-columns: 1fr; }
  .hub-ctrl select { min-width: 0; width: 100%; } .hub-ctrl, .hub-ctrl label { width: 100%; }
}
.near-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.near-list a { font-weight: 600; }
.hub-map-col .map-key { left: 12px; right: auto; bottom: 26px; }
.hc-meta li.hc-reach b { color: #6dff8a; }
/* Hub hero: copy on the left, what a hunter wants first on the right, so the map starts higher */
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 20px 48px; align-items: center; }
.hub-hero .hub-title { font-size: clamp(2.3rem, 4.4vw, 3.7rem); margin-bottom: 12px; max-width: none; }
.hub-glance { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.hub-glance .kicker { margin: 0 0 8px; }
.hg-list, .hg-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hg-list a { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 12px; padding: 6px 10px; margin: 0 -10px; border-radius: 10px; color: var(--text); text-decoration: none; }
.hg-list a:hover { background: var(--bg2); color: var(--text); }
.hg-list b { font: 800 1.2rem/1.05 var(--display); text-transform: uppercase; }
.hg-list span { font-weight: 600; font-size: .92rem; }
.hg-list em { grid-column: 1 / -1; font-style: normal; color: var(--muted); font-size: .85rem; }
.hg-stats li { color: var(--muted); font-size: .95rem; } .hg-stats b { font: 800 1.9rem/1.1 var(--display); color: var(--fresh); margin-right: 6px; }
.hg-go { margin: 6px 0 0; font-weight: 700; }
@media (max-width: 960px) { .hub-hero-grid { grid-template-columns: 1fr; } }
