/* home hero slider */
.home-slider-wrap {
	margin: 0;
}

.vc_column_container>.vc_column-inner:has(.hm-hero) {
	padding: 0 !important;
}

.home-slider-wrap p:empty,
.home-slider-wrap > .widget > .widgettitle,
.home-slider-wrap .widgettitle:has(.widget-title:empty) {
	display: none !important;
}

.hm-hero {
	position: relative;
	min-height: 520px;
	overflow: hidden;

	/* Fallback background */
	background: url("/wp-content/uploads/revslider/Medical/medic-slider-bg-blur-opt.jpg") center center / cover no-repeat rgb(52, 170, 220) !important;
}

@media (max-width: 1023px) {
	.home .hm-hero {
		padding-top: 3.75rem;
	}
}

@media (min-width: 1024px) {
	.home .hm-hero {
		padding-top: 8.125rem;
	}
}

/* =========================
   Background crossfade
   ========================= */

/* .hm-hero__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hm-hero__bg::before,
.hm-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.02);
	filter: saturate(1.05);
	transition: opacity 700ms ease;
}

.hm-hero__bg::before {
	background-image: var(--hm-bg-current);
	opacity: 1;
}

.hm-hero__bg::after {
	background-image: var(--hm-bg-next);
	opacity: 0;
}

.hm-hero__bg[data-fading="1"]::after {
	opacity: 1;
} */

/* Keep inner content constrained, but allow arrows to reach the viewport edges */
.hm-hero__inner {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
	height: 52.5vh;
	display: flex;
	padding: 0 5rem 4rem;
}

.hm-hero__track {
	position: relative;
	width: 100%;
	display: grid;
}

/* =========================
   Slide transitions
   ========================= */

.hm-hero__slide {
	position: absolute;
	inset: 0;

	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transform: translateX(var(--hm-enter-x, 14px));

	transition:
		opacity 520ms ease,
		transform 600ms ease,
		visibility 0s linear 600ms;
}

@media (min-width: 1024px) {
	.hm-hero__slide {
		display: flex;
		align-items: center;
	}
}

.hm-hero__slide[data-active="1"] {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	backface-visibility: hidden;
	transform-style: preserve-3d;

	transform: translateX(0);
	transition:
		opacity 520ms ease,
		transform 600ms ease,
		visibility 0s;
}

/* Smooth content + media entrance (less “poppy” than keyframes) */
.hm-hero__content {
	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity 420ms ease,
		transform 520ms ease;
	transition-delay: 90ms;
	will-change: opacity, transform;
}

@media (min-width: 1024px) {
	#solution-tablets-slide .hm-hero__content {
		min-width: 500px;
	}
}

.hm-hero__slide[data-active="1"] .hm-hero__content {
	opacity: 1;
	transform: translateY(0);
}

.hm-hero__kicker {
	margin: 0 0 12px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 18px;
}

.hm-hero__title {
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(32px, 4vw, 68px);
	line-height: 1.05;
}

.hm-hero__title-small {
	font-size: clamp(24px, 3vw, 35px);
	line-height: 1.1;
}

.hm-hero__desc {
	color: rgba(255, 255, 255, 0.85);
	font-size: 16px;
	line-height: 1.6;
	max-width: 620px;
}

.hm-hero__desc ul {
	margin: 0;
	padding-bottom: 18px;
}

.hm-hero__btn {
	display: inline-block;
	padding: 12px 18px;
	border-radius: 10px;
	background: #fff;
	color: #111;
	text-decoration: none;
	font-weight: 700;
}

.hm-hero__media {
	justify-self: end;
}

@media (min-width: 1024px) {
	#solution-tablets-slide .hm-hero__media {
		position: relative;
		bottom: -35px;
		right: -50px;
	}
}

.hm-hero__img {
	height: auto;
	min-width: auto;
	display: block;
}

@media (min-width: 1024px) {
	#clarke-ex-slide .hm-hero__img {
		max-width: min(520px, 22vw);
		min-height: 400px;
	}

	[data-grouped-slide-count="2"] .hm-hero__img {
		aspect-ratio: 1 / 1 !important;
		height: 236px !important;
		width: 236px !important;
		min-height: auto !important;
		transform: scale(0.85);
	}
}
/* Dots: hidden */
.hm-hero__dots {
	display: none !important;
}

.hm-hero__controls {
	display: none !important;
}

/* =========================
   Arrows
   ========================= */

.hm-hero__arrows {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 5;
}

.hm-hero__nav {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 84px;
	border: 0;
	background: transparent;
	color: #fff;
	pointer-events: auto;
	cursor: pointer;
	padding: 0;
}

/* if wpautop injects <br>, ignore layout impact */
.hm-hero__nav br {
	display: none !important;
}

.hm-hero__nav:active,
.hm-hero__nav:focus,
.hm-hero__nav:hover {
	background: transparent;
	color: lightgray;
}

.hm-hero__prev {
	left: 0;
}

.hm-hero__next {
	right: 0;
}

.hm-hero__nav > span {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	font-weight: 100;
	font-family: system-ui;
	line-height: 1;
}

.hm-hero__prev > span {
	left: 16px;
}

.hm-hero__next > span {
	right: 16px;
}

/* =========================
   Grouped slide support
   ========================= */

.hm-hero__group {
	display: flex;
	flex-wrap: wrap;
}

.hm-hero__cta {
	margin-bottom: 0;
}

.hm-hero__panel {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.hm-hero__panel .hm-hero__media {
	justify-self: end;
}


@media (min-width: 1024px) {
	.hm-hero__panel .hm-hero__img {
		max-width: min(520px, 42vw);
		height: auto;
		min-height: 320px;
		display: block;
	}
}


@media (max-width: 1023px) {
	.hm-hero__panel .hm-hero__img {
		max-height: 20vh;
		width: auto;
	}
}

/* =========================
   Reduced motion
   ========================= */

@media (prefers-reduced-motion: reduce) {
	.hm-hero__slide {
		transition: none;
		transform: none;
	}

	.hm-hero__content,
	.hm-hero__media {
		transition: none;
		transform: none;
		opacity: 1;
	}

	.hm-hero__bg::before,
	.hm-hero__bg::after {
		transition: none;
	}
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 900px) {
	.hm-hero__inner {
		padding-top: 44px;
	}

	.hm-hero__slide[data-grouped-slide-count="1"] {
		grid-template-columns: 1fr;
	}

	.hm-hero__media {
		justify-self: start;
		order: 2;
	}

	.hm-hero__img {
		max-width: 82vw;
		min-height: 0;
	}

	.hm-hero__panel {
		flex-direction: column;
	}

	.hm-hero__panel .hm-hero__media {
		justify-self: start;
	}

	.hm-hero__panel .hm-hero__img {
		max-width: 82vw;
		min-height: 0;
	}

	.hm-hero__nav {
		width: 64px;
	}

	.hm-hero__prev > span {
		left: 10px;
	}

	.hm-hero__next > span {
		right: 10px;
	}
}