/**
 * Luminus Event Registration: front-end styles.
 *
 * Design system "Decade of Energy": navy as the anchor, orange reserved for
 * calls to action, green as the sustainability accent. Depth comes from tonal
 * layering (white cards on a light grey canvas) rather than heavy shadows.
 *
 * Typography falls back to the theme's Work Sans. Turn on "Laad Hanken Grotesk
 * en Inter" in the settings to use the fonts from the design.
 */

.ler {
	/* Brand */
	--ler-navy-deep: #000a3d;
	--ler-navy: #001a70;
	--ler-navy-mid: #2d4092;
	--ler-lilac: #b9c3ff;
	--ler-lilac-soft: #dde1ff;
	--ler-orange: #f15a22;
	--ler-orange-dark: #ac3400;
	--ler-green: #89da7a;
	--ler-green-light: #a4f793;
	--ler-green-deep: #57a54c;

	/* Surfaces */
	--ler-bg: #f9f9f9;
	--ler-white: #ffffff;
	--ler-tint: rgba(0, 26, 112, 0.05);
	--ler-line: #c5c5d3;
	--ler-line-soft: rgba(0, 26, 112, 0.1);
	--ler-outline: #757683;

	/* Text */
	--ler-text: #1a1c1c;
	--ler-text-body: #4a4a4a;
	--ler-text-soft: #454651;

	/* Feedback */
	--ler-error: #ba1a1a;
	--ler-error-bg: #ffdad6;

	/* Shape */
	--ler-r: 0.25rem;
	--ler-r-lg: 0.5rem;
	--ler-r-xl: 0.75rem;
	--ler-shadow-sm: 0 1px 2px rgba(0, 10, 61, 0.06);
	--ler-shadow-md: 0 4px 16px rgba(0, 10, 61, 0.08);
	--ler-shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);

	/* Rhythm: everything is a multiple of 8px */
	--ler-gutter: 24px;
	--ler-section: 80px;
	--ler-container: 1200px;

	/* Type */
	--ler-font-head: var(--primary-font, "Work Sans", Helvetica, Arial, sans-serif);
	--ler-font-body: var(--primary-font, "Work Sans", Helvetica, Arial, sans-serif);

	font-family: var(--ler-font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--ler-text-body);
	-webkit-font-smoothing: antialiased;
}

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

.ler ::selection {
	background: var(--ler-orange);
	color: #fff;
}

/* ---------------------------------------------------------------------------
 * Reset hardening
 *
 * Divi styles lists, fieldsets, labels and form controls very aggressively and
 * wins on specificity. Everything below is scoped to .ler, so it only affects
 * the plugin, but it does need !important to survive the theme.
 * ------------------------------------------------------------------------ */

.ler ul,
.ler ol {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ler li {
	list-style: none !important;
	list-style-type: none !important;
	list-style-image: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	text-indent: 0 !important;
}

.ler li::marker {
	content: "" !important;
	color: transparent !important;
}

.ler li::before {
	content: none !important;
}

/* Customer-written content keeps its bullets. */
.ler .ler-richtext ul {
	list-style: disc !important;
	padding-left: 22px !important;
	margin: 0 0 16px !important;
}

.ler .ler-richtext ol {
	list-style: decimal !important;
	padding-left: 22px !important;
	margin: 0 0 16px !important;
}

.ler .ler-richtext li {
	list-style: inherit !important;
	margin: 0 0 6px !important;
	display: list-item !important;
}

.ler .ler-richtext li::marker {
	content: normal !important;
	color: currentColor !important;
}

.ler h1,
.ler h2,
.ler h3,
.ler h4 {
	padding: 0 !important;
	font-family: var(--ler-font-head) !important;
	text-transform: none !important;
}

.ler p {
	padding: 0 !important;
	line-height: inherit;
}

.ler .ler-fieldset {
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0;
	background: none !important;
}

.ler label {
	display: block;
	text-transform: none !important;
	font-family: var(--ler-font-body) !important;
}

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

.ler a {
	box-shadow: none !important;
}

/* Form controls: Divi restyles these globally, so pin every property. */
.ler input[type="text"],
.ler input[type="email"],
.ler input[type="tel"],
.ler input[type="number"],
.ler input[type="date"],
.ler textarea,
.ler select {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	font-family: var(--ler-font-body) !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	color: var(--ler-text) !important;
	background-color: var(--ler-white) !important;
	border: 1px solid var(--ler-line) !important;
	border-radius: var(--ler-r-lg) !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.ler input[type="text"],
.ler input[type="email"],
.ler input[type="tel"],
.ler input[type="number"],
.ler input[type="date"],
.ler textarea {
	padding: 12px 16px !important;
}

.ler button,
.ler .ler-button {
	font-family: var(--ler-font-body) !important;
	text-transform: none !important;
	letter-spacing: 0.05em !important;
}

.ler .ler-button::after,
.ler .ler-button::before {
	content: none !important;
	display: none !important;
}

.ler-container {
	width: 100%;
	max-width: var(--ler-container);
	margin-inline: auto;
	padding-inline: var(--ler-gutter);
}

/* ---------------------------------------------------------------------------
 * Type scale
 * ------------------------------------------------------------------------ */

.ler-display {
	font-family: var(--ler-font-head);
	font-size: clamp(40px, 5.6vw, 64px);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
}

.ler-richtext {
	font-size: 18px;
	line-height: 1.56;
	color: var(--ler-text-body);
}

.ler-richtext p:first-child {
	margin-top: 0;
}

.ler-richtext p:last-child {
	margin-bottom: 0;
}

.ler-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ler-orange);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: color 0.15s ease;
}

.ler-link:hover,
.ler-link:focus-visible {
	color: var(--ler-orange-dark);
	text-decoration: underline;
}

.ler-link svg {
	flex: 0 0 auto;
}

/* ---------------------------------------------------------------------------
 * Banner
 * ------------------------------------------------------------------------ */

.ler-banner {
	display: block;
	background: transparent;
	line-height: 0;
	font-size: 0;
}

.ler-banner__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	/* On a big screen a wide banner would otherwise fill the whole viewport
	   and push the form out of sight. */
	max-height: 80vh;
	object-fit: contain;
	object-position: center;
	margin: 0 auto;
	border: 0;
	border-radius: 0;
}

/* Fallback panel, only used when no banner has been uploaded. */
.ler-hero__panel {
	position: relative;
	overflow: hidden;
	background: var(--ler-navy-deep);
	padding-block: clamp(48px, 8vw, 72px);
}

.ler-hero__panel::after {
	content: "";
	position: absolute;
	top: -30%;
	right: -10%;
	width: 55%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(45, 64, 146, 0.55) 0%, rgba(0, 10, 61, 0) 70%);
	pointer-events: none;
}

.ler-hero__panel .ler-container {
	position: relative;
	z-index: 1;
	max-width: 900px;
}

.ler-hero__eyebrow {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ler-green-light);
	margin: 0 0 16px;
	word-break: break-word;
}

.ler-hero__title {
	color: #fff;
	margin: 0 0 16px;
}

.ler-hero__subtitle {
	font-family: var(--ler-font-head);
	font-size: clamp(18px, 2.2vw, 24px);
	line-height: 1.33;
	font-weight: 600;
	color: var(--ler-lilac);
	margin: 0;
}

/* ---------------------------------------------------------------------------
 * Layout
 *
 * The form leads: it takes the wide left column and sits directly under the
 * banner. The practical highlights ride along on the right, the programme is a
 * small block at the very bottom.
 * ------------------------------------------------------------------------ */

.ler-canvas {
	background: var(--ler-bg);
	padding-block: clamp(32px, 5vw, 56px) clamp(40px, 6vw, 72px);
}

.ler-lead {
	max-width: 760px;
	margin: 0 0 32px;
}

.ler-layout {
	display: grid;
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	gap: 40px;
	align-items: start;
}

.ler-layout__form {
	min-width: 0;
}

.ler-layout__side {
	position: sticky;
	top: 24px;
}

/* --- Practical highlights ------------------------------------------------ */

.ler-facts {
	display: grid;
	gap: 20px;
	background: var(--ler-white);
	border: 1px solid rgba(197, 197, 211, 0.6);
	border-radius: var(--ler-r-lg);
	padding: 24px;
}

.ler-fact {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.ler-fact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--ler-tint);
	color: var(--ler-navy);
}

.ler-fact__body {
	min-width: 0;
}

.ler-fact__label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ler-outline);
	margin-bottom: 2px;
}

.ler-fact__value {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ler-navy);
}

.ler-fact__sub {
	margin: 2px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--ler-text-soft);
}

.ler-fact .ler-link {
	margin-top: 6px;
}

/* A long address must never push the narrow column wider. */
.ler-fact__mail {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ler-facts__note {
	font-size: 13px;
	line-height: 1.5;
	color: var(--ler-text-soft);
	padding-top: 16px;
	border-top: 1px solid rgba(197, 197, 211, 0.6);
}

/* --- Programme, small, at the bottom ------------------------------------- */

/* Sits in the narrow column under the practical highlights, so it stacks. */
.ler-program {
	margin-top: 24px;
	padding: 0 4px;
}

.ler-program__title {
	font-family: var(--ler-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ler-outline);
	margin: 0 0 16px;
}

.ler-program__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
}

.ler-program__item {
	display: block;
	padding-left: 12px;
	border-left: 2px solid var(--ler-green);
}

.ler-program__time {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--ler-orange);
}

.ler-program__name {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ler-navy);
	margin-top: 2px;
}

.ler-program__desc {
	display: block;
	font-size: 13px;
	line-height: 1.45;
	color: var(--ler-text-soft);
	margin-top: 2px;
}

/* Leave room for the sticky top bar when jumping to the form. */
.ler-formwrap {
	scroll-margin-top: 96px;
}

.ler-card {
	background: var(--ler-white);
	border-radius: var(--ler-r-xl);
	box-shadow: var(--ler-shadow-card);
	border-top: 4px solid var(--ler-green-light);
	padding: 32px;
}

.ler-card--muted {
	border-top-color: var(--ler-line);
	box-shadow: var(--ler-shadow-sm);
	border: 1px solid rgba(197, 197, 211, 0.5);
	border-top: 4px solid var(--ler-line);
}

.ler-card--center {
	text-align: center;
}

.ler-card__title {
	font-family: var(--ler-font-head);
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.25;
	font-weight: 700;
	color: var(--ler-navy);
	margin: 0 0 8px;
}

.ler-card__intro {
	margin-bottom: 32px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ler-text-soft);
}

.ler-card__intro p:last-child {
	margin-bottom: 0;
}

.ler-card__contact {
	margin: 16px 0 0;
	font-size: 15px;
}

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

.ler-field--full {
	grid-column: 1 / -1;
}

.ler-field--half {
	grid-column: span 1;
}

.ler .ler-field__label {
	display: block !important;
	width: 100%;
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-family: var(--ler-font-body) !important;
	font-size: 14px !important;
	line-height: 1.43 !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em !important;
	text-transform: none !important;
	color: var(--ler-navy) !important;
	float: none !important;
}

.ler .ler-field__label--group {
	margin-bottom: 16px !important;
	padding-bottom: 8px !important;
	border-bottom: 1px solid var(--ler-line);
}

.ler-required {
	color: var(--ler-orange);
}

.ler-optional {
	font-weight: 400;
	color: var(--ler-outline);
}

.ler-field input[type="text"],
.ler-field input[type="email"],
.ler-field input[type="tel"],
.ler-field input[type="number"],
.ler-field input[type="date"],
.ler-field textarea,
.ler-field select {
	width: 100%;
	padding: 12px 16px;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ler-text);
	background: var(--ler-white);
	border: 1px solid var(--ler-line);
	border-radius: var(--ler-r-lg);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.ler-field textarea {
	min-height: 84px;
	resize: vertical;
}

.ler-field select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23757683' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	padding-right: 44px;
}

.ler-field input::placeholder,
.ler-field textarea::placeholder {
	color: #9aa0b4;
}

.ler-field input:focus,
.ler-field textarea:focus,
.ler-field select:focus {
	outline: none;
	border-color: var(--ler-navy);
	box-shadow: 0 0 0 3px rgba(185, 195, 255, 0.5);
}

.ler-field--error input,
.ler-field--error textarea,
.ler-field--error select {
	border-color: var(--ler-error);
	background: #fff8f7;
}

.ler-field__help {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--ler-outline);
}

.ler-field__error {
	margin: 6px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--ler-error);
}

.ler-field__static {
	margin: 0;
	padding: 12px 16px;
	background: #f3f4f8;
	border-radius: var(--ler-r-lg);
	color: var(--ler-text-soft);
	font-size: 16px;
	word-break: break-word;
}

.ler-fieldset-title {
	margin: 8px 0 0;
	font-family: var(--ler-font-head);
	font-size: 18px;
	font-weight: 700;
	color: var(--ler-navy);
}

/* Choice cards ------------------------------------------------------------ */

.ler-cards {
	display: grid;
	gap: 12px;
}

.ler-cards input[type="radio"],
.ler-radios input[type="radio"],
.ler-radios input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

.ler .ler-choice {
	position: relative;
	display: block !important;
	margin: 0 !important;
	padding: 16px 52px 16px 16px !important;
	border: 1px solid var(--ler-line) !important;
	border-radius: var(--ler-r-lg);
	background: var(--ler-white) !important;
	box-shadow: var(--ler-shadow-sm);
	font-weight: 400 !important;
	color: var(--ler-text-body) !important;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ler-choice:hover {
	border-color: var(--ler-lilac);
}

.ler-choice__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ler-choice__title {
	font-family: var(--ler-font-head);
	font-size: 18px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--ler-navy);
}

.ler-choice__desc {
	font-size: 14px;
	line-height: 1.45;
	color: var(--ler-text-soft);
}

/* The tick that appears on the selected card. */
.ler-choice__check {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%) scale(0.6);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--ler-orange);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.ler .ler-choice:has(input:checked) {
	border-color: var(--ler-orange) !important;
	background: var(--ler-tint) !important;
	box-shadow: 0 0 0 1px var(--ler-orange);
}

.ler-choice:has(input:checked) .ler-choice__check {
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

.ler-choice:has(input:focus-visible) {
	box-shadow: 0 0 0 3px rgba(185, 195, 255, 0.6);
}

/* Plain radios and checkboxes --------------------------------------------- */

.ler-radios {
	display: grid;
	gap: 10px;
}

.ler-radio {
	position: relative;
	display: block;
	padding-left: 32px;
	cursor: pointer;
	font-size: 16px;
	color: var(--ler-text-body);
}

.ler-radio::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	border: 1.5px solid var(--ler-line);
	background: #fff;
	border-radius: 50%;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.ler-radio:has(input[type="checkbox"])::before {
	border-radius: var(--ler-r);
}

.ler-radio:has(input:checked)::before {
	border-color: var(--ler-orange);
	background: var(--ler-orange);
	box-shadow: inset 0 0 0 3px #fff;
}

.ler-radio__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ler-radio__title {
	font-weight: 500;
	color: var(--ler-text);
}

.ler-radio__desc {
	font-size: 14px;
	color: var(--ler-text-soft);
}

.ler-field--heading {
	padding-top: 8px;
}

.ler-check__body {
	display: block;
}

.ler-check {
	position: relative;
	display: block;
	padding-left: 32px;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ler-text-body);
}

.ler-check input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.ler-check::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	border: 1.5px solid var(--ler-line);
	border-radius: var(--ler-r);
	background: #fff;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.ler-check::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 5px;
	width: 6px;
	height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) scale(0);
	transition: transform 0.15s ease;
}

.ler-check:has(input:checked)::before {
	border-color: var(--ler-orange);
	background: var(--ler-orange);
}

.ler-check:has(input:checked)::after {
	transform: rotate(45deg) scale(1);
}

.ler-check:has(input:focus-visible)::before {
	box-shadow: 0 0 0 3px rgba(185, 195, 255, 0.6);
}

.ler-check a {
	color: var(--ler-orange);
	font-weight: 600;
}

/* Buttons ----------------------------------------------------------------- */

.ler .ler-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	border: 2px solid transparent;
	border-radius: var(--ler-r-xl);
	font-family: var(--ler-font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.43;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.ler-button--primary {
	background: var(--ler-orange);
	color: #fff;
	box-shadow: var(--ler-shadow-md);
}

.ler-button--primary:hover,
.ler-button--primary:focus-visible {
	background: var(--ler-orange-dark);
	color: #fff;
	transform: scale(0.985);
}

.ler-button--secondary {
	background: transparent;
	color: var(--ler-navy);
	border-color: var(--ler-navy);
}

.ler-button--secondary:hover,
.ler-button--secondary:focus-visible {
	background: var(--ler-navy);
	color: #fff;
}

.ler-button--large {
	width: 100%;
	padding: 17px 32px;
	font-size: 15px;
}

.ler-button[disabled],
.ler-button.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

.ler-linkbutton {
	background: none;
	border: 0;
	padding: 0;
	font-family: inherit;
	font-size: 14px;
	color: var(--ler-outline);
	text-decoration: underline;
	cursor: pointer;
}

.ler-linkbutton:hover {
	color: var(--ler-orange);
}

.ler-form {
	display: grid;
	gap: 24px;
}

.ler-form__actions {
	display: grid;
	gap: 12px;
}

.ler-form__required {
	margin: 0;
	font-size: 12px;
	color: var(--ler-outline);
	text-align: center;
}

.ler-cancel {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(197, 197, 211, 0.6);
	text-align: center;
}

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


/* Alerts ------------------------------------------------------------------ */

.ler-alert {
	border-radius: var(--ler-r-lg);
	padding: 16px 20px;
	margin-bottom: 24px;
	font-size: 15px;
	line-height: 1.55;
	border-left: 4px solid transparent;
}

.ler-alert p:first-child {
	margin-top: 0;
}

.ler-alert p:last-child {
	margin-bottom: 0;
}

.ler-alert--error {
	background: var(--ler-error-bg);
	border-left-color: var(--ler-error);
	color: #93000a;
}

.ler-alert--success {
	background: #edf7ea;
	border-left-color: var(--ler-green-deep);
	color: #23561a;
}

.ler-alert--info {
	background: var(--ler-lilac-soft);
	border-left-color: var(--ler-navy);
	color: #001257;
}

.ler-alert__title {
	margin: 0 0 6px;
	font-family: var(--ler-font-head);
	font-size: 18px;
	font-weight: 700;
	color: inherit;
}

.ler-alert__form {
	margin-top: 16px;
}

/* ---------------------------------------------------------------------------
 * Thank you / edit / invalid
 * ------------------------------------------------------------------------ */

.ler-narrow {
	max-width: 720px;
	margin-inline: auto;
}

.ler-thankyou__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #edf7ea;
	color: var(--ler-green-deep);
	margin-bottom: 24px;
}

.ler-thankyou__icon--muted {
	background: #f0f0f3;
	color: var(--ler-outline);
}

.ler-thankyou__title {
	font-family: var(--ler-font-head);
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ler-navy);
	margin: 0 0 16px;
}

.ler-summary {
	margin-top: 32px;
	padding: 24px;
	background: var(--ler-bg);
	border-radius: var(--ler-r-lg);
	border-left: 4px solid var(--ler-green);
	text-align: left;
}

.ler-summary__title {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ler-navy);
}

.ler-summary__list {
	margin: 0;
	display: grid;
	gap: 12px;
}

.ler-summary__row {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 16px;
}

.ler-summary__row dt {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--ler-outline);
	padding-top: 3px;
}

.ler-summary__row dd {
	margin: 0;
	color: var(--ler-navy);
	font-weight: 600;
}

.ler-thankyou__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.ler-thankyou__edit {
	margin: 16px 0 0;
	font-size: 14px;
	text-align: left;
}

.ler-thankyou__contact {
	margin: 24px 0 0;
	font-size: 15px;
	color: var(--ler-text-soft);
}

/* ---------------------------------------------------------------------------
 * Standalone landing template
 * ------------------------------------------------------------------------ */

body.ler-standalone {
	margin: 0;
	background: #f9f9f9;
}

.ler-standalone__wrap {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.ler-standalone__main {
	flex: 1 0 auto;
}

.ler-topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid #c5c5d3;
}

.ler-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 80px;
}

.ler-topbar__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #001a70;
	font-weight: 700;
	font-size: 18px;
}

.ler-topbar__logo img {
	display: block;
	height: 40px;
	width: auto;
	object-fit: contain;
}

.ler-langswitch {
	display: inline-flex;
	gap: 4px;
}

.ler-langswitch__item {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: #001a70;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.ler-langswitch__item:hover {
	color: #f15a22;
}

.ler-langswitch__item.is-active {
	background: rgba(0, 26, 112, 0.06);
}

.ler-sitefooter {
	background: #000a3d;
	color: #fff;
	text-align: center;
	padding-block: 64px;
}

.ler-sitefooter__logo {
	display: inline-block;
	margin-bottom: 24px;
}

.ler-sitefooter__logo img {
	height: 44px;
	width: auto;
	filter: brightness(0) invert(1);
}

.ler-sitefooter__name {
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

.ler-sitefooter__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	margin-bottom: 32px;
}

.ler-sitefooter__links a {
	color: #b9c3ff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: underline;
	transition: color 0.15s ease;
}

.ler-sitefooter__links a:hover {
	color: #f15a22;
}

.ler-sitefooter__copy {
	margin: 0;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.6);
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.ler-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.ler-layout__side {
		position: static;
	}

	.ler-facts {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}

	.ler-facts__note {
		grid-column: 1 / -1;
	}

	.ler-program__list {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 16px 24px;
	}
}

@media (max-width: 720px) {
	.ler {
		--ler-gutter: 20px;
	}

	.ler-card {
		padding: 24px 20px;
	}

	.ler-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ler-field--half {
		grid-column: 1 / -1;
	}

	.ler-facts {
		grid-template-columns: minmax(0, 1fr);
		padding: 20px;
	}

	.ler-summary__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}

	.ler-thankyou__actions .ler-button {
		width: 100%;
	}

	.ler-topbar__inner {
		height: 64px;
	}

	.ler-sitefooter {
		padding-block: 48px;
	}
}

/* Fallback for browsers without :has(); keep everything usable. */
@supports not selector(:has(*)) {
	.ler-cards input[type="radio"],
	.ler-radios input[type="radio"],
	.ler-radios input[type="checkbox"],
	.ler-check input[type="checkbox"] {
		position: static;
		opacity: 1;
		width: auto;
		height: auto;
		margin-right: 8px;
	}

	.ler-choice,
	.ler-radio,
	.ler-check {
		padding-left: 16px;
	}

	.ler-radio::before,
	.ler-check::before,
	.ler-check::after,
	.ler-choice__check {
		display: none;
	}
}

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