.uckg-layout {
	box-sizing: border-box;
	width: 100%;
	color: #0d1a2d;
	font-family: var(--uckg-font-family, "JUST Sans", Montserrat, Arial, Helvetica, sans-serif);
}

.uckg-layout *,
.uckg-layout *::before,
.uckg-layout *::after {
	box-sizing: border-box;
}

.uckg-layout__outer {
	width: 100%;
}

.uckg-layout__inner {
	display: flex;
	flex-direction: column;
	gap: 28px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.uckg-layout__header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	max-width: 640px;
}

.uckg-layout--choices .uckg-layout__header,
.uckg-layout--steps .uckg-layout__header,
.uckg-layout--header-center .uckg-layout__header {
	align-items: center;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.uckg-layout--header-left .uckg-layout__header {
	align-items: flex-start;
	text-align: left;
	margin-left: 0;
	margin-right: 0;
}

.uckg-layout__eyebrow {
	margin: 0;
	color: #1d77f1;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.uckg-layout__title {
	margin: 0;
	color: #0d1a2d;
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.uckg-layout__header-accent {
	display: block;
	width: 36px;
	height: 3px;
	margin: 8px 0 0;
	border-radius: 2px;
	background: #e10600;
}

.uckg-layout__desc {
	margin: 0;
	color: #3d4c5e;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
}

.uckg-layout__row {
	display: flex;
	align-items: stretch;
	gap: 20px;
}

.uckg-layout__media {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 420px;
	overflow: hidden;
	border-radius: 16px;
	background: #e7edf5;
}

.uckg-layout__media iframe,
.uckg-layout__media > img,
.uckg-layout__media .uckg-layout__media-img,
.uckg-layout__figure img {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.uckg-layout__media iframe {
	position: absolute;
	inset: 0;
}

.uckg-layout__cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.uckg-layout--media-cards .uckg-layout__cards {
	flex: 0 0 300px;
	width: 300px;
}

.uckg-layout__cards--row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.uckg-layout__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 22px 20px;
	border: 1px solid transparent;
	border-radius: 16px;
	background: #f4f6fa;
}

.uckg-place-map {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	z-index: 1;
}

.uckg-place-map .leaflet-container {
	width: 100%;
	height: 100%;
	background: #e7edf5;
}

.uckg-place-map img {
	width: auto;
	height: auto;
	max-width: none;
	object-fit: unset;
}

.uckg-place-map__pin {
	background: none;
	border: none;
}

.uckg-place-map__pin img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

.uckg-place-map .leaflet-tooltip.uckg-place-map__tooltip {
	padding: 8px 12px;
	border: 0;
	border-radius: 6px;
	background: #0d1a2d;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(13, 26, 45, 0.28);
	font-family: var(--uckg-font-family, "JUST Sans", Montserrat, Arial, Helvetica, sans-serif);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}

.uckg-place-map .leaflet-tooltip.uckg-place-map__tooltip::before,
.uckg-place-map .leaflet-tooltip-bottom.uckg-place-map__tooltip::before {
	border-bottom-color: #0d1a2d;
}

.uckg-place-map__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 24px;
	color: #5c6b7c;
	font-size: 14px;
	text-align: center;
}

.uckg-layout__card--dark {
	background: #0e1c36;
}

.uckg-layout__card--highlight {
	border-color: #8eb6f5;
	background: #ffffff;
}

.uckg-layout__card-title {
	margin: 0;
	color: #0d1a2d;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.uckg-layout__card--dark .uckg-layout__card-title {
	color: #ffffff;
}

.uckg-layout__card-text {
	margin: 0;
	color: #5c6b7c;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.uckg-layout__card--dark .uckg-layout__card-text {
	color: rgba(255, 255, 255, 0.78);
}

.uckg-layout__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: auto;
}

.uckg-layout__button {
	--uckg-layout-icon-size: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	min-height: 40px;
	padding: 10px 18px;
	border-radius: 999px;
	background: #1d77f1;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, gap 0.25s ease, padding 0.25s ease;
}

.uckg-layout__button-label {
	display: inline-block;
}

.uckg-layout__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 0;
	max-width: 0;
	height: var(--uckg-layout-icon-size);
	overflow: hidden;
	opacity: 0;
	color: inherit;
	transition: width 0.25s ease, max-width 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.uckg-layout__button-icon svg,
.uckg-layout__button-icon i {
	width: var(--uckg-layout-icon-size);
	height: var(--uckg-layout-icon-size);
	font-size: var(--uckg-layout-icon-size);
	flex: 0 0 auto;
}

.uckg-layout__button:hover:not(.uckg-layout__button--solid):not(.uckg-layout__button--outline) {
	gap: 8px;
	background: #1565d8;
	color: #ffffff;
}

.uckg-layout__button:hover:not(.uckg-layout__button--solid):not(.uckg-layout__button--outline) .uckg-layout__button-icon,
.uckg-layout__button--icon-before .uckg-layout__button-icon,
.uckg-layout__button--solid .uckg-layout__button-icon {
	width: var(--uckg-layout-icon-size);
	max-width: var(--uckg-layout-icon-size);
	opacity: 1;
}

.uckg-layout__button--solid {
	gap: 8px;
}

.uckg-layout__button--solid .uckg-layout__button-icon svg,
.uckg-layout__button--solid .uckg-layout__button-icon svg path {
	fill: none;
	stroke: currentColor;
}

.uckg-layout__button--solid:hover,
.uckg-layout__button--solid:focus {
	gap: 8px;
}

.uckg-layout__button--solid:hover .uckg-layout__button-icon,
.uckg-layout__button--solid:focus .uckg-layout__button-icon {
	transform: none;
}

.uckg-layout__button--icon-before {
	gap: 8px;
}

.uckg-layout__button--icon-after:hover .uckg-layout__button-icon {
	transform: translateX(2px);
}

.uckg-layout__card--dark .uckg-layout__button {
	background: #ffffff;
	color: #0d1a2d;
}

.uckg-layout__card--dark .uckg-layout__button:hover {
	background: #e8eef6;
	color: #0d1a2d;
}

.uckg-layout--choices .uckg-layout__button--fill,
.uckg-layout--choices .uckg-layout__button--outline {
	--uckg-choice-icon-size: 18px;
	--uckg-choice-hover-pad: 24px;
	--uckg-choice-hover-gap: 8px;
}

.uckg-layout--choices .uckg-layout__button--outline {
	background: transparent;
	color: #0d1a2d;
	border: 1px solid #d2d7df;
}

.uckg-layout--choices .uckg-layout__button--outline .uckg-layout__button-icon {
	width: 0;
	min-width: 0;
	max-width: 0;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
}

.elementor .elementor-element.elementor-widget .uckg-layout--choices .uckg-layout__button--fill:hover,
.elementor .elementor-element.elementor-widget .uckg-layout--choices .uckg-layout__button--outline:hover {
	padding-right: var(--uckg-choice-hover-pad, 24px);
	gap: var(--uckg-choice-hover-gap, 8px);
}

.elementor .elementor-element.elementor-widget .uckg-layout--choices .uckg-layout__button--outline:hover {
	color: #1d77f1;
	border-color: #1d77f1;
	background: transparent;
}

.elementor .elementor-element.elementor-widget .uckg-layout--choices .uckg-layout__button--fill:hover .uckg-layout__button-icon,
.elementor .elementor-element.elementor-widget .uckg-layout--choices .uckg-layout__button--outline:hover .uckg-layout__button-icon {
	width: var(--uckg-choice-icon-size, 18px);
	max-width: var(--uckg-choice-icon-size, 18px);
	opacity: 1;
	visibility: visible;
}

.uckg-layout--choices .uckg-layout__button--outline .uckg-layout__button-icon svg,
.uckg-layout--choices .uckg-layout__button--outline .uckg-layout__button-icon svg path {
	fill: none;
	stroke: currentColor;
}

.uckg-layout__link {
	color: #1d4f91;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.uckg-layout__link:hover {
	color: #1d77f1;
}

.uckg-layout__split {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
}

.uckg-layout__copy {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 560px;
}

.uckg-layout__copy .uckg-layout__header {
	max-width: none;
}

.uckg-layout__stat {
	display: flex;
	flex: 0 0 280px;
	flex-direction: column;
	align-items: center;
	width: 280px;
	padding: 28px 24px;
	border-radius: 16px;
	background: #f3f6fb;
	text-align: center;
}

.uckg-layout__stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #e10600;
	font-size: 32px;
	line-height: 1;
}

.uckg-layout__stat-icon svg {
	width: 36px;
	height: 36px;
	fill: currentColor;
}

.uckg-layout__stat-row {
	display: flex;
	align-items: center;
	justify-content: center;
}

.uckg-layout__stat-from,
.uckg-layout__stat-to {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.uckg-layout__stat-from {
	color: #0d1a2d;
}

.uckg-layout__stat-to,
.uckg-layout__stat-arrow {
	color: #1d77f1;
}

.uckg-layout__stat-arrow {
	display: inline-flex;
	align-items: center;
	font-size: 22px;
	font-weight: 600;
	line-height: 1;
}

.uckg-layout__stat-arrow-img {
	display: block;
	width: 22px;
	height: auto;
}

.uckg-layout__stat-note {
	display: inline-block;
	margin: 12px 0 0;
	padding: 10px 20px;
	border-radius: 100px;
	background: #e7f1ff;
	color: #1d77f1;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.uckg-layout__gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.uckg-layout__figure {
	position: relative;
	flex: 1 1 calc(50% - 16px);
	min-width: 0;
	min-height: 240px;
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #e7edf5;
}

.uckg-layout__figure-img,
.uckg-layout__figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.uckg-layout__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	background:
		linear-gradient(135deg, rgba(29, 119, 241, 0.08), rgba(13, 26, 45, 0.04));
}

.uckg-layout__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.uckg-layout__steps::before {
	content: "";
	position: absolute;
	top: 28px;
	right: 16%;
	left: 16%;
	height: 2px;
	background:#F3F4F4;
}

.uckg-layout__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.uckg-layout__step-icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 100px;
	background: #1d77f1;
	color: #ffffff;
}

.uckg-layout__step-icon svg,
.uckg-layout__step-icon i {
	width: 28px;
	height: 28px;
	font-size: 22px;
	fill: currentColor;
}

.uckg-layout__step-title {
	margin: 0;
	color: #0d1a2d;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.uckg-layout__step-text {
	margin: 0;
	max-width: 100%;
	color: #5c6b7c;
	font-size: 14px;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.uckg-layout__title {
		font-size: 26px;
	}

	.uckg-layout__row,
	.uckg-layout__split {
		flex-direction: column;
	}

	.uckg-layout--media-cards .uckg-layout__cards,
	.uckg-layout__stat {
		flex-basis: auto;
		width: 100%;
	}

	.uckg-layout__cards--row {
		grid-template-columns: 1fr;
	}

	.uckg-layout--steps .uckg-layout__steps {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.uckg-layout--steps .uckg-layout__steps::before {
		display: block;
		top: calc(var(--uckg-step-icon-size, 40px) / 2);
		right: auto;
		bottom: calc(var(--uckg-step-icon-size, 40px) / 2);
		left: calc(var(--uckg-step-icon-size, 40px) / 2);
		width: 2px;
		height: auto;
		transform: translateX(-50%);
	}

	.uckg-layout--steps .uckg-layout__step {
		position: relative;
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 16px;
		row-gap: 0px;
		align-items: start;
		text-align: left;
	}

	.uckg-layout--steps .uckg-layout__step:last-child::after {
		content: "";
		position: absolute;
		z-index: 0;
		top: var(--uckg-step-icon-size, 40px);
		bottom: 0;
		left: 0;
		width: var(--uckg-step-icon-size, 40px);
		background: #fff;
	}

	.uckg-layout--steps .uckg-layout__step-icon {
		grid-column: 1;
		grid-row: 1 / span 2;
		flex: 0 0 auto;
	}

	.uckg-layout--steps .uckg-layout__step-title,
	.uckg-layout--steps .uckg-layout__step-text {
		grid-column: 2;
		max-width: none;
	}

	.uckg-layout__figure {
		flex-basis: 100%;
	}

	.uckg-layout__media {
		min-height: 260px;
	}
	.uckg-layout__stat-note {
		padding: 10px 16px;
	}
}
