/* Event Partnership — public page for convention and event organizers. */

.ep-page {
	--event-accent: #428583;
	--event-accent-ink: #ffffff;
	background-color: #fffaf6;
	color: #001a1f;
	min-height: 100%;
}

.ep-page .bgl-stacked-section--cream {
	background-color: #f6efe9;
}

.ep-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 32px;
}

.ep-section {
	padding: 72px 0 104px;
}

.ep-section-title {
	margin: 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: clamp(32px, 4vw, 40px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.4px;
	text-align: center;
	color: #003842;
	text-wrap: balance;
}

.ep-section-lead {
	max-width: 640px;
	margin: 16px auto 0;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.55;
	text-align: center;
	color: #3d5559;
}

.ep-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	padding: 8px 14px;
	border-radius: 999px;
	background: color-mix(in srgb, #ff9626 18%, #fff);
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8a4b00;
}

.ep-kicker i {
	color: #ff9626;
	font-size: 16px;
}

/* Hero */
.ep-hero {
	padding-right: 60px;
	padding-bottom: 120px;
	padding-left: 60px;
	background: linear-gradient(
		165deg,
		#ffe0b8 0%,
		color-mix(in srgb, #ff9626 12%, #fffaf6) 46%,
		#fffaf6 100%
	);
}

.ep-hero-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.ep-hero-title,
.ep-hero-lead,
.ep-hero-actions {
	max-width: 720px;
}

.ep-hero-title {
	margin: 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: clamp(40px, 6vw, 64px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -1.4px;
	color: #001a1f;
	text-wrap: balance;
}

.ep-hero-lead {
	margin: 28px 0 0;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: clamp(18px, 2.2vw, 23px);
	font-weight: 400;
	line-height: 1.4;
	color: #003038;
}

.ep-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
}

.ep-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: var(--bgl-btn-radius, 999px);
	border: 2px solid transparent;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ep-btn i {
	font-size: 18px;
}

.ep-btn-primary {
	background: #ea9921;
	border-color: #ea9921;
	color: #fff;
}

.ep-btn-primary:hover {
	background: #d4861a;
	border-color: #d4861a;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.ep-btn-secondary {
	background: transparent;
	border-color: #428583;
	color: #428583;
}

.ep-btn-secondary:hover {
	background: #428583;
	border-color: #428583;
	color: #fff;
	text-decoration: none;
}

.ep-btn:focus-visible,
.partners-card-link:focus-visible {
	outline: 2px solid #003842;
	outline-offset: 3px;
}

/* Compare */
.ep-compare {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 24px;
	margin-top: 48px;
	align-items: stretch;
}

.ep-compare-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 28px 28px 24px;
	background: #fff;
	border: 1px solid rgba(0, 26, 31, 0.08);
	border-radius: 20px;
	box-shadow: 0 2px 16px rgba(0, 26, 31, 0.04);
}

.ep-compare-card.is-hub {
	background:
		linear-gradient(180deg, color-mix(in srgb, #428583 8%, #fff) 0%, #fff 42%);
	border-color: color-mix(in srgb, #428583 35%, #fff);
}

.ep-card-kicker {
	margin: 0;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5a6d71;
}

.ep-compare-card.is-hub .ep-card-kicker {
	color: #0f4c4a;
}

.ep-card-title {
	margin: 8px 0 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.15;
	color: #001a1f;
}

.ep-hub-tabs {
	margin: 18px 0 4px;
	min-width: 0;
	max-width: 100%;
}

.ep-hub-tabs .event-hub-tabs-inner {
	max-width: 100%;
}

.ep-hub-tabs .event-hub-tab {
	cursor: default;
}

.ep-points {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
}

.ep-points li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 10px 0;
	border-top: 1px solid rgba(0, 26, 31, 0.06);
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #001a1f;
}

.ep-points i {
	flex-shrink: 0;
	margin-top: 2px;
	font-size: 20px;
	color: #428583;
}

.ep-card-foot {
	margin: auto 0 0;
	padding-top: 18px;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #5a6d71;
}

/* Intent */
.ep-intent {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 48px;
}

.ep-intent-card {
	padding: 24px 22px 22px;
	background: #fff;
	border: 1px solid rgba(0, 26, 31, 0.08);
	border-radius: 18px;
	box-shadow: 0 2px 14px rgba(0, 26, 31, 0.04);
}

.ep-intent-card h3 {
	margin: 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 24px;
	font-weight: 400;
	color: #001a1f;
}

.ep-intent-card > p {
	margin: 8px 0 0;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 15px;
	line-height: 1.45;
	color: #3d5559;
}

.ep-badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.ep-intent-card .event-hub-badge {
	padding: 6px 12px;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 12px;
}

.ep-intent-card .event-hub-chip-row {
	margin-top: 14px;
	margin-bottom: 0;
}

.ep-callout {
	margin: 36px 0 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: clamp(26px, 3vw, 32px);
	font-weight: 400;
	line-height: 1.25;
	text-align: center;
	color: #003842;
}

/* Connected */
.ep-net {
	margin-top: 48px;
}

.ep-net-nodes {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	grid-template-areas:
		"profiles hub companies"
		"games hub opps";
	gap: 16px 36px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ep-net-profiles { grid-area: profiles; }
.ep-net-companies { grid-area: companies; }
.ep-net-games { grid-area: games; }
.ep-net-opps { grid-area: opps; }
.ep-net-hub-item { grid-area: hub; }

.ep-net-nodes li:not(.ep-net-hub-item) {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-height: 112px;
	padding: 18px 16px;
	background: #f6efe9;
	border: 1px solid rgba(0, 56, 66, 0.08);
	border-radius: 16px;
}

.ep-net-hub-item {
	display: flex;
	justify-content: center;
}

.ep-net-nodes i {
	font-size: 28px;
	color: #428583;
}

.ep-net-nodes span,
.ep-net-hub strong {
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #001a1f;
}

.ep-net-hub {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 148px;
	height: 148px;
	padding: 16px;
	background: #003842;
	border-radius: 50%;
	text-align: center;
}

.ep-net-hub i {
	font-size: 22px;
	color: #ffe0b8;
}

.ep-net-hub strong {
	color: #fff;
	font-size: 16px;
}

.ep-net-caption {
	max-width: 680px;
	margin: 28px auto 0;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 16px;
	line-height: 1.55;
	text-align: center;
	color: #3d5559;
}

/* B2B modules */
.ep-mods {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 48px 0 0;
	padding: 0;
	list-style: none;
}

.ep-mods li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 18px;
	background: #fff;
	border: 1px solid rgba(0, 26, 31, 0.08);
	border-radius: 16px;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #001a1f;
}

.ep-mods i {
	font-size: 26px;
	color: #428583;
}

.ep-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 16px;
}

.ep-feature {
	padding: 24px 24px 22px;
	background: #fff;
	border: 1px solid rgba(0, 26, 31, 0.08);
	border-radius: 18px;
}

.ep-feature-head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ep-feature-head i {
	font-size: 28px;
	color: #ea9921;
}

.ep-feature h3 {
	margin: 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 26px;
	font-weight: 400;
	color: #001a1f;
}

.ep-feature p {
	margin: 12px 0 0;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: #3d5559;
}

.ep-feature-note {
	margin-top: 10px !important;
	font-weight: 600;
	color: #003842 !important;
}

/* Built */
.ep-tune {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.ep-tune li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: #f6efe9;
	border: 1px solid rgba(0, 56, 66, 0.08);
	border-radius: 999px;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #001a1f;
}

.ep-tune i {
	font-size: 18px;
	color: #428583;
}

.ep-built {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 28px;
}

.ep-built-card {
	padding: 22px 22px 20px;
	border: 1px solid rgba(0, 26, 31, 0.08);
	border-radius: 16px;
	background: #fff;
}

.ep-built-card h3 {
	margin: 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 24px;
	font-weight: 400;
	color: #001a1f;
}

.ep-built-card p {
	margin: 8px 0 0;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: #3d5559;
}

.ep-quote {
	max-width: 760px;
	margin: 36px auto 0;
	padding: 0;
	border: 0;
}

.ep-quote p {
	margin: 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 400;
	line-height: 1.25;
	text-align: center;
	color: #003842;
	text-wrap: balance;
}

/* Before / during / after */
.ep-when-section {
	background: #fff4e6;
}

.ep-when {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 48px 0 0;
	padding: 8px 0 0;
	list-style: none;
	position: relative;
}

.ep-when::before {
	content: "";
	position: absolute;
	top: 22px;
	left: 8%;
	right: 8%;
	height: 2px;
	background: color-mix(in srgb, #ff9626 55%, #fff);
}

.ep-when li {
	position: relative;
	padding-top: 28px;
}

.ep-when li::before {
	content: "";
	position: absolute;
	top: 14px;
	left: 0;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid #ff9626;
	box-shadow: 0 0 0 4px #fff4e6;
}

.ep-when-label {
	display: block;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.1;
	color: #001a1f;
}

.ep-when p {
	margin: 10px 0 0;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: #3d5559;
}

.ep-when-close {
	margin: 48px 0 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 400;
	line-height: 1.15;
	text-align: center;
	color: #003842;
	text-wrap: balance;
}

/* Partnership */
.ep-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 48px;
}

.ep-col {
	padding: 28px 26px 24px;
	background: #f6efe9;
	border-radius: 20px;
}

.ep-col h3 {
	margin: 0 0 8px;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: 28px;
	font-weight: 400;
	color: #001a1f;
}

.ep-checks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ep-checks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 11px 0;
	border-top: 1px solid rgba(0, 26, 31, 0.06);
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 15px;
	line-height: 1.45;
	color: #001a1f;
}

.ep-checks li:first-child {
	border-top: 0;
}

.ep-checks i {
	flex-shrink: 0;
	margin-top: 2px;
	font-size: 16px;
	color: #428583;
}

.ep-shape {
	max-width: 720px;
	margin: 40px auto 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	color: #003842;
	text-wrap: balance;
}

.ep-mutual {
	max-width: 640px;
	margin: 14px auto 0;
	font-family: 'Fustat', 'Manrope', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	color: #3d5559;
}

/* Live hubs */
#event-hubs {
	scroll-margin-top: calc(var(--bgl-header-h, 72px) + 16px);
}

.ep-hubs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 40px;
}

.ep-hubs-grid .events-teaser-card {
	height: 100%;
}

/* Closing */
.ep-cta {
	background: #003842;
	padding: 84px 24px 104px;
	text-align: center;
	z-index: 2;
}

.ep-cta-inner {
	max-width: 720px;
	margin: 0 auto;
}

.ep-cta-title {
	margin: 0;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: clamp(32px, 4vw, 44px);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.4px;
	color: #fff;
	text-wrap: balance;
}

.ep-cta-lead {
	margin: 16px 0 32px;
	font-family: 'Crimson Pro', Georgia, serif;
	font-size: clamp(20px, 2.4vw, 24px);
	font-weight: 400;
	line-height: 1.35;
	color: #ffe0b8;
}

@media (prefers-reduced-motion: reduce) {
	.ep-btn {
		transition: none;
	}

	.ep-btn-primary:hover {
		transform: none;
	}
}

@media (max-width: 992px) {
	.ep-hero {
		padding-right: 40px;
		padding-left: 40px;
		padding-bottom: 96px;
	}

	.ep-compare,
	.ep-features,
	.ep-built,
	.ep-cols,
	.ep-intent {
		grid-template-columns: 1fr;
	}

	.ep-net-nodes {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"hub hub"
			"profiles companies"
			"games opps";
		gap: 16px;
	}

	.ep-when {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ep-when::before {
		display: none;
	}
}

@media (max-width: 768px) {
	.ep-wrap {
		padding: 0 20px;
	}

	.ep-section {
		padding: 56px 0 80px;
	}

	.ep-hero {
		padding-right: 20px;
		padding-left: 20px;
		padding-bottom: 88px;
	}

	.ep-hero-actions,
	.ep-btn {
		width: 100%;
	}

	.ep-mods {
		grid-template-columns: 1fr;
	}

	.ep-cta {
		padding: 64px 20px 80px;
	}
}

@media (max-width: 480px) {
	.ep-net-nodes {
		grid-template-columns: 1fr;
		grid-template-areas:
			"hub"
			"profiles"
			"companies"
			"games"
			"opps";
	}

	.ep-card-title {
		font-size: 28px;
	}
}
