/* Pressovac Page H1 Widget */

.pressovac-ph1 {
	background-color: #edf1f7;
	padding: 48px 0;
}

.pressovac-ph1__container {
	width: 100%;
}

/* Remove Elementor default padding from widget-container and column wrappers
   so text lines up with the page header / logo */
.elementor-widget-pressovac_page_h1 > .elementor-widget-container {
	padding: 0;
}

/* Old Elementor column layout */
.elementor-column:has(.pressovac-ph1) .elementor-element-populated,
.elementor-column:has(.pressovac-ph1) .elementor-widget-wrap {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* New Elementor Flexbox Container layout */
.e-con:has(.pressovac-ph1) > .e-con-inner {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.pressovac-ph1__eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #0DA2E7;
	margin-bottom: 10px;
}

.pressovac-ph1__title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	color: #1a1f36;
	line-height: 1.15;
	margin: 0 0 14px;
}

.pressovac-ph1__desc {
	font-size: 15px;
	color: #5a6275;
	line-height: 1.65;
	max-width: 620px;
	margin: 0;
	white-space: pre-line;
}

/* ── CTA button ─────────────────────────────────────────────────────────── */
.pressovac-ph1__cta {
	display: inline-block;
	margin-top: 24px;
	padding: 12px 28px;
	background-color: #e55d00;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.2s;
}

.pressovac-ph1__cta:hover {
	background-color: #c94f00;
	color: #ffffff;
}

/* ── Two-column layout with image ───────────────────────────────────────── */
.pressovac-ph1__container--with-image {
	display: grid;
	grid-template-columns: 3fr 2fr;
	align-items: stretch;
	gap: 48px;
}

/* Move vertical padding from section to text column so image bleeds edge-to-edge */
.pressovac-ph1:has(.pressovac-ph1__image) {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.pressovac-ph1:has(.pressovac-ph1__image) .pressovac-ph1__text {
	padding-top: 48px;
	padding-bottom: 48px;
}

.pressovac-ph1__text {
	min-width: 0;
}

.pressovac-ph1__image {
	overflow: hidden;
}

.pressovac-ph1__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none !important;
}

/* In fullwidth mode: image bleeds to right viewport edge */
.pressovac-ph1--fullwidth .pressovac-ph1__image {
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc((100% - 48px) * 3 / 5);
	right: calc(50% - 50vw);
}

@media (max-width: 768px) {
	.pressovac-ph1__container--with-image {
		display: block;
	}

	.pressovac-ph1__image,
	.pressovac-ph1__cta {
		display: none;
	}
}

/* ── Full width breakout ─────────────────────────────────────────────────── */
.pressovac-ph1--fullwidth {
	position: relative;
}

.pressovac-ph1--fullwidth::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(50% - 50vw);
	width: 100vw;
	background-color: inherit;
	z-index: -1;
}
