.adax-hero-carousel {
	width: 100%;
	position: relative;
	aspect-ratio: 1900 / 550;
	overflow: hidden;
	background: #fff;
	margin-top: 90px;
	contain: layout style;
}

.adax-hero-carousel * {
	box-sizing: border-box;
}

.adax-hero-carousel .hero-window {
	width: 100%;
	height: 100%;
	overflow: hidden;
	cursor: grab;
}

.adax-hero-carousel .hero-window:active {
	cursor: grabbing;
}

.adax-hero-carousel .hero-track {
	height: 100%;
	display: flex;
	will-change: transform;
}

.adax-hero-carousel .hero-slide {
	flex: 0 0 var(--hero-slide-w, 100%);
	width: var(--hero-slide-w, 100%);
	max-width: var(--hero-slide-w, 100%);
	height: 100%;
	position: relative;
	overflow: hidden;
}

/* Pełny slajd jako link — tylko mobile (przycisk CTA jest ukryty). */
.adax-hero-carousel .hero-link {
	display: none;
	position: absolute;
	inset: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.adax-hero-carousel picture {
	display: block;
	width: 100%;
	height: 100%;
}

.adax-hero-carousel .hero-slide-bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

.adax-hero-carousel .hero-content {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
	text-align: center;
	width: 100%;
	max-width: 1290px;
	margin: 0 auto;
	padding-bottom: 50px;
	padding-left: 20px;
}

.adax-hero-carousel .hero-title {
	margin: 0;
	color: #222;
	font-size: clamp(28px, 4vw, 72px);
	line-height: 0.85;
	font-weight: 800;
	filter: drop-shadow(0 0 3px #fff);
	text-align: left;
}

.adax-hero-carousel .hero-title span {
	font-size: clamp(18px, 2vw, 36px);
	font-weight: 700;
}

.adax-hero-carousel .hero-nav {
	position: absolute;
	top: 0;
	z-index: 20;
	width: 100px;
	height: 100%;
	border: none;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	overflow: hidden;
}

.adax-hero-carousel .hero-nav::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.adax-hero-carousel .hero-prev {
	left: 0;
}

.adax-hero-carousel .hero-next {
	right: 0;
}

.adax-hero-carousel .hero-prev img,
.adax-hero-carousel .hero-next img {
	position: relative;
	z-index: 30;
}

.adax-hero-carousel .hero-prev::before {
	background: linear-gradient(to right, #00000080, #00000000);
}

.adax-hero-carousel .hero-next::before {
	background: linear-gradient(to left, #00000080, #00000000);
}

.adax-hero-carousel .hero-prev:hover::before,
.adax-hero-carousel .hero-next:hover::before {
	opacity: 1;
}

.adax-hero-carousel .hero-pagination {
	position: absolute;
	left: 50%;
	bottom: 10px;
	transform: translateX(-50%);
	z-index: 20;
	display: flex;
	gap: 10px;
	width: 1250px;
	max-width: calc(100% - 32px);
}

.adax-hero-carousel .hero-dot {
	flex: 1;
	height: 6px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.15);
	position: relative;
	overflow: hidden;
	padding: 0;
}

.adax-hero-carousel .hero-dot::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 0%;
	background: #c40000;
	border-radius: inherit;
}

.adax-hero-carousel .hero-dot.is-active::before {
	animation: adax-hero-fill var(--fill-ms, 5300ms) linear forwards;
}

@keyframes adax-hero-fill {
	from {
		width: 0%;
	}
	to {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.adax-hero-carousel {
		aspect-ratio: 824 / 412;
		margin-top: 70px;
	}

	.adax-hero-carousel .hero-nav {
		width: 70px;
	}

	.adax-hero-carousel .hero-nav img {
		width: 38px;
		height: 38px;
	}
	.adax-hero-carousel .hero-link {
		display: block;
	}

	.hero-window .hero-content .hero-btn,
	.hero-window .hero-content .hero-btn img
	{
		display: none !important;
	}
	.adax-hero-carousel .hero-content p{
		display: none;
	}

	.adax-hero-carousel .hero-content {
		pointer-events: none;
	}
	.hero-content h1{
		padding-bottom: 40px;
	}
}


.hero-window .hero-content .hero-btn{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0px;
	border-radius: 24px;
	background-color: #a70e13;
	color: #fff;
	padding: 2px;
	text-decoration: none;
	font-weight: 500;
	padding-right: 5px;
	margin-top: 20px;
	margin-left: 20px;
  }
  .hero-window .hero-content .hero-btn p{
	background-color: #fff;
	padding: 10px 10px;
	border-radius: 20px;
	margin: 0px;
  }
  .hero-window .hero-content .hero-btn img{
	background-color: #a70e13;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
	width: 35px;
  }