/* ==========================================================================
   E3 Connect Hub – styles
   Colours come from the E3 2026 Brand & Event Identity Manual.
   ========================================================================== */

:root {
	--e3-orange: var(--wp--preset--color--brand-orange, #F05820);
	--e3-cobalt: var(--wp--preset--color--cobalt-blue, #2D4CB9);
	--e3-indigo: var(--wp--preset--color--deep-indigo, #3636A7);
	--e3-lavender: var(--wp--preset--color--royal-lavender, #8342C4);
	--e3-cream: var(--wp--preset--color--cream, #FAF8F4);
	--e3-ink: var(--wp--preset--color--dark-grey, #1C1C1C);
	--e3-muted: #5c5c66;
	--e3-field: #F1F0EC;
	--e3-gradient: linear-gradient(90deg, #2D4CB9 0%, #8342C4 100%);
	--e3-ring: 0 0 0 3px rgba(131, 66, 196, .35);
	--e3-radius-card: 22px;
	--e3-radius-img: 14px;
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.e3-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

:where(a, button, input, textarea, select):focus-visible {
	outline: none;
	box-shadow: var(--e3-ring);
}

/* --------------------------------------------------------------------------
   Layout: sidebar + content
   -------------------------------------------------------------------------- */

.e3-shell {
	display: grid;
	grid-template-columns: 268px minmax(0, 1fr);
	column-gap: clamp(20px, 2.6vw, 36px);
	max-width: 1300px;
	margin: 0 auto;
	padding: 44px clamp(20px, 4vw, 48px) 64px;
	box-sizing: border-box;
	min-height: 100vh;
}

.e3-shell > * { margin-block-start: 0 !important; }

.e3-sidebar {
	position: sticky;
	top: 32px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.admin-bar .e3-sidebar { top: 64px; }

.e3-sidebar > * { margin: 0 !important; }

.e3-logo img { width: 100%; max-width: 250px; height: auto; }

/* Menu pills */
.e3-nav,
.e3-nav .wp-block-navigation__container,
.e3-nav .wp-block-navigation__responsive-container-content {
	width: 100%;
	gap: 9px !important;
}

.e3-nav .wp-block-navigation__container { flex-direction: column; align-items: stretch !important; }

.e3-nav .wp-block-navigation-item { width: 100%; }

.e3-nav .wp-block-navigation-item__content {
	display: flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 66px;
	padding: 10px 18px !important;
	border: 4px solid var(--e3-lavender);
	border-radius: 999px;
	background: #fff;
	color: var(--e3-ink) !important;
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition: background .2s ease, color .2s ease, transform .15s ease;
}

.e3-nav .wp-block-navigation-item__content:hover { background: #f4eefb; transform: translateY(-1px); }

.e3-nav .current-menu-item > .wp-block-navigation-item__content,
.e3-nav .wp-block-navigation-item__content[aria-current="page"] {
	background: var(--e3-gradient) border-box;
	border-color: transparent;
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(54, 54, 167, .22);
}

.e3-account {
	font-size: .8125rem;
	color: var(--e3-muted);
	text-align: center;
}

.e3-account a { color: var(--e3-cobalt); font-weight: 600; }

/* Content column */
.e3-main { min-width: 0; }

.e3-content > * { margin-block-start: 0; margin-block-end: 0; }
.e3-content > * + * { margin-block-start: 1.1rem; }

.e3-content > h1:first-child,
.e3-content > .wp-block-heading:first-child { margin-top: 14px; }

.e3-content h1 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); letter-spacing: -.01em; }

.e3-intro { font-size: 1.0625rem; line-height: 1.35; max-width: 62em; }

.e3-content > .e3-intro + * { margin-block-start: 1.6rem; }

/* --------------------------------------------------------------------------
   About page: hero + facts
   -------------------------------------------------------------------------- */

.e3-hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--e3-radius-img);
	background: #0d1450;
	isolation: isolate;
}

.e3-hero > * { margin: 0 !important; }

.e3-hero__image img {
	display: block;
	width: 100%;
	height: clamp(280px, 40vw, 510px);
	object-fit: cover;
	object-position: 50% 80%;
}

.e3-hero__panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 22px 30px 24px;
	background: rgba(255, 255, 255, .78);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	font-size: 1rem;
	line-height: 1.3;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.e3-hero__panel > * { margin: 0 0 .9em !important; }
.e3-hero__panel > *:last-child { margin-bottom: 0 !important; }

.e3-hero__kicker { font-weight: 600; }

@media (hover: hover) and (min-width: 901px) {
	.e3-hero__panel { transform: translateY(calc(100% - 66px)); }
	.e3-hero:hover .e3-hero__panel,
	.e3-hero:focus-within .e3-hero__panel { transform: translateY(0); }
	.e3-hero__kicker::after {
		content: "Hover to read more";
		margin-left: .75em;
		font-size: .75rem;
		font-weight: 600;
		color: var(--e3-lavender);
		text-transform: uppercase;
		letter-spacing: .06em;
		transition: opacity .3s;
	}
	.e3-hero:hover .e3-hero__kicker::after { opacity: 0; }
}

.e3-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-block-start: 14px !important;
}

.e3-fact {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 66px;
	padding: 8px 20px;
	border: 3px solid var(--e3-lavender);
	border-radius: 999px;
	background: #fff;
	box-sizing: border-box;
}

.e3-facts > *,
.e3-fact > * { margin: 0 !important; }

.e3-fact__label { font-size: .75rem; color: var(--e3-muted); }
.e3-fact__value { font-size: .8125rem; font-weight: 700; line-height: 1.2; }

/* --------------------------------------------------------------------------
   Photo gallery: thumbnail grid (opens the lightbox)
   -------------------------------------------------------------------------- */

.e3-content .wp-block-gallery.e3-gallery {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px !important;
}

.e3-content .wp-block-gallery.e3-gallery > figure.wp-block-image {
	width: auto !important;
	margin: 0 !important;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	overflow: hidden;
	background: #e7e3f1;
	position: relative;
}

.e3-gallery figure.wp-block-image a { display: block; width: 100%; height: 100%; cursor: zoom-in; }

.e3-gallery figure.wp-block-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	transition: transform .35s ease, filter .35s ease;
}

.e3-gallery figure.wp-block-image:hover img { transform: scale(1.05); filter: saturate(1.1); }

.e3-gallery figure.wp-block-image figcaption {
	position: absolute;
	inset: auto 0 0 0;
	margin: 0;
	padding: 28px 12px 10px;
	background: linear-gradient(transparent, rgba(10, 12, 50, .78));
	color: #fff;
	font-size: .8125rem;
	text-align: left;
	opacity: 0;
	transition: opacity .25s ease;
	pointer-events: none;
	max-height: none;
	overflow: visible;
}

.e3-gallery figure.wp-block-image:hover figcaption { opacity: 1; }

.e3-gallery-heading { margin-top: 2rem !important; }

/* Lightbox */
.e3-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 72px;
	grid-template-rows: 64px minmax(0, 1fr) auto;
	align-items: center;
	background: rgba(8, 11, 46, .94);
	color: #fff;
	opacity: 0;
	transition: opacity .2s ease;
}

.e3-lb.is-open { opacity: 1; }

.e3-lb__count { grid-column: 1 / 3; grid-row: 1; padding-left: 24px; font-size: .875rem; letter-spacing: .05em; opacity: .8; }

.e3-lb__stage {
	grid-column: 2;
	grid-row: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 0;
	touch-action: pan-y;
}

.e3-lb__img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
	user-select: none;
}

.e3-lb__caption { grid-column: 1 / -1; grid-row: 3; margin: 0; padding: 16px 24px 26px; text-align: center; font-size: 1rem; }

.e3-lb__btn {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	cursor: pointer;
	transition: background .2s ease;
	justify-self: center;
}

.e3-lb__btn:hover { background: rgba(255, 255, 255, .28); }
.e3-lb__btn svg { width: 28px; height: 28px; }
.e3-lb__prev { grid-column: 1; grid-row: 2; }
.e3-lb__next { grid-column: 3; grid-row: 2; }
.e3-lb__close { grid-column: 3; grid-row: 1; }

/* --------------------------------------------------------------------------
   Partner directory
   -------------------------------------------------------------------------- */

.e3-directory { display: flex; flex-direction: column; gap: 14px; }

.e3-search {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	padding: 0 18px;
	height: 40px;
	border: 3px solid var(--e3-lavender);
	border-radius: 999px;
	background: #fff;
}

.e3-search .e3-icon { width: 20px; height: 20px; color: #6b6b75; flex: none; }

.e3-search__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: .9375rem;
	font-style: italic;
	color: var(--e3-ink);
}

.e3-search__input:focus { outline: none; box-shadow: none; }
.e3-search:focus-within { box-shadow: var(--e3-ring); }

.e3-tiers { display: flex; flex-wrap: wrap; gap: 8px; }

.e3-tier {
	padding: 7px 16px;
	border: 2px solid var(--e3-lavender);
	border-radius: 999px;
	background: #fff;
	color: var(--e3-ink);
	font: inherit;
	font-size: .8125rem;
	font-weight: 600;
	cursor: pointer;
}

.e3-tier.is-active { background: var(--e3-gradient); border-color: transparent; color: #fff; }

.e3-partner-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.e3-partner {
	display: flex;
	flex-direction: column;
	padding: 24px 28px 18px;
	border: 2px solid var(--e3-lavender);
	border-radius: var(--e3-radius-card);
	background: #fff;
	box-sizing: border-box;
	transition: box-shadow .2s ease, transform .2s ease;
}

.e3-partner:hover { box-shadow: 0 14px 34px rgba(54, 54, 167, .14); transform: translateY(-2px); }
.e3-partner[hidden] { display: none; }
.e3-partner-grid > *, .e3-speakers > *, .e3-gallery > * { margin: 0 !important; }

.e3-partner__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }

.e3-partner__titles {
	flex: 1;
	min-width: 0;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--e3-lavender);
	margin-top: 6px;
}

.e3-partner__name { margin: 0; font-size: 1.0625rem; font-weight: 700; color: var(--e3-ink); }
.e3-partner__cat { margin: 4px 0 0; font-size: .8125rem; color: #444; }

.e3-partner__img {
	flex: none;
	width: 154px;
	height: 72px;
	object-fit: cover;
	border-radius: 8px;
}

.e3-partner__info {
	list-style: none;
	margin: 18px 0 16px;
	padding: 0;
	display: grid;
	gap: 6px;
	font-size: .78rem;
	line-height: 1.35;
	color: #333;
	flex: 1;
}

.e3-partner__info li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 8px; align-items: start; }
.e3-partner__info li:first-child { margin-bottom: 8px; }
.e3-partner__info .e3-icon { width: 15px; height: 15px; color: var(--e3-lavender); margin-top: 1px; }
.e3-partner__info span, .e3-partner__info a { overflow-wrap: anywhere; }
.e3-partner__info a { color: #1d3fc4; font-weight: 700; text-decoration: underline; }

.e3-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 40px;
	padding: 8px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--e3-gradient);
	color: #fff !important;
	font: inherit;
	font-size: .9375rem;
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	transition: filter .2s ease, transform .15s ease, box-shadow .2s ease;
}

.e3-btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(54, 54, 167, .25); }
.e3-btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.e3-btn--mail { align-self: center; width: min(244px, 100%); min-height: 34px; padding: 6px 20px; font-size: .8125rem; }
.e3-btn--mail .e3-icon { width: 22px; height: 22px; }

.e3-pager { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 4px; }
.e3-pager:empty { display: none; }

.e3-pager button {
	min-width: 30px;
	height: 30px;
	padding: 0 6px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--e3-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.e3-pager button:hover { background: #efe8f8; }
.e3-pager button[aria-current="page"] { color: var(--e3-orange); }
.e3-pager button[disabled] { opacity: .3; cursor: default; background: none; }

.e3-empty { padding: 24px; border: 2px dashed #d4c4ea; border-radius: 16px; text-align: center; color: var(--e3-muted); }

/* --------------------------------------------------------------------------
   Speakers
   -------------------------------------------------------------------------- */

.e3-speakers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 14px;
	margin-top: 2.6rem !important;
	max-width: 820px;
}

.e3-speaker {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 22px 16px 16px;
	border: 2px solid var(--e3-lavender);
	border-radius: var(--e3-radius-card);
	background: #fff;
}

.e3-speaker__photo {
	flex: none;
	width: 94px;
	height: 94px;
	border-radius: 50%;
	object-fit: cover;
}

.e3-speaker__photo--initials {
	display: grid;
	place-items: center;
	background: var(--e3-gradient);
	color: #fff;
	font-size: 1.75rem;
	font-weight: 700;
}

.e3-speaker__body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-top: 14px; }
.e3-speaker__name { margin: 0; font-size: 1.0625rem; font-weight: 700; color: var(--e3-ink); }
.e3-speaker__pos { margin: 2px 0 0; font-size: .78rem; color: #444; }
.e3-speaker__talk { margin: 10px 0 0; font-size: .8125rem; font-weight: 700; font-style: italic; line-height: 1.25; }

.e3-speaker__more {
	align-self: flex-end;
	margin-top: 16px;
	padding: 4px 6px;
	border: 0;
	background: none;
	color: var(--e3-cobalt);
	font: inherit;
	font-size: .8125rem;
	font-weight: 700;
	font-style: italic;
	cursor: pointer;
}

.e3-speaker__more:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Relive E3 2026: video cards
   -------------------------------------------------------------------------- */

.e3-videos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 18px;
	margin-top: 2rem !important;
}

.e3-videos > * { margin: 0 !important; }
.e3-videos--featured > .e3-video:first-child { grid-column: 1 / -1; }

.e3-video {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 2px solid var(--e3-lavender);
	border-radius: var(--e3-radius-card);
	background: #fff;
	transition: box-shadow .2s ease, transform .2s ease;
}

.e3-video:hover { box-shadow: 0 14px 34px rgba(54, 54, 167, .14); }

.e3-video__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #0d1450;
	overflow: hidden;
}

.e3-video__frame--cover { background: #1E3FD8 url("../images/swirl-bg.jpg") center / cover no-repeat; }

.e3-video__frame iframe,
.e3-video__frame--embed > * {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}

.e3-video__play { position: absolute; inset: 0; display: block; cursor: pointer; }

.e3-video__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease, filter .3s ease;
}

.e3-video__play:hover .e3-video__thumb { transform: scale(1.04); filter: brightness(.9); }

.e3-video__icon {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 74px;
	height: 74px;
	margin: -37px 0 0 -37px;
	border-radius: 50%;
	background: var(--e3-gradient);
	box-shadow: 0 10px 30px rgba(10, 12, 60, .45), 0 0 0 6px rgba(255, 255, 255, .25);
	transition: transform .2s ease;
}

.e3-video__icon::after {
	content: "";
	position: absolute;
	left: 29px;
	top: 22px;
	border-style: solid;
	border-width: 15px 0 15px 24px;
	border-color: transparent transparent transparent #fff;
}

.e3-video__play:hover .e3-video__icon,
.e3-video__play:focus-visible .e3-video__icon { transform: scale(1.08); }

.e3-video__body { padding: 16px 22px 20px; }
.e3-video__title { margin: 0; font-size: 1.0625rem; font-weight: 700; color: var(--e3-ink); line-height: 1.3; }
.e3-video__desc { margin: 6px 0 0; font-size: .875rem; color: #444; }

.e3-videos--featured > .e3-video:first-child .e3-video__title { font-size: 1.25rem; }

@media (max-width: 600px) {
	.e3-videos { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 1.4rem !important; }
	.e3-video__icon { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
	.e3-video__icon::after { left: 23px; top: 17px; border-width: 13px 0 13px 20px; }
	.e3-video__body { padding: 14px 18px 16px; }
}

/* --------------------------------------------------------------------------
   Modals (speaker summaries, forms, thank-you)
   -------------------------------------------------------------------------- */

.e3-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 20px;
	opacity: 0;
	transition: opacity .2s ease;
}

.e3-modal[hidden] { display: none; }
.e3-modal.is-open { opacity: 1; }

.e3-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(120, 120, 130, .45);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}

.e3-modal__panel {
	position: relative;
	width: min(560px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 48px 44px 40px;
	box-sizing: border-box;
	border-radius: 14px;
	background: rgba(252, 252, 252, .97);
	box-shadow: 0 30px 80px rgba(20, 20, 60, .3);
	transform: translateY(12px) scale(.98);
	transition: transform .25s ease;
}

.e3-modal.is-open .e3-modal__panel { transform: none; }

.e3-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--e3-ink);
	cursor: pointer;
}

.e3-modal__close:hover { background: #ece8f3; }
.e3-modal__close svg { width: 28px; height: 28px; }

.e3-modal__title { margin: 0 0 6px; font-size: 1.5rem; color: var(--e3-cobalt); }
.e3-modal__lead { margin: 0 0 18px; color: var(--e3-muted); }

.e3-modal--speaker .e3-modal__panel { width: min(1070px, 100%); padding: 56px 56px 48px; }

.e3-speaker-modal__head { display: flex; gap: 14px; align-items: center; margin-bottom: 30px; padding-right: 40px; }
.e3-speaker-modal__head .e3-speaker__body { padding: 0; }

.e3-speaker-modal__body { font-size: 1.125rem; line-height: 1.55; }
.e3-speaker-modal__body > *:first-child { margin-top: 0; }

.e3-sample-note {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 8px;
	background: #fff4ec;
	color: var(--e3-orange);
	font-size: .8125rem !important;
	font-weight: 600;
}

.e3-thanks .e3-modal__panel {
	width: min(780px, 100%);
	padding: 90px 40px;
	text-align: center;
	background: rgba(255, 255, 255, .95);
}

.e3-thanks p {
	margin: 0;
	color: var(--e3-cobalt);
	font-size: clamp(1.3rem, 2.4vw, 1.75rem);
	font-weight: 700;
	font-style: italic;
	line-height: 1.3;
}

.e3-thanks p + p { margin-top: 1.6em; }

body.e3-modal-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.e3-form--contact {
	padding: 26px clamp(20px, 5vw, 46px) 28px;
	border: 2px solid var(--e3-lavender);
	border-radius: 16px;
	background: transparent;
	margin-top: 2rem !important;
}

.e3-field { margin: 0 0 18px; }

.e3-field label { display: block; margin-bottom: 8px; font-size: 1rem; }

.e3-field input,
.e3-field textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 18px;
	border: 2px solid #E6E4E0;
	border-radius: 12px;
	background: var(--e3-field);
	font: inherit;
	color: var(--e3-ink);
	transition: border-color .2s ease, background .2s ease;
}

.e3-field textarea { min-height: 180px; resize: vertical; }

.e3-field input::placeholder,
.e3-field textarea::placeholder { font-style: italic; color: #8a8a92; }

.e3-field input:focus,
.e3-field textarea:focus { border-color: var(--e3-lavender); background: #fff; box-shadow: none; }

.e3-form__error { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #fdecec; color: #a12626; font-size: .9375rem; }
.e3-form__error[hidden] { display: none; }

.e3-form__actions { margin: 6px 0 0; display: flex; justify-content: flex-end; }
.e3-modal .e3-form__actions { justify-content: stretch; }
.e3-modal .e3-form__actions .e3-btn { width: 100%; }

/* --------------------------------------------------------------------------
   Full-screen pages (Login, E3 2027)
   -------------------------------------------------------------------------- */

.e3-screen {
	min-height: 100vh;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px clamp(20px, 5vw, 80px);
	background: #1E3FD8 url("../images/swirl-bg.jpg") center / cover no-repeat;
	color: #fff;
}

.admin-bar .e3-screen { min-height: calc(100vh - 32px); }

.e3-screen-content { width: 100%; max-width: 1180px; }
.e3-screen-content > * { margin: 0; }

/* Login */
.e3-login {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
	align-items: center;
	gap: clamp(24px, 5vw, 80px);
}

.e3-login > * { margin: 0 !important; }

.e3-login__brand { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.e3-login__brand > * { margin: 0 !important; }
.e3-login__wtc img { width: min(415px, 100%); height: auto; }
.e3-login__e3 img { width: min(440px, 100%); height: auto; }

.e3-login__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 100px clamp(24px, 6vw, 96px) 90px;
	background: #fff;
	color: var(--e3-ink);
	box-shadow: 0 30px 70px rgba(14, 18, 80, .35);
	text-align: center;
}

.e3-login__card > * { margin: 0 !important; width: 100%; }

.e3-login__welcome { color: var(--e3-cobalt); font-size: 1.625rem; font-weight: 700; line-height: 1.1; }

.e3-login__card h1.e3-login__title {
	color: var(--e3-cobalt);
	font-size: clamp(2rem, 3vw, 2.4rem);
	line-height: 1.1;
	margin-bottom: 28px !important;
}

.e3-login-form { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: 356px; margin: 0 auto; }

.e3-input {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 40px;
	border: 2px solid transparent;
	background: #E9E9E9;
	box-sizing: border-box;
}

.e3-input:focus-within { border-color: var(--e3-ink); }

.e3-input > .e3-icon { position: absolute; left: 14px; width: 16px; height: 16px; color: var(--e3-cobalt); pointer-events: none; }

.e3-input input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 44px 0 40px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: .875rem;
	color: var(--e3-ink);
}

.e3-input input::placeholder { font-style: italic; color: #8a8a92; }
.e3-input input:focus { outline: none; box-shadow: none; }

.e3-input__toggle {
	position: absolute;
	right: 6px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: #8b8b8b;
	cursor: pointer;
}

.e3-input__toggle svg { width: 18px; height: 18px; }
.e3-input__toggle[aria-pressed="true"] { color: var(--e3-cobalt); }

.e3-login-form__forgot { margin-top: -6px; font-size: .8125rem; font-style: italic; color: #6d6d6d !important; text-decoration: none; }
.e3-login-form__forgot:hover { text-decoration: underline; }

.e3-login-form__submit { margin-top: 26px; min-width: 146px; min-height: 42px; border-radius: 2px; font-weight: 400; font-size: .875rem; }

.e3-login-form__invite { margin: -6px 0 0; font-size: .8125rem; }
.e3-login-form__invite a { color: #1d3fc4; text-decoration: underline; }

.e3-login-form__error { width: 100%; margin: 0; padding: 10px 12px; background: #fdecec; color: #a12626; font-size: .8125rem; text-align: left; box-sizing: border-box; }

.e3-login__signed-in { color: var(--e3-ink); }

/* E3 2027 */
.e3-next { display: flex; flex-direction: column; align-items: center; text-align: center; }
.e3-next > * { margin: 0 !important; }

.e3-screen h1.e3-next__title {
	color: #fff;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1.22;
	letter-spacing: -.01em;
}

.e3-next__lines { margin-top: 24px !important; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.22; font-weight: 400; }

.e3-notify { width: 100%; display: flex; justify-content: center; margin-top: 50px !important; }

.e3-notify__btn {
	width: min(560px, 100%);
	min-height: 66px;
	border: 0;
	border-radius: 12px;
	background: var(--e3-cream);
	color: var(--e3-ink);
	font: inherit;
	font-size: 1.1875rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 14px 40px rgba(8, 10, 60, .25);
	transition: background .2s ease, transform .15s ease;
}

.e3-notify__btn:hover { background: #D9D9D9; transform: translateY(-1px); }

.e3-next__logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 30px 34px; margin-top: 58px !important; }
.e3-next__logos > * { margin: 0 !important; }
.e3-next__e3 img { width: min(260px, 70vw); height: auto; }
.e3-next__wtc img { width: min(345px, 80vw); height: auto; }

.e3-next__back { margin-top: 60px !important; font-size: .9375rem; letter-spacing: .04em; text-transform: uppercase; }
.e3-next__back a { color: #fff; text-decoration: none; }
.e3-next__back a:hover { text-decoration: underline; }

.e3-screen .e3-modal { color: var(--e3-ink); text-align: left; }

/* --------------------------------------------------------------------------
   Tablet
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.e3-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.e3-partner__img { width: 120px; height: 64px; }
}

@media (max-width: 900px) {
	.e3-shell {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 0;
	}

	.e3-sidebar {
		position: sticky;
		top: 0;
		z-index: 1000;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 10px 16px;
		margin: 0 calc(-1 * clamp(20px, 4vw, 48px)) 8px !important;
		padding: 12px clamp(20px, 4vw, 48px);
		/* Solid background, no blur: a blur would trap the full-screen menu inside the bar. */
		background: var(--e3-cream);
		box-shadow: 0 4px 18px rgba(30, 30, 60, .08);
	}

	/* WordPress admin bar is fixed and 46px tall between 601px and 782px wide. */
	.admin-bar .e3-sidebar { top: 32px; }

	.e3-logo img { max-width: 150px; }

	.e3-account { order: 3; flex-basis: 100%; text-align: right; margin-top: -6px !important; }

	/* Between 600 and 900px the pills sit in a scrollable row. */
	.e3-nav { flex: 1 1 100%; order: 2; width: auto; }
	.e3-nav .wp-block-navigation__container { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
	.e3-nav .wp-block-navigation-item { width: auto; flex: none; }
	.e3-nav .wp-block-navigation-item__content { min-height: 44px; padding: 6px 18px !important; border-width: 3px; font-size: .9375rem; white-space: nowrap; }

	.e3-content > h1:first-child { margin-top: 18px; }

	.e3-hero__panel { position: static; background: #fff; transform: none !important; border-top: 3px solid var(--e3-lavender); }

	.e3-login { grid-template-columns: minmax(0, 1fr); }
	.e3-login__brand { gap: 18px; }
	.e3-login__wtc img { width: min(260px, 70vw); }
	.e3-login__e3 img { width: min(300px, 78vw); }
	.e3-login__card { padding: 48px 24px 44px; }
}

@media (max-width: 782px) {
	.admin-bar .e3-sidebar { top: 46px; }
}

/* --------------------------------------------------------------------------
   Phone
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {
	.e3-sidebar { flex-wrap: nowrap; }
	.e3-account { display: none; }
	.e3-nav { flex: none; order: 2; }

	/* Hamburger + full-screen menu */
	.e3-nav .wp-block-navigation__responsive-container-open {
		display: grid;
		place-items: center;
		width: 46px;
		height: 46px;
		border-radius: 50%;
		background: var(--e3-gradient);
		color: #fff;
	}

	/* On phones the admin bar scrolls away, so the top bar pins flush to the top. */
	.admin-bar .e3-sidebar { top: 0; }

	.e3-nav .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed !important;
		inset: 0 !important;
		width: 100vw !important;
		height: 100vh !important;
		height: 100dvh !important;
		z-index: 100000 !important;
		display: flex !important;
		flex-direction: column;
		overflow-y: auto;
		background: var(--e3-cream) !important;
		color: var(--e3-ink) !important;
		padding: 88px 24px 32px !important;
		box-sizing: border-box;
	}

	.e3-nav .is-menu-open .wp-block-navigation__responsive-close,
	.e3-nav .is-menu-open .wp-block-navigation__responsive-dialog {
		width: 100%;
		max-width: 420px;
		margin: 0 auto;
	}

	.e3-nav .is-menu-open .wp-block-navigation__responsive-container-content {
		padding-top: 0 !important;
		justify-content: flex-start;
	}

	.e3-nav .is-menu-open .wp-block-navigation__container { flex-direction: column; overflow: visible; width: 100%; gap: 12px !important; }
	.e3-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
	.e3-nav .is-menu-open .wp-block-navigation-item__content { min-height: 58px; font-size: 1.125rem; border-width: 4px; }
	.e3-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; width: 100%; }
	.e3-nav .wp-block-navigation__responsive-container-close { position: fixed; top: 22px; right: 22px; z-index: 2; color: var(--e3-ink); }
	.admin-bar .e3-nav .is-menu-open { top: 0 !important; }
	.e3-nav .wp-block-navigation__responsive-container-close svg { width: 32px; height: 32px; }

	.e3-shell { padding-bottom: 40px; }
	.e3-content h1 { font-size: 1.4rem; }
	.e3-intro { font-size: 1rem; }

	.e3-facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.e3-fact { min-height: 0; padding: 10px 22px; border-radius: 20px; }

	.e3-content .wp-block-gallery.e3-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px !important; }
	.e3-gallery figure.wp-block-image figcaption { display: none; }

	.e3-partner-grid,
	.e3-speakers { grid-template-columns: minmax(0, 1fr); }
	.e3-speakers { margin-top: 1.4rem !important; gap: 14px; }

	.e3-partner { padding: 20px 20px 16px; }
	.e3-partner__head { flex-direction: column-reverse; }
	.e3-partner__img { width: 100%; height: 140px; }
	.e3-partner__info { font-size: .875rem; }
	.e3-btn--mail { width: 100%; min-height: 44px; font-size: .9375rem; }

	.e3-speaker__photo { width: 76px; height: 76px; }
	.e3-speaker__body { padding-top: 4px; }

	.e3-modal { padding: 0; place-items: end stretch; }
	.e3-modal__panel { width: 100% !important; max-height: 92vh; border-radius: 18px 18px 0 0; padding: 52px 22px 28px !important; }
	.e3-speaker-modal__head { flex-direction: column; align-items: flex-start; padding-right: 0; margin-bottom: 18px; }
	.e3-speaker-modal__body { font-size: 1rem; }
	.e3-thanks .e3-modal__panel { padding: 70px 24px !important; }

	.e3-form--contact { margin-top: 1.4rem !important; }
	.e3-form__actions .e3-btn { width: 100%; min-height: 48px; }

	.e3-lb { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 60px minmax(0, 1fr) auto 76px; }
	.e3-lb__stage { grid-column: 1 / -1; padding: 0 10px; }
	.e3-lb__caption { grid-row: 3; padding: 12px 16px 6px; font-size: .9375rem; }
	.e3-lb__prev { grid-column: 1; grid-row: 4; }
	.e3-lb__next { grid-column: 2; grid-row: 4; }
	.e3-lb__close { grid-column: 2; grid-row: 1; justify-self: end; margin-right: 12px; }
	.e3-lb__count { grid-column: 1; }

	.e3-screen { padding: 28px 16px; align-items: flex-start; }
	.e3-notify { margin-top: 34px !important; }
	.e3-next__logos { margin-top: 40px !important; }
	.e3-next__back { margin-top: 36px !important; }
}

/* --------------------------------------------------------------------------
   Editor: show everything plainly so it is easy to edit
   -------------------------------------------------------------------------- */

.editor-styles-wrapper .e3-hero__panel { position: static; transform: none !important; background: #fff; }
.editor-styles-wrapper .e3-hero__kicker::after { display: none; }
.editor-styles-wrapper .e3-login,
.editor-styles-wrapper .e3-next { padding: 40px; background: #1E3FD8 url("../images/swirl-bg.jpg") center / cover no-repeat; color: #fff; }
.editor-styles-wrapper .e3-next h1 { color: #fff; }

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