/* EEL Webinars: stage, registration block, cards, account tab. Colours from the Elementor kit. */
.eel-stage,
.eel-register,
.eel-card-actions,
.eel-speakers,
.eel-sponsor,
.eel-facts,
.eel-myw {
	--eel-navy: #223645;
	--eel-navy-dark: #162138;
	--eel-red: #B3000C;
	--eel-light: #F5F9FD;
	--eel-line: #E6EBF1;
	--eel-tint: #FBEEEF;
	--eel-muted: #5B6676;
	color: var(--eel-navy);
}

/* Buttons follow the kit: red, corners 10px 0 10px 0, navy with flipped corners on hover. */
.eel-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 14px 22px;
	background: #B3000C;
	color: #fff !important;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none !important;
	border: 1px solid #B3000C;
	border-radius: 10px 0 10px 0;
	transition: background-color 0.2s ease, border-radius 0.2s ease, color 0.2s ease;
}
.eel-btn:hover,
.eel-btn:focus-visible {
	background: #223645;
	border-color: #223645;
	border-radius: 0 10px 0 10px;
}
.eel-btn:focus-visible {
	outline: 2px solid #223645;
	outline-offset: 2px;
}
.eel-btn--outline {
	background: #fff;
	color: #223645 !important;
	border-color: #223645;
}
.eel-btn--outline:hover,
.eel-btn--outline:focus-visible {
	color: #fff !important;
}

/* Pills */
.eel-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #FBEEEF;
	color: #B3000C;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
}
.eel-pill i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}
.eel-pill--muted {
	background: #F5F9FD;
	color: #223645;
	border: 1px solid #E6EBF1;
}

/* Stage. Its Elementor container lays out as a block: a flex container measures 16:9 boxes as 0px high. */
.eel-stage-wrap > .e-con-inner,
.eel-stage-wrap.e-con-full {
	display: block !important;
}
.eel-stage--with-slido {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 24px;
	align-items: stretch;
}
.eel-stage__video {
	position: relative;
	/* 16:9 through padding: Chrome ignores an aspect-ratio box when Elementor sizes the widget. */
	height: 0;
	padding-bottom: 56.25%;
	background: var(--eel-navy-dark);
	border-radius: 12px;
	overflow: hidden;
}
.eel-stage__video iframe,
.eel-stage__slido iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.eel-stage__slido {
	position: relative;
	min-height: 320px;
	background: #fff;
	border: 1px solid var(--eel-line);
	border-radius: 12px;
	overflow: hidden;
}
.eel-stage__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 24px;
	color: rgba(255, 255, 255, 0.75);
	text-align: center;
}
.eel-lock,
.eel-stage--wait,
.eel-stage--status {
	max-width: 720px;
	padding: 24px;
	background: var(--eel-light);
	border: 1px solid var(--eel-line);
	border-radius: 12px;
}
.eel-lock__icon {
	color: var(--eel-navy);
}
.eel-lock .eel-lock__title {
	margin: 12px 0 8px;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
	color: var(--eel-navy);
}
.eel-lock p,
.eel-stage--wait p,
.eel-stage--status p {
	margin: 0 0 16px;
	color: var(--eel-muted);
	font-size: 16px;
	line-height: 1.6;
}
.eel-stage--wait p {
	margin: 0;
	color: var(--eel-navy);
	font-weight: 600;
}
.eel-lock .eel-lock__register {
	margin: 16px 0 0;
}
.eel-lock__register a {
	color: var(--eel-red);
	font-weight: 600;
}
.eel-stage__status {
	font-size: 22px;
	font-weight: 700;
	color: var(--eel-navy) !important;
}

/* Registration block */
.eel-register {
	max-width: 720px;
}
.eel-register__title {
	margin: 0 0 12px;
}
.eel-register__price {
	margin: 0 0 4px;
	font-size: 18px;
	color: var(--eel-muted);
}
.eel-register__price strong {
	color: var(--eel-navy);
	font-size: 24px;
}
.eel-register__bundle {
	margin: 0 0 16px;
	color: var(--eel-muted);
	font-size: 16px;
}
.eel-register__msg {
	padding: 16px 24px;
	background: var(--eel-light);
	border: 1px solid var(--eel-line);
	border-radius: 12px;
	font-weight: 600;
}
.eel-register__admin {
	font-size: 14px;
	color: var(--eel-muted);
}

/* Cards */
.eel-card-actions__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.eel-fee {
	font-size: 20px;
	font-weight: 800;
	color: #223645;
}
.eel-card-actions__bundle {
	margin: 8px 0 0;
	font-size: 15px;
	color: #5B6676;
}
.eel-card-actions--status p {
	margin: 8px 0 0;
	font-size: 15px;
	color: #5B6676;
}
.eel-date--card {
	color: #B3000C;
	font-weight: 700;
	font-size: 15px;
}
.eel-speakers-names {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: #5B6676;
	font-size: 15px;
}
.eel-speakers-names__item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.eel-speakers-names__aff {
	font-size: 14px;
	line-height: 1.4;
}

/* Speakers */
.eel-speakers {
	list-style: none;
	margin: 0;
	padding: 0;
}
.eel-speakers li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.4;
}
.eel-speakers__avatar {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--eel-light);
	font-weight: 700;
}
.eel-speakers__aff {
	color: var(--eel-muted);
	font-size: 14px;
}

/* Sponsor */
.eel-sponsor {
	text-align: center;
}
.eel-sponsor__label {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	color: var(--eel-muted);
}
.eel-sponsor img {
	display: inline-block;
	width: 240px;
	max-width: 100%;
	height: auto;
}

/* Listing: a year or upcoming section with no cards disappears. */
.eel-webinars-section:not(:has(.e-loop-item)) {
	display: none !important;
}

@media (max-width: 767px) {
	/* Stacked as plain blocks: a one-column grid makes Chrome measure the video as 0px high inside Elementor. */
	.eel-stage--with-slido {
		display: block;
	}
	.eel-stage__slido {
		height: 480px;
		margin-top: 16px;
	}
	.eel-lock,
	.eel-stage--wait,
	.eel-stage--status {
		padding: 20px;
	}
}

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

/* My webinars (account tab) */
.eel-myw__list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	border-top: 1px solid #E6EBF1;
}
.eel-myw__row {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	margin: 0;
	padding: 20px 0;
	border-bottom: 1px solid #E6EBF1;
}
.eel-myw__tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: 12px;
	background: #F5F9FD;
}
.eel-myw__tile b {
	font-size: 32px;
	line-height: 1;
	font-weight: 800;
	color: #223645;
}
.eel-myw__tile span {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 600;
	color: #5B6676;
}
.eel-myw__title {
	display: block;
	margin-bottom: 4px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #223645 !important;
	text-decoration: none;
}
.eel-myw__when,
.eel-myw__note {
	font-size: 15px;
	color: #5B6676;
}
.eel-myw__side {
	display: flex;
	align-items: center;
	gap: 16px;
	justify-content: flex-end;
}
.eel-myw__link {
	color: #B3000C;
	font-weight: 600;
}
@media (max-width: 767px) {
	.eel-myw__row {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 16px;
	}
	.eel-myw__tile {
		width: 64px;
		height: 64px;
	}
	.eel-myw__tile b {
		font-size: 24px;
	}
	.eel-myw__side {
		grid-column: 1 / -1;
		justify-content: flex-start;
		flex-wrap: wrap;
	}
}

/* Elementor parts */
.eel-single__date .eel-date {
	color: #5B6676;
	font-size: 16px;
}
.eel-card {
	height: 100%;
}
.eel-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.eel-card__actions {
	margin-top: auto;
	padding-top: 12px;
}
/* Equal-height cards: the card fills its grid cell, its body fills the card, actions sit at the bottom. */
.eel-webinars-grid .e-loop-item > .eel-card {
	height: 100%;
}
.eel-card > .e-con {
	flex-grow: 1 !important;
}
.eel-card .eel-card__actions {
	margin-top: auto !important;
}

/* The WPForms registration form in the site's colours. */
.eel-register .wpforms-container {
	--wpforms-button-background-color: #B3000C;
	--wpforms-button-text-color: #FFFFFF;
	--wpforms-field-border-color: #CCD5E0;
	--wpforms-label-color: #223645;
	margin-top: 24px;
}
.eel-register .wpforms-container .wpforms-submit {
	min-height: 48px;
	padding: 14px 22px !important;
	background: #B3000C !important;
	border-color: #B3000C !important;
	border-radius: 10px 0 10px 0 !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	transition: background-color 0.2s ease, border-radius 0.2s ease;
}
.eel-register .wpforms-container .wpforms-submit:hover,
.eel-register .wpforms-container .wpforms-submit:focus-visible {
	background: #223645 !important;
	border-color: #223645 !important;
	border-radius: 0 10px 0 10px !important;
}

/* Webinar details box (single page, right column above Speakers) */
.eel-facts {
	max-width: 720px;
	padding: 24px;
	background: var(--eel-light);
	border: 1px solid var(--eel-line);
	border-radius: 12px;
}
.eel-facts .eel-facts__title {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #223645;
}
.eel-facts__list {
	display: grid;
	gap: 10px;
	margin: 0;
}
.eel-facts__row {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 12px;
	font-size: 15px;
	line-height: 1.45;
}
.eel-facts__row dt {
	margin: 0;
	font-weight: 400;
	color: #5B6676;
}
.eel-facts__row dd {
	margin: 0;
	font-weight: 600;
	color: #223645;
}
.eel-facts__extra {
	display: block;
	font-weight: 400;
	color: #5B6676;
}
.eel-facts .eel-facts__cta {
	width: 100%;
	margin-top: 20px;
}
.eel-facts__note {
	margin: 16px 0 0;
	font-size: 15px;
	font-weight: 600;
	color: #223645;
}
/* On desktop the lock card and the status boxes line up with the 60% column above them (the visual and the title). */
@media (min-width: 1025px) {
	.eel-stage-wrap .eel-lock,
	.eel-stage-wrap .eel-stage--wait,
	.eel-stage-wrap .eel-stage--status {
		max-width: 60%;
	}
}

/* Player first (people who can watch, from the event day on): the row under the player takes the stage grid,
   so the details box and the speakers sit right under Slido. */
@media (min-width: 1025px) {
	.eel-player-first .eel-details > .e-con-inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 24px;
		align-items: start;
	}
	.eel-player-first .eel-details > .e-con-inner > .e-con {
		--width: 100%;
		width: 100%;
		padding: 0;
	}
}

/* Phones: one card per row, so each card keeps its own height (equal heights only matter side by side). */
@media (max-width: 767px) {
	.eel-webinars-grid .elementor-loop-container {
		grid-auto-rows: auto !important;
	}
}
