/* =========================================================
 * JHR Media Carousel
 * ======================================================= */

.jhr-media-carousel {
	--jhr-mc-arrow-size: 20px;
	--jhr-mc-arrow-color: #ffffff;
	--jhr-mc-dot-size: 6px;
	--jhr-mc-dot-gap: 6px;
	--jhr-mc-dot-color: rgba(0, 0, 0, .35);
	--jhr-mc-dot-active-color: rgba(0, 0, 0, .85);
	--jhr-mc-fraction-size: 14px;
	--jhr-mc-play-size: 48px;
	--jhr-mc-play-color: #ffffff;
	--jhr-mc-hover-duration: 400ms;
	--jhr-mc-hover-easing: ease;

	position: relative;
	max-width: 100%;
}

.jhr-mc-wrapper-link {
	display: block;
	text-decoration: none;
}

/* ---------------------------------------------------------
 * Scoped Swiper core rules.
 *
 * The module does not enqueue Elementor's Swiper stylesheet — the v5 and v8
 * builds ship different class names and loading the wrong one silently breaks
 * the layout. Everything Swiper needs is duplicated here under
 * .jhr-media-carousel, so nothing leaks out to Elementor's own carousels.
 * ------------------------------------------------------ */
.jhr-media-carousel .jhr-mc-swiper {
	position: relative;
	overflow: hidden;
	list-style: none;
	/* Vertical room for lifted / grown / shadowed slides. Swiper only
	   subtracts horizontal padding from its size maths, so this is safe. */
	padding: var(--jhr-mc-hover-space, 0px) 0;
	margin: 0 auto;
	z-index: 1;
	display: block;
}

.jhr-media-carousel .swiper-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
	display: flex;
	box-sizing: content-box;
	transition-property: transform;
	transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
	transform: translate3d(0px, 0, 0);
}

.jhr-media-carousel .swiper-slide {
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	position: relative;
	transition-property: transform;
	display: block;
}

.jhr-media-carousel .swiper-slide-invisible-blank {
	visibility: hidden;
}

.jhr-media-carousel .swiper-android .swiper-slide,
.jhr-media-carousel .swiper-wrapper {
	transform: translate3d(0px, 0, 0);
}

/* 3D effects — coverflow, cube, flip */
.jhr-media-carousel .swiper-3d {
	perspective: 1200px;
}

.jhr-media-carousel .swiper-3d .swiper-wrapper,
.jhr-media-carousel .swiper-3d .swiper-slide,
.jhr-media-carousel .swiper-3d .swiper-cube-shadow {
	transform-style: preserve-3d;
}

.jhr-media-carousel .swiper-css-mode > .swiper-wrapper {
	overflow: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.jhr-media-carousel .swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
	display: none;
}

/* Fade effect */
.jhr-media-carousel .swiper-fade .swiper-slide {
	pointer-events: none;
	transition-property: opacity;
}

.jhr-media-carousel .swiper-fade .swiper-slide .swiper-slide {
	pointer-events: none;
}

.jhr-media-carousel .swiper-fade .swiper-slide-active,
.jhr-media-carousel .swiper-fade .swiper-slide-active .swiper-slide-active {
	pointer-events: auto;
}

/* Flip / cube */
.jhr-media-carousel .swiper-flip .swiper-slide,
.jhr-media-carousel .swiper-cube .swiper-slide {
	pointer-events: none;
	backface-visibility: hidden;
	z-index: 1;
}

.jhr-media-carousel .swiper-flip .swiper-slide-active,
.jhr-media-carousel .swiper-cube .swiper-slide-active {
	pointer-events: auto;
}

.jhr-media-carousel .swiper-notification {
	position: absolute;
	left: 0;
	top: 0;
	pointer-events: none;
	opacity: 0;
	z-index: -1000;
}

/* ---------------------------------------------------------
 * Slide
 * ------------------------------------------------------ */
.jhr-media-carousel .jhr-mc-slide-inner {
	display: block;
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	border-width: 0;
	border-style: solid;
	border-color: transparent;
	box-sizing: border-box;
	text-decoration: none;
	/* isolation keeps a transformed image inside rounded corners in Safari */
	isolation: isolate;
	transition-property: transform, box-shadow, border-color, opacity;
	transition-duration: var(--jhr-mc-hover-duration);
	transition-timing-function: var(--jhr-mc-hover-easing);
}

.jhr-media-carousel .jhr-mc-has-lightbox,
.jhr-media-carousel a.jhr-mc-slide-inner {
	cursor: pointer;
}

.jhr-media-carousel .jhr-mc-image {
	position: absolute;
	inset: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	transition-property: transform, filter;
	transition-duration: var(--jhr-mc-hover-duration);
	transition-timing-function: var(--jhr-mc-hover-easing);
}

/* ---------------------------------------------------------
 * Play icon overlay
 * ------------------------------------------------------ */
.jhr-media-carousel .jhr-mc-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: var(--jhr-mc-play-size);
	height: var(--jhr-mc-play-size);
	color: var(--jhr-mc-play-color);
	pointer-events: none;
	z-index: 2;
	transition-property: opacity, transform, translate, scale;
	transition-duration: var(--jhr-mc-hover-duration);
	transition-timing-function: var(--jhr-mc-hover-easing);
	display: flex;
	align-items: center;
	justify-content: center;
}

.jhr-media-carousel .jhr-mc-play svg {
	width: 100%;
	height: 100%;
	display: block;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
}

/* ---------------------------------------------------------
 * Text overlay
 * ------------------------------------------------------ */
.jhr-media-carousel .jhr-mc-overlay-text {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 15px;
	color: #fff;
	background-color: rgba(0, 0, 0, .5);
	text-align: center;
	z-index: 2;
	pointer-events: none;
	transition: opacity var(--jhr-mc-hover-duration) var(--jhr-mc-hover-easing);
	box-sizing: border-box;
}

/* Reveal overlays only on hover, when enabled */
.jhr-media-carousel.jhr-mc-overlay-hover .jhr-mc-overlay-text,
.jhr-media-carousel.jhr-mc-overlay-hover .jhr-mc-slide:not(.jhr-mc-slide-video) .jhr-mc-play {
	opacity: 0;
}

.jhr-media-carousel.jhr-mc-overlay-hover .jhr-mc-slide-inner:hover .jhr-mc-overlay-text,
.jhr-media-carousel.jhr-mc-overlay-hover .jhr-mc-slide-inner:hover .jhr-mc-play {
	opacity: 1;
}

/* =========================================================
 * Hover Effects
 *
 * Effect choices arrive as classes on .jhr-media-carousel, amounts as
 * custom properties (see register_style_hover_section()). Hover triggers
 * live inside (hover: hover) so a tap or swipe on a touch screen does not
 * leave a slide stuck in its hovered state; :focus-visible gives keyboard
 * users the same feedback, since lightbox slides are focusable.
 * ======================================================= */

.jhr-media-carousel.jhr-mc-box-hover {
	--jhr-mc-hover-space: 15px;
}

/* Lift the hovered slide above its neighbours so Grow overlaps cleanly */
.jhr-media-carousel.jhr-mc-box-hover .jhr-mc-slide:hover,
.jhr-media-carousel.jhr-mc-box-hover .jhr-mc-slide:focus-within {
	z-index: 2;
}

/* ---- Image: resting states for the "reverse" effects ---- */
.jhr-media-carousel.jhr-mc-img-zoom-out .jhr-mc-image {
	transform: scale(var(--jhr-mc-img-zoom, 1.1));
}

.jhr-media-carousel.jhr-mc-img-pan-left .jhr-mc-image,
.jhr-media-carousel.jhr-mc-img-pan-right .jhr-mc-image,
.jhr-media-carousel.jhr-mc-img-pan-up .jhr-mc-image,
.jhr-media-carousel.jhr-mc-img-pan-down .jhr-mc-image {
	--jhr-mc-pz: var(--jhr-mc-img-zoom, 1.15);
	/* Largest shift that never exposes an edge: (z - 1) / 2z, with a 10% margin */
	--jhr-mc-pan: calc((var(--jhr-mc-pz) - 1) / 2 / var(--jhr-mc-pz) * 90%);
}

.jhr-media-carousel.jhr-mc-img-pan-left .jhr-mc-image {
	transform: scale(var(--jhr-mc-pz)) translateX(var(--jhr-mc-pan));
}

.jhr-media-carousel.jhr-mc-img-pan-right .jhr-mc-image {
	transform: scale(var(--jhr-mc-pz)) translateX(calc(-1 * var(--jhr-mc-pan)));
}

.jhr-media-carousel.jhr-mc-img-pan-up .jhr-mc-image {
	transform: scale(var(--jhr-mc-pz)) translateY(var(--jhr-mc-pan));
}

.jhr-media-carousel.jhr-mc-img-pan-down .jhr-mc-image {
	transform: scale(var(--jhr-mc-pz)) translateY(calc(-1 * var(--jhr-mc-pan)));
}

.jhr-media-carousel.jhr-mc-filter-colorize .jhr-mc-image {
	filter: grayscale(1);
}

.jhr-media-carousel.jhr-mc-filter-unblur .jhr-mc-image {
	filter: blur(var(--jhr-mc-img-blur, 4px));
}

/* ---- Colour overlay ---- */
.jhr-media-carousel.jhr-mc-ov .jhr-mc-slide-inner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1; /* above the image, below play icon / text (z-index 2) */
	pointer-events: none;
	background-color: rgba(0, 0, 0, .4);
	transition-property: opacity, transform;
	transition-duration: var(--jhr-mc-hover-duration);
	transition-timing-function: var(--jhr-mc-hover-easing);
}

/* "Off" state for each animation */
.jhr-media-carousel.jhr-mc-ov-anim-fade        { --jhr-mc-ov-off-opacity: 0; --jhr-mc-ov-off-transform: none; }
.jhr-media-carousel.jhr-mc-ov-anim-slide-up    { --jhr-mc-ov-off-opacity: 1; --jhr-mc-ov-off-transform: translateY(100%); }
.jhr-media-carousel.jhr-mc-ov-anim-slide-down  { --jhr-mc-ov-off-opacity: 1; --jhr-mc-ov-off-transform: translateY(-100%); }
.jhr-media-carousel.jhr-mc-ov-anim-slide-left  { --jhr-mc-ov-off-opacity: 1; --jhr-mc-ov-off-transform: translateX(100%); }
.jhr-media-carousel.jhr-mc-ov-anim-slide-right { --jhr-mc-ov-off-opacity: 1; --jhr-mc-ov-off-transform: translateX(-100%); }
.jhr-media-carousel.jhr-mc-ov-anim-zoom        { --jhr-mc-ov-off-opacity: 0; --jhr-mc-ov-off-transform: scale(.6); }

.jhr-media-carousel.jhr-mc-ov-show .jhr-mc-slide-inner::after {
	opacity: var(--jhr-mc-ov-off-opacity, 0);
	transform: var(--jhr-mc-ov-off-transform, none);
}

.jhr-media-carousel.jhr-mc-ov-hide .jhr-mc-slide-inner::after {
	opacity: 1;
	transform: none;
}

/* ---- Shine ---- */
.jhr-media-carousel.jhr-mc-shine .jhr-mc-slide-inner::before {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	z-index: 2; /* above the overlay; play icon / text come later in the DOM so stay on top */
	width: 50%;
	height: 100%;
	pointer-events: none;
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--jhr-mc-shine-color, rgba(255, 255, 255, .35)) 100%);
	transform: skewX(-25deg);
	opacity: 0;
}

@keyframes jhr-mc-shine {
	0%   { left: -75%; opacity: 1; }
	100% { left: 125%; opacity: 1; }
}

/* ---- Overlay content (Play icon / Text) reveal animations ----
 * Paired with the existing .jhr-mc-overlay-hover opacity rules above, and
 * triggered the same way (plain :hover) so the two always stay in sync.
 * Individual translate / scale properties are used so they compose with the
 * play icon's centring transform instead of replacing it. */
.jhr-media-carousel .jhr-mc-overlay-text > span {
	display: inline-block;
	transition-property: translate, scale;
	transition-duration: var(--jhr-mc-hover-duration);
	transition-timing-function: var(--jhr-mc-hover-easing);
}

.jhr-media-carousel.jhr-mc-overlay-hover.jhr-mc-content-slide-up .jhr-mc-overlay-text > span,
.jhr-media-carousel.jhr-mc-overlay-hover.jhr-mc-content-slide-up .jhr-mc-slide:not(.jhr-mc-slide-video) .jhr-mc-play {
	translate: 0 20px;
}

.jhr-media-carousel.jhr-mc-overlay-hover.jhr-mc-content-slide-down .jhr-mc-overlay-text > span,
.jhr-media-carousel.jhr-mc-overlay-hover.jhr-mc-content-slide-down .jhr-mc-slide:not(.jhr-mc-slide-video) .jhr-mc-play {
	translate: 0 -20px;
}

.jhr-media-carousel.jhr-mc-overlay-hover.jhr-mc-content-zoom-in .jhr-mc-overlay-text > span,
.jhr-media-carousel.jhr-mc-overlay-hover.jhr-mc-content-zoom-in .jhr-mc-slide:not(.jhr-mc-slide-video) .jhr-mc-play {
	scale: .6;
}

.jhr-media-carousel.jhr-mc-overlay-hover.jhr-mc-content-zoom-out .jhr-mc-overlay-text > span,
.jhr-media-carousel.jhr-mc-overlay-hover.jhr-mc-content-zoom-out .jhr-mc-slide:not(.jhr-mc-slide-video) .jhr-mc-play {
	scale: 1.4;
}

.jhr-media-carousel.jhr-mc-overlay-hover .jhr-mc-slide-inner:hover .jhr-mc-overlay-text > span,
.jhr-media-carousel.jhr-mc-overlay-hover .jhr-mc-slide-inner:hover .jhr-mc-play {
	translate: 0 0;
	scale: 1;
}

/* ---- Hover triggers ---- */
@media (hover: hover) {

	/* Slide (box) */
	.jhr-media-carousel.jhr-mc-box-grow .jhr-mc-slide-inner:is(:hover, :focus-visible) {
		transform: scale(var(--jhr-mc-hover-scale, 1.05));
	}

	.jhr-media-carousel.jhr-mc-box-shrink .jhr-mc-slide-inner:is(:hover, :focus-visible) {
		transform: scale(var(--jhr-mc-hover-scale, .95));
	}

	.jhr-media-carousel.jhr-mc-box-lift .jhr-mc-slide-inner:is(:hover, :focus-visible) {
		transform: translateY(calc(-1 * var(--jhr-mc-hover-lift, 8px)));
	}

	.jhr-media-carousel.jhr-mc-box-sink .jhr-mc-slide-inner:is(:hover, :focus-visible) {
		transform: translateY(var(--jhr-mc-hover-lift, 8px));
	}

	.jhr-media-carousel.jhr-mc-box-grow-lift .jhr-mc-slide-inner:is(:hover, :focus-visible) {
		transform: translateY(calc(-1 * var(--jhr-mc-hover-lift, 8px))) scale(var(--jhr-mc-hover-scale, 1.05));
	}

	.jhr-media-carousel.jhr-mc-box-tilt-left .jhr-mc-slide-inner:is(:hover, :focus-visible) {
		transform: rotate(calc(-1 * var(--jhr-mc-hover-tilt, 2deg)));
	}

	.jhr-media-carousel.jhr-mc-box-tilt-right .jhr-mc-slide-inner:is(:hover, :focus-visible) {
		transform: rotate(var(--jhr-mc-hover-tilt, 2deg));
	}

	/* Image */
	.jhr-media-carousel.jhr-mc-img-zoom-in .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		transform: scale(var(--jhr-mc-img-zoom, 1.1));
	}

	.jhr-media-carousel.jhr-mc-img-zoom-out .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		transform: scale(1);
	}

	.jhr-media-carousel.jhr-mc-img-zoom-rotate .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		transform: scale(var(--jhr-mc-img-zoom, 1.15)) rotate(2deg);
	}

	.jhr-media-carousel.jhr-mc-img-pan-left .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		transform: scale(var(--jhr-mc-pz)) translateX(calc(-1 * var(--jhr-mc-pan)));
	}

	.jhr-media-carousel.jhr-mc-img-pan-right .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		transform: scale(var(--jhr-mc-pz)) translateX(var(--jhr-mc-pan));
	}

	.jhr-media-carousel.jhr-mc-img-pan-up .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		transform: scale(var(--jhr-mc-pz)) translateY(calc(-1 * var(--jhr-mc-pan)));
	}

	.jhr-media-carousel.jhr-mc-img-pan-down .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		transform: scale(var(--jhr-mc-pz)) translateY(var(--jhr-mc-pan));
	}

	/* Image filter */
	.jhr-media-carousel.jhr-mc-filter-grayscale .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		filter: grayscale(1);
	}

	.jhr-media-carousel.jhr-mc-filter-colorize .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		filter: grayscale(0);
	}

	.jhr-media-carousel.jhr-mc-filter-sepia .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		filter: sepia(.8);
	}

	.jhr-media-carousel.jhr-mc-filter-blur .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		filter: blur(var(--jhr-mc-img-blur, 4px));
	}

	.jhr-media-carousel.jhr-mc-filter-unblur .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		filter: blur(0);
	}

	.jhr-media-carousel.jhr-mc-filter-brighten .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		filter: brightness(1.15);
	}

	.jhr-media-carousel.jhr-mc-filter-darken .jhr-mc-slide-inner:is(:hover, :focus-visible) .jhr-mc-image {
		filter: brightness(.7);
	}

	/* Colour overlay */
	.jhr-media-carousel.jhr-mc-ov-show .jhr-mc-slide-inner:is(:hover, :focus-visible)::after {
		opacity: 1;
		transform: none;
	}

	.jhr-media-carousel.jhr-mc-ov-hide .jhr-mc-slide-inner:is(:hover, :focus-visible)::after {
		opacity: var(--jhr-mc-ov-off-opacity, 0);
		transform: var(--jhr-mc-ov-off-transform, none);
	}

	/* Shine */
	.jhr-media-carousel.jhr-mc-shine .jhr-mc-slide-inner:is(:hover, :focus-visible)::before {
		animation: jhr-mc-shine calc(var(--jhr-mc-hover-duration) * 2) ease-out;
	}
}

@media (prefers-reduced-motion: reduce) {

	.jhr-media-carousel .jhr-mc-slide-inner,
	.jhr-media-carousel .jhr-mc-image,
	.jhr-media-carousel .jhr-mc-slide-inner::after,
	.jhr-media-carousel .jhr-mc-overlay-text > span,
	.jhr-media-carousel .jhr-mc-play {
		transition-duration: 1ms !important;
	}

	.jhr-media-carousel .jhr-mc-slide-inner::before {
		animation: none !important;
	}
}

/* ---------------------------------------------------------
 * Arrows
 * ------------------------------------------------------ */
.jhr-media-carousel .jhr-mc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: calc(var(--jhr-mc-arrow-size) * 1.6);
	height: calc(var(--jhr-mc-arrow-size) * 1.6);
	color: var(--jhr-mc-arrow-color);
	cursor: pointer;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	transition: opacity .2s;
	/* Neutralise Elementor's own swiper button styling */
	margin: 0;
	padding: 0;
}

.jhr-media-carousel .jhr-mc-arrow::after {
	content: none !important;
}

.jhr-media-carousel .jhr-mc-arrow svg {
	width: var(--jhr-mc-arrow-size);
	height: var(--jhr-mc-arrow-size);
	display: block;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3));
}

.jhr-media-carousel .jhr-mc-prev {
	left: 10px;
	right: auto;
}

.jhr-media-carousel .jhr-mc-next {
	right: 10px;
	left: auto;
}

.jhr-media-carousel .jhr-mc-arrow.swiper-button-disabled {
	opacity: .35;
	cursor: default;
}

/* ---------------------------------------------------------
 * Pagination
 * ------------------------------------------------------ */
.jhr-media-carousel .jhr-mc-pagination.swiper-pagination {
	position: static;
	width: 100%;
	text-align: center;
	line-height: 1;
	margin-top: 10px;
	z-index: 5;
}

.jhr-media-carousel.jhr-mc-pagination-inside .jhr-mc-pagination.swiper-pagination {
	position: absolute;
	bottom: 10px;
	left: 0;
	margin-top: 0;
}

.jhr-media-carousel .jhr-mc-pagination .swiper-pagination-bullet {
	width: var(--jhr-mc-dot-size);
	height: var(--jhr-mc-dot-size);
	background: var(--jhr-mc-dot-color);
	opacity: 1;
	margin: 0 calc(var(--jhr-mc-dot-gap) / 2) !important;
	display: inline-block;
	border-radius: 50%;
	cursor: pointer;
	transition: background .2s;
}

.jhr-media-carousel .jhr-mc-pagination .swiper-pagination-bullet-active {
	background: var(--jhr-mc-dot-active-color);
}

.jhr-media-carousel .jhr-mc-pagination.swiper-pagination-fraction {
	font-size: var(--jhr-mc-fraction-size);
	color: var(--jhr-mc-dot-active-color);
}

.jhr-media-carousel .jhr-mc-pagination.swiper-pagination-progressbar {
	height: 4px;
	background: var(--jhr-mc-dot-color);
	position: relative;
	overflow: hidden;
}

.jhr-media-carousel .jhr-mc-pagination .swiper-pagination-progressbar-fill {
	background: var(--jhr-mc-dot-active-color);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	transform: scale(0);
	transform-origin: left top;
}

.jhr-media-carousel.jhr-mc-pagination-inside .jhr-mc-pagination.swiper-pagination-progressbar {
	bottom: 0;
}

/* =========================================================
 * Lightbox
 * ======================================================= */
.jhr-mc-lightbox {
	--jhr-lb-bg: rgba(0, 0, 0, .8);
	--jhr-lb-ui: #ffffff;
	--jhr-lb-ui-hover: #d4d4d4;
	--jhr-lb-video-width: 100%;

	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
}

.jhr-mc-lightbox.jhr-mc-lb-open {
	display: flex;
}

.jhr-mc-lightbox .jhr-mc-lb-bg {
	position: absolute;
	inset: 0;
	background-color: var(--jhr-lb-bg);
}

.jhr-mc-lightbox .jhr-mc-lb-inner {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 70px;
	box-sizing: border-box;
}

.jhr-mc-lightbox .jhr-mc-lb-stage {
	position: relative;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.jhr-mc-lightbox .jhr-mc-lb-stage img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.jhr-mc-lightbox .jhr-mc-lb-video {
	position: relative;
	width: var(--jhr-lb-video-width);
	max-width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 100%;
	background: #000;
}

.jhr-mc-lightbox .jhr-mc-lb-video iframe,
.jhr-mc-lightbox .jhr-mc-lb-video video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.jhr-mc-lightbox button {
	position: absolute;
	background: transparent;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	color: var(--jhr-lb-ui);
	transition: color .2s;
	z-index: 2;
	line-height: 0;
}

.jhr-mc-lightbox button:hover,
.jhr-mc-lightbox button:focus-visible {
	color: var(--jhr-lb-ui-hover);
}

.jhr-mc-lightbox button svg {
	width: 100%;
	height: 100%;
	display: block;
}

.jhr-mc-lightbox .jhr-mc-lb-close {
	top: 15px;
	right: 20px;
	width: 32px;
	height: 32px;
}

.jhr-mc-lightbox .jhr-mc-lb-prev,
.jhr-mc-lightbox .jhr-mc-lb-next {
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
}

.jhr-mc-lightbox .jhr-mc-lb-prev {
	left: 15px;
}

.jhr-mc-lightbox .jhr-mc-lb-next {
	right: 15px;
}

.jhr-mc-lightbox.jhr-mc-lb-single .jhr-mc-lb-prev,
.jhr-mc-lightbox.jhr-mc-lb-single .jhr-mc-lb-next,
.jhr-mc-lightbox.jhr-mc-lb-single .jhr-mc-lb-counter {
	display: none;
}

.jhr-mc-lightbox .jhr-mc-lb-footer {
	position: absolute;
	bottom: 15px;
	left: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: var(--jhr-lb-ui);
	font-size: 13px;
	padding: 0 20px;
	box-sizing: border-box;
	pointer-events: none;
}

body.jhr-mc-lb-active {
	overflow: hidden;
}

@media (max-width: 767px) {

	.jhr-mc-lightbox .jhr-mc-lb-inner {
		padding: 50px 15px;
	}

	.jhr-mc-lightbox .jhr-mc-lb-prev {
		left: 5px;
	}

	.jhr-mc-lightbox .jhr-mc-lb-next {
		right: 5px;
	}
}
