/* UK golf map concept (page-golf-uk.php). Brand tokens come from style.css. */
.golf-hero { padding: 34px 0 22px; }
.golf-hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; }
.golf-hero h1 { margin: 6px 0 0; font-family: Georgia, serif; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: -.035em; }
.golf-hero h1 span { color: #1f7a3d; }
.golf-lead { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.55; }

.golf-app {
  display: grid; grid-template-columns: 380px 1fr;
  height: min(78vh, 860px); min-height: 560px;
  margin: 0 auto; width: min(100% - 28px, 1400px);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: var(--white); box-shadow: var(--shadow);
}
.golf-panel { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: var(--white); }
.golf-map-wrap { position: relative; min-height: 0; }
.golf-map { position: absolute; inset: 0; }

.golf-search { position: relative; display: flex; gap: 8px; padding: 16px 16px 10px; }
.golf-search input {
  flex: 1; min-width: 0; height: 46px; padding: 0 16px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink);
}
.golf-search input:focus { outline: 2px solid #1f7a3d; outline-offset: 1px; background: var(--white); }
.golf-locate {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink);
}
.golf-locate svg { width: 20px; height: 20px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; }
.golf-locate svg circle:last-child { fill: none; }
.golf-locate:hover { border-color: #1f7a3d; color: #1f7a3d; }
.golf-suggest {
  position: absolute; z-index: 5; top: 60px; left: 16px; right: 16px; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(8, 12, 16, .14);
}
.golf-suggest button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 8px 10px; text-align: left; font: inherit; border: 0; border-radius: 10px; background: none; cursor: pointer; color: var(--ink); }
.golf-suggest button:hover, .golf-suggest button:focus-visible { background: var(--paper); }
.golf-suggest small { display: block; color: var(--ink-soft); font-size: 12px; }
.golf-suggest-place { color: var(--orange-deep) !important; font-weight: 600; font-size: 14px; }

.golf-layers { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 16px 12px; border-bottom: 1px solid var(--line); }
.golf-chip {
  display: flex; align-items: center; gap: 7px; padding: 6px 9px 6px 6px; font: inherit; font-size: 13px; text-align: left;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer;
}
.golf-chip b { margin-left: auto; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.golf-chip em { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.golf-chip[aria-pressed="false"] { opacity: .45; }
.golf-chip[aria-pressed="false"] .golf-chip-ico { background: #9aa3ab; }
.golf-chip-ico, .golf-dot { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c); }
.golf-chip-ico svg, .golf-dot svg { width: 16px; height: 16px; }
.golf-dot { width: 30px; height: 30px; }
.golf-dot svg { width: 19px; height: 19px; }

.golf-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 16px 20px; }
.golf-intro h2, .golf-course h2 { margin: 0; font-family: Georgia, serif; font-size: 23px; line-height: 1.15; }
.golf-intro p, .golf-course p { margin: 6px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.golf-loading, .golf-more { color: var(--ink-soft); font-size: 13px; }
.golf-list { list-style: none; margin: 12px 0 0; padding: 0; }
.golf-list li + li { border-top: 1px solid var(--line); }
.golf-list button {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 4px; text-align: left;
  font: inherit; border: 0; background: none; color: var(--ink); cursor: pointer;
}
.golf-list button:hover strong { color: #1f7a3d; }
.golf-list .golf-txt { min-width: 0; flex: 1; }
.golf-list strong { display: block; font-size: 14.5px; line-height: 1.3; }
.golf-list small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 12.5px; line-height: 1.35; }
.golf-list em { flex: none; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.golf-empty { padding: 14px 4px; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }

.golf-back { padding: 0; margin-bottom: 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--orange-deep); background: none; border: 0; cursor: pointer; }
.golf-course { display: flex; gap: 12px; align-items: flex-start; }
.golf-course .golf-dot { width: 40px; height: 40px; margin-top: 2px; }
.golf-course .golf-dot svg { width: 25px; height: 25px; }
.golf-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.golf-btn {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; text-decoration: none; background: #1f7a3d; color: #fff; border: 1px solid #1f7a3d;
}
.golf-btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.golf-btn:hover { filter: brightness(1.08); }
.golf-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--paper); }
.golf-tabs button {
  padding: 8px 4px; font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.2;
  border: 0; border-radius: 10px; background: none; color: var(--ink-soft); cursor: pointer;
}
.golf-tabs button b { display: block; font-size: 18px; color: var(--c); }
.golf-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(8, 12, 16, .08); }

.golf-pop small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.golf-pop strong { display: block; margin: 3px 0 4px; font-size: 15px; line-height: 1.25; }
.golf-pop p { margin: 0 0 6px; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.golf-pop .golf-pop-dist { font-weight: 600; color: var(--ink); }
.golf-pop a { font-size: 13px; font-weight: 600; color: var(--orange-deep); }
.golf-app .maplibregl-popup-content { padding: 12px 14px; border-radius: 14px; box-shadow: 0 14px 34px rgba(8, 12, 16, .18); font-family: inherit; }

.golf-credit { margin-top: 14px; margin-bottom: 40px; font-size: 12.5px; color: var(--ink-soft); }
.golf-credit a { color: inherit; }

@media (max-width: 860px) {
  .golf-hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .golf-app { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; min-height: 0; width: calc(100% - 32px); }
  .golf-map-wrap { order: -1; height: 62vh; min-height: 380px; scroll-margin-top: 12px; }
  .golf-panel { border-right: 0; border-top: 1px solid var(--line); }
  .golf-body { max-height: none; overflow: visible; }
}
