/* PRO Elements: Hero Banner. Fluid at every screen width; the image keeps its ratio. */
.pe-hero-banner {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	overflow: hidden;
	line-height: 0;
}

.pe-hero-banner__track {
	display: grid;
	width: 100%;
}

/* All slides share one grid cell, so the banner height always follows the image ratio. */
.pe-hero-banner__slide {
	grid-area: 1 / 1;
	width: 100%;
	min-width: 0;
}

.pe-hero-banner.is-slider .pe-hero-banner__slide {
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease, visibility 0s linear .6s;
}

.pe-hero-banner.is-slider .pe-hero-banner__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity .6s ease, visibility 0s;
	z-index: 1;
}

.pe-hero-banner__link,
.pe-hero-banner picture {
	display: block;
	width: 100%;
}

.pe-hero-banner .pe-hero-banner__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 8 / 3;
	object-fit: cover;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* Arrows and dots scale with the screen. */
.pe-hero-banner__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(32px, 3.2vw, 52px);
	height: clamp(32px, 3.2vw, 52px);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background .2s ease;
	line-height: 1;
}

.pe-hero-banner__arrow:hover,
.pe-hero-banner__arrow:focus-visible {
	background: rgba(0, 0, 0, .75);
}

.pe-hero-banner__arrow:focus-visible,
.pe-hero-banner__dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.pe-hero-banner__arrow svg {
	width: 50%;
	height: 50%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.pe-hero-banner__arrow--prev {
	left: clamp(8px, 1.5vw, 24px);
}

.pe-hero-banner__arrow--next {
	right: clamp(8px, 1.5vw, 24px);
}

.pe-hero-banner__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(8px, 2vw, 24px);
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: clamp(6px, .8vw, 10px);
	line-height: 0;
}

.pe-hero-banner__dot {
	width: clamp(8px, .8vw, 12px);
	height: clamp(8px, .8vw, 12px);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .55);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.pe-hero-banner__dot.is-active {
	background: #fff;
	transform: scale(1.25);
}

/* Bigger tap targets on touch screens without changing the look. */
@media (pointer: coarse) {
	.pe-hero-banner__dot {
		position: relative;
	}

	.pe-hero-banner__dot::after {
		content: "";
		position: absolute;
		inset: -10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pe-hero-banner.is-slider .pe-hero-banner__slide,
	.pe-hero-banner.is-slider .pe-hero-banner__slide.is-active {
		transition: none;
	}
}

/* Campaign schedule: banners, arrows and dots outside their dates are hidden. */
.pe-hero-banner[hidden],
.pe-hero-banner [hidden] {
	display: none !important;
}
