/* Réalisations / Projects mobile hero — works across WPML page IDs */

.plastiline-page-realisations .elementor-element-0bf962b,
.elementor-17101 .elementor-element-0bf962b,
.elementor-17301 .elementor-element-0bf962b {
	position: relative;
}

@media (max-width: 1024px) {
	.plastiline-page-realisations .elementor-element-0bf962b,
	.elementor-17101 .elementor-element-0bf962b,
	.elementor-17301 .elementor-element-0bf962b {
		min-height: 0 !important;
		flex-direction: column !important;
		--flex-direction: column !important;
	}

	.plastiline-page-realisations .elementor-element-a4f3270,
	.plastiline-page-realisations .elementor-element-ed0c78a,
	.elementor-17101 .elementor-element-a4f3270,
	.elementor-17101 .elementor-element-ed0c78a,
	.elementor-17301 .elementor-element-a4f3270,
	.elementor-17301 .elementor-element-ed0c78a {
		--width: 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

@media (max-width: 767px) {
	.plastiline-page-realisations .elementor-element-0bf962b,
	.elementor-17101 .elementor-element-0bf962b,
	.elementor-17301 .elementor-element-0bf962b {
		min-height: 0 !important;
		height: auto !important;
		padding-top: 28px !important;
		padding-bottom: 24px !important;
		isolation: isolate;
	}

	.plastiline-page-realisations .elementor-element-0bf962b::before,
	.elementor-17101 .elementor-element-0bf962b::before,
	.elementor-17301 .elementor-element-0bf962b::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 0;
		pointer-events: none;
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.94) 0%,
			rgba(255, 255, 255, 0.82) 45%,
			rgba(255, 255, 255, 0.62) 100%
		);
	}

	.plastiline-page-realisations .elementor-element-0bf962b > .e-con-inner,
	.plastiline-page-realisations .elementor-element-0bf962b > .elementor-element,
	.elementor-17101 .elementor-element-0bf962b > .e-con-inner,
	.elementor-17101 .elementor-element-0bf962b > .elementor-element,
	.elementor-17301 .elementor-element-0bf962b > .e-con-inner,
	.elementor-17301 .elementor-element-0bf962b > .elementor-element {
		position: relative;
		z-index: 1;
	}

	.plastiline-page-realisations .elementor-element-ed0c78a,
	.elementor-17101 .elementor-element-ed0c78a,
	.elementor-17301 .elementor-element-ed0c78a {
		display: none !important;
	}

	.plastiline-page-realisations .elementor-element-13decf7 .elementor-heading-title,
	.elementor-17101 .elementor-element-13decf7 .elementor-heading-title,
	.elementor-17301 .elementor-element-13decf7 .elementor-heading-title {
		color: #1a1a1a !important;
		font-size: clamp(1.5rem, 7vw, 2.1rem) !important;
		line-height: 1.2 !important;
		margin-bottom: 0.5rem !important;
	}

	.plastiline-page-realisations .elementor-element-21c8c92,
	.plastiline-page-realisations .elementor-element-21c8c92 p,
	.elementor-17101 .elementor-element-21c8c92,
	.elementor-17101 .elementor-element-21c8c92 p,
	.elementor-17301 .elementor-element-21c8c92,
	.elementor-17301 .elementor-element-21c8c92 p {
		color: #333 !important;
		font-size: 0.98rem !important;
		line-height: 1.5 !important;
	}

	.plastiline-page-realisations .elementor-element-1c632e0 .elementor-button,
	.elementor-17101 .elementor-element-1c632e0 .elementor-button,
	.elementor-17301 .elementor-element-1c632e0 .elementor-button {
		width: 100%;
		justify-content: center;
		white-space: normal;
		height: auto !important;
		padding: 12px 16px !important;
		line-height: 1.3 !important;
	}

	/* Kill large empty gap under hero before portfolio grid */
	.plastiline-page-realisations .elementor-element-0a9a46e,
	.elementor-17101 .elementor-element-0a9a46e,
	.elementor-17301 .elementor-element-0a9a46e {
		margin-top: 0 !important;
		padding-top: 8px !important;
		padding-bottom: 0 !important;
	}

	.plastiline-page-realisations .plastiline-pf,
	.elementor-17101 .plastiline-pf,
	.elementor-17301 .plastiline-pf {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
}
