.evg {
  --evg-navy: #111754;
  --evg-blue: #0056c5;
  --evg-text: #202c4a;
  --evg-muted: #405779;
  --evg-line: #d2e2f2;
  --evg-light: #edf6ff;
  --evg-width: 1440px;
  --evg-gutter: 16px;
  background: #f7fafc;
  color: var(--evg-text);
  font-size: .875rem;
  line-height: 1.46;
}

main.cq-event-page .evg,
main.cq-event-page .evg :is(h1, h2, h3) {
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.evg *, .evg *::before, .evg *::after { box-sizing: border-box; }
.evg [hidden] { display: none !important; }
.evg [id] { scroll-margin-top: 100px; }
.evg a { color: var(--evg-blue); text-underline-offset: .18em; }
.evg a:hover { text-decoration: underline; }
.evg :is(a, button, input, summary):focus-visible {
  outline: 3px solid #785100;
  outline-offset: 3px;
}

.evg :is(h1, h2, h3, dt, strong) { color: var(--evg-navy); }
.evg :is(h1, h2, h3, p) { margin: 0 0 6px; overflow-wrap: anywhere; }
.evg :is(p, ul, ol, dl, figure, details):last-child { margin-bottom: 0; }
.evg :is(ol, ul) { padding-inline-start: 1.35em; }
main.cq-event-page .evg h2 {
  display: flex;
  align-items: center;
  gap: .44em;
  font-size: clamp(1.06rem, 1.58vw, 1.38rem);
  font-weight: 820;
  letter-spacing: -.026em;
  line-height: 1.2;
}
main.cq-event-page .evg h3 { font-size: .99rem; font-weight: 780; line-height: 1.25; }
.evg .evg-icon { flex: none; width: 1.15em; height: 1.15em; vertical-align: -.17em; }
.evg :is(h2, h3, dt, .evg-badges) .evg-icon { color: var(--evg-blue); }

.evg .evg-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 144px;
  padding: 10px max(var(--evg-gutter), (100% - var(--evg-width)) / 2) 14px;
  border-bottom: 1px solid var(--evg-line);
  background: linear-gradient(120deg, #ecf7ff, #e5f1fd 64%, #d6e7fa);
}

.evg .evg-hero-copy {
  position: relative;
  z-index: 1;
  max-width: min(66%, 900px);
}

.evg .evg-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 0 0 6px;
  color: var(--evg-navy);
  font-size: .77rem;
}

.evg .evg-hero h1 {
  margin-bottom: 5px;
  font-size: clamp(2.05rem, 4.05vw, 3.95rem);
  font-weight: 870;
  letter-spacing: -.047em;
  line-height: 1.04;
  text-wrap: pretty;
}

.evg .evg-intro {
  max-width: 67ch;
  margin-bottom: 8px;
  color: var(--evg-navy);
  font-size: clamp(.93rem, 1.53vw, 1.16rem);
  font-weight: 650;
  line-height: 1.35;
}

.evg .evg-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  padding: 0;
  margin: 0 0 8px;
  list-style: none;
}

.evg .evg-badges > li {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 25px;
  padding: 2px 7px;
  border: 1px solid var(--evg-line);
  border-radius: 6px;
  background: #ffffffed;
  color: var(--evg-navy);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.24;
}

.evg .evg-hero-image {
  position: absolute;
  inset: 0 0 0 36%;
  overflow: hidden;
  margin: 0;
}

.evg .evg-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.evg .evg-hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e7f3fd 0%, #e7f3fdf5 18%, #e7f3fdcc 38%, #e7f3fd00 72%),
    linear-gradient(0deg, #061a5155, transparent 42%);
  content: "";
  pointer-events: none;
}

.evg .evg-hero-image figcaption {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 5px;
  max-width: calc(100% - 24px);
  padding: 3px 7px;
  border-radius: 4px;
  background: #111d3de8;
  color: #fff;
  font-size: .69rem;
  overflow-wrap: anywhere;
}
.evg .evg-hero-image figcaption a { color: inherit; }

.evg :is(.evg-actions, .evg-map-controls) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 9px;
}

.evg :is(.evg-btn, .evg-map-controls button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  min-height: 36px;
  padding: 5px 12px;
  border: 1px solid #83aae0;
  border-radius: 999px;
  background: #fff;
  color: var(--evg-blue);
  font: inherit;
  font-size: .82rem;
  font-weight: 760;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.evg :is(.evg-btn, .evg-map-controls button):hover {
  border-color: var(--evg-blue);
  background: var(--evg-light);
  text-decoration: none;
}

.evg :is(.evg-btn-primary, .evg-map-controls [aria-pressed="true"]) {
  border-color: var(--evg-blue);
  background: var(--evg-blue);
  color: #fff;
}

.evg :is(.evg-btn-primary, .evg-map-controls [aria-pressed="true"]):hover {
  border-color: #0847a0;
  background: #0847a0;
  color: #fff;
}

.evg button:disabled { cursor: default; opacity: .66; }
.evg :is(.evg-overview, .evg-tabs, .evg-layout, .evg-closing) {
  width: min(var(--evg-width), calc(100% - 2 * var(--evg-gutter)));
  margin-inline: auto;
}

.evg .evg-overview { margin-block: 6px 0; }

.evg :is(.evg-overview > dl, dl.evg-overview) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(178px, 100%), 1fr));
  margin-block: 6px 0;
  padding: 4px 0;
  border: 1px solid var(--evg-line);
  border-radius: 9px;
  background: linear-gradient(110deg, #fafdff, #eef6fc);
}

.evg :is(.evg-overview > dl, dl.evg-overview) > div {
  min-width: 0;
  padding: 4px clamp(9px, 1.4vw, 20px);
  overflow-wrap: anywhere;
}

.evg :is(.evg-overview > dl, dl.evg-overview) > div + div { border-inline-start: 1px solid var(--evg-line); }
.evg .evg-overview dt { display: flex; align-items: center; gap: .45em; font-size: .79rem; font-weight: 790; }
.evg .evg-overview dd { margin: 0; font-size: .88rem; }

.evg .evg-tabs {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1px 14px;
  margin-block: 4px 6px;
}

.evg .evg-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 29px;
  padding: 2px;
  color: #194b92;
  font-size: .81rem;
  font-weight: 740;
  text-decoration: none;
}
.evg .evg-tabs a:hover { text-decoration: underline; }

.evg .evg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(226px, 23%);
  align-items: start;
  gap: 10px;
  padding-bottom: 18px;
}

.evg :is(.evg-main, .evg-rail) {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.evg .evg-rail { gap: 8px; }

.evg .evg-panel {
  min-width: 0;
  padding: clamp(11px, 1.2vw, 15px);
  border: 1px solid var(--evg-line);
  border-radius: 10px;
  background: linear-gradient(125deg, #fff, #f4f9fd);
  box-shadow: 0 1px 3px #15365a08;
}

.evg .evg-panel > p { max-width: 96ch; }
.evg .evg-rail .evg-panel { padding: 11px; font-size: .82rem; }
main.cq-event-page .evg .evg-rail h2 { font-size: clamp(1rem, 1.4vw, 1.22rem); }
.evg .evg-map-controls { margin-bottom: 7px; }
.evg .evg-map-controls button { min-height: 32px; padding: 4px 10px; }

.evg .evg-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 21%);
  align-items: start;
  gap: 10px;
  margin-block: 8px;
}
.evg .evg-map-frame {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #bcd5e6;
  border-radius: 9px;
  background: #90d4e6;
}

.evg .evg-map-canvas { position: relative; }
.evg .evg-map-canvas > svg {
  display: block;
  width: 100%;
  height: auto;
}
.evg .evg-map-pin {
  position: absolute;
  z-index: 1;
  inset: var(--evg-y) auto auto var(--evg-x);
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid white;
  border-radius: 50%;
  background: #0056c5;
  color: white;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 2px 5px #163b6959;
}
.evg .evg-map-pin:nth-of-type(3n+2) { background: #a71963; }
.evg .evg-map-pin:nth-of-type(3n) { background: #6522a9; }
.evg .evg-map-pin[aria-current="true"] { z-index: 2; box-shadow: 0 0 0 2px #0b3364, 0 3px 6px #0b336460; }
.evg .evg-map-pin:hover { text-decoration: none; filter: brightness(1.14); }
.evg .evg-map-credit { color: var(--evg-muted); font-size: .755rem; }

.evg .evg-venue-list {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evg .evg-venue-list > li { min-width: 0; }
.evg .evg-venue-list :is(button, a) {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid var(--evg-line);
  border-radius: 7px;
  background: #fff;
  color: var(--evg-navy);
  font: inherit;
  line-height: 1.32;
  overflow-wrap: anywhere;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}

.evg .evg-venue-list :is(button, a):hover { background: #f2f8ff; }
.evg .evg-venue-list :is([aria-pressed="true"], [aria-current="true"]) {
  border-color: #689ce3;
  background: var(--evg-light);
  box-shadow: inset 3px 0 var(--evg-blue);
}
.evg .evg-venue-list .evg-pin-number {
  display: grid;
  flex: 0 0 23px;
  place-items: center;
  height: 23px;
  border-radius: 50%;
  background: var(--evg-blue);
  color: #fff;
  font-size: .77rem;
  font-weight: 800;
}
.evg .evg-venue-list :is(strong, small) { display: block; }
.evg .evg-venue-list small { margin-top: 2px; color: var(--evg-muted); font-size: .78rem; }

.evg .evg-venue-detail {
  min-width: 0;
  margin-block: 7px;
  padding: 9px 10px;
  border: 1px solid #d0e3f6;
  border-radius: 8px;
  background: #f0f7fe;
}

.evg .evg-facts dl { margin: 0; }
.evg .evg-facts dl > div {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: baseline;
  gap: 3px 8px;
  padding: 5px 0;
  border-bottom: 1px solid #dce8f4;
  overflow-wrap: anywhere;
}
.evg .evg-facts dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.evg .evg-facts dt { font-weight: 760; }
.evg .evg-facts dd { margin: 0; }

.evg .evg-timeline ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(162px, 100%), 1fr));
  gap: 7px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.evg .evg-timeline li {
  padding: 8px 9px;
  border: 1px solid var(--evg-line);
  border-top: 3px solid #669eea;
  border-radius: 7px;
  background: #fff;
}
.evg .evg-timeline .evg-date {
  display: block;
  margin-bottom: 4px;
  color: var(--evg-blue);
  font-size: .81rem;
  font-weight: 820;
}

.evg .evg-checklist {
  display: grid;
  gap: 6px;
}
.evg .evg-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 4px 5px;
  border-radius: 5px;
}
.evg .evg-checklist label:hover { background: var(--evg-light); }
.evg .evg-checklist input[type="checkbox"] {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  appearance: auto;
  accent-color: var(--evg-blue);
}
.evg .evg-checklist :is(button, a) { justify-self: start; }

.evg .evg-note {
  padding: 7px 9px;
  border-inline-start: 3px solid #6d9acf;
  border-radius: 0 5px 5px 0;
  background: var(--evg-light);
  color: #304a6c;
  font-size: .81rem;
}

.evg .evg-sources {
  display: grid;
  gap: 5px;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}
.evg .evg-sources li { padding: 4px 0; border-bottom: 1px solid var(--evg-line); overflow-wrap: anywhere; }
.evg .evg-sources li:last-child { border-bottom: 0; }
.evg .evg-sources a { font-weight: 690; }

@media (max-width: 1000px) {
  .evg .evg-hero-copy { max-width: 76%; }
  .evg .evg-hero-image::after {
    background: linear-gradient(90deg, #e7f3fd 0%, #e7f3fdf5 25%, #e7f3fd95 56%, #e7f3fd00 100%),
      linear-gradient(0deg, #061a5155, transparent 42%);
  }
  .evg .evg-map-layout { grid-template-columns: minmax(0, 1fr); }
  .evg .evg-venue-list { grid-template-columns: repeat(auto-fit, minmax(min(142px, 100%), 1fr)); }
}

@media (max-width: 740px) {
  .evg { --evg-gutter: 12px; }
  .evg .evg-hero { padding-bottom: 0; }
  .evg .evg-hero-copy { max-width: none; padding-bottom: 10px; }
  .evg .evg-hero h1 { font-size: clamp(1.95rem, 6vw, 2.88rem); }
  .evg .evg-hero-image {
    position: relative;
    inset: auto;
    height: clamp(108px, 29vw, 175px);
    margin-inline: calc(0px - var(--evg-gutter));
  }
  .evg .evg-hero-image::after { background: linear-gradient(0deg, #061a5155, transparent 48%); }
  .evg .evg-hero-image figcaption { right: 8px; }
  .evg :is(.evg-overview > dl, dl.evg-overview) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evg :is(.evg-overview > dl, dl.evg-overview) > div:nth-child(n+3) { border-top: 1px solid var(--evg-line); }
  .evg :is(.evg-overview > dl, dl.evg-overview) > div:nth-child(odd) { border-inline-start: 0; }
  .evg .evg-tabs { gap: 1px 10px; }
  .evg .evg-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .evg { --evg-gutter: 9px; }
  .evg .evg-hero h1 { font-size: 1.84rem; }
  .evg .evg-overview dd { font-size: .82rem; }
}

@media print {
  .evg .evg-layout { grid-template-columns: minmax(0, 1fr); }
  .evg :is(.evg-hero-image, .evg-tabs, .evg-map-controls, .evg-map-frame) { display: none; }
  .evg .evg-hero-copy { max-width: none; }
  .evg .evg-panel { break-inside: avoid; box-shadow: none; }
  .evg .evg-venue-detail[hidden] { display: block !important; }
}
