/* BKR Galerie */
.elementor-widget-bkr-gallery > .elementor-widget-container {
	padding: 0 !important;
}

.bkr-gallery,
.bkr-gallery * {
	box-sizing: border-box;
}

.bkr-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
}

.bkr-gallery__tile {
	position: relative;
	display: block;
	width: 100%;
	height: 300px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 22px;
	background: #172c3f;
	cursor: pointer;
	appearance: none;
}

.bkr-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease, filter .35s ease;
}

.bkr-gallery__tile:hover .bkr-gallery__image,
.bkr-gallery__tile:focus-visible .bkr-gallery__image {
	transform: scale(1.035);
	filter: brightness(.92);
}

.bkr-gallery__tile:focus-visible {
	outline: 3px solid var(--e-global-color-accent, #7ed344);
	outline-offset: 3px;
}

.bkr-gallery__more {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 24, 36, .62);
	color: #fff;
	font-size: clamp(28px, 4vw, 54px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	backdrop-filter: blur(1px);
}

html.bkr-gallery-lightbox-open,
html.bkr-gallery-lightbox-open body {
	overflow: hidden;
}

.bkr-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: clamp(20px, 4vw, 64px);
	background: rgba(5, 17, 27, .93);
	backdrop-filter: blur(4px);
}

.bkr-gallery-lightbox__figure {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: min(1180px, 88vw);
	height: min(82vh, 900px);
	margin: 0;
}

.bkr-gallery-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: calc(100% - 52px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 14px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.bkr-gallery-lightbox__caption {
	max-width: 900px;
	margin: 14px 0 0;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.bkr-gallery-lightbox__close,
.bkr-gallery-lightbox__nav {
	position: fixed;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, .10);
	color: #fff;
	cursor: pointer;
	appearance: none;
	transition: background .2s ease, transform .2s ease;
}

.bkr-gallery-lightbox__close:hover,
.bkr-gallery-lightbox__close:focus-visible,
.bkr-gallery-lightbox__nav:hover,
.bkr-gallery-lightbox__nav:focus-visible {
	background: var(--e-global-color-accent, #7ed344);
	color: #0a1824;
}

.bkr-gallery-lightbox__close:focus-visible,
.bkr-gallery-lightbox__nav:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.bkr-gallery-lightbox__close {
	top: 22px;
	right: 22px;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
}

.bkr-gallery-lightbox__nav {
	top: 50%;
	width: 50px;
	height: 64px;
	border-radius: 14px;
	font-size: 42px;
	line-height: 1;
	transform: translateY(-50%);
}

.bkr-gallery-lightbox__nav--prev {
	left: 22px;
}

.bkr-gallery-lightbox__nav--next {
	right: 22px;
}

.bkr-gallery-lightbox__counter {
	position: fixed;
	left: 50%;
	bottom: 22px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .10);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	transform: translateX(-50%);
}

@media (max-width: 767px) {
	.bkr-gallery__grid {
		gap: 8px;
	}

	.bkr-gallery__tile {
		height: 120px;
		border-radius: 12px;
	}

	.bkr-gallery__more {
		font-size: clamp(22px, 8vw, 34px);
	}

	.bkr-gallery-lightbox {
		padding: 18px;
	}

	.bkr-gallery-lightbox__figure {
		width: 100%;
		height: 82vh;
	}

	.bkr-gallery-lightbox__image {
		max-height: calc(100% - 46px);
		border-radius: 10px;
	}

	.bkr-gallery-lightbox__close {
		top: 12px;
		right: 12px;
		width: 42px;
		height: 42px;
	}

	.bkr-gallery-lightbox__nav {
		top: auto;
		bottom: 14px;
		width: 46px;
		height: 46px;
		border-radius: 50%;
		font-size: 34px;
		transform: none;
	}

	.bkr-gallery-lightbox__nav--prev {
		left: 14px;
	}

	.bkr-gallery-lightbox__nav--next {
		right: 14px;
	}

	.bkr-gallery-lightbox__counter {
		bottom: 18px;
	}
}

/* BKR Gallery 1.10.2: pure zoom hover and guaranteed full-cover images. */
.bkr-gallery__tile,
.bkr-gallery__tile:hover,
.bkr-gallery__tile:focus,
.bkr-gallery__tile:focus-visible,
.bkr-gallery__tile:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border-color: transparent !important;
	box-shadow: none !important;
	color: inherit !important;
}

.bkr-gallery__tile {
	position: relative !important;
	isolation: isolate;
	line-height: 0;
}

.bkr-gallery__image {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	object-position: 50% 50%;
	transform: scale(1);
	filter: none !important;
	transition: transform .45s ease !important;
}

.bkr-gallery__tile:hover .bkr-gallery__image,
.bkr-gallery__tile:focus-visible .bkr-gallery__image {
	transform: scale(1.045);
	filter: none !important;
}

.bkr-gallery__more {
	z-index: 2;
}

/* Gallery lightbox close button: neutral white treatment. */
.bkr-gallery-lightbox__close,
.bkr-gallery-lightbox__close:hover,
.bkr-gallery-lightbox__close:focus-visible {
	background: #fff !important;
	color: #0a1824 !important;
}
