.thaxam-banner {
	max-width: var(--thaxam-banner-width, 100%);
	overflow: hidden;
	position: relative;
	width: 100%;
}

.thaxam-banner__viewport {
	height: var(--thaxam-banner-height, auto);
	overflow: hidden;
}

.thaxam-banner__viewport:focus-visible,
.thaxam-banner__arrow:focus-visible,
.thaxam-banner__dot:focus-visible {
	outline: 2px solid #1d4c8f;
	outline-offset: 2px;
}

.thaxam-banner__track {
	display: flex;
	transition: transform var(--thaxam-banner-speed, 450ms) ease;
	will-change: transform;
}

.thaxam-banner__slide {
	flex: 0 0 100%;
	min-width: 100%;
	position: relative;
}

.thaxam-banner__image {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.thaxam-banner__click-target {
	inset: 0;
	position: absolute;
	z-index: 1;
}

.thaxam-banner__click-target:focus-visible {
	outline: 2px solid #1d4c8f;
	outline-offset: -4px;
}

.thaxam-banner--fade .thaxam-banner__track {
	display: grid;
}

.thaxam-banner--fade .thaxam-banner__slide {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity var(--thaxam-banner-speed, 450ms) ease;
}

.thaxam-banner--fade .thaxam-banner__slide.is-active {
	opacity: 1;
}

.thaxam-banner__overlay {
	color: #fff;
	left: 0;
	padding: clamp(20px, 5vw, 64px);
	pointer-events: none;
	position: absolute;
	right: 0;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.thaxam-banner__overlay--left {
	text-align: left;
}

.thaxam-banner__overlay--center {
	text-align: center;
}

.thaxam-banner__overlay--right {
	text-align: right;
}

.thaxam-banner__title {
	font-size: clamp(24px, 4vw, 56px);
	font-weight: 700;
	line-height: 1.08;
	margin: 0 0 10px;
}

.thaxam-banner__text {
	font-size: clamp(15px, 1.5vw, 20px);
	line-height: 1.45;
	margin: 0 0 18px;
}

.thaxam-banner__button {
	background: #fff;
	border-radius: 3px;
	color: #1d2327;
	display: inline-block;
	font-weight: 700;
	line-height: 1;
	padding: 12px 18px;
	pointer-events: auto;
	position: relative;
	text-decoration: none;
	text-shadow: none;
	z-index: 3;
}

.thaxam-banner__button:hover,
.thaxam-banner__button:focus {
	color: #1d2327;
	text-decoration: none;
}

.thaxam-banner__arrow {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
	color: #111827;
	cursor: pointer;
	display: flex;
	height: 38px;
	justify-content: center;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	z-index: 4;
}

.thaxam-banner__arrow:hover {
	background: #f8fafc;
}

.thaxam-banner__arrow--prev {
	left: 12px;
}

.thaxam-banner__arrow--next {
	right: 12px;
}

.thaxam-banner__arrow svg {
	fill: currentColor;
	height: 20px;
	width: 20px;
}

.thaxam-banner--desktop-arrows-hidden .thaxam-banner__arrow {
	display: none;
}

.thaxam-banner__dots {
	bottom: 12px;
	display: flex;
	gap: 8px;
	justify-content: center;
	left: 0;
	position: absolute;
	right: 0;
	z-index: 4;
}

.thaxam-banner--dots-bottom {
	padding-bottom: 22px;
}

.thaxam-banner--desktop-dots-hidden.thaxam-banner--dots-bottom {
	padding-bottom: 0;
}

.thaxam-banner--dots-bottom .thaxam-banner__dots {
	bottom: 0;
}

.thaxam-banner--desktop-dots-hidden .thaxam-banner__dots {
	display: none;
}

.thaxam-banner__dot {
	background: rgba(255, 255, 255, 0.7);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 9px;
	padding: 0;
	width: 9px;
}

.thaxam-banner__dot.is-active {
	background: #fff;
}

@media (max-width: 780px) {
	.thaxam-banner__viewport {
		height: var(--thaxam-banner-height-tablet, var(--thaxam-banner-height, auto));
	}
}

@media (max-width: 520px) {
	.thaxam-banner__viewport {
		height: var(--thaxam-banner-height-mobile, var(--thaxam-banner-height-tablet, var(--thaxam-banner-height, auto)));
	}

	.thaxam-banner__arrow {
		height: 34px;
		width: 34px;
	}

	.thaxam-banner--mobile-arrows-visible .thaxam-banner__arrow {
		display: flex;
	}

	.thaxam-banner--mobile-arrows-hidden .thaxam-banner__arrow {
		display: none;
	}

	.thaxam-banner--mobile-dots-visible.thaxam-banner--dots-bottom {
		padding-bottom: 22px;
	}

	.thaxam-banner--mobile-dots-hidden.thaxam-banner--dots-bottom {
		padding-bottom: 0;
	}

	.thaxam-banner--mobile-dots-visible .thaxam-banner__dots {
		display: flex;
	}

	.thaxam-banner--mobile-dots-hidden .thaxam-banner__dots {
		display: none;
	}

	.thaxam-banner__overlay {
		padding: 20px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.thaxam-banner__track,
	.thaxam-banner--fade .thaxam-banner__slide {
		transition-duration: 1ms;
	}
}
