/* DexHaul Pokémon events directory (Board 2026-11-14). One stylesheet for every /pokemon-events page.
   Components follow the approved mockup (docs/events-mockup.html in Dexhaul-Company) on the site theme:
   navy ground, cream paper, yellow rules, cut corners; Archivo display, Nunito body, DM Mono figures.
   Every rule is scoped to .ev-page so nothing here can restyle the rest of the site. */
.ev-page { --ev-navy: #0b1140; --ev-navy-2: #10194f; --ev-paper: #f2efe6; --ev-yellow: #ffcb05; --ev-red: #c42a0a; --ev-red-dark: #b7280a;
  --ev-slate: #4d546b; --ev-line: #dcd8cc; --ev-blue: #2c3aa0; --ev-green: #11703a; --ev-mute: #c9cde6;
  --ev-disp: var(--disp, Archivo, "Arial Narrow", system-ui, sans-serif); --ev-mono: var(--mono, "DM Mono", ui-monospace, Menlo, monospace);
  color: var(--ev-navy); font-size: 17px; line-height: 1.55;
  padding-bottom: 64px; }                 /* the space between the last block and the footer */
/* the page shell pads its own bottom and the footer has a top margin; here .ev-page alone sets the gap,
   so it is exactly 64px (40px on a phone) */
main.pdx-wrap:has(> .ev-page) { padding-bottom: 0; }
body.pdx-page main.pdx-wrap:has(> .ev-page) + .site-foot { margin-top: 0; }
.ev-page *, .ev-page *::before, .ev-page *::after { box-sizing: border-box; }
.ev-page a { color: var(--ev-blue); }
.ev-page button, .ev-page input, .ev-page select, .ev-page textarea { font-family: var(--body, Nunito, system-ui, sans-serif); border-radius: 0; }
.ev-page button { cursor: pointer; }
.ev-page :focus-visible { outline: 3px solid var(--ev-red); outline-offset: 2px; }
.ev-page [hidden] { display: none !important; }
.ev-page h1, .ev-page h2 { font-family: var(--ev-disp); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em;
  line-height: 1.02; margin: 0; text-wrap: balance; color: var(--ev-navy); }
.ev-page h1 { font-size: clamp(30px, 4.4vw, 50px); overflow-wrap: anywhere; }
.ev-page h2 { font-size: clamp(20px, 2.3vw, 27px); }
.ev-page h3, .ev-page h2.ev-h3 { font-family: var(--ev-disp); font-weight: 800; font-stretch: 110%; font-size: 19px; line-height: 1.2; margin: 0;
  text-transform: none; letter-spacing: 0; }
.ev-page .ev-k { margin: 0; font: 800 12px/1.2 var(--ev-disp); font-stretch: 110%; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-slate); }
.ev-page .ev-lede { max-width: 66ch; margin: 12px 0 0; font-size: 19px; }
.ev-page .ev-fine { font-size: 14px; color: var(--ev-slate); margin: 10px 0 0; }
.ev-page .ev-fine:empty { display: none; }
.ev-page .ev-note { background: #fff; border-left: 5px solid var(--ev-yellow); padding: 12px 16px; font-size: 16px; margin: 12px 0 0; }

.ev-page .ev-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; background: var(--ev-red);
  color: #fff; font: 800 15px/1.1 var(--ev-disp); font-stretch: 110%; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; text-align: center;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.ev-page .ev-btn:hover { background: var(--ev-red-dark); }
.ev-page .ev-btn.alt { background: var(--ev-navy); } .ev-page .ev-btn.alt:hover { background: var(--ev-navy-2); }
.ev-page .ev-btn.y { background: var(--ev-yellow); color: var(--ev-navy); } .ev-page .ev-btn.y:hover { background: #ffd83d; }

/* the stats band: Events listed, This weekend, Official Pokémon events, Added today */
.ev-page .ev-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ev-navy); color: #fff; margin: 22px 0;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); border-top: 5px solid var(--ev-yellow); }
.ev-page .ev-stats > div { padding: 16px 20px 18px; border-right: 1px solid rgba(255, 255, 255, .14); }
.ev-page .ev-stats > div:last-child { border-right: 0; }
.ev-page .ev-stats .ev-k { color: var(--ev-yellow); }
.ev-page .ev-stats b { display: block; margin: 8px 0 2px; font: 900 34px/1 var(--ev-disp); font-stretch: 110%; font-variant-numeric: tabular-nums; }
.ev-page .ev-stats small { color: var(--ev-mute); font-size: 14px; }

/* tools row: Find a city, When, Events near me, Official events only */
.ev-page .ev-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin: 0 0 14px; }
.ev-page .ev-tools label { display: grid; gap: 5px; font: 800 12px/1 var(--ev-disp); font-stretch: 110%; letter-spacing: .1em; text-transform: uppercase; color: var(--ev-slate); }
.ev-page .ev-tools select, .ev-page .ev-tools input { font: 700 16px var(--body, Nunito, system-ui, sans-serif); padding: 0 12px; height: 46px;
  border: 2px solid var(--ev-navy); background-color: #fff; color: var(--ev-navy); min-width: 0; }
.ev-page .ev-tools .grow { flex: 1 1 240px; } .ev-page .ev-tools .grow input { width: 100%; }
/* Find a city: the suggestions hang under the box, over the map */
.ev-page .ev-findbox { position: relative; display: grid; gap: 5px; }
/* heard, not seen: how many cities the list offers */
.ev-page .ev-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.ev-page .ev-suggest { position: absolute; z-index: 30; top: 100%; left: 0; right: 0; margin: -2px 0 0; padding: 0; list-style: none; max-height: 336px; overflow-y: auto;
  background: #fff; border: 2px solid var(--ev-navy); border-bottom: 5px solid var(--ev-yellow); box-shadow: 0 10px 24px rgba(11, 17, 64, .22); }
.ev-page .ev-suggest li { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; min-height: 44px; padding: 10px 12px; cursor: pointer;
  border-top: 1px solid var(--ev-line); font-size: 16px; line-height: 1.25; }
.ev-page .ev-suggest li:first-child { border-top: 0; }
.ev-page .ev-suggest li b { font: 800 16px/1.25 var(--ev-disp); font-stretch: 110%; }
.ev-page .ev-suggest li .pl { color: var(--ev-slate); }
.ev-page .ev-suggest li .num { flex: none; font: 500 14px var(--ev-mono); font-variant-numeric: tabular-nums; color: var(--ev-slate); }
.ev-page .ev-suggest li[aria-selected="true"], .ev-page .ev-suggest li:hover { background: var(--ev-navy); color: #fff; }
.ev-page .ev-suggest li[aria-selected="true"] .pl, .ev-page .ev-suggest li:hover .pl,
.ev-page .ev-suggest li[aria-selected="true"] .num, .ev-page .ev-suggest li:hover .num { color: var(--ev-yellow); }
.ev-page .ev-tog { height: 46px; border: 2px solid var(--ev-navy); background: #fff; color: var(--ev-navy); padding: 0 14px;
  font: 800 14px/1 var(--ev-disp); font-stretch: 110%; letter-spacing: .04em; text-transform: uppercase; }
.ev-page .ev-tog[aria-pressed="true"] { background: var(--ev-navy); color: var(--ev-yellow); }
.ev-page select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1140' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.ev-page #ev-tools-status { margin: -6px 0 12px; }

/* the map and the ranked list: one grid row, so both are the same height (the list scrolls inside it) */
.ev-page .ev-work { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 18px; align-items: stretch; }
.ev-page .ev-mapbox { background: var(--ev-navy); position: relative; border-top: 5px solid var(--ev-yellow); min-height: 420px; color: #fff; }
.ev-page #ev-map { min-height: 100%; }
.ev-page #ev-map svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.ev-page .ev-nomap { margin: 0; padding: 18px; color: #fff; font-weight: 700; }
.ev-page .ev-side { display: flex; flex-direction: column; height: 0; min-height: 100%; background: #fff;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.ev-page .ev-side header { background: var(--ev-navy); color: #fff; padding: 14px 18px 12px; border-top: 5px solid var(--ev-yellow); }
.ev-page .ev-side header h2 { font-size: 19px; color: #fff; }
.ev-page .ev-side header p { margin: 4px 0 0; color: var(--ev-mute); font-size: 14px; }
.ev-page .ev-side ol { list-style: none; margin: 0; padding: 6px 0; flex: 1; min-height: 0; overflow: auto; }
.ev-page .ev-rank { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; width: 100%;
  border-bottom: 1px solid var(--ev-line); padding: 11px 18px 12px 14px; color: var(--ev-navy); text-decoration: none; }
.ev-page .ev-rank:hover, .ev-page .ev-rank:focus-visible { background: var(--ev-paper); }
.ev-page .ev-rank[aria-current="true"] { background: #fff3c2; box-shadow: inset 5px 0 0 var(--ev-red); }
.ev-page .ev-rank .r { font: 500 14px var(--ev-mono); color: var(--ev-slate); }
.ev-page .ev-rank .nm { font: 800 17px/1.2 var(--ev-disp); font-stretch: 105%; }
.ev-page .ev-rank .ct { font: 500 16px var(--ev-mono); background: var(--ev-navy); color: #fff; padding: 4px 9px; min-width: 46px; text-align: center;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); }
.ev-page .ev-rank .bar { grid-column: 2 / 4; height: 7px; background: #e9e5d8; margin-top: 4px; }
.ev-page .ev-rank .bar i { display: block; height: 100%; background: var(--ev-navy); }
.ev-page .ev-rank .nx { grid-column: 2 / 4; font-size: 14px; color: var(--ev-slate); margin-top: 3px; }
.ev-page li.top .ev-rank { border-left: 5px solid var(--ev-yellow); padding-left: 9px; }
.ev-page li.top .ev-rank .ct { background: var(--ev-yellow); color: var(--ev-navy); }
.ev-page li.top .ev-rank .bar i { background: var(--ev-yellow); box-shadow: inset 0 0 0 1px #b8930a; }
.ev-page .ev-side li.ev-none { padding: 16px 18px; font-weight: 700; }
.ev-page .ev-side .foot { padding: 12px 18px 16px; font-size: 14.5px; color: var(--ev-slate); }
.ev-page .ev-streetbox { margin-top: 14px; }
.ev-page .ev-street { height: 320px; margin-top: 12px; border: 3px solid var(--ev-navy); background: #dfe6d5; position: relative; }
.ev-page .ev-event .ev-street { height: 260px; margin-top: 14px; }
.ev-page .ev-street noscript p { margin: 0; padding: 14px; background: #fff; }

.ev-page .ev-listhead { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin: 34px 0 14px; padding-top: 16px;
  border-top: 4px solid var(--ev-navy); }
.ev-page .ev-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-page .ev-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
/* event card: the whole card is one link, and every card is the same navy (type is a text label) */
.ev-page .ev-card { display: flex; flex-direction: column; background: #fff; color: var(--ev-navy); text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.ev-page .ev-card .ev-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 14px 8px 20px; background: var(--ev-navy);
  color: #fff; font: 800 12.5px/1.2 var(--ev-disp); font-stretch: 110%; letter-spacing: .08em; text-transform: uppercase; }
.ev-page .ev-card .ev-top em { font-style: normal; background: #fff; color: var(--ev-navy); padding: 3px 7px; }
.ev-page .ev-card .ev-top em.off { background: var(--ev-yellow); }
.ev-page .ev-card .ev-mid { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 14px; padding: 16px 16px 14px; flex: 1; }
.ev-page .ev-date { background: var(--ev-navy); color: #fff; text-align: center; padding: 10px 4px 9px; align-self: start;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.ev-page .ev-date span { display: block; font: 800 12px/1.2 var(--ev-disp); font-stretch: 110%; letter-spacing: .1em; text-transform: uppercase; }
.ev-page .ev-date b { display: block; font: 900 32px/1 var(--ev-disp); font-stretch: 110%; color: var(--ev-yellow); margin: 2px 0; }
.ev-page .ev-date.every b { font-size: 17px; line-height: 1.15; }
.ev-page .ev-name { display: block; font: 800 19px/1.2 var(--ev-disp); font-stretch: 110%; overflow-wrap: anywhere; }
.ev-page .ev-where { display: block; margin: 6px 0 0; font-size: 16px; }
.ev-page .ev-meta { display: block; margin: 4px 0 0; font-size: 15px; color: var(--ev-slate); }
.ev-page .ev-card .ev-foot { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 10px 16px 12px;
  border-top: 1px solid var(--ev-line); font-size: 14px; color: var(--ev-slate); }
.ev-page .ev-card .ev-foot b { font: 800 14px var(--ev-disp); font-stretch: 110%; letter-spacing: .04em; text-transform: uppercase; color: var(--ev-red-dark); white-space: nowrap; }
.ev-page .ev-card:hover, .ev-page .ev-card:focus-visible { box-shadow: inset 0 0 0 3px var(--ev-navy); }
.ev-page .ev-card:hover .ev-foot b { text-decoration: underline; text-underline-offset: 3px; }
.ev-page .ev-card.off-map .ev-top { background: var(--ev-slate); }
.ev-page .ev-card.off-map .ev-name, .ev-page .ev-card.off-map .ev-where { text-decoration: line-through; color: var(--ev-slate); }
.ev-page .ev-card.off-map .ev-date { background: var(--ev-slate); }
.ev-page .ev-card.off-map .ev-date b { color: #fff; }
.ev-page .ev-empty { background: #fff; padding: 24px; border-top: 5px solid var(--ev-yellow); }
.ev-page .ev-empty p { margin: 8px 0 14px; }
.ev-page #ev-none { margin-top: 0; } .ev-page #ev-none p { margin: 0; }

/* Questions and the trust block */
.ev-page .ev-seo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; margin-top: 40px; align-items: start; }
.ev-page .ev-seo > :only-child, .ev-page .ev-seo.one > * { grid-column: 1 / -1; max-width: 760px; }
.ev-page .ev-trust { background: #fff; border-top: 5px solid var(--ev-yellow); padding: 18px 20px 20px; }
.ev-page .ev-trust p { margin: 8px 0 0; }
.ev-page .ev-faq h3 { margin: 16px 0 4px; font-size: 18px; }
.ev-page .ev-faq p { margin: 0; }

/* the event page */
.ev-page .ev-pills { margin: 0 0 4px; }
.ev-page .ev-pill { display: inline-block; font: 800 12px/1 var(--ev-disp); font-stretch: 110%; letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px;
  background: #fff; color: var(--ev-navy); margin: 0 6px 8px 0; }
.ev-page .ev-pill.navy { background: var(--ev-navy); color: #fff; } .ev-page .ev-pill.yellow { background: var(--ev-yellow); }
.ev-page .ev-pill.red { background: #8f1d05; color: #fff; } .ev-page .ev-pill.grey { background: var(--ev-slate); color: #fff; }
/* the top of an event page: the facts and the street map at full width (.ev-evtop); only an event whose
   organiser uploaded a banner gets the two columns (.ev-evgrid) */
.ev-page .ev-evtop { margin-top: 16px; }
.ev-page .ev-evtop .ev-facts { grid-template-columns: repeat(5, minmax(0, 1fr)); }       /* the five facts in one row */
.ev-page .ev-event .ev-evtop .ev-street { height: 300px; }
.ev-page .ev-evgrid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; align-items: start; margin-top: 16px; }
.ev-page .ev-banner { display: block; width: 100%; height: auto; border: 3px solid var(--ev-navy); background: var(--ev-navy); }
.ev-page .ev-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.ev-page .ev-facts div { background: #fff; padding: 12px 14px; border-top: 4px solid var(--ev-navy); font-size: 16px; overflow-wrap: anywhere; }
.ev-page .ev-facts .ev-k { margin-bottom: 4px; }
/* Organiser's page, Add to calendar, Get directions, Email me new events in {place}: one row, the last
   button takes the width that is left; stacked in that order under 600px */
.ev-page .ev-actrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ev-page .ev-actrow .ev-btn { flex: 0 1 auto; padding: 0 20px; }
.ev-page .ev-actrow .ev-btn.y { flex: 1 1 260px; }
.ev-page .ev-event > h2 { margin-top: 30px; }
.ev-page .ev-about { max-width: 66ch; margin: 8px 0 0; }

/* "Get ready for it": four collection tabs, at most four products each, in one row (two rows of two on a phone) */
.ev-page .ev-gear { background: #fff; border-top: 5px solid var(--ev-yellow); padding: 16px 16px 18px; margin: 30px 0 0; }
.ev-page .ev-gear .ev-fine { margin-top: 6px; }
.ev-page .ev-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 12px; }
.ev-page .ev-tab { border: 2px solid var(--ev-navy); background: #fff; color: var(--ev-navy); padding: 9px 13px; min-height: 44px;
  font: 800 13px/1 var(--ev-disp); font-stretch: 110%; letter-spacing: .04em; text-transform: uppercase; }
.ev-page .ev-tab[aria-pressed="true"] { background: var(--ev-navy); color: var(--ev-yellow); }
.ev-page .ev-gear-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-height: 250px; }
/* fewer than four products: the columns fit what there is, so no column is left empty */
.ev-page .ev-gear-row[data-n="1"] { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.ev-page .ev-gear-row[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ev-page .ev-gear-row[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ev-page .ev-gear-row[data-n="1"] .ev-prod img, .ev-page .ev-gear-row[data-n="2"] .ev-prod img { aspect-ratio: auto; height: 260px; }
.ev-page .ev-gear-row > p { grid-column: 1 / -1; align-self: center; margin: 0; text-align: center; color: var(--ev-slate); }
/* the row holds product links and its own one-line message, nothing else: a fifth tile, or anything another
   script adds, never shows */
.ev-page .ev-gear-row > :not(.ev-prod):not(p), .ev-page .ev-gear-row > a.ev-prod:nth-of-type(n+5) { display: none; }
.ev-page .ev-prod { display: flex; flex-direction: column; background: var(--ev-paper); color: var(--ev-navy); text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.ev-page .ev-prod img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--ev-line); }
.ev-page .ev-prod .tx { display: block; padding: 9px 10px 11px; font-size: 14px; line-height: 1.3; }
.ev-page .ev-prod .tx b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 800 14.5px/1.25 var(--ev-disp); }
.ev-page .ev-prod .num { display: block; margin-top: 4px; font: 500 15px var(--ev-mono); font-variant-numeric: tabular-nums; }
.ev-page .ev-prod small { display: block; color: var(--ev-slate); font-size: 13px; }
.ev-page .ev-gear-all { display: inline-block; margin-top: 12px; font: 800 14px var(--ev-disp); font-stretch: 110%; letter-spacing: .04em; text-transform: uppercase; }

/* forms: Add your event */
.ev-page .ev-twocol { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 22px; align-items: start; margin-top: 22px; }
.ev-page .ev-form { background: #fff; padding: 22px 24px 26px; border-top: 5px solid var(--ev-yellow); display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.ev-page .ev-form .full { grid-column: 1 / -1; }
.ev-page form label, .ev-page .ev-lab { display: block; font: 800 13px/1.2 var(--ev-disp); font-stretch: 110%; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 7px; }
.ev-page form input:not([type=checkbox]):not([type=file]), .ev-page form select, .ev-page form textarea { width: 100%; font: 600 16px var(--body, Nunito, system-ui, sans-serif);
  padding: 11px 12px; border: 2px solid var(--ev-navy); background-color: #fff; color: var(--ev-navy); min-height: 48px; }
.ev-page form input[type=file] { width: 100%; font-size: 16px; }
.ev-page form small { display: block; margin-top: 5px; color: var(--ev-slate); font-size: 14.5px; }
.ev-page .ev-money { display: grid; grid-template-columns: 150px 110px minmax(0, 1fr); gap: 8px; }
.ev-page .ev-chk { display: flex; gap: 10px; align-items: flex-start; font: 600 16px/1.4 var(--body, Nunito, system-ui, sans-serif); text-transform: none; letter-spacing: 0; }
.ev-page .ev-chk input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ev-navy); }
.ev-page #ev-banner-preview { display: block; width: 100%; max-width: 480px; height: auto; margin-top: 10px; border: 2px solid var(--ev-navy); background: var(--ev-navy); }
.ev-page .ev-check { background: #fff8dc; border: 2px solid var(--ev-navy); padding: 14px 16px; }
.ev-page .ev-check ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.ev-page .ev-check li { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff; padding: 9px 12px; font-size: 16px; }
.ev-page .ev-check li button { border: 2px solid var(--ev-navy); background: var(--ev-navy); color: #fff; padding: 7px 12px; min-height: 40px;
  font: 800 13px var(--ev-disp); font-stretch: 110%; text-transform: uppercase; letter-spacing: .04em; }
.ev-page .ev-check del { color: var(--ev-red-dark); } .ev-page .ev-check ins { color: var(--ev-green); font-weight: 800; text-decoration: none; }
.ev-page .ev-send { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ev-page #ev-add-status { font-size: 15px; color: var(--ev-slate); }
/* the honeypot: off screen for people, still a plain text field for a bot */
.ev-page .ev-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ev-page .ev-steps { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.ev-page .ev-steps li { counter-increment: s; background: #fff; padding: 13px 16px 13px 58px; position: relative; font-size: 16px; }
.ev-page .ev-steps li::before { content: counter(s); position: absolute; left: 14px; top: 13px; width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--ev-navy); color: var(--ev-yellow); font: 900 16px var(--ev-disp); }
.ev-page .ev-steps b { display: block; font-family: var(--ev-disp); font-stretch: 110%; }
.ev-page .ev-shell { max-width: 720px; }
.ev-page #ev-shell-body { background: #fff; border-top: 5px solid var(--ev-yellow); padding: 18px 20px 20px; margin-top: 18px; }
.ev-page #ev-shell-body p { margin: 0 0 12px; } .ev-page #ev-shell-body p:last-child { margin-bottom: 0; }

@media (max-width: 960px) {
  .ev-page .ev-side { height: auto; min-height: 0; } .ev-page .ev-side ol { max-height: 420px; }
  .ev-page .ev-work, .ev-page .ev-twocol, .ev-page .ev-seo, .ev-page .ev-evgrid { grid-template-columns: 1fr; }
  .ev-page .ev-form { grid-template-columns: 1fr; } .ev-page .ev-stats { grid-template-columns: 1fr 1fr; }
  /* the five facts two across; the fifth (Organiser) takes the full width, so no cell is left empty */
  .ev-page .ev-evtop .ev-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-page .ev-evtop .ev-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ev-page .ev-mapbox { min-height: 300px; }
}
@media (max-width: 720px) {
  /* products: two rows of two (the tabs and "See all" stay) */
  .ev-page .ev-gear-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* three products: two, then the third at full width; one product keeps its single column */
  .ev-page .ev-gear-row[data-n="2"], .ev-page .ev-gear-row[data-n="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-page .ev-gear-row[data-n="3"] > a.ev-prod:nth-of-type(3) { grid-column: 1 / -1; }
  .ev-page .ev-gear-row[data-n="2"] .ev-prod img { aspect-ratio: 1; height: auto; }
  .ev-page .ev-gear-row[data-n="1"] .ev-prod img, .ev-page .ev-gear-row[data-n="3"] > a.ev-prod:nth-of-type(3) img { aspect-ratio: auto; height: 200px; }
  .ev-page { padding-bottom: 40px; }
  .ev-page .ev-cards { grid-template-columns: 1fr; }
  .ev-page .ev-money { grid-template-columns: 1fr 1fr; } .ev-page .ev-money input { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .ev-page .ev-actrow { flex-direction: column; flex-wrap: nowrap; } .ev-page .ev-actrow .ev-btn, .ev-page .ev-actrow .ev-btn.y { flex: none; width: 100%; }
  .ev-page .ev-stats > div { padding: 12px 14px 14px; } .ev-page .ev-stats b { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .ev-page * { scroll-behavior: auto; transition: none !important; } }
