/*
 * Titelbalk (zie inc/titelbalk.php): één vorm voor de titelbalk bovenaan pagina's en
 * sjablonen. Diep LunaMed-blauw, titel en intro links uitgelijnd op de inhoud eronder, en op
 * brede schermen de lijnen van het logo aan de rechterkant, zoals op de inlogpagina.
 *
 * !important is hier nodig: Elementor zet achtergrond, laag en padding per sectie met
 * selectors op element-ID.
 */

.elementor .elementor-element.lm-titelbalk {
	padding: 56px 24px 60px !important;
	background:
		radial-gradient(1100px 420px at 80% -40%, rgba(46, 193, 251, 0.14), rgba(46, 193, 251, 0) 60%),
		#135a83 !important;
	border: 0 !important;
	box-shadow: none !important;
}

/* Foto, kleurlaag, placeholderafbeelding en vormranden van de oude titelbalken */
.lm-titelbalk > .elementor-background-overlay,
.lm-titelbalk > .elementor-shape,
.lm-titelbalk > .elementor-motion-effects-container,
.lm-titelbalk > .elementor-background-video-container,
.lm-titelbalk > .elementor-background-slideshow {
	display: none !important;
}

.lm-titelbalk > .elementor-container {
	min-height: 0 !important;
}

.lm-titelbalk .elementor-widget-wrap {
	align-content: flex-start !important;
}

.lm-titelbalk .elementor-widget,
.lm-titelbalk .elementor-widget .elementor-widget-container,
.lm-titelbalk .elementor-heading-title {
	text-align: left !important;
}

.lm-titelbalk .elementor-widget:not(:last-child) {
	margin-bottom: 12px !important;
}

/* Spacers uit de oude balken weg: de padding van de balk geeft de ruimte */
.lm-titelbalk .elementor-widget-spacer {
	display: none !important;
}

.lm-titelbalk .elementor-heading-title {
	max-width: 820px;
	margin: 0 !important;
	padding: 0 !important;
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif !important;
	font-size: clamp(30px, 1.6vw + 18px, 42px) !important;
	font-weight: 800 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.025em !important;
	text-transform: none !important;
	color: #fff !important;
	text-wrap: balance;
}

.lm-titelbalk .elementor-widget-text-editor,
.lm-titelbalk .elementor-widget-text-editor p {
	max-width: 720px;
	margin-left: 0 !important;
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.6 !important;
	color: rgba(255, 255, 255, 0.86) !important;
}

.lm-titelbalk .elementor-widget-text-editor p:last-child {
	margin-bottom: 0 !important;
}

.lm-titelbalk a:not(.elementor-button) {
	color: #9be3ff !important;
	text-decoration: underline;
	text-decoration-color: rgba(155, 227, 255, 0.45);
	text-underline-offset: 3px;
}

/* Lijnen van het logo rechts, alleen waar ze naast de titel passen */
@media (min-width: 1200px) {
	.elementor .elementor-element.lm-titelbalk {
		background:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 380 220' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%232EC1FB' stroke-opacity='.4' stroke-width='1.5'%3E%3Cpath d='M380 60H250l-38 38h-52'/%3E%3Cpath d='M380 120H190'/%3E%3Cpath d='M380 176h-80l-38-38h-26'/%3E%3Cpath d='M330 24h-40l-20 20'/%3E%3C/g%3E%3Cg fill='%23135A83' stroke='%232EC1FB' stroke-opacity='.75' stroke-width='1.5'%3E%3Ccircle cx='160' cy='98' r='4.5'/%3E%3Ccircle cx='190' cy='120' r='4.5'/%3E%3Ccircle cx='236' cy='138' r='4.5'/%3E%3Ccircle cx='330' cy='24' r='4.5'/%3E%3Ccircle cx='270' cy='44' r='4.5'/%3E%3C/g%3E%3C/svg%3E") right center / 380px 220px no-repeat,
			radial-gradient(1100px 420px at 80% -40%, rgba(46, 193, 251, 0.14), rgba(46, 193, 251, 0) 60%),
			#135a83 !important;
	}
}

@media (max-width: 767px) {
	.elementor .elementor-element.lm-titelbalk {
		padding: 36px 16px 40px !important;
	}

	.lm-titelbalk .elementor-heading-title {
		font-size: 28px !important;
	}

	.lm-titelbalk .elementor-widget-text-editor,
	.lm-titelbalk .elementor-widget-text-editor p {
		font-size: 16px !important;
	}
}
