/**
 * Event Pages — annual network event landing page layout.
 *
 * Palette is the main site's (black surfaces, brand blue #0075E7, off-white
 * bands) to match the location pages. Campaign artwork keeps its own colours as
 * an image, but never sets the page palette.
 *
 * Elementor puts a widget's CSS class on the widget WRAPPER, so headings and
 * text hand `font`/`color: inherit` to their inner element.
 *
 * Date Created: 09172026
 */

/* ─── FONTS ────────────────────────────────────────────── */
@font-face {
	font-family: 'Pickler Social';
	src: url('https://thepicklr.com/wp-content/uploads/2025/01/PicklrSocial-Regular-1.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Pickler Social';
	src: url('https://thepicklr.com/wp-content/uploads/2025/01/PicklrSocial-Bold-1.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Pickler Social Condensed';
	src: url('https://thepicklr.com/wp-content/uploads/2025/01/PicklrSocialCondensed-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

/* ─── TOKENS ───────────────────────────────────────────── */
.ev-page {
	--ev-blue: #0075E7;
	--ev-blue-dark: #0063c7;
	--ev-blue-soft: rgba(0, 117, 231, 0.12);
	--ev-black: #000000;
	--ev-ink: #0a0f14;
	--ev-white: #ffffff;
	--ev-offwhite: #F4F6F8;
	--ev-muted: #667085;
	--ev-body: #344054;
	--ev-border: #e2e8f0;
	--ev-radius: 12px;
	--ev-radius-lg: 20px;

	/* Both spellings of each family genuinely exist on the site. */
	--ev-font: 'Pickler Social', 'Picklr Social', 'Montserrat', 'Inter', sans-serif;
	--ev-font-condensed: 'Picklr Social Condensed', 'Pickler Social Condensed', 'Pickler Social', 'Montserrat', sans-serif;

	font-family: var(--ev-font);
	color: var(--ev-black);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: clip;
	/* Sections butt together — no container gap between bands. */
	gap: 0 !important;
}

/* The JSON-LD widget renders nothing visible. */
.ev-page .ev-schema { display: none; }

.ev-page *,
.ev-page *::before,
.ev-page *::after { box-sizing: border-box; }

.ev-page img { max-width: 100%; height: auto; }

.ev-page .elementor-heading-title {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	line-height: inherit;
	margin: 0;
}

.ev-page .elementor-widget-text-editor,
.ev-page .elementor-widget-text-editor p { font-family: var(--ev-font); }

.ev-page .elementor-widget-text-editor .elementor-widget-container > *:last-child,
.ev-page .elementor-widget-text-editor .elementor-widget-container > p:last-child { margin-bottom: 0; }

/* ─── SHARED TYPE ──────────────────────────────────────── */
.ev-page .ev-eyebrow {
	font-family: var(--ev-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--ev-blue);
	margin: 0 0 16px;
}

.ev-page .ev-h1 {
	font-family: var(--ev-font-condensed);
	font-weight: 900;
	font-size: clamp(50px, 7vw, 104px);
	line-height: 0.92;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--ev-white);
	margin: 0 0 18px;
	overflow-wrap: break-word;
}

.ev-page .ev-h2 {
	font-family: var(--ev-font-condensed);
	font-weight: 900;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 0.98;
	text-transform: uppercase;
	color: var(--ev-black);
	margin: 0 0 20px;
}

.ev-page .ev-body {
	font-size: clamp(16px, 1.8vw, 19px);
	line-height: 1.65;
	color: var(--ev-body);
}

/* ─── BUTTONS ──────────────────────────────────────────── */
.ev-page .ev-cta .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 19px 40px;
	font-family: var(--ev-font);
	font-size: clamp(15px, 1.6vw, 17px);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.15;
	text-transform: uppercase;
	text-align: center;
	color: var(--ev-white);
	background-color: var(--ev-blue);
	border: 0;
	border-radius: 100px;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.ev-page .ev-cta .elementor-button:hover,
.ev-page .ev-cta .elementor-button:focus {
	color: var(--ev-white);
	background-color: var(--ev-blue-dark);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 117, 231, 0.34);
}

.ev-page .ev-cta .elementor-button:focus-visible {
	outline: 3px solid var(--ev-black);
	outline-offset: 3px;
}

/* White button on the blue membership band. */
.ev-page .ev-cta--light .elementor-button {
	color: var(--ev-black);
	background-color: var(--ev-white);
}

.ev-page .ev-cta--light .elementor-button:hover,
.ev-page .ev-cta--light .elementor-button:focus {
	color: var(--ev-white);
	background-color: var(--ev-black);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* Register buttons fill their column so they are easy to tap. */
.ev-page .ev-cta--register { width: 100%; }

.ev-page .ev-cta--register .elementor-button {
	display: flex;
	width: 100%;
	padding: 16px 20px;
	font-size: 15px;
}

/* Division buttons: outlined, so four in a stack don't shout. */
.ev-page .ev-cta--division .elementor-button {
	justify-content: space-between;
	text-align: left;
	white-space: nowrap;
	color: var(--ev-black);
	background-color: var(--ev-white);
	box-shadow: inset 0 0 0 2px var(--ev-blue);
	letter-spacing: 0.02em;
	text-transform: none;
}

.ev-page .ev-cta--division .elementor-button::after {
	/* The "Register by division" label above says what these do. */
	content: '\2192';
	margin-left: 12px;
	font-size: 18px;
	color: var(--ev-blue);
	white-space: nowrap;
}

.ev-page .ev-cta--division .elementor-button:hover,
.ev-page .ev-cta--division .elementor-button:focus {
	color: var(--ev-white);
	background-color: var(--ev-blue);
	box-shadow: inset 0 0 0 2px var(--ev-blue), 0 10px 22px rgba(0, 117, 231, 0.26);
}

.ev-page .ev-cta--division .elementor-button:hover::after,
.ev-page .ev-cta--division .elementor-button:focus::after { color: var(--ev-white); }

/* ─── HERO ─────────────────────────────────────────────── */
.ev-hero {
	position: relative;
	color: var(--ev-white);
	background-color: var(--ev-black);
	overflow: hidden;
	isolation: isolate;
}

.ev-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.86) 50%, rgba(0, 0, 0, 0.8) 100%),
		linear-gradient(0deg, rgba(0, 117, 231, 0.28) 0%, rgba(0, 117, 231, 0) 55%);
}

/* No z-index here: a stacking context would stop the logo's screen blend
   reaching the photo, and it would render as a black box. */
.ev-hero > * { position: relative; }

.ev-hero__grid > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	align-items: center;
	gap: 40px;
}

.ev-page .ev-hero__sub {
	font-family: var(--ev-font-condensed);
	font-weight: 900;
	font-size: clamp(22px, 2.6vw, 32px);
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--ev-blue);
	margin: 0 0 16px;
}

.ev-page .ev-hero__lede {
	font-size: clamp(16px, 1.9vw, 20px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	max-width: 50ch;
	margin: 0 0 28px;
}

/* A soft dark pool behind the artwork keeps the photo from showing through it. */
.ev-hero__art { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0)); }

/* The artwork is on black; screen drops the black into the dark hero. */
.ev-page .ev-hero__logo img {
	display: block;
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	mix-blend-mode: screen;
}

/* Key facts — visible without scrolling. Spans both hero columns. */
.ev-hero__facts { grid-column: 1 / -1; }

.ev-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.ev-facts li {
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--ev-radius);
	background: rgba(255, 255, 255, 0.06);
}

.ev-facts span {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ev-blue);
	margin: 0 0 6px;
}

.ev-facts strong {
	display: block;
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.3;
	color: var(--ev-white);
}

/* ─── SPLIT (intro / prizes) ───────────────────────────── */
.ev-split > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 64px;
}

.ev-page .ev-photo img {
	display: block;
	width: 100%;
	border-radius: var(--ev-radius-lg);
	object-fit: cover;
}

.ev-page .ev-intro .ev-photo img { aspect-ratio: 7 / 6; }

/* ─── SCHEDULE ─────────────────────────────────────────── */
.ev-schedule {
	background: var(--ev-offwhite);
	scroll-margin-top: 90px;
}

.ev-schedule__head { text-align: center; }

.ev-clubs { width: 100%; }

/* Tab bar is built by event.js only when there are 2+ clubs. */
.ev-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 28px;
}

.ev-tabs__tab {
	padding: 12px 24px;
	font-family: var(--ev-font);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ev-black);
	background: var(--ev-white);
	border: 2px solid var(--ev-black);
	border-radius: 100px;
	cursor: pointer;
}

.ev-tabs__tab[aria-selected='true'] {
	color: var(--ev-white);
	background: var(--ev-black);
}

.ev-club[hidden] { display: none !important; }

.ev-page .ev-club__name {
	font-family: var(--ev-font-condensed);
	font-weight: 900;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1;
	text-transform: uppercase;
	color: var(--ev-black);
	margin: 0;
}

.ev-page .ev-club__address {
	font-size: 15px;
	color: var(--ev-muted);
}

.ev-page .ev-club__address a { color: var(--ev-blue); text-decoration: underline; }

/* One card per session: when | what | price + register. */
.ev-session {
	display: grid !important;
	grid-template-columns: 200px minmax(0, 1fr) 300px;
	gap: 0;
	background: var(--ev-white);
	border: 1px solid var(--ev-border);
	border-radius: var(--ev-radius-lg);
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.ev-session__when {
	background: var(--ev-black);
	color: var(--ev-white);
	padding: 28px 24px !important;
	justify-content: center;
}

.ev-page .ev-session__day {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ev-blue);
}

.ev-page .ev-session__date {
	font-family: var(--ev-font-condensed);
	font-weight: 900;
	font-size: clamp(34px, 3.2vw, 44px);
	line-height: 0.95;
	white-space: nowrap;
	text-transform: uppercase;
	color: var(--ev-white);
	margin: 4px 0 8px;
}

.ev-page .ev-session__time {
	font-size: 15px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.85);
}

.ev-session__main { padding: 28px 32px !important; }

.ev-page .ev-session__title {
	font-family: var(--ev-font-condensed);
	font-weight: 900;
	font-size: clamp(26px, 2.8vw, 36px);
	line-height: 1;
	text-transform: uppercase;
	color: var(--ev-black);
	margin: 0 0 14px;
}

.ev-page .ev-session__facts ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ev-page .ev-session__facts li {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--ev-border);
	font-size: 15px;
	line-height: 1.5;
	color: var(--ev-body);
}

.ev-page .ev-session__facts li:first-child { border-top: 0; padding-top: 0; }

.ev-page .ev-session__facts strong {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.9;
	text-transform: uppercase;
	color: var(--ev-black);
}

.ev-session__book {
	padding: 28px 28px !important;
	background: var(--ev-offwhite);
	border-left: 1px solid var(--ev-border);
	gap: 10px !important;
	justify-content: center;
}

/* Price: members free is the secondary goal, so it leads in brand blue. */
.ev-page .ev-price { margin: 0 0 6px; }

.ev-page .ev-price p {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin: 0;
	padding: 6px 0;
	font-size: 14px;
	line-height: 1.3;
	color: var(--ev-body);
}

.ev-page .ev-price p + p { border-top: 1px solid var(--ev-border); }

.ev-page .ev-price strong {
	font-family: var(--ev-font-condensed);
	font-weight: 900;
	font-size: 28px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--ev-black);
}

.ev-page .ev-price p:first-child strong { color: var(--ev-blue); }

.ev-page .ev-book__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ev-muted);
	margin: 6px 0 0;
}

/* ─── PRIZES ───────────────────────────────────────────── */
.ev-prizes {
	background: var(--ev-black);
	color: var(--ev-white);
}

.ev-page .ev-prizes .ev-h2 { color: var(--ev-white); }
.ev-page .ev-prizes .ev-body { color: rgba(255, 255, 255, 0.85); }


.ev-photos > .e-con-inner,
.ev-photos {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px !important;
}

.ev-page .ev-photos .ev-photo img { aspect-ratio: 3 / 4; }
.ev-page .ev-photos .ev-photo:nth-child(2) { margin-top: 48px; }

/* ─── FAQ ──────────────────────────────────────────────── */
.ev-faq-section__head { text-align: center; }

.ev-faq { max-width: 820px; margin: 0 auto; width: 100%; }

.ev-faq details { border-bottom: 1px solid var(--ev-border); }
.ev-faq details:first-child { border-top: 1px solid var(--ev-border); }

.ev-faq summary {
	position: relative;
	display: block;
	padding: 22px 46px 22px 0;
	font-size: clamp(16px, 1.9vw, 19px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--ev-black);
	cursor: pointer;
	list-style: none;
}

.ev-faq summary::-webkit-details-marker { display: none; }

.ev-faq summary:focus-visible {
	outline: 3px solid var(--ev-blue);
	outline-offset: 2px;
}

.ev-faq summary::before,
.ev-faq summary::after {
	content: '';
	position: absolute;
	right: 8px;
	top: 50%;
	background: var(--ev-blue);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.ev-faq summary::before { width: 16px; height: 2.5px; margin-top: -1.25px; }
.ev-faq summary::after { width: 2.5px; height: 16px; margin-top: -8px; right: 14.75px; }

.ev-faq details[open] summary::after { transform: rotate(90deg); opacity: 0; }

.ev-faq details > *:not(summary) {
	margin: 0 0 22px;
	padding-right: 46px;
	font-size: clamp(15px, 1.7vw, 17px);
	line-height: 1.65;
	color: var(--ev-body);
}

/* ─── MEMBERSHIP BAND ──────────────────────────────────── */
.ev-members {
	background: var(--ev-blue);
	color: var(--ev-white);
	text-align: center;
}

.ev-page .ev-members .elementor-widget { text-align: center; }

.ev-page .ev-members .ev-h2 {
	color: var(--ev-white);
	font-size: clamp(44px, 7vw, 88px);
}

.ev-page .ev-members .ev-body {
	color: rgba(255, 255, 255, 0.92);
	max-width: 56ch;
	margin: 0 auto 30px;
}

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
	.ev-hero__grid > .e-con-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr); }
	.ev-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ev-split > .e-con-inner { gap: 40px; }

	.ev-session { grid-template-columns: 150px minmax(0, 1fr); }
	.ev-session__book {
		grid-column: 1 / -1;
		border-left: 0;
		border-top: 1px solid var(--ev-border);
	}
}

@media (max-width: 767px) {
	.ev-hero__grid > .e-con-inner {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.ev-hero__art { order: -1; }
	.ev-page .ev-hero__logo img { max-width: 170px; margin: 0; }

	.ev-hero::before {
		background:
			linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0.96) 100%),
			linear-gradient(0deg, rgba(0, 117, 231, 0.26) 0%, rgba(0, 117, 231, 0) 60%);
	}

	.ev-facts { gap: 10px; margin-top: 28px; }
	.ev-facts li { padding: 12px 14px; }

	.ev-split > .e-con-inner { grid-template-columns: 1fr; gap: 32px; }

	/* Full-width, easy-to-tap CTAs. */
	.ev-page .ev-cta .elementor-button {
		display: flex;
		width: 100%;
		padding: 18px 22px;
	}

	.ev-session { grid-template-columns: 1fr; }

	.ev-session__when {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap;
		align-items: baseline !important;
		justify-content: flex-start;
		gap: 4px 12px !important;
		padding: 16px 20px !important;
	}

	.ev-page .ev-session__date { font-size: 30px; margin: 0; }
	.ev-page .ev-session__time { width: 100%; }
	.ev-session__main { padding: 22px 20px !important; }
	.ev-session__book { padding: 20px !important; }

	.ev-page .ev-session__facts li { grid-template-columns: 1fr; gap: 0; }

	.ev-page .ev-photos .ev-photo:nth-child(2) { margin-top: 32px; }

	.ev-faq summary { padding-right: 40px; }
	.ev-faq details > *:not(summary) { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.ev-page *,
	.ev-page *::before,
	.ev-page *::after {
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
	}
}
