.photo-carousel {
	position: relative;
	width: 100%;
}

.photo-carousel__empty {
	margin: 0;
	font-family: var(--font-text, inherit);
	font-size: var(--text-size-100, 1rem);
}

.photo-carousel__track {
	margin: 0;
}

.photo-carousel__slide {
	box-sizing: border-box;
	padding: 0 0.375rem;
}

.photo-carousel__frame {
	position: relative;
	overflow: hidden;
	border-radius: 0.25rem;
	background-color: var(--wp--preset--color--wpbf-palette-color-3, #e5e5e5);
	aspect-ratio: 4 / 3;
}

.photo-carousel__frame img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.photo-carousel:not(.photo-carousel--static):not(.is-ready) .photo-carousel__track {
	display: flex;
	overflow: hidden;
}

.photo-carousel--filmstrip:not(.photo-carousel--static):not(.is-ready) .photo-carousel__slide {
	flex: 0 0 16.666%;
}

.photo-carousel--focus:not(.photo-carousel--static):not(.is-ready) .photo-carousel__slide {
	flex: 0 0 14.285%;
}

.photo-carousel--focus .photo-carousel__frame {
	transform: scale(0.8);
	opacity: 0.62;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.photo-carousel--focus .slick-slide.slick-center .photo-carousel__frame {
	transform: scale(1);
	opacity: 1;
}

.photo-carousel--vertical {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 8.5rem;
	gap: 0.75rem;
	align-items: stretch;
}

.photo-carousel--vertical.photo-carousel--main-right {
	grid-template-columns: 8.5rem minmax(0, 1fr);
}

.photo-carousel--vertical.photo-carousel--main-right .photo-carousel__stage {
	order: 2;
}

.photo-carousel__stage {
	position: relative;
	height: var(--photo-carousel-stage-height, 36rem);
	overflow: hidden;
	border-radius: 0.25rem;
	background-color: var(--wp--preset--color--wpbf-palette-color-3, #e5e5e5);
}

.photo-carousel__stage-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.photo-carousel--vertical .photo-carousel__track {
	height: 100%;
	min-height: 0;
}

.photo-carousel--vertical .photo-carousel__slide {
	box-sizing: border-box;
	padding: 0.1875rem 0;
}

.photo-carousel--vertical .photo-carousel__frame {
	height: 100%;
	aspect-ratio: auto;
	opacity: 0.7;
}

.photo-carousel--vertical .photo-carousel__slide.is-active .photo-carousel__frame {
	opacity: 1;
	box-shadow: inset 0 0 0 0.125rem var(--wp--preset--color--wpbf-palette-color-6, #55828b);
}

.photo-carousel__select {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.photo-carousel__select:focus-visible {
	outline: 0.125rem solid var(--wp--preset--color--wpbf-palette-color-4, #003366);
	outline-offset: -0.125rem;
}

.photo-carousel--vertical:not(.photo-carousel--static):not(.is-ready) .photo-carousel__track {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.photo-carousel--vertical:not(.photo-carousel--static):not(.is-ready) .photo-carousel__slide {
	flex: 1 1 0;
	width: 100%;
	min-height: 0;
}

.photo-carousel--static .photo-carousel__track {
	display: flex;
	flex-wrap: wrap;
}

.photo-carousel--static.photo-carousel--filmstrip .photo-carousel__slide,
.photo-carousel--static.photo-carousel--focus .photo-carousel__slide {
	flex: 1 1 0;
	min-width: 0;
}

.photo-carousel--static.photo-carousel--vertical .photo-carousel__track {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	height: 100%;
	max-width: none;
}

.photo-carousel--static.photo-carousel--vertical .photo-carousel__slide {
	width: 100%;
	flex: 1 1 0;
	height: auto;
	min-height: 0;
}

.photo-carousel__arrow {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: var(--wp--preset--color--wpbf-palette-color-2, #ffffff);
	box-shadow: 0 0.125rem 0.5rem rgba(17, 17, 17, 0.16);
	cursor: pointer;
	transform: translateY(-50%);
}

.photo-carousel__arrow--prev {
	top: 50%;
	left: 0.5rem;
}

.photo-carousel__arrow--next {
	top: 50%;
	right: 0.5rem;
}

.photo-carousel__arrow::before {
	content: "";
	display: block;
	width: 0.5rem;
	height: 0.5rem;
	border-top: 0.125rem solid var(--wp--preset--color--wpbf-palette-color-6, #55828b);
	border-right: 0.125rem solid var(--wp--preset--color--wpbf-palette-color-6, #55828b);
}

.photo-carousel__arrow--prev::before {
	transform: translateX(0.1rem) rotate(-135deg);
}

.photo-carousel__arrow--next::before {
	transform: translateX(-0.1rem) rotate(45deg);
}

.photo-carousel__arrow:hover,
.photo-carousel__arrow:focus-visible {
	background-color: var(--wp--preset--color--wpbf-palette-color-6, #55828b);
}

.photo-carousel__arrow:hover::before,
.photo-carousel__arrow:focus-visible::before {
	border-color: var(--wp--preset--color--wpbf-palette-color-2, #ffffff);
}

.photo-carousel__arrow:focus-visible {
	outline: 0.125rem solid var(--wp--preset--color--wpbf-palette-color-4, #003366);
	outline-offset: 0.125rem;
}

@media screen and (max-width: 70rem) {
	.photo-carousel--filmstrip:not(.photo-carousel--static):not(.is-ready) .photo-carousel__slide {
		flex-basis: 25%;
	}

	.photo-carousel--focus:not(.photo-carousel--static):not(.is-ready) .photo-carousel__slide {
		flex-basis: 20%;
	}
}

@media screen and (max-width: 43.75rem) {
	.photo-carousel--filmstrip:not(.photo-carousel--static):not(.is-ready) .photo-carousel__slide,
	.photo-carousel--static.photo-carousel--filmstrip .photo-carousel__slide,
	.photo-carousel--static.photo-carousel--focus .photo-carousel__slide {
		flex: 1 1 50%;
		max-width: 50%;
	}

	.photo-carousel--focus:not(.photo-carousel--static):not(.is-ready) .photo-carousel__slide {
		flex-basis: 33.333%;
		max-width: none;
	}

	.photo-carousel--vertical,
	.photo-carousel--vertical.photo-carousel--main-right {
		grid-template-columns: minmax(0, 1fr) 5.75rem;
	}

	.photo-carousel--vertical.photo-carousel--main-right {
		grid-template-columns: 5.75rem minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.photo-carousel--focus .photo-carousel__frame {
		transition: none;
	}
}
