.rk-hero { background: var(--navy); padding: 8rem 0 3.5rem; }
.rk-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin: 0 0 .75rem; }
.rk-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: #fff; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1rem; }
.rk-hero p { color: rgba(255,255,255,.65); font-size: 1.05rem; line-height: 1.7; max-width: 620px; margin: 0; }
.rk-body { background: var(--off); padding: 3rem 0 5rem; }
.rk-list { list-style: none; margin: 0; padding: 0; counter-reset: rk; }
.rk-item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-bottom: .75rem; counter-increment: rk; }
.rk-item::before { content: counter(rk); font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; color: var(--blue); min-width: 2rem; }
.rk-name { font-weight: 700; color: var(--navy); margin: 0; }
.rk-name a { color: inherit; text-decoration: none; }
.rk-name a:hover { text-decoration: underline; }
.rk-meta { font-size: .85rem; color: var(--slate); margin: .15rem 0 0; }
.rk-stars { color: #b45309; font-weight: 700; }
.rk-new { display: inline-block; margin-top: .4rem; font-size: .78rem; font-weight: 700; color: var(--blue); text-decoration: none; }
.rk-cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.75rem; margin-top: 2rem; }
.rk-cta h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin: 0 0 .5rem; color: #fff; }
.rk-cta p { color: rgba(255,255,255,.7); margin: 0 0 1rem; }
.rk-cta a.btn-rk { display: inline-block; background: var(--cyan); color: var(--navy); font-weight: 800; padding: .65rem 1.25rem; border-radius: 8px; text-decoration: none; }
.rk-grid { display: grid; gap: .5rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); list-style: none; padding: 0; margin: 0 0 2rem; }
.rk-grid a { color: var(--blue); text-decoration: none; }
.rk-grid a:hover { text-decoration: underline; }
.rk-grid span { color: var(--slate); font-size: .85rem; }
.rk-town h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 2rem 0 .75rem; }
.rk-stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 2.5rem; }
.rk-stat { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 1.25rem; }
.rk-stat b { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--navy); line-height: 1; }
.rk-stat span { font-size: .85rem; color: var(--slate); }
.rk-table { width: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: .92rem; }
.rk-table th, .rk-table td { padding: .6rem .9rem; border-bottom: 1px solid #eef2f7; text-align: right; }
.rk-table th:first-child, .rk-table td:first-child { text-align: left; }
.rk-table th { background: #f8fafc; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.rk-note { font-size: .82rem; color: var(--slate); margin-top: 1.25rem; }
.ba { margin-top: .6rem; }
.ba-tabs { display: inline-flex; border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; }
.ba-tabs button { border: 0; background: #fff; padding: .3rem .8rem; font-size: .8rem; font-weight: 700; color: var(--slate); cursor: pointer; }
.ba-tabs button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.ba img { display: block; width: 100%; max-width: 420px; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border: 1px solid #e2e8f0; border-radius: 8px; margin-top: .5rem; background: #f1f5f9; }
.ba-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .4rem; font-size: .82rem; font-weight: 700; }
.ba-links a { color: var(--blue); text-decoration: none; }
.nr-form { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1.5rem; align-items: end; }
.nr-form label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: .25rem; }
.nr-form input[type=text], .nr-form select { width: 100%; padding: .55rem .7rem; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem; }
.nr-check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--navy); }
.nr-msg { color: var(--slate); margin: 0 0 1rem; }
.nr-dist { white-space: nowrap; }
.nr-form { align-items: end; }
.nr-form > div { min-width: 0; }
.nr-go { width: 100%; background: var(--blue); color: #fff; border: 0; border-radius: 8px; padding: .65rem 1rem; font-size: 1rem; font-weight: 800; cursor: pointer; }
.nr-go:hover { filter: brightness(1.1); }
.nr-check { padding-bottom: .6rem; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .7rem; max-width: 640px; }
.ba-shot { margin: 0; }
.ba-shot a { display: block; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; background: #f1f5f9; transition: box-shadow .15s, transform .15s; }
.ba-shot a[href]:hover { box-shadow: 0 6px 18px rgba(15,23,42,.15); transform: translateY(-2px); }
.ba-shot img { display: block; width: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; }
.ba-shot figcaption { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-top: .35rem; color: var(--slate); }
.ba-shot.after figcaption { color: var(--blue); }
@media (max-width: 480px) { .ba { grid-template-columns: 1fr; } }
/* ── near.html: map + sidebar ── */
.nm-app { display: grid; grid-template-columns: 420px 1fr; height: calc(100vh - 72px); margin-top: 72px; background: #fff; }
.nm-side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #e2e8f0; }
.nm-filters { padding: 1rem; border-bottom: 1px solid #e2e8f0; display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; background: #f8fafc; }
.nm-filters .full { grid-column: 1 / -1; }
.nm-filters label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: .2rem; }
.nm-filters input[type=text], .nm-filters select { width: 100%; padding: .45rem .6rem; border: 1px solid #cbd5e1; border-radius: 8px; font-size: .95rem; background: #fff; }
.nm-checks { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--navy); }
.nm-checks label { display: inline-flex; align-items: center; gap: .35rem; margin: 0; text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 500; color: var(--navy); }
.nm-count { padding: .6rem 1rem; font-size: .85rem; color: var(--slate); border-bottom: 1px solid #eef2f7; }
.nm-list { list-style: none; margin: 0; padding: .75rem; overflow-y: auto; flex: 1; background: var(--off); }
.nm-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: .75rem .9rem; margin-bottom: .6rem; cursor: pointer; }
.nm-card:hover, .nm-card.hl { border-color: var(--blue); box-shadow: 0 4px 14px rgba(37,99,235,.15); }
.nm-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0; }
.nm-card .rk-meta { margin-top: .15rem; }
.nm-card .ba { grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .5rem; }
.nm-card .ba-shot figcaption { font-size: .68rem; }
.nm-map { position: relative; min-height: 0; }
#nmMap { position: absolute; inset: 0; }
.nm-pin { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: .72rem; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.nm-pin.new { background: #d97706; }
.nm-pin.gem { background: #0f766e; }
.nm-pop h3 { font-size: .95rem; font-weight: 800; margin: 0 0 .15rem; }
.nm-pop p { margin: 0 0 .25rem; font-size: .82rem; }
.nm-pop a { font-weight: 700; color: var(--blue); }
.nm-toggle { display: none; }
@media (max-width: 820px) {
  .nm-app { grid-template-columns: 1fr; grid-template-rows: auto 45vh auto; height: auto; }
  .nm-side { display: contents; }
  .nm-filters { order: 1; } .nm-map { order: 2; } .nm-count { order: 3; } .nm-list { order: 4; overflow: visible; }
}
.nm-legend { position: absolute; left: 10px; bottom: 28px; z-index: 500; background: rgba(255,255,255,.95); border-radius: 8px; padding: .4rem .65rem; font-size: .75rem; font-weight: 600; color: var(--navy); display: flex; gap: .8rem; box-shadow: 0 1px 5px rgba(0,0,0,.25); }
.nm-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.nm-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); display: inline-block; }
.nm-dot.gem { background: #0f766e; } .nm-dot.new { background: #d97706; }
.nm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.rk-ext { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border: 1px solid #cbd5e1; border-radius: 7px; color: var(--blue); background: #fff; font-size: .85rem; text-decoration: none; vertical-align: middle; }
.rk-ext:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.rk-name .rk-ext { margin-left: .4rem; }
