.course-map { margin: 0 0 2rem; color: #194c3c; }
.course-map__toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:12px max(16px, calc((100% - 1140px) / 2)); background:#f3f7f4; }
.course-map__hint { margin:0; font-size:14px; }
.course-map__controls { display:flex; align-items:center; gap:8px; }
.course-map button { font:inherit; cursor:pointer; touch-action:manipulation; }
.course-map__controls button, .course-map__close { border:1px solid #46705e; border-radius:5px; background:#fff; color:#194c3c; padding:6px 12px; min-height:40px; }
.course-map button:focus-visible { outline:3px solid #e8a82b; outline-offset:3px; }
.course-map button:disabled { opacity:.35; cursor:default; }
.course-map__viewport { position:relative; overflow:hidden; width:100%; aspect-ratio:3000 / 1321; background:#fff; touch-action:pan-y; }
.course-map__viewport.is-zoomed { cursor:grab; touch-action:none; }
.course-map__viewport.is-dragging { cursor:grabbing; }
.course-map__world { position:absolute; top:0; left:0; transform-origin:0 0; pointer-events:none; will-change:transform; }
.course-map__image { display:block; width:100%; height:auto; max-width:none; user-select:none; -webkit-user-drag:none; }
.course-map__hotspots { position:absolute; inset:0; pointer-events:none; }
.course-map__hole { position:absolute; width:36px; height:36px; padding:0; border:3px solid transparent; border-radius:50%; background:transparent; box-shadow:none; transform:translate(-50%,-50%) scale(var(--course-map-zoom, 1)); pointer-events:auto; -webkit-tap-highlight-color:rgba(210,30,45,.3); transition:background .15s,border-color .15s,box-shadow .15s; }
@media (hover:hover) and (pointer:fine) {
  .course-map__hole:hover { border-color:#d21e2d; background:rgba(210,30,45,.25); }
}
.course-map__hole:active { border-color:#d21e2d; background:rgba(210,30,45,.4); }
.course-map .course-map__hole:focus-visible, .course-map__hole[aria-pressed="true"] { border-color:#d21e2d; background:rgba(210,30,45,.25); box-shadow:none; }
.course-map .course-map__hole:focus-visible { outline:2px solid #780e19; outline-offset:3px; }
.course-map__arrow { display:flex; align-items:center; justify-content:center; padding:0; position:absolute; top:50%; transform:translateY(-50%); z-index:2; border:0; border-radius:50%; width:48px; height:48px; color:#fff; background:rgba(18,77,55,.9); box-shadow:0 2px 8px #0003; line-height:1; }
.course-map__arrow svg { display:block; flex:none; width:24px; height:24px; pointer-events:none; }
.course-map__arrow--prev { left:12px; }
.course-map__arrow--next { right:12px; }
.course-map__paging { display:flex; justify-content:center; align-items:center; gap:12px; padding:12px; }
.course-map__dot { border:1px solid #194c3c; width:12px; height:12px; border-radius:50%; background:#fff; padding:0; }
.course-map__dot[aria-current="true"] { background:#194c3c; }
.course-map__info { position:absolute; z-index:3; left:50%; bottom:20px; transform:translateX(-50%); width:max-content; max-width:calc(100% - 32px); border:1px solid #c9d8cf; border-radius:10px; box-shadow:0 4px 20px #0003; cursor:default; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px 24px; padding:16px; margin:0; background:rgba(243,247,244,.96); }
.course-map__info[hidden] { display:none; }
.course-map__info span, .course-map__info strong { white-space:nowrap; }
.course-map__info strong { font-size:20px; }
@media (max-width:767px) {
  .course-map__viewport { aspect-ratio:1700 / 1321; }
  .course-map__info { bottom:12px; width:calc(100% - 24px); max-width:360px; padding:12px; gap:8px 14px; font-size:14px; }
  .course-map__info strong { font-size:18px; }
  .course-map__info .course-map__close { width:100%; min-height:36px; }
  .course-map__toolbar { justify-content:center; gap:8px; padding:12px; }
  .course-map__hint { width:100%; text-align:center; font-size:12px; }
  .course-map__arrow { width:40px; height:40px; }
  .course-map__arrow--prev { left:6px; }
  .course-map__arrow--next { right:6px; }
  .course-map__hole { width:30px; height:30px; }
}
@media (prefers-reduced-motion:no-preference) {
  .course-map__viewport.is-animating .course-map__world { transition:transform .35s ease; }
  .course-map__viewport.is-animating .course-map__hole { transition:left .35s ease,top .35s ease,transform .35s ease; }
}

/* Hole detail navigation */
.course-overview > p { line-height:1.95; color:#394941; }
.course-total { display:flex; align-items:baseline; flex-wrap:wrap; gap:12px 20px; margin:28px 0 44px; padding:20px 24px; border-left:4px solid #b79b51; background:#f3f6f3; color:#194c3c; }
.course-total__label { font-size:12px; font-weight:700; letter-spacing:.16em; }
.course-total__yards { font-size:30px; line-height:1.2; font-variant-numeric:tabular-nums; }
.course-total__yards span { font-size:15px; font-weight:400; }
.course-total__par { font-size:16px; }
.course-total__par strong { font-size:22px; }
.hole-directory { margin-bottom:44px; color:#194c3c; }
.hole-directory__heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:28px; }
.hole-directory__heading h4 { margin:0; font-size:20px; font-weight:700; line-height:1.6; }
.hole-directory a { text-decoration:none; }
.hole-directory__overview { display:inline-flex; justify-content:center; align-items:center; flex:none; min-width:72px; min-height:40px; padding:8px 16px; border:1px solid #194c3c; border-radius:24px; background:#194c3c; color:#fff; font-size:14px; }
.hole-directory__overview:hover { background:#11372b; color:#fff; }
.hole-directory a:focus-visible { outline:3px solid #b79b51; outline-offset:4px; }
.hole-group + .hole-group { margin-top:32px; }
.hole-group__heading { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:8px 16px; padding-bottom:12px; margin-bottom:14px; border-bottom:1px solid #cad7ce; }
.hole-group__heading h5 { margin:0; font-size:19px; font-weight:700; letter-spacing:.03em; }
.hole-group__heading p { margin:0; color:#425d50; font-size:15px; font-variant-numeric:tabular-nums; }
.hole-group__heading p span { color:#6b7c72; margin-left:8px; }
.hole-grid { display:grid; grid-template-columns:repeat(9,minmax(0,1fr)); gap:10px; list-style:none; margin:0; padding:0; }
.hole-grid li { min-width:0; }
.hole-card { display:flex; flex-direction:column; height:100%; padding:14px 12px; border:1px solid #d9e2db; border-radius:8px; color:#194c3c; background:#fff; transition:background .16s,border-color .16s,box-shadow .16s; }
.hole-card__top { display:flex; align-items:center; justify-content:space-between; gap:4px; color:#728277; font-size:9px; font-weight:700; letter-spacing:.12em; }
.hole-card__top svg { flex:none; color:#49715c; }
.hole-card__number { display:block; font-size:32px; line-height:1.3; font-weight:700; margin:6px 0 12px; font-variant-numeric:tabular-nums; }
.hole-card__yards { display:block; white-space:nowrap; font-size:10px; color:#63756a; }
.hole-card__yards strong { font-size:18px; font-weight:600; color:#294e3b; font-variant-numeric:tabular-nums; }
.hole-card__par { display:block; margin-top:6px; font-size:12px; color:#63756a; }
.hole-card__par strong { color:#294e3b; font-weight:600; }
.hole-card:hover, .hole-card:focus-visible { color:#194c3c; border-color:#527c63; background:#f0f6f1; box-shadow:0 3px 10px #194c3c12; }
.hole-card:active { background:#e1ede3; }
@media (min-width:768px) and (max-width:1199px) {
  .hole-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
  .hole-card { display:grid; grid-template-columns:1fr 1fr; column-gap:16px; padding:14px 18px; }
  .hole-card__top { grid-column:1 / -1; }
  .hole-card__number { grid-column:1; grid-row:2 / 4; margin:4px 0 0; align-self:center; }
  .hole-card__yards { grid-column:2; margin-top:6px; }
  .hole-card__par { grid-column:2; }
}
@media (max-width:767px) {
  .course-overview > p { font-size:14px; line-height:1.9; }
  .course-total { padding:16px; gap:8px 12px; margin:24px 0 32px; }
  .course-total__label { font-size:10px; }
  .course-total__yards { font-size:26px; }
  .course-total__yards span { font-size:12px; }
  .course-total__par { font-size:13px; }
  .course-total__par strong { font-size:18px; }
  .hole-directory__heading { gap:12px; margin-bottom:22px; align-items:flex-start; }
  .hole-directory__heading h4 { font-size:17px; }
  .hole-directory__overview { min-width:60px; padding:8px 12px; font-size:12px; }
  .hole-group__heading { gap:6px; }
  .hole-group__heading h5 { font-size:17px; }
  .hole-group__heading p { font-size:12px; }
  .hole-group__heading p span { margin-left:4px; }
  .hole-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .hole-card { padding:12px; }
  .hole-card__number { font-size:28px; margin:4px 0 8px; }
  .hole-card__yards strong { font-size:18px; }
  .hole-group + .hole-group { margin-top:28px; }
}
@media (prefers-reduced-motion:reduce) { .hole-card { transition:none; } }

/* Shared hole detail pages */
.course-detail__summary { margin-top:12px; margin-bottom:24px; }
.course-detail .course-detail__video { height:auto; padding-bottom:0; aspect-ratio:16 / 9; border-radius:10px; background:#f0f4f1; margin-bottom:0; }
.course-detail__video-note { margin:10px 0 24px; color:#6a756e; line-height:1.65; }
.course-detail__video-note small { font-size:12px; }
.course-detail > p:not(.course-detail__video-note) { line-height:1.95; color:#394941; margin-bottom:36px; }
.course-detail .hole-directory { padding-top:28px; border-top:1px solid #d9e2db; margin-bottom:0; }
.hole-card[aria-current="page"], .hole-card[aria-current="page"]:hover { color:#fff; background:#194c3c; border-color:#194c3c; box-shadow:inset 0 3px #b79b51; }
.hole-card[aria-current="page"] .hole-card__number, .hole-card[aria-current="page"] strong { color:#fff; }
.hole-card[aria-current="page"] .hole-card__top, .hole-card[aria-current="page"] .hole-card__yards, .hole-card[aria-current="page"] .hole-card__par { color:#d3e0d7; }
.hole-card__current { letter-spacing:0; color:#e4d3a0; font-weight:500; }
@media (max-width:767px) {
  .course-detail__summary { margin:8px 0 20px; }
  .course-detail__video-note { margin:8px 0 20px; }
  .course-detail > p:not(.course-detail__video-note) { font-size:14px; line-height:1.9; margin-bottom:28px; }
  .course-detail .hole-directory { padding-top:24px; }
}
