:root {
	--kriz-editorial-ink: #211f1d;
	--kriz-editorial-muted: #68635d;
	--kriz-editorial-paper: #f6f3ed;
	--kriz-editorial-card: #ffffff;
	--kriz-editorial-line: rgba( 38, 31, 25, 0.14 );
	--kriz-editorial-red: #b52228;
	--kriz-editorial-red-dark: #87171c;
}

.kriz-editorial-page.elementor-section > .elementor-container {
	width: min( 1180px, calc( 100% - 48px ) );
	max-width: 1180px;
	margin-inline: auto;
}

.kriz-editorial-page {
	color: var( --kriz-editorial-ink );
}

.kriz-editorial-page h1,
.kriz-editorial-page h2,
.kriz-editorial-page h3 {
	color: var( --kriz-editorial-ink );
	letter-spacing: -0.025em;
	line-height: 1.08;
	margin: 0;
}

.kriz-editorial-page h1 {
	font-size: clamp( 2.8rem, 6vw, 5.7rem );
}

.kriz-editorial-page h2 {
	font-size: clamp( 2rem, 3.4vw, 3.35rem );
}

.kriz-editorial-page h3 {
	font-size: clamp( 1.2rem, 1.8vw, 1.55rem );
}

.kriz-editorial-page p {
	color: var( --kriz-editorial-muted );
	font-size: 1.05rem;
	line-height: 1.68;
	margin: 0;
}

.kriz-editorial-eyebrow .elementor-heading-title {
	color: var( --kriz-editorial-red );
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.kriz-editorial-lead p {
	color: #403c37;
	font-size: clamp( 1.08rem, 1.6vw, 1.3rem );
	line-height: 1.62;
}

.kriz-editorial-button {
	display: inline-block;
	margin: 4px 12px 4px 0;
	width: auto !important;
}

.kriz-editorial-button .elementor-button {
	background: var( --kriz-editorial-red );
	border: 1px solid var( --kriz-editorial-red );
	border-radius: 8px;
	box-shadow: none;
	color: #fff;
	font-size: 1rem;
	font-weight: 750;
	padding: 15px 24px;
}

.kriz-editorial-button .elementor-button:hover,
.kriz-editorial-button .elementor-button:focus-visible {
	background: var( --kriz-editorial-red-dark );
	border-color: var( --kriz-editorial-red-dark );
	color: #fff;
}

.kriz-editorial-button--secondary .elementor-button {
	background: transparent;
	border-color: var( --kriz-editorial-ink );
	color: var( --kriz-editorial-ink );
}

.kriz-editorial-button--secondary .elementor-button:hover,
.kriz-editorial-button--secondary .elementor-button:focus-visible {
	background: var( --kriz-editorial-ink );
	border-color: var( --kriz-editorial-ink );
	color: #fff;
}

.kriz-editorial-text-link .elementor-button {
	background: transparent;
	border: 0;
	color: var( --kriz-editorial-red );
	font-weight: 750;
	padding: 8px 0;
	text-align: left;
}

.kriz-editorial-text-link .elementor-button:hover,
.kriz-editorial-text-link .elementor-button:focus-visible {
	background: transparent;
	color: var( --kriz-editorial-red-dark );
	text-decoration: underline;
}

.kriz-editorial-home__hero,
.kriz-editorial-paramenta__hero,
.kriz-editorial-voucher__hero {
	padding: 72px 0 36px;
}

.kriz-editorial-home__hero > .elementor-container,
.kriz-editorial-paramenta__hero > .elementor-container,
.kriz-editorial-voucher__hero > .elementor-container {
	background: var( --kriz-editorial-paper );
	border: 1px solid var( --kriz-editorial-line );
	border-radius: 28px;
	overflow: hidden;
	padding: 56px;
}

.kriz-editorial-home__hero .elementor-widget,
.kriz-editorial-paramenta__hero .elementor-widget,
.kriz-editorial-voucher__hero .elementor-widget {
	margin-bottom: 22px;
}

.kriz-editorial-paramenta__hero > .elementor-container {
	align-items: stretch;
	padding: 0;
}

.kriz-editorial-paramenta__hero .elementor-column:first-child > .elementor-widget-wrap {
	align-content: center;
	padding: 58px;
}

.kriz-editorial-paramenta__hero .elementor-column:last-child > .elementor-widget-wrap {
	padding: 0;
}

.kriz-editorial-hero-image,
.kriz-editorial-hero-image .elementor-widget-container,
.kriz-editorial-hero-image img {
	height: 100%;
	min-height: 520px;
	width: 100%;
}

.kriz-editorial-hero-image img {
	display: block;
	object-fit: cover;
}

.kriz-editorial-image--mobile {
	display: none;
}

.kriz-editorial-intro {
	padding: 72px 0 24px;
}

.kriz-editorial-intro > .elementor-container {
	border-bottom: 1px solid var( --kriz-editorial-line );
	padding-bottom: 26px;
}

.kriz-editorial-intro .elementor-widget:not(:last-child) {
	margin-bottom: 13px;
}

.kriz-editorial-card-grid {
	padding: 18px 0 44px;
}

.kriz-editorial-card-grid > .elementor-container {
	display: grid;
	gap: 22px;
}

.kriz-editorial-card-grid--two > .elementor-container {
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.kriz-editorial-card-grid--three > .elementor-container {
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
}

.kriz-editorial-card-grid--four > .elementor-container {
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
}

.kriz-editorial-card-grid > .elementor-container > .elementor-column {
	width: 100% !important;
}

.kriz-editorial-card {
	background: var( --kriz-editorial-card );
	border: 1px solid var( --kriz-editorial-line );
	border-radius: 20px;
	overflow: hidden;
}

.kriz-editorial-card > .elementor-widget-wrap {
	align-content: flex-start;
	padding: 26px;
}

.kriz-editorial-card .elementor-widget:not(:last-child),
.kriz-editorial-benefit .elementor-widget:not(:last-child) {
	margin-bottom: 14px;
}

.kriz-editorial-card .elementor-widget-image {
	margin: -26px -26px 24px;
	width: calc( 100% + 52px );
}

.kriz-editorial-card .elementor-widget-image img {
	display: block;
	height: 240px;
	object-fit: cover;
	width: 100%;
}

.kriz-editorial-card--compact .elementor-widget-image img {
	height: 185px;
}

.kriz-editorial-category-card .elementor-widget-image img {
	height: 220px;
}

.kriz-editorial-card--strong {
	background: var( --kriz-editorial-ink );
}

.kriz-editorial-card--strong h2,
.kriz-editorial-card--strong h3,
.kriz-editorial-card--strong p,
.kriz-editorial-card--strong a {
	color: #fff;
}

.kriz-editorial-card--strong .kriz-editorial-button--secondary .elementor-button {
	border-color: #fff;
	color: #fff;
}

.kriz-editorial-card--future {
	background: #e9e6df;
}

.kriz-editorial-placeholder .elementor-heading-title {
	align-items: center;
	background: #24211f;
	color: #fff;
	display: flex;
	font-size: clamp( 2.4rem, 5vw, 4.4rem );
	justify-content: center;
	min-height: 260px;
	padding: 32px;
	text-align: center;
}

.kriz-editorial-benefits {
	padding-bottom: 58px;
}

.kriz-editorial-benefit {
	border-left: 3px solid var( --kriz-editorial-red );
	padding-left: 22px;
}

.kriz-editorial-cta {
	padding: 42px 0 86px;
}

.kriz-editorial-cta > .elementor-container {
	align-items: stretch;
	background: var( --kriz-editorial-ink );
	border-radius: 24px;
	overflow: hidden;
}

.kriz-editorial-cta .elementor-column:first-child > .elementor-widget-wrap {
	align-content: center;
	padding: 48px;
}

.kriz-editorial-cta .elementor-column:last-child > .elementor-widget-wrap {
	padding: 0;
}

.kriz-editorial-cta h2,
.kriz-editorial-cta p {
	color: #fff;
}

.kriz-editorial-cta img {
	display: block;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
	width: 100%;
}

.kriz-editorial-contact-grid {
	padding-bottom: 84px;
}

.kriz-editorial-contact-grid .elementor-widget-text-editor a {
	color: inherit;
	font-weight: 700;
}

.kriz-editorial-note {
	padding: 10px 0 28px;
}

.kriz-editorial-note > .elementor-container {
	background: #fff7e9;
	border: 1px solid #efd7ad;
	border-radius: 14px;
	padding: 24px 28px;
}

.kriz-editorial-voucher-card .elementor-widget-image img {
	height: auto;
	object-fit: contain;
}

@media ( max-width: 1024px ) {
	.kriz-editorial-card-grid--four > .elementor-container,
	.kriz-editorial-card-grid--three > .elementor-container {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.kriz-editorial-paramenta__hero .elementor-column:first-child > .elementor-widget-wrap {
		padding: 42px;
	}
}

@media ( max-width: 767px ) {
	.kriz-editorial-page.elementor-section > .elementor-container {
		width: min( 100% - 28px, 1180px );
	}

	.kriz-editorial-home__hero,
	.kriz-editorial-paramenta__hero,
	.kriz-editorial-voucher__hero {
		padding: 28px 0 12px;
	}

	.kriz-editorial-home__hero > .elementor-container,
	.kriz-editorial-voucher__hero > .elementor-container {
		padding: 30px 24px;
	}

	.kriz-editorial-paramenta__hero > .elementor-container,
	.kriz-editorial-cta > .elementor-container {
		display: flex;
		flex-direction: column;
	}

	.kriz-editorial-paramenta__hero .elementor-column,
	.kriz-editorial-cta .elementor-column {
		width: 100% !important;
	}

	.kriz-editorial-paramenta__hero .elementor-column:first-child > .elementor-widget-wrap,
	.kriz-editorial-cta .elementor-column:first-child > .elementor-widget-wrap {
		padding: 30px 24px;
	}

	.kriz-editorial-image--desktop {
		display: none;
	}

	.kriz-editorial-image--mobile {
		display: block;
	}

	.kriz-editorial-hero-image,
	.kriz-editorial-hero-image .elementor-widget-container,
	.kriz-editorial-hero-image img {
		min-height: 420px;
	}

	.kriz-editorial-intro {
		padding: 50px 0 18px;
	}

	.kriz-editorial-card-grid--two > .elementor-container,
	.kriz-editorial-card-grid--three > .elementor-container,
	.kriz-editorial-card-grid--four > .elementor-container {
		grid-template-columns: 1fr;
	}

	.kriz-editorial-card-grid {
		padding-bottom: 26px;
	}

	.kriz-editorial-card > .elementor-widget-wrap {
		padding: 22px;
	}

	.kriz-editorial-card .elementor-widget-image {
		margin: -22px -22px 20px;
		width: calc( 100% + 44px );
	}

	.kriz-editorial-placeholder .elementor-heading-title {
		min-height: 200px;
	}

	.kriz-editorial-button {
		display: block;
		margin-right: 0;
		width: 100% !important;
	}

	.kriz-editorial-button .elementor-button {
		text-align: center;
		width: 100%;
	}

	.kriz-editorial-text-link .elementor-button {
		text-align: left;
	}

	.kriz-editorial-contact-grid,
	.kriz-editorial-cta {
		padding-bottom: 56px;
	}
}

/* Preserve the original platform-home composition while keeping both areas native Elementor sections. */
body.home .elementor[data-elementor-type="wp-page"] {
	align-items: center;
	background: #fbfaf8;
	display: grid;
	gap: 54px;
	grid-template-columns: minmax( 0, 0.72fr ) minmax( 560px, 1.28fr );
	margin-inline: auto;
	max-width: 1260px;
	padding: 58px 28px 68px;
}

body.home .elementor[data-elementor-type="wp-page"] > .kriz-editorial-page {
	min-width: 0;
	padding: 0;
}

body.home .elementor[data-elementor-type="wp-page"] > .kriz-editorial-page > .elementor-container {
	margin: 0;
	max-width: none;
	width: 100%;
}

body.home .kriz-editorial-home__hero > .elementor-container {
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
	padding: 0;
}

body.home .kriz-editorial-home__hero h1 {
	font-size: clamp( 48px, 5vw, 76px );
	font-weight: 650;
	letter-spacing: 0;
	line-height: 1;
	max-width: 10ch;
}

body.home .kriz-editorial-home__hero .kriz-editorial-lead p {
	font-size: 18px;
	line-height: 1.58;
	max-width: 520px;
}

body.home .kriz-editorial-card-grid--two > .elementor-container {
	gap: 18px;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

body.home .kriz-editorial-card {
	border-radius: 8px;
	box-shadow: 0 16px 38px rgba( 47, 38, 31, 0.1 );
	min-height: 500px;
	position: relative;
	transition: box-shadow 180ms ease, transform 180ms ease;
}

body.home .kriz-editorial-card:hover,
body.home .kriz-editorial-card:focus-within {
	box-shadow: 0 20px 46px rgba( 47, 38, 31, 0.16 );
	transform: translateY( -2px );
}

body.home .kriz-editorial-card:focus-within {
	outline: 3px solid rgba( 176, 31, 36, 0.32 );
	outline-offset: 4px;
}

body.home .kriz-editorial-card > .elementor-widget-wrap {
	display: flex;
	flex-direction: column;
	padding: 24px;
}

body.home .kriz-editorial-card .elementor-widget-image {
	margin: -24px -24px 24px;
	width: calc( 100% + 48px );
}

body.home .kriz-editorial-card .elementor-widget-image img,
body.home .kriz-editorial-placeholder .elementor-heading-title {
	height: 245px;
	min-height: 245px;
}

body.home .kriz-editorial-card h2 {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.12;
}

body.home .kriz-editorial-placeholder .elementor-heading-title {
	font-size: 30px;
	line-height: 1.04;
	padding: 24px;
}

body.home .kriz-editorial-card .elementor-widget-button {
	margin-top: auto;
}

body.home .kriz-editorial-card .elementor-widget-button .elementor-button {
	background: transparent;
	border: 0;
	color: var( --kriz-editorial-red );
	font-size: 15px;
	font-weight: 700;
	padding: 10px 0 0;
	text-align: left;
}

/* The existing Elementor button stays the single semantic link; its overlay makes the whole tile clickable. */
body.home .kriz-editorial-card .elementor-widget-button,
body.home .kriz-editorial-card .elementor-widget-button .elementor-button {
	position: static;
}

body.home .kriz-editorial-card .elementor-widget-button .elementor-button::after {
	border-radius: 8px;
	content: "";
	inset: 0;
	position: absolute;
	z-index: 4;
}

/* Keep the existing Elementor button as the semantic destination while making
 * every Paramenta realization tile an honest, full-surface link. */
.kriz-editorial-card--compact {
	position: relative;
	cursor: pointer;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.kriz-editorial-card--compact:hover,
.kriz-editorial-card--compact:focus-within {
	border-color: rgba( 176, 31, 36, 0.38 );
	box-shadow: 0 20px 44px rgba( 47, 38, 31, 0.13 );
	transform: translateY( -3px );
}

.kriz-editorial-card--compact:focus-within {
	outline: 3px solid rgba( 176, 31, 36, 0.28 );
	outline-offset: 4px;
}

.kriz-editorial-card--compact .elementor-widget-button,
.kriz-editorial-card--compact .elementor-widget-button .elementor-button {
	position: static;
}

.kriz-editorial-card--compact .elementor-widget-button .elementor-button::after {
	border-radius: 20px;
	content: "";
	inset: 0;
	position: absolute;
	z-index: 4;
}

.kriz-editorial-card--compact:hover .elementor-heading-title,
.kriz-editorial-card--compact:focus-within .elementor-heading-title,
.kriz-editorial-card--compact:hover .elementor-button,
.kriz-editorial-card--compact:focus-within .elementor-button {
	color: var( --kriz-editorial-red );
}

body.home #primary-menu a[href$="/paramenta/"],
body.home #mobile-menu a[href$="/paramenta/"] {
	pointer-events: auto;
	position: relative;
	z-index: 2;
}

.kriz-editorial-paramenta__hero h1 {
	font-size: clamp( 42px, 4.25vw, 66px );
	font-weight: 650;
	letter-spacing: 0;
	line-height: 1.08;
	max-width: 15ch;
}

@media ( max-width: 900px ) {
	body.home .elementor[data-elementor-type="wp-page"] {
		gap: 32px;
		grid-template-columns: 1fr;
		padding: 44px 20px 52px;
	}

	body.home .kriz-editorial-home__hero h1 {
		font-size: 46px;
		max-width: 12ch;
	}

	body.home .kriz-editorial-card {
		min-height: 0;
	}
}

@media ( max-width: 767px ) {
	body.home .elementor[data-elementor-type="wp-page"] {
		padding: 34px 16px 44px;
	}

	body.home .kriz-editorial-card-grid--two > .elementor-container {
		grid-template-columns: 1fr;
	}

	body.home .kriz-editorial-card > .elementor-widget-wrap {
		padding: 22px;
	}

	body.home .kriz-editorial-card .elementor-widget-image {
		margin: -22px -22px 20px;
		width: calc( 100% + 44px );
	}

	body.home .kriz-editorial-card .elementor-widget-image img,
	body.home .kriz-editorial-placeholder .elementor-heading-title {
		height: 220px;
		min-height: 220px;
	}

	.kriz-editorial-paramenta__hero h1 {
		font-size: clamp( 38px, 12vw, 48px );
	}
}

/* Paramenta keeps native Elementor widgets while matching the category hero overlay composition. */
.kriz-editorial-paramenta__hero > .elementor-container {
	display: block;
	isolation: isolate;
	min-height: 540px;
	position: relative;
}

.kriz-editorial-paramenta__hero .elementor-column:first-child {
	max-width: 760px;
	min-height: 540px;
	position: relative;
	width: 100% !important;
	z-index: 2;
}

.kriz-editorial-paramenta__hero .elementor-column:first-child > .elementor-widget-wrap {
	align-content: center;
	display: flex;
	flex-direction: row;
	min-height: 540px;
	padding: 58px;
}

.kriz-editorial-paramenta__hero .elementor-column:first-child > .elementor-widget-wrap > .elementor-element {
	width: 100%;
}

.kriz-editorial-paramenta__hero .elementor-column:last-child {
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100% !important;
	z-index: 0;
}

.kriz-editorial-paramenta__hero .elementor-column:last-child > .elementor-widget-wrap {
	display: block;
	height: 100%;
	position: relative;
}

.kriz-editorial-paramenta__hero .elementor-column:last-child > .elementor-widget-wrap::after {
	background:
		linear-gradient( 90deg, rgba( 246, 243, 237, 0.98 ) 0%, rgba( 246, 243, 237, 0.92 ) 38%, rgba( 246, 243, 237, 0.66 ) 64%, rgba( 246, 243, 237, 0.12 ) 100% ),
		linear-gradient( 180deg, rgba( 246, 243, 237, 0.04 ) 0%, rgba( 246, 243, 237, 0.1 ) 100% );
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.kriz-editorial-paramenta__hero .kriz-editorial-hero-image,
.kriz-editorial-paramenta__hero .kriz-editorial-hero-image .elementor-widget-container,
.kriz-editorial-paramenta__hero .kriz-editorial-hero-image img {
	height: 100%;
	min-height: 540px;
}

.kriz-editorial-paramenta__hero .kriz-editorial-hero-image img {
	object-position: center right;
}

.kriz-editorial-paramenta__hero .kriz-editorial-lead p {
	color: #3f3a35;
	max-width: 650px;
}

@media ( max-width: 767px ) {
	.kriz-editorial-paramenta__hero > .elementor-container,
	.kriz-editorial-paramenta__hero .elementor-column:first-child,
	.kriz-editorial-paramenta__hero .elementor-column:first-child > .elementor-widget-wrap {
		min-height: 680px;
	}

	.kriz-editorial-paramenta__hero .elementor-column:first-child {
		max-width: none;
	}

	.kriz-editorial-paramenta__hero .elementor-column:first-child > .elementor-widget-wrap {
		align-content: flex-end;
		padding: 32px 24px;
	}

	.kriz-editorial-paramenta__hero .elementor-column:last-child {
		height: 100%;
		position: absolute;
	}

	.kriz-editorial-paramenta__hero .elementor-column:last-child > .elementor-widget-wrap::after {
		background:
			linear-gradient( 180deg, rgba( 246, 243, 237, 0.48 ) 0%, rgba( 246, 243, 237, 0.78 ) 32%, rgba( 246, 243, 237, 0.96 ) 68%, rgba( 246, 243, 237, 0.98 ) 100% ),
			linear-gradient( 90deg, rgba( 246, 243, 237, 0.72 ) 0%, rgba( 246, 243, 237, 0.26 ) 100% );
	}

	.kriz-editorial-paramenta__hero .kriz-editorial-hero-image,
	.kriz-editorial-paramenta__hero .kriz-editorial-hero-image .elementor-widget-container,
	.kriz-editorial-paramenta__hero .kriz-editorial-hero-image img {
		min-height: 680px;
	}

	.kriz-editorial-paramenta__hero .kriz-editorial-hero-image img {
		object-position: center top;
	}
}
