/* Light Event Landing Page variation. The existing dark template is untouched. */

body.event-template-template-event-landing-light .footer-form,
body.event-template-template-event-landing-light .footer-widgets > .footer-widget-right {
	display: none !important;
}

body.event-template-template-event-landing-light .footer-ctn {
	padding-top: clamp(36px, 4vw, 56px);
}

body.event-template-template-event-landing-light .footer-widgets > .footer-widget-left,
body.event-template-template-event-landing-light .footer-logo {
	margin-bottom: 0;
	margin-top: 0;
}

body.event-template-template-event-landing-light .footer-bottom {
	padding-bottom: clamp(30px, 3vw, 42px);
	padding-top: clamp(30px, 3vw, 42px);
}

.header-section.ecs-event-landing-light-header:not(.shrink) {
	background: #fff !important;
}

.ecs-event-landing-hero--light {
	background: #fff;
	color: #0d3347;
	display: block;
	font-family: Montserrat, Arial, sans-serif;
	min-height: 0;
	padding: 104px 0 0 !important;
	text-align: left;
}

/* The reference masthead is intentionally limited to the event mark and two
 * short logistics lines. The title and description start in the next row. */
.ecs-event-light-masthead {
	/* Preserve the original artwork's aspect ratio. Repeat its exact left-edge
	 * pixels behind it to continue the same gray field across every viewport. */
	background-color: #ececee;
	background-image: url('build/images/events/eclinical-connect-lp-banner-white.webp'), url('build/images/events/eclinical-connect-lp-banner-white-edge.png');
	background-position: right bottom, left bottom;
	background-repeat: no-repeat, repeat-x;
	background-size: auto 100%, 1px 100%;
	display: flex;
	margin: 0;
	min-height: clamp(270px, 22vw, 340px);
	position: relative;
	width: 100%;
}

.ecs-event-light-masthead::before {
	display: none;
}

.ecs-event-landing-hero--light .ecs-event-light-masthead__inner {
	align-items: center;
	display: flex;
	margin: 0 auto;
	max-width: 1180px;
	min-height: inherit;
	position: relative;
	width: 89.34%;
	z-index: 1;
}

.ecs-event-landing-hero--light .ecs-event-light-masthead__content {
	margin: 0 !important;
	max-width: min(56%, 680px);
	padding: clamp(30px, 3vw, 44px) 0;
	text-align: left;
}

.ecs-event-light-masthead__logo {
	margin-bottom: clamp(18px, 2vw, 26px);
	max-width: min(88%, 420px);
}

.ecs-event-light-masthead__logo img {
	display: block;
	height: auto;
	max-height: clamp(62px, 6.2vw, 92px);
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
	width: auto;
}

.ecs-event-light-masthead__meta {
	color: #ec7614;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
}

.ecs-event-light-masthead__venue + .ecs-event-light-masthead__datetime {
	margin-top: 8px;
}

.ecs-event-landing-page--light {
	color: #312d2d;
	font-family: Montserrat, Arial, sans-serif;
	padding: 0 !important;
}

.ecs-event-light-primary {
	background: #fff;
	padding: clamp(68px, 7vw, 100px) 0;
}

.ecs-event-light-primary__layout {
	align-items: start;
	grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
}

.ecs-event-landing-layout--no-form {
	display: block;
}

.ecs-event-landing-layout--no-form .ecs-event-light-overview {
	max-width: 860px;
}

.ecs-event-light-title {
	color: #0d3347;
	font-size: 32px !important;
	font-weight: 500;
	line-height: 42px;
	margin: 0 0 24px;
}

.ecs-event-light-overview {
	color: #312d2d;
	font-size: 16px;
	line-height: 24px;
}

.ecs-event-light-overview p,
.ecs-event-light-overview li {
	color: #312d2d;
	font-size: 16px;
	line-height: 24px;
}

.ecs-event-light-overview > :last-child {
	margin-bottom: 0;
}

.ecs-event-light-registration {
	background: #0d3347;
	color: #fff;
	padding: clamp(34px, 4vw, 56px);
}

.ecs-event-light-registration h2,
.ecs-event-light-registration p,
.ecs-event-light-registration label,
.ecs-event-light-registration .hs-form-field > label,
.ecs-event-light-registration .legal-consent-container,
.ecs-event-light-registration .legal-consent-container p {
	color: #fff !important;
}

.ecs-event-light-registration h2 {
	font-size: 32px;
	font-weight: 500;
	line-height: 42px;
	margin: 0 0 24px;
}

.ecs-event-light-speakers {
	background: #fff;
	padding: 0 0 clamp(82px, 8vw, 118px);
}

.ecs-event-light-speakers > .wrapper,
.ecs-event-light-event-info > .wrapper,
.ecs-event-light-primary > .wrapper {
	max-width: 1180px;
}

.ecs-event-light-speakers h2,
.ecs-event-light-event-info h2 {
	color: #0d3347;
	font-size: 32px;
	font-weight: 500;
	line-height: 42px;
	margin: 0 0 24px;
}

.ecs-event-light-speakers h2 {
	text-align: left;
}

.ecs-event-light-speakers__profiles {
	max-width: 1040px;
}

.ecs-event-light-speakers .ecs-event-speaker {
	align-items: center;
	gap: 36px;
	grid-template-columns: 120px minmax(0, 1fr);
	padding: 28px 0;
}

.ecs-event-light-speakers .ecs-event-speaker__media {
	max-width: 120px;
	width: 100%;
}

.ecs-event-light-speakers .ecs-event-speaker__image {
	width: 120px;
	max-width: 100%;
	height: 120px;
	object-fit: cover;
}

.ecs-event-light-speakers .ecs-event-speaker__shape--orange {
	height: 11px;
	width: 11px;
}

.ecs-event-light-speakers .ecs-event-speaker__shape--navy {
	height: 20px;
	width: 20px;
}

.ecs-event-light-speakers .ecs-event-speaker__shape--purple {
	height: 22px;
	width: 22px;
}

.ecs-event-light-speakers .ecs-event-speaker__content,
.ecs-event-light-speakers .ecs-event-speaker__name,
.ecs-event-light-speakers .ecs-event-speaker__title,
.ecs-event-light-speakers .ecs-event-speaker__company,
.ecs-event-light-speakers .ecs-event-speaker__bio {
	text-align: left !important;
}

.ecs-event-light-speakers__profiles > .block-acf-event-speaker-profile + .block-acf-event-speaker-profile {
	border-top: 1px solid #dfe6e9;
}

.ecs-event-light-speakers .ecs-event-speaker__name {
	color: #0d3347;
	font-size: 18px;
	font-weight: 400;
	line-height: 22.5px;
}

.ecs-event-light-speakers .ecs-event-speaker__title,
.ecs-event-light-speakers .ecs-event-speaker__company {
	color: #05c2de;
	font-size: 16px;
	line-height: 24px;
}

.ecs-event-light-speakers .ecs-event-speaker__bio {
	color: #0d3347;
	font-size: 16px;
	line-height: 24px;
}

.ecs-event-light-event-info {
	background: #fafafa;
	padding: clamp(72px, 7vw, 104px) 0;
}

.ecs-event-light-event-info__layout {
	align-items: center;
	display: grid;
	gap: clamp(58px, 7vw, 108px);
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.ecs-event-light-event-info__layout:not(.has-image) {
	display: block;
}

.ecs-event-light-event-info__layout:not(.has-image) .ecs-event-light-event-info__content {
	max-width: 720px;
}

.ecs-event-light-event-info__item + .ecs-event-light-event-info__item {
	margin-top: clamp(28px, 3vw, 42px);
}

.ecs-event-light-event-info__additional {
	color: #312d2d;
	font-size: 16px;
	line-height: 24px;
	margin-top: clamp(28px, 3vw, 42px);
}

.ecs-event-light-event-info__additional h3,
.ecs-event-light-event-info__additional h4 {
	color: #0d3347;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	margin: 24px 0 8px;
}

.ecs-event-light-event-info__additional > :first-child {
	margin-top: 0;
}

.ecs-event-light-event-info__additional > :last-child {
	margin-bottom: 0;
}

.ecs-event-light-event-info__item h3 {
	color: #0d3347;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	margin: 0;
}

.ecs-event-light-event-info__item p {
	color: #312d2d;
	font-size: 16px;
	line-height: 24px;
	margin: 0 0 5px;
}

.ecs-event-light-event-info__item a,
.ecs-event-light-event-info__item a:visited {
	color: #0d3347;
}

.ecs-event-light-event-info__media {
	isolation: isolate;
	margin: 0;
	position: relative;
}

.ecs-event-light-event-info__media img {
	aspect-ratio: 16 / 11;
	display: block;
	height: auto;
	object-fit: cover;
	position: relative;
	width: 100%;
	z-index: 1;
}

.ecs-event-light-event-info__shape {
	position: absolute;
	z-index: 2;
}

.ecs-event-light-event-info__shape--orange {
	background: var(--ecs_orange, #ec7614);
	height: clamp(18px, 1.7vw, 28px);
	right: -3%;
	top: -5%;
	width: clamp(18px, 1.7vw, 28px);
}

.ecs-event-light-event-info__shape--navy {
	background: var(--ecs_dblue, #0d3347);
	height: clamp(34px, 3.1vw, 52px);
	left: -4%;
	top: 43%;
	width: clamp(34px, 3.1vw, 52px);
}

.ecs-event-light-event-info__shape--purple {
	background: var(--ecs_purple, #918cff);
	bottom: -7%;
	height: clamp(36px, 3.4vw, 56px);
	right: -4%;
	width: clamp(36px, 3.4vw, 56px);
}

@media (max-width: 1003px) {
	.ecs-event-landing-hero--light .ecs-event-light-masthead__inner {
		width: 92%;
	}

	.ecs-event-light-primary__layout {
		grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
	}
}

@media (max-width: 747px) {
	.ecs-event-landing-hero--light {
		padding-top: 92px !important;
	}

	.ecs-event-light-masthead {
		background-position: right bottom, left bottom;
		background-size: auto 100%, 1px 100%;
		min-height: 250px;
	}

	.ecs-event-light-masthead::before {
		display: none;
	}

	.ecs-event-landing-hero--light .ecs-event-light-masthead__content {
		max-width: 100%;
		padding: 30px 0 36px;
	}

	.ecs-event-light-masthead__logo {
		max-width: min(82%, 340px);
	}

	.ecs-event-light-masthead__logo img {
		max-height: 76px;
	}

	.ecs-event-light-primary__layout,
	.ecs-event-light-event-info__layout {
		display: block;
	}

	.ecs-event-light-registration {
		margin-top: 46px;
	}

	.ecs-event-light-event-info__media {
		margin: 52px auto 14px;
		width: calc(100% - 24px);
	}

	.ecs-event-light-speakers h2 {
		text-align: left;
	}

	.ecs-event-light-speakers .ecs-event-speaker {
		gap: 42px;
		grid-template-columns: 1fr;
	}

	.ecs-event-light-speakers .ecs-event-speaker__media {
		margin-left: 14px;
		max-width: 120px;
		width: calc(100% - 28px);
	}

	.ecs-event-light-title {
		font-size: 28px !important;
		line-height: 36px;
	}
}

/* 72.125: Speaker names are profile headings, not section headings. */
.ecs-event-light-speakers .ecs-event-speaker__heading .ecs-event-speaker__name {
	margin: 0;
	padding: 0;
}
.ecs-event-light-speakers .ecs-event-speaker__heading { margin-bottom: 8px; }
