:where(main[data-ep-event], article[data-cq-event-detail]){--event-map-image:url("/assets/events/guide-dashboard-20261126/map.photo");}

:where(main[data-ep-event]:has(.ep-map-venue[href$="-hong-kong/"])){--event-map-image:url("/assets/events/guide-dashboard-20261126/map-hong-kong.photo");}

:where(main[data-ep-event]:has(.ep-map-venue[href$="-macao/"])){--event-map-image:url("/assets/events/guide-dashboard-20261126/map-macao.photo");}

:where(main[data-ep-event]:has(.ep-map-venue[href$="-guangzhou/"])){--event-map-image:url("/assets/events/guide-dashboard-20261126/map-guangzhou.photo");}

main[data-ep-event="kirill-gerstein-liszt-2026"],
article[data-cq-event-detail="kirill-gerstein-liszt-2026"],
main[data-ep-event="accordion-afternoon-tea-2026-09-19"],
article[data-cq-event-detail="accordion-afternoon-tea-2026-09-19"],
main[data-ep-event="chamber-music-vi-string-monologues-2026-10-07"],
article[data-cq-event-detail="chamber-music-vi-string-monologues-2026-10-07"],
main[data-ep-event="shenzhen-piano-season-opening-2026-10-09"],
article[data-cq-event-detail="shenzhen-piano-season-opening-2026-10-09"],
main[data-ep-event="laizhiyin-pop-choral-concert-2026-10-11"],
article[data-cq-event-detail="laizhiyin-pop-choral-concert-2026-10-11"],
main[data-ep-event="singapore-symphony-lintu-chua-2026-10-23"],
article[data-cq-event-detail="singapore-symphony-lintu-chua-2026-10-23"],
main[data-ep-event="fazil-say-piano-recital-2026-10-28"],
article[data-cq-event-detail="fazil-say-piano-recital-2026-10-28"],
main[data-ep-event="shenzhen-symphony-new-world-2026"],
article[data-cq-event-detail="shenzhen-symphony-new-world-2026"],
main[data-ep-event="wuhan-xinghe-choir-2026"],
article[data-cq-event-detail="wuhan-xinghe-choir-2026"],
main[data-ep-event="anna-netrebko-shenzhen-2026"],
article[data-cq-event-detail="anna-netrebko-shenzhen-2026"],
main[data-ep-event="antje-weithaas-bach-2026"],
article[data-cq-event-detail="antje-weithaas-bach-2026"],
main[data-ep-event="krystian-zimerman-recital-2026"],
article[data-cq-event-detail="krystian-zimerman-recital-2026"],
main[data-ep-event="lu-siqing-beethoven-brahms-2026"],
article[data-cq-event-detail="lu-siqing-beethoven-brahms-2026"],
main[data-ep-event="organ-night-shen-duan-2026"],
article[data-cq-event-detail="organ-night-shen-duan-2026"],
main[data-ep-event="shenzhen-symphony-sea-2026"],
article[data-cq-event-detail="shenzhen-symphony-sea-2026"],
main[data-ep-event="patrick-lui-jazz-2026"],
article[data-cq-event-detail="patrick-lui-jazz-2026"],
main[data-ep-event="guangzhou-symphony-mozart-rachmaninoff-2026"],
article[data-cq-event-detail="guangzhou-symphony-mozart-rachmaninoff-2026"],
main[data-ep-event="mozart-three-pianos-2026"],
article[data-cq-event-detail="mozart-three-pianos-2026"],
main[data-ep-event="shenzhen-symphony-bruckner-2026"],
article[data-cq-event-detail="shenzhen-symphony-bruckner-2026"],
main[data-ep-event="jan-lisiecki-recital-2026"],
article[data-cq-event-detail="jan-lisiecki-recital-2026"],
main[data-ep-event="shenzhen-symphony-brandenburg-2026"],
article[data-cq-event-detail="shenzhen-symphony-brandenburg-2026"],
main[data-ep-event="rocking-strauss-new-year-2026"],
article[data-cq-event-detail="rocking-strauss-new-year-2026"],
main[data-ep-event="vienna-waltz-new-year-2026"],
article[data-cq-event-detail="vienna-waltz-new-year-2026"],
main[data-ep-event="italian-philharmonic-new-year-2026"],
article[data-cq-event-detail="italian-philharmonic-new-year-2026"],
main[data-ep-event="northern-melodies-afternoon-piano-2026-11-07"],
article[data-cq-event-detail="northern-melodies-afternoon-piano-2026-11-07"],
main[data-ep-event="piano-double-keyboard-afternoon-2026-11-28"],
article[data-cq-event-detail="piano-double-keyboard-afternoon-2026-11-28"],
main[data-ep-event="wu-huaichen-guqin-2026-11-06"],
article[data-cq-event-detail="wu-huaichen-guqin-2026-11-06"],
main[data-ep-event="khatia-buniatishvili-recital-2026-11-13"],
article[data-cq-event-detail="khatia-buniatishvili-recital-2026-11-13"],
main[data-ep-event="hong-kong-film-symphony-2026-12-19"],
article[data-cq-event-detail="hong-kong-film-symphony-2026-12-19"],
main[data-ep-event="st-petersburg-philharmonic-new-year-2026-12-28"],
article[data-cq-event-detail="st-petersburg-philharmonic-new-year-2026-12-28"],
main[data-ep-event="andras-schiff-staatskapelle-dresden-2027-01-30"],
article[data-cq-event-detail="andras-schiff-staatskapelle-dresden-2027-01-30"]{--event-map-image:url("/assets/events/venue-illustrations-20261129/concert-futian.photo?v=27eeb9055860");}

main[data-ep-event="ccbec-shenzhen-2026"],
article[data-cq-event-detail="ccbec-shenzhen-2026"],
main[data-ep-event="gifts-home-china-autumn-2026"],
article[data-cq-event-detail="gifts-home-china-autumn-2026"],
main[data-ep-event="china-hi-tech-fair-2026"],
article[data-cq-event-detail="china-hi-tech-fair-2026"],
main[data-ep-event="hkpca-electronics-circuit-show-2026"],
article[data-cq-event-detail="hkpca-electronics-circuit-show-2026"]{--event-map-image:url("/assets/events/venue-illustrations-20261129/expo-baoan.photo?v=f63124a1fc7e");}

main[data-ep-event="pan-yuliang-art-2026"],
article[data-cq-event-detail="pan-yuliang-art-2026"],
main[data-ep-event="shenzhen-marathon-2026"],
article[data-cq-event-detail="shenzhen-marathon-2026"],
main[data-ep-event="urban-polyphony-shenzhen-time-2026"],
article[data-cq-event-detail="urban-polyphony-shenzhen-time-2026"],
main[data-ep-event="shenzhen-book-fair-2026"],
article[data-cq-event-detail="shenzhen-book-fair-2026"],
main[data-ep-event="lianhua-mountain-lawn-music-festival-2026"],
article[data-cq-event-detail="lianhua-mountain-lawn-music-festival-2026"],
main[data-ep-event="shenzhen-park-coffee-festival-2026"],
article[data-cq-event-detail="shenzhen-park-coffee-festival-2026"]{--event-map-image:url("/assets/book-fair-illustrated-map.photo?v=c98dc5419c4c");}

main[data-ep-event="fashion-source-shenzhen-autumn-2026"],
article[data-cq-event-detail="fashion-source-shenzhen-autumn-2026"],
main[data-ep-event="shenzhen-international-tourism-expo-2026"],
article[data-cq-event-detail="shenzhen-international-tourism-expo-2026"],
main[data-ep-event="global-tea-fair-shenzhen-autumn-2026"],
article[data-cq-event-detail="global-tea-fair-shenzhen-autumn-2026"],
main[data-ep-event="china-shenzhen-logistics-fair-2026"],
article[data-cq-event-detail="china-shenzhen-logistics-fair-2026"],
main[data-ep-event="shenzhen-charging-energy-battery-expo-2026"],
article[data-cq-event-detail="shenzhen-charging-energy-battery-expo-2026"],
main[data-ep-event="world-rail-transit-expo-shenzhen-2026"],
article[data-cq-event-detail="world-rail-transit-expo-shenzhen-2026"],
main[data-ep-event="shenzhen-nuclear-energy-innovation-expo-2026"],
article[data-cq-event-detail="shenzhen-nuclear-energy-innovation-expo-2026"],
main[data-ep-event="art-shenzhen-2026"],
article[data-cq-event-detail="art-shenzhen-2026"],
main[data-ep-event="hyrox-shenzhen-2026"],
article[data-cq-event-detail="hyrox-shenzhen-2026"]{--event-map-image:url("/assets/events/venue-illustrations-20261129/expo-futian.photo?v=aa8ef44362d3");}

main[data-ep-event="maker-faire-shenzhen-2026"],
article[data-cq-event-detail="maker-faire-shenzhen-2026"],
main[data-ep-event="apec-ceo-summit-2026"],
article[data-cq-event-detail="apec-ceo-summit-2026"],
main[data-ep-event="zhang-boju-pan-su-exhibition-2026"],
article[data-cq-event-detail="zhang-boju-pan-su-exhibition-2026"],
main[data-ep-event="wing-chun-shenzhen-poly-2026-11"],
article[data-cq-event-detail="wing-chun-shenzhen-poly-2026-11"],
main[data-ep-event="martha-argerich-chamber-shenzhen-2026-11-06"],
article[data-cq-event-detail="martha-argerich-chamber-shenzhen-2026-11-06"],
main[data-ep-event="jinyiwei-sword-flower-shenzhen-2026-11"],
article[data-cq-event-detail="jinyiwei-sword-flower-shenzhen-2026-11"],
main[data-ep-event="guyu-keep-your-peace-shenzhen-2026"],
article[data-cq-event-detail="guyu-keep-your-peace-shenzhen-2026"],
main[data-ep-event="prix-pictet-storm-fotografiska-shenzhen-2026"],
article[data-cq-event-detail="prix-pictet-storm-fotografiska-shenzhen-2026"]{--event-map-image:url("/assets/nanshan-planning-map-20261128.photo");}

main[data-ep-event="hong-kong-wine-dine-festival-2026"],
article[data-cq-event-detail="hong-kong-wine-dine-festival-2026"],
main[data-ep-event="hong-kong-tennis-open-2026"],
article[data-cq-event-detail="hong-kong-tennis-open-2026"],
main[data-ep-event="hong-kong-phil-mahler-8-2026-11-07"],
article[data-cq-event-detail="hong-kong-phil-mahler-8-2026-11-07"],
main[data-ep-event="hong-kong-phil-mahler-8-2026-11-08"],
article[data-cq-event-detail="hong-kong-phil-mahler-8-2026-11-08"],
main[data-ep-event="clockenflap-hong-kong-2026"],
article[data-cq-event-detail="clockenflap-hong-kong-2026"],
main[data-ep-event="mplus-design-ah-2026"],
article[data-cq-event-detail="mplus-design-ah-2026"],
main[data-ep-event="hong-kong-phil-nutcracker-2026-12-18"],
article[data-cq-event-detail="hong-kong-phil-nutcracker-2026-12-18"],
main[data-ep-event="hong-kong-phil-nutcracker-2026-12-19"],
article[data-cq-event-detail="hong-kong-phil-nutcracker-2026-12-19"],
main[data-ep-event="hong-kong-winterfest-2026"],
article[data-cq-event-detail="hong-kong-winterfest-2026"]{--event-map-image:url("/assets/events/guide-dashboard-20261126/map-hong-kong.photo");}

main[data-ep-event="macau-grand-prix-2026"],
article[data-cq-event-detail="macau-grand-prix-2026"],
main[data-ep-event="hush-beach-concerts-wellfest-macao-2026"],
article[data-cq-event-detail="hush-beach-concerts-wellfest-macao-2026"],
main[data-ep-event="tap-siac-craft-market-first-weekend-2026"],
article[data-cq-event-detail="tap-siac-craft-market-first-weekend-2026"],
main[data-ep-event="tap-siac-craft-market-second-weekend-2026"],
article[data-cq-event-detail="tap-siac-craft-market-second-weekend-2026"],
main[data-ep-event="stewart-sukuma-macao-chinese-orchestra-2026"],
article[data-cq-event-detail="stewart-sukuma-macao-chinese-orchestra-2026"],
main[data-ep-event="turandot-macao-music-festival-2026-10-31"],
article[data-cq-event-detail="turandot-macao-music-festival-2026-10-31"],
main[data-ep-event="turandot-macao-music-festival-2026-11-01"],
article[data-cq-event-detail="turandot-macao-music-festival-2026-11-01"],
main[data-ep-event="light-up-macao-2026"],
article[data-cq-event-detail="light-up-macao-2026"]{--event-map-image:url("/assets/events/guide-dashboard-20261126/map-macao.photo");}

main[data-ep-event="guangzhou-symphony-subscription-concert-4-2026-11-05"],
article[data-cq-event-detail="guangzhou-symphony-subscription-concert-4-2026-11-05"],
main[data-ep-event="anne-sophie-mutter-royal-philharmonic-guangzhou-2026-11-08"],
article[data-cq-event-detail="anne-sophie-mutter-royal-philharmonic-guangzhou-2026-11-08"],
main[data-ep-event="moulin-rouge-musical-guangzhou-2026"],
article[data-cq-event-detail="moulin-rouge-musical-guangzhou-2026"],
main[data-ep-event="guangzhou-design-week-2026"],
article[data-cq-event-detail="guangzhou-design-week-2026"],
main[data-ep-event="shenzhen-vs-dongguan-guangdong-city-football-final-2026"],
article[data-cq-event-detail="shenzhen-vs-dongguan-guangdong-city-football-final-2026"]{--event-map-image:url("/assets/events/guide-dashboard-20261126/map-guangzhou.photo");}

main[data-ep-event="canton-fair-140-phase-2-2026"],
article[data-cq-event-detail="canton-fair-140-phase-2-2026"],
main[data-ep-event="canton-fair-140-phase-3-2026"],
article[data-cq-event-detail="canton-fair-140-phase-3-2026"],
main[data-ep-event="auto-guangzhou-2026"],
article[data-cq-event-detail="auto-guangzhou-2026"]{--event-map-image:url("/assets/events/venue-illustrations-20261129/expo-guangzhou.photo?v=a71651b7faf3");}

main[data-ep-event="simoa-russian-abstract-art-2026"],
article[data-cq-event-detail="simoa-russian-abstract-art-2026"],
main[data-ep-event="simoa-huang-zhou-2026"],
article[data-cq-event-detail="simoa-huang-zhou-2026"],
main[data-ep-event="shenzhen-art-technology-biennale-2026"],
article[data-cq-event-detail="shenzhen-art-technology-biennale-2026"],
main[data-ep-event="xu-bing-word-playgrounds-2026"],
article[data-cq-event-detail="xu-bing-word-playgrounds-2026"]{--event-map-image:url("/assets/events/venue-illustrations-20261129/cultural-museum-guangming.photo?v=2281662b9889");}

main[data-ep-event="world-skate-vert-open-shenzhen-2026"],
article[data-cq-event-detail="world-skate-vert-open-shenzhen-2026"]{--event-map-image:url("/assets/events/venue-illustrations-20261129/sports-longgang.photo?v=f93606138a1d");}

main[data-ep-event] [data-ep-map] .ep-map-ground {
  --event-map-spacing: clamp(.5rem, 1.1vw, .75rem);
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: .5rem .6rem;
  height: auto;
  min-height: 0;
  padding: var(--event-map-spacing);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(148deg, #f8fcff 20%, #e9f5ff 100%);
  box-shadow: none;
}

main[data-ep-event] [data-ep-map] .ep-map-ground::before,
article[data-cq-event-detail] figure.evv-venue-map[data-event-arrival-map]::before {
  content: '';
  display: block;
  grid-column: 1 / -1;
  aspect-ratio: 2.35;
  min-width: 0;
  border-radius: .62rem;
  background-color: #c5e7f5;
  background-image: var(--event-map-image, none);
  background-size: cover;
  background-position: 50% 51%;
  background-repeat: no-repeat;
}

main[data-ep-event] [data-ep-map] .ep-map-ground::before {
  order: -4;
}

main[data-ep-event] [data-ep-map] .ep-map-ground > :is(.ep-map-road, .ep-park, .ep-north) {
  display: none;
}

main[data-ep-event] [data-ep-map] .ep-map-ground > .ep-internal-map-background {
  position: absolute;
  inset: var(--event-map-spacing) var(--event-map-spacing) auto;
  height: auto;
  aspect-ratio: 2.35;
  z-index: 2;
  border-radius: .62rem;
}

main[data-ep-event] [data-ep-map] .ep-map-ground > .ep-road-label {
  grid-column: 1 / -1;
  order: -2;
  position: static;
  padding: 0 .16rem .2rem;
  transform: none;
  color: #3e5c79;
  font-size: .8rem;
  line-height: 1.45;
}

main[data-ep-event] [data-ep-map] .ep-map-ground > a.ep-map-label {
  order: 0;
  position: relative;
  inset: auto;
  align-self: stretch;
  justify-self: stretch;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 44px;
  margin: 0;
  padding: .54rem .64rem;
  border: 1px solid #b1d4f2;
  border-radius: .58rem;
  background: linear-gradient(135deg, #fff 42%, #f0f8ff);
  color: #12376b !important;
  box-shadow: 0 1px 3px #173d681a;
  text-align: start;
  text-decoration: none !important;
  font-size: .87rem;
  line-height: 1.34;
  overflow-wrap: anywhere;
  white-space: normal;
  transform: none;
}

main[data-ep-event] [data-ep-map] .ep-map-ground > a.ep-map-label:hover {
  border-color: #5b9fd7;
  background: #e3f3ff;
}

main[data-ep-event] [data-ep-map] .ep-map-ground > a.ep-map-label:focus-visible {
  outline: 3px solid #ac5500;
  outline-offset: 2px;
}

main[data-ep-event] [data-ep-map] .ep-map-ground > a.ep-map-label > span {
  min-width: 0;
}

main[data-ep-event] [data-ep-map] .ep-map-ground > a.ep-map-label small {
  margin-top: .12rem;
  color: #3e5c79;
  font-size: .77rem;
  line-height: 1.3;
}

main[data-ep-event] [data-ep-map] .ep-map-ground > a.ep-map-venue {
  grid-column: 1 / -1;
  order: -3;
  flex-direction: row;
  gap: .65rem;
  margin-top: .05rem;
  border-color: #89bef0;
  background: linear-gradient(108deg, #e1f3ff, #f9fdff);
  font-size: 1rem;
}

main[data-ep-event] [data-ep-map] .ep-map-ground > a.ep-map-label .ep-pin-icon {
  position: static;
  display: grid;
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  padding: .3rem;
  border-radius: 50%;
  background: #1264b8;
  color: #fff;
  box-shadow: none;
}

main[data-ep-event] [data-ep-map] .ep-map-ground > .ep-map-venue .ep-pin-icon {
  background: #0052b5;
}

article[data-cq-event-detail] figure.evv-venue-map[data-event-arrival-map] {
  overflow: hidden;
  border-color: #aad2ef;
  border-radius: .78rem;
  background: #f0f8ff;
}

article[data-cq-event-detail] figure.evv-venue-map[data-event-arrival-map]::before {
  margin: .55rem;
  aspect-ratio: 3.15;
}

svg.evg-local-map,
#apec-venue-map[data-avm] .avm-plot,
#events-venue-map.evm-map {
  border-color: #a8d4f1;
  border-radius: .7rem;
  box-shadow: 0 2px 10px #17437117;
}

iframe#ed-venue-map-frame[data-el-map] {
  border-color: #a8d4f1;
  border-radius: .7rem;
  background: #edf7ff;
}

@media (max-width: 530px) {
  main[data-ep-event] [data-ep-map] .ep-map-ground > a.ep-map-label {
    gap: .4rem;
    padding: .45rem .47rem;
    font-size: .79rem;
  }

  main[data-ep-event] [data-ep-map] .ep-map-ground > a.ep-map-venue {
    font-size: .91rem;
  }

  main[data-ep-event] [data-ep-map] .ep-map-ground > a.ep-map-label .ep-pin-icon {
    flex-basis: 1.48rem;
    width: 1.48rem;
    height: 1.48rem;
    padding: .24rem;
  }

  article[data-cq-event-detail] figure.evv-venue-map[data-event-arrival-map]::before {
    aspect-ratio: 2.35;
  }
}

@media (max-width: 360px) {
  main[data-ep-event] [data-ep-map] .ep-map-ground {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media print {
  main[data-ep-event] [data-ep-map] .ep-map-ground::before,
  article[data-cq-event-detail] figure.evv-venue-map[data-event-arrival-map]::before {
    print-color-adjust: exact;
  }
}

