/* Evermed Hero Banner — inlined once per page by the widget. */
.ee-hero {
	--ee-arrow-color: #0f3d5c;
	--ee-arrow-bg: rgba(255, 255, 255, .92);
	--ee-dot: rgba(15, 61, 92, .28);
	--ee-dot-active: #0f3d5c;
	position: relative;
	width: 100%;
}

.ee-hero__viewport {
	position: relative;
	overflow: hidden;
	/* The wrapper follows the image's own shape: the <img>/<source>
	   width + height attributes let the browser reserve space before load. */
}

.ee-hero__track {
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	position: relative;
}
.ee-hero__track::-webkit-scrollbar { display: none; }

.ee-hero__slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.ee-hero__link {
	display: block;
	position: relative;
	color: inherit;
	text-decoration: none;
}

.ee-hero__media { display: block; }

.ee-hero__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	border: 0;
	-webkit-user-drag: none;
	user-select: none;
}

.ee-hero-h-fixed .ee-hero__img { object-fit: cover; }

/* Text on top of image */
.ee-hero__content {
	position: absolute;
	inset: 0;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 4%;
	pointer-events: none;
}
.ee-hero__box {
	max-width: 560px;
	padding: .75em 1em;
	border-radius: 6px;
	pointer-events: auto;
}
.ee-hero__title {
	margin: 0 0 .35em;
	font-size: clamp(1.25rem, 3.2vw, 2.6rem);
	line-height: 1.2;
	color: #fff;
}
.ee-hero__text {
	margin: 0 0 .9em;
	font-size: clamp(.9rem, 1.6vw, 1.15rem);
	line-height: 1.5;
	color: #fff;
}
.ee-hero__button {
	display: inline-block;
	padding: .7em 1.4em;
	border-radius: 6px;
	background: #d62828;
	color: #fff;
	font-weight: 600;
	line-height: 1.2;
	min-height: 44px;
	box-sizing: border-box;
}

/* Arrows */
.ee-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ee-arrow-bg);
	color: var(--ee-arrow-color);
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
	transition: opacity .2s;
}
.ee-hero__arrow--prev { left: 12px; }
.ee-hero__arrow--next { right: 12px; }
.ee-hero__arrow:hover { opacity: .85; }
.ee-hero__arrow[disabled] { opacity: .35; cursor: default; }
/* Arrows appear only once the script is running. */
.ee-hero.is-ready .ee-hero__arrow { display: flex; }

/* Dots — 44px tap target, small visible dot */
.ee-hero__dots {
	display: flex;
	justify-content: center;
	gap: 0;
	margin-top: 2px;
}
.ee-hero__dot {
	position: relative;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.ee-hero__dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 999px;
	background: var(--ee-dot);
	transition: width .25s, margin .25s, background-color .25s;
}
.ee-hero__dot[aria-current="true"]::before {
	width: 20px;
	margin-left: -10px;
	background: var(--ee-dot-active);
}

.ee-hero__arrow:focus-visible,
.ee-hero__dot:focus-visible,
.ee-hero__link:focus-visible,
.ee-hero__track:focus-visible {
	outline: 3px solid #1a73e8;
	outline-offset: -3px;
}

@media (max-width: 767px) {
	.ee-hero--arrows-desktop-only .ee-hero__arrow { display: none !important; }
	.ee-hero__arrow { width: 38px; height: 38px; margin-top: -19px; }
	.ee-hero__arrow--prev { left: 6px; }
	.ee-hero__arrow--next { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
	.ee-hero__track { scroll-behavior: auto; }
	.ee-hero__dot::before,
	.ee-hero__arrow { transition: none; }
}

/* 1.3.2 — containment guard: nothing inside this widget can ever make the
   page wider than the screen (no sideways scroll / zoom-out gap on phones),
   whatever the surrounding Elementor layout is. overflow-x: clip does not
   create a scroll container, so vertical layout and sticky elements are
   unaffected. */
.elementor-widget-ee-hero-banner { min-width: 0; max-width: 100%; }
.ee-hero { max-width: 100%; min-width: 0; overflow-x: clip; }
