.pressovac-hero-section-widget {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	overflow-x: clip;
}

.pressovac-hero-section {
	width: 100%;
}

.pressovac-hero-section__image {
	width: 100%;
	min-height: clamp(280px, 52vw, 620px);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.pressovac-hero-section__frame-row {
	display: flex;
	justify-content: center !important;
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	--pressovac-frame-base-side-offset: 0px;
	--pressovac-frame-extra-side-offset: 0px;
	padding-left: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box;
	margin-top: 0;
}

.pressovac-hero-section__title-frame {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0;
	min-height: 110px;
	padding: 18px 22px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center !important;
	background: #fff;
	border: 1px solid rgba(13, 162, 231, 0.2);
	border-radius: 0;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.pressovac-hero-section__frame-title {
	margin: 0;
	display: block;
	width: 100%;
	color: #0da2e7;
	font-size: clamp(1.4rem, 3.2vw, 2.8rem);
	line-height: 1.2;
	font-weight: 700;
	text-align: center !important;
	--pressovac-title-offset-base-x: 0px;
	--pressovac-title-offset-extra-x: 0px;
	--pressovac-title-offset-base-y: 0px;
	--pressovac-title-offset-extra-y: 0px;
	transform: translate(0, 0) !important;
}

@media (max-width: 1024px) {
	.pressovac-hero-section__image {
		min-height: clamp(240px, 55vw, 500px);
	}
}

@media (max-width: 767px) {
	/* Generic fix: if a mobile hero widget is inside an Elementor hidden-mobile parent, show that parent on mobile. */
	.elementor-element.elementor-hidden-mobile:has(> .elementor-widget-pressovac_hero_section.elementor-hidden-desktop.elementor-hidden-tablet) {
		display: block !important;
	}

	/* Backward-compatible explicit IDs used on existing EN/FI pages. */
	.elementor-element.elementor-element-77be3b7.elementor-hidden-mobile,
	.elementor-element.elementor-element-c8a1c20.elementor-hidden-mobile {
		display: block !important;
	}

	.elementor-element.elementor-element-dfc92d3.elementor-hidden-tablet,
	.elementor-element.elementor-element-e19b182.elementor-hidden-tablet {
		display: block !important;
	}

	.elementor-widget-pressovac_hero_section.elementor-hidden-desktop.elementor-hidden-tablet {
		display: block !important;
	}

	.pressovac-hero-section-widget {
		display: block !important;
	}

	.pressovac-hero-section__image {
		min-height: 260px;
	}

	.pressovac-hero-section__frame-row {
		--pressovac-frame-base-side-offset: 0px;
	}

	.pressovac-hero-section__title-frame {
		width: 100%;
		max-width: 100%;
		min-height: 92px;
		padding: 14px 18px;
	}
}
