/* Homepage hero carousel — full-image slides (each banner already has its
   own headline/CTA/icons baked in), just handling rotation + controls.
   Belt-and-suspenders full-bleed: the wrapping .wp-block-group already has
   the "align full" treatment, but forcing width here too means this
   never silently reverts to a centered/constrained box regardless of
   which block-layout option ends up governing its container. */
.pm-hero-carousel-wrap {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}
.pm-hero-carousel {
	position: relative;
	width: 100%;
	max-width: none;
	overflow: hidden;
	background: #252138;
	aspect-ratio: 1704 / 924;
}

.pm-hero-carousel__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.pm-hero-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease;
}
.pm-hero-carousel__slide.is-active {
	opacity: 1;
	visibility: visible;
}
.pm-hero-carousel__slide a {
	display: block;
	width: 100%;
	height: 100%;
}
.pm-hero-carousel__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pm-hero-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(37, 33, 56, 0.55);
	color: #ffffff;
	border: none;
	width: 2.4em;
	height: 2.4em;
	border-radius: 50%;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: background-color 0.15s ease;
}
.pm-hero-carousel__arrow:hover {
	background: #FCB825;
	color: #252138;
}
.pm-hero-carousel__arrow--prev {
	left: 0.75em;
}
.pm-hero-carousel__arrow--next {
	right: 0.75em;
}

.pm-hero-carousel__dots {
	position: absolute;
	bottom: 0.9em;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5em;
	z-index: 2;
}
.pm-hero-carousel__dot {
	width: 0.6em;
	height: 0.6em;
	border-radius: 50%;
	border: 1px solid #ffffff;
	background: rgba(255, 255, 255, 0.4);
	padding: 0;
	cursor: pointer;
}
.pm-hero-carousel__dot.is-active {
	background: #FCB825;
	border-color: #FCB825;
}

@media screen and (max-width: 600px) {
	.pm-hero-carousel {
		aspect-ratio: 4 / 5; /* the banners are landscape-heavy with a text
			panel on the left; a taller mobile crop keeps that panel legible
			instead of squeezing the whole banner down illegibly thin */
	}
	.pm-hero-carousel__arrow {
		width: 2em;
		height: 2em;
		font-size: 0.9rem;
	}
}
