body.signature-route-events .events-club-map {
  position: relative;
  overflow: hidden;
  margin-top: clamp(3.5rem, 7vw, 7rem);
  color: #f8f2e7;
  background: #061e28;
  border: 1px solid rgba(202, 165, 93, 0.5);
  box-shadow: 0 2.4rem 6rem rgba(4, 22, 29, 0.24);
}

body.signature-route-events .events-club-map::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 10rem;
  height: 3px;
  background: #d1aa61;
}

.events-club-map__header {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(26rem, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding: clamp(2.2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 100% 0, rgba(209, 170, 97, 0.11), transparent 31rem),
    #061e28;
}

body.signature-route-events .events-club-map .reference-kicker {
  margin: 0 0 1.2rem;
  color: #d1aa61;
}

body.signature-route-events .events-club-map__header h3 {
  max-width: 14ch;
  margin: 0;
  color: #fffaf0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.6rem, 4.5vw, 5.1rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

body.signature-route-events .events-club-map__header > div > p:last-child {
  max-width: 42rem;
  margin: 1.45rem 0 0;
  color: rgba(248, 242, 231, 0.7);
  font-size: 0.96rem;
  line-height: 1.72;
}

.events-club-map__header dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.events-club-map__header dl div {
  min-width: 0;
  padding: 1.35rem 1rem 1.35rem 0;
}

.events-club-map__header dl div + div {
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.events-club-map__header dt {
  color: #d1aa61;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.75rem, 2.6vw, 2.75rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.events-club-map__header dd {
  margin: 0.55rem 0 0;
  color: rgba(248, 242, 231, 0.58);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.events-club-map__frame {
  position: relative;
  height: clamp(32rem, 52vw, 46rem);
  min-height: 32rem;
  overflow: hidden;
  border-top: 1px solid rgba(202, 165, 93, 0.35);
  background: #061821;
}

.events-club-map__frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), inset 0 3rem 6rem rgba(3, 19, 26, 0.22);
}

.events-club-map__canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: saturate(0.72) contrast(1.08);
  transition: opacity 500ms ease;
}

.events-club-map__canvas.is-ready {
  opacity: 1;
}

body.signature-route-events .events-club-map__status {
  position: absolute;
  z-index: 5;
  top: 1.25rem;
  left: 1.25rem;
  margin: 0;
  padding: 0.72rem 0.9rem;
  color: rgba(255, 250, 240, 0.82);
  background: rgba(4, 27, 36, 0.88);
  border: 1px solid rgba(209, 170, 97, 0.35);
  backdrop-filter: blur(12px);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.signature-route-events .events-club-map__status.is-ready {
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease 900ms;
}

.events-club-map__legend {
  position: absolute;
  z-index: 5;
  bottom: 1.25rem;
  left: 1.25rem;
  display: grid;
  gap: 0.35rem;
  max-width: calc(100% - 2.5rem);
  padding: 0.9rem 1rem;
  color: #fffaf0;
  background: rgba(4, 27, 36, 0.9);
  border: 1px solid rgba(209, 170, 97, 0.35);
  backdrop-filter: blur(14px);
}

.events-club-map__legend span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.events-club-map__legend i {
  width: 0.55rem;
  height: 0.55rem;
  background: #d1aa61;
  border: 2px solid #fff0c7;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(209, 170, 97, 0.15);
}

.events-club-map__legend small {
  color: rgba(248, 242, 231, 0.55);
  font-size: 0.63rem;
}

body.signature-route-events .events-club-map__fallback {
  position: absolute;
  z-index: 6;
  inset: 50% auto auto 50%;
  width: min(30rem, calc(100% - 3rem));
  margin: 0;
  color: #fffaf0;
  text-align: center;
  transform: translate(-50%, -50%);
}

.events-club-map .maplibregl-ctrl-group {
  overflow: hidden;
  background: rgba(4, 27, 36, 0.9);
  border: 1px solid rgba(209, 170, 97, 0.38);
  border-radius: 0;
  box-shadow: none;
}

.events-club-map .maplibregl-ctrl-group button {
  filter: invert(92%) sepia(31%) saturate(448%) hue-rotate(349deg) brightness(104%);
}

.events-club-map .maplibregl-ctrl-attrib {
  color: rgba(255, 250, 240, 0.68);
  background: rgba(4, 27, 36, 0.82);
}

.events-club-map .maplibregl-ctrl-attrib a {
  color: #d7bc83;
}

.events-club-map .maplibregl-popup-content {
  min-width: 13rem;
  padding: 1.05rem 1.15rem;
  color: #fffaf0;
  background: #061e28;
  border: 1px solid rgba(209, 170, 97, 0.6);
  border-radius: 0;
  box-shadow: 0 1.25rem 3rem rgba(2, 15, 21, 0.35);
}

.events-club-map .maplibregl-popup-tip {
  border-top-color: #061e28;
  border-bottom-color: #061e28;
}

.events-club-map .maplibregl-popup-close-button {
  color: #d1aa61;
  font-size: 1.15rem;
}

.events-club-map__popup {
  display: grid;
  gap: 0.4rem;
  padding-right: 0.75rem;
}

.events-club-map__popup strong {
  color: #fffaf0;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.1;
}

.events-club-map__popup span {
  color: #d1aa61;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .events-club-map__header { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 620px) {
  .events-club-map__header { padding: 2rem 1.35rem; }
  .events-club-map__header dl { grid-template-columns: 1fr; }
  .events-club-map__header dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; }
  .events-club-map__header dl div + div { padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); border-left: 0; }
  .events-club-map__header dd { text-align: right; }
  .events-club-map__frame { min-height: 29rem; height: 70vh; max-height: 38rem; }
  .events-club-map__legend { right: 0.85rem; bottom: 0.85rem; left: 0.85rem; }
  body.signature-route-events .events-club-map__status { top: 0.85rem; left: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .events-club-map__canvas,
  body.signature-route-events .events-club-map__status { transition: none; }
}

/* EWNS MAP FEEDBACK V3 */
.events-club-map #ewns-club-map { min-height: 690px; isolation: isolate; }
.ewns-map-interface { position: absolute; inset: 0; z-index: 4; pointer-events: none; font-family: inherit; }
.ewns-map-toolbar { position: sticky; z-index: 3; top: 162px; margin: 22px; display: grid; grid-template-columns: minmax(210px, .75fr) minmax(420px, 1.65fr) auto; align-items: center; gap: 18px; min-height: 76px; padding: 12px 14px 12px 20px; color: #fffaf0; background: linear-gradient(112deg, rgba(4, 25, 34, .94), rgba(5, 31, 42, .86)); border: 1px solid rgba(216, 174, 92, .35); box-shadow: 0 22px 55px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .05); backdrop-filter: blur(18px) saturate(120%); pointer-events: auto; }
.ewns-map-toolbar { grid-template-columns: 230px minmax(0, 1fr) auto; background: linear-gradient(112deg, #041923 0%, #082a38 100%); backdrop-filter: none; }
.ewns-map-directory { background: #041923; backdrop-filter: none; }
.ewns-map-record-note, .events-club-map__legend { background: #071f2a !important; backdrop-filter: none !important; }
.ewns-map-toolbar__identity { display: grid; gap: 5px; min-width: 0; }
.ewns-map-toolbar__identity span { color: #d8ae5c; font-size: 10px; font-weight: 700; letter-spacing: .17em; line-height: 1.2; text-transform: uppercase; }
.ewns-map-toolbar__identity strong { color: #fffaf0; font-size: 13px; font-weight: 500; line-height: 1.35; }
.ewns-map-regions { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.ewns-map-regions::-webkit-scrollbar { display: none; }
.ewns-map-regions button, .ewns-map-index-toggle { appearance: none; border: 1px solid transparent; color: rgba(255, 250, 240, .68); background: transparent; font: inherit; cursor: pointer; transition: color .25s ease, border-color .25s ease, background .25s ease; }
.ewns-map-regions button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 8px 10px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ewns-map-regions button b { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; color: #d8ae5c; border: 1px solid rgba(216, 174, 92, .35); border-radius: 999px; font-size: 9px; }
.ewns-map-regions button:hover, .ewns-map-regions button.is-active { color: #fffaf0; background: rgba(216, 174, 92, .11); border-color: rgba(216, 174, 92, .42); }
.ewns-map-index-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; color: #071d27; background: #d8ae5c; border-color: #d8ae5c; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.ewns-map-index-toggle:hover { color: #071d27; background: #ebc979; border-color: #ebc979; }
.ewns-map-index-toggle b { display: grid; place-items: center; min-width: 25px; height: 25px; padding: 0 5px; border: 1px solid rgba(7, 29, 39, .28); border-radius: 999px; font-size: 10px; }
.ewns-map-directory { position: absolute; z-index: 5; top: 118px; right: 22px; bottom: 64px; width: min(370px, calc(100% - 44px)); display: grid; grid-template-rows: auto auto auto 1fr; color: #fffaf0; background: rgba(4, 25, 34, .97); border: 1px solid rgba(216, 174, 92, .42); box-shadow: 0 26px 70px rgba(0, 0, 0, .46); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease; pointer-events: auto; }
.ewns-map-directory.is-open { opacity: 1; visibility: visible; transform: translateX(0); }
.ewns-map-directory__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 20px 17px; border-bottom: 1px solid rgba(216, 174, 92, .2); }
.ewns-map-directory__header div { display: grid; gap: 5px; }
.ewns-map-directory__header span { color: #d8ae5c; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ewns-map-directory__header strong { color: #fffaf0; font-family: Newsreader, Georgia, serif; font-size: 22px; font-weight: 500; }
.ewns-map-directory__close { border: 0; padding: 8px; color: rgba(255, 250, 240, .72); background: transparent; font: 700 9px/1 inherit; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.ewns-map-search { display: block; padding: 16px 20px 10px; }
.ewns-map-search input { width: 100%; height: 44px; padding: 0 14px; color: #fffaf0; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .14); border-radius: 0; outline: 0; font: 500 12px/1 inherit; }
.ewns-map-search input:focus { border-color: #d8ae5c; box-shadow: 0 0 0 2px rgba(216, 174, 92, .12); }
.ewns-map-search input::placeholder { color: rgba(255, 250, 240, .42); }
.ewns-map-directory__count { margin: 0; padding: 0 20px 12px; color: rgba(255, 250, 240, .5); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.ewns-map-club-list { overflow-y: auto; padding: 0 10px 14px; scrollbar-color: rgba(216, 174, 92, .55) transparent; }
.ewns-map-club-list button { width: 100%; display: grid; gap: 5px; padding: 13px 11px; color: #fffaf0; background: transparent; border: 0; border-top: 1px solid rgba(255, 255, 255, .075); text-align: left; cursor: pointer; }
.ewns-map-club-list button:hover { background: rgba(216, 174, 92, .09); }
.ewns-map-club-list span { font-size: 12px; font-weight: 650; letter-spacing: .015em; }
.ewns-map-club-list small { color: rgba(255, 250, 240, .52); font-size: 10px; }
.ewns-map-record-note { position: absolute; z-index: 2; left: 22px; bottom: 20px; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 190px); padding: 10px 13px; color: rgba(255, 250, 240, .72); background: rgba(4, 25, 34, .8); border: 1px solid rgba(255, 255, 255, .11); backdrop-filter: blur(12px); font-size: 10px; letter-spacing: .035em; pointer-events: auto; }
.ewns-map-record-note i { flex: 0 0 auto; width: 8px; height: 8px; background: #d8ae5c; border: 1px solid #fff8e8; border-radius: 50%; box-shadow: 0 0 0 5px rgba(216, 174, 92, .14); }
.ewns-map-record-note small { margin-left: auto; white-space: nowrap; color: rgba(255, 250, 240, .38); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.ewns-map-record-note a { color: inherit; text-decoration: none; }
.ewns-map-record-note a:hover { color: #d8ae5c; }
.events-club-map .maplibregl-popup-content { padding: 0; color: #fffaf0; background: #071f2a; border: 1px solid rgba(216, 174, 92, .5); border-radius: 0; box-shadow: 0 22px 55px rgba(0, 0, 0, .4); }
.events-club-map .maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: #071f2a; }
.events-club-map .maplibregl-popup-anchor-top .maplibregl-popup-tip { border-bottom-color: #071f2a; }
.events-club-map .maplibregl-popup-close-button { top: 6px; right: 7px; color: rgba(255, 250, 240, .65); font-size: 20px; }
.ewns-map-popup-card { min-width: 240px; padding: 20px 22px 18px; }
.ewns-map-popup-card > span { display: block; margin-bottom: 9px; color: #d8ae5c; font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ewns-map-popup-card h4 { margin: 0 24px 7px 0; color: #fffaf0; font-family: Newsreader, Georgia, serif; font-size: 23px; font-weight: 500; line-height: 1.05; }
.ewns-map-popup-card p { margin: 0 0 12px; color: rgba(255, 250, 240, .68); font-size: 12px; }
.ewns-map-popup-card small { color: rgba(255, 250, 240, .42); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.events-club-map .maplibregl-ctrl-bottom-left { bottom: 54px; left: 12px; }
.events-club-map .maplibregl-ctrl-bottom-right { bottom: 6px; }
.events-club-map .maplibregl-ctrl-group { overflow: hidden; background: rgba(4, 25, 34, .88); border: 1px solid rgba(216, 174, 92, .3); border-radius: 0; box-shadow: none; }
.events-club-map .maplibregl-ctrl-group button { filter: invert(87%) sepia(34%) saturate(725%) hue-rotate(354deg) brightness(92%); }

@media (max-width: 1060px) {
  .ewns-map-toolbar { grid-template-columns: 1fr auto; }
  .ewns-map-toolbar__identity { display: none; }
  .ewns-map-regions { min-width: 0; }
}

@media (max-width: 720px) {
  .events-club-map #ewns-club-map { min-height: 650px; }
  .ewns-map-toolbar { top: 96px; margin: 12px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; min-height: 62px; padding: 8px; }
  .ewns-map-regions button { min-height: 38px; padding: 7px 9px; font-size: 9px; }
  .ewns-map-regions button b { display: none; }
  .ewns-map-index-toggle { min-height: 42px; padding: 0 11px; }
  .ewns-map-index-toggle span { display: none; }
  .ewns-map-directory { top: 84px; right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .ewns-map-record-note { left: 12px; bottom: 12px; max-width: calc(100% - 112px); font-size: 9px; }
  .events-club-map .maplibregl-ctrl-bottom-left { bottom: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .ewns-map-directory, .ewns-map-regions button, .ewns-map-index-toggle { transition: none; }
}

/* EWNS EVENT METRIC LINE CORRECTION V1 START */
@media (min-width: 621px) {
  .events-club-map__header dl {
    grid-template-columns: minmax(0, .85fr) minmax(0, .85fr) minmax(10.5rem, 1.3fr);
  }

  .events-club-map__header dl div:last-child {
    padding-right: 0;
  }

  .events-club-map__header dl div:last-child dt {
    white-space: nowrap;
    font-size: clamp(1.65rem, 2.25vw, 2.45rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.025em;
  }
}
/* EWNS EVENT METRIC LINE CORRECTION V1 END */

/* EWNS MAP TOOLBAR TOP ALIGNMENT V1 START */
.ewns-map-toolbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: 0;
}
/* EWNS MAP TOOLBAR TOP ALIGNMENT V1 END */


/* EWNS conducted-event map compact desktop composition V12 - 2026-08-07 */
.events-club-map__status.is-ready {
  display: none !important;
}

@media (min-width: 900px) {
  html[lang="en"] body.signature-route-events .events-club-map__header {
    padding: 48px 56px !important;
  }

  html[lang="en"] body.signature-route-events .events-club-map__frame {
    height: 540px !important;
    min-height: 540px !important;
    overflow: hidden !important;
  }

  html[lang="en"] body.signature-route-events #ewns-club-map,
  html[lang="en"] body.signature-route-events .events-club-map__canvas {
    height: 540px !important;
    min-height: 540px !important;
  }
}

@media (min-width: 1700px) {
  html[lang="en"] body.signature-route-events .events-club-map__frame,
  html[lang="en"] body.signature-route-events #ewns-club-map,
  html[lang="en"] body.signature-route-events .events-club-map__canvas {
    height: 560px !important;
    min-height: 560px !important;
  }
}
/* EWNS FIX BRIEF 2026-08-08: MOBILE REGION FILTERS */
@media (max-width: 720px) {
  html[lang="en"] .ewns-map-regions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    overflow: visible !important;
    gap: 6px !important;
  }

  html[lang="en"] .ewns-map-regions button {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
  }
}