/**
 * Full-page scroll layout (UIkit + CSS scroll-snap).
 */

html.prism-fullpage-active {
	scroll-behavior: smooth;
}

html.prism-fullpage-active.prism-fullpage-snap-js {
	scroll-snap-type: none;
}

html.prism-fullpage-active.prism-fullpage-snap-js .prism-fullpage-section {
	scroll-snap-align: none;
	scroll-snap-stop: normal;
}

html.prism-fullpage-active:not(.prism-fullpage-snap-js) {
	scroll-snap-type: y mandatory;
}

html.prism-fullpage-active,
body.prism-fullpage-active {
	margin: 0;
	padding: 0;
}

body.prism-fullpage-active {
	overflow-x: hidden;
}

body.prism-fullpage-active #main,
body.prism-fullpage-active #prism-fullpage,
body.prism-fullpage-active .entry-content,
body.prism-fullpage-active .wp-block-post-content {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100%;
}

body.prism-fullpage-active footer {
	display: none;
}

/* Remove WordPress block wrapper spacing between full page sections (front end). */
body.prism-has-fullpage-sections #prism-fullpage > .wp-block-acf-banner,
body.prism-has-fullpage-sections #prism-fullpage > .wp-block-acf-content,
body.prism-has-fullpage-sections #prism-fullpage > .wp-block-acf-prism-presents-carousel,
body.prism-has-fullpage-sections #prism-fullpage > .wp-block-acf-upcoming-prism-present,
body.prism-has-fullpage-sections #prism-fullpage > .wp-block-acf-present-cast,
body.prism-has-fullpage-sections .wp-block-acf-banner:has(.prism-fullpage-section),
body.prism-has-fullpage-sections .wp-block-acf-content:has(.prism-fullpage-section),
body.prism-has-fullpage-sections .wp-block-acf-prism-presents-carousel:has(.prism-fullpage-section),
body.prism-has-fullpage-sections .wp-block-acf-upcoming-prism-present:has(.prism-fullpage-section),
body.prism-has-fullpage-sections .wp-block-acf-present-cast:has(.prism-fullpage-section) {
	margin: 0 !important;
	max-width: 100% !important;
	padding: 0 !important;
	width: 100%;
}

.prism-fullpage-section {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
	margin: 0;
	max-height: 100svh;
	max-width: 100%;
	overflow: hidden;
	position: relative;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	width: 100%;
}

.prism-fullpage-section,
body.prism-fullpage-active .prism-fullpage-section {
	height: 100svh;
	max-height: 100svh;
	min-height: 100svh;
}

body.prism-fullpage-active .prism-fullpage-section > .prism-background-overlay,
.prism-fullpage-section > .prism-background-overlay {
	grid-area: 1 / 1;
	height: 100%;
	min-height: 100%;
	width: 100%;
}

body.prism-fullpage-active .prism-fullpage-section > .prism-block__viewport,
.prism-fullpage-section > .prism-block__viewport,
body.prism-fullpage-active .prism-fullpage-section > .prism-block__outer,
.prism-fullpage-section > .prism-block__outer {
	grid-area: 1 / 1;
	height: 100%;
	min-height: 0;
	width: 100%;
}

body.prism-fullpage-active .prism-fullpage-section > .prism-block__viewport,
.prism-fullpage-section > .prism-block__viewport {
	display: flex;
	min-height: 0;
	overflow: hidden;
}

body.prism-fullpage-active .prism-fullpage-section > .prism-block__viewport--banner,
.prism-fullpage-section > .prism-block__viewport--banner {
	flex-direction: column;
}

body.prism-fullpage-active .prism-fullpage-section > .prism-block__viewport--banner > .prism-block__outer,
.prism-fullpage-section > .prism-block__viewport--banner > .prism-block__outer {
	flex: 1 1 auto;
	min-height: 0;
}

.prism-fullpage-section__viewport,
.prism-block__viewport {
	box-sizing: border-box;
	min-height: 0;
}

.prism-block__outer,
.prism-block__inner {
	box-sizing: border-box;
}

.prism-block__viewport--banner {
	box-sizing: border-box;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
	min-height: 0;
	width: 100%;
}

body.prism-has-fullpage-sections .prism-fullpage-section .prism-block__outer {
	box-sizing: border-box;
}

body.prism-has-fullpage-sections .prism-fullpage-section .prism-block--content .prism-block__inner {
	height: auto;
	min-height: 0;
}

body.prism-has-fullpage-sections .prism-fullpage-section.prism-block--banner > .prism-block__viewport--banner > .prism-block__outer {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	min-height: 100%;
	width: 100%;
}

body.prism-has-fullpage-sections .prism-fullpage-section.prism-block--banner > .prism-block__viewport--banner > .prism-block__outer:has(.prism-banner--height-full) {
	justify-content: stretch;
}

body.prism-has-fullpage-sections .prism-fullpage-section .prism-banner {
	width: 100%;
}

body.prism-has-fullpage-sections .prism-fullpage-section .prism-banner:not(.prism-banner--height-full) {
	flex: 0 0 auto;
	height: auto;
	max-height: none;
	min-height: 0;
}

body.prism-has-fullpage-sections .prism-fullpage-section .prism-banner--height-full {
	flex: 1 1 auto;
	height: 100%;
	min-height: 100%;
}

body.prism-has-fullpage-sections .prism-fullpage-section.prism-block--banner:not(:has(.prism-banner--height-full)) {
	height: auto;
	max-height: none;
	min-height: 0;
}

/* Mobile/tablet: let full page sections grow with their content. */
@media (max-width: 959px) {
	html.prism-fullpage-active,
	html.prism-fullpage-active:not(.prism-fullpage-snap-js) {
		scroll-snap-type: none;
	}

	html.prism-fullpage-active.prism-fullpage-snap-js .prism-fullpage-section,
	.prism-fullpage-section {
		scroll-snap-align: none;
		scroll-snap-stop: normal;
	}

	.prism-fullpage-section,
	body.prism-fullpage-active .prism-fullpage-section,
	body.admin-bar .prism-fullpage-section,
	body.admin-bar.prism-fullpage-active .prism-fullpage-section {
		display: flow-root;
		height: auto;
		max-height: none;
		min-height: 0;
		overflow: visible;
	}

	body.prism-fullpage-active footer {
		display: block;
	}

	.prism-fullpage-nav,
	.prism-fullpage-arrow-wrap,
	.prism-fullpage-arrow {
		display: none !important;
		height: 0 !important;
		overflow: hidden !important;
		pointer-events: none !important;
		visibility: hidden !important;
	}

	.prism-fullpage-section.prism-block--prism-presents-carousel > .prism-block__viewport,
	.prism-fullpage-section.prism-block--prism-presents-carousel > .prism-block__viewport > .prism-block__outer,
	.prism-fullpage-section.prism-block--prism-presents-carousel > .prism-block__viewport > .prism-block__outer > .prism-block__inner,
	.prism-fullpage-section.prism-block--prism-presents-carousel .prism-presents-carousel,
	.prism-fullpage-section.prism-block--prism-presents-carousel .prism-presents-carousel__slider,
	.prism-fullpage-section.prism-block--prism-presents-carousel .prism-presents-carousel__slider .uk-slider-container,
	.prism-fullpage-section.prism-block--prism-presents-carousel .prism-presents-carousel__slider .uk-slider-items {
		height: auto;
		max-height: none;
		overflow: visible;
	}

	.prism-fullpage-section.prism-block--photo-gallery > .prism-block__viewport,
	.prism-fullpage-section.prism-block--photo-gallery > .prism-block__viewport > .prism-block__outer,
	.prism-fullpage-section.prism-block--photo-gallery > .prism-block__viewport > .prism-block__outer > .prism-block__inner,
	.prism-fullpage-section.prism-block--photo-gallery .prism-photo-gallery,
	.prism-fullpage-section.prism-block--photo-gallery .prism-photo-gallery--carousel .uk-slider-container,
	.prism-fullpage-section.prism-block--photo-gallery .prism-photo-gallery--carousel .uk-slider-items {
		height: auto;
		max-height: none;
		overflow: visible;
	}

	.prism-fullpage-section.prism-block--has-background {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
		position: relative;
	}

	.prism-fullpage-section > .prism-background-overlay,
	body.prism-fullpage-active .prism-fullpage-section > .prism-background-overlay {
		grid-area: 1 / 1;
		height: 100%;
		inset: 0;
		min-height: 100%;
		position: absolute;
		width: 100%;
	}

	.prism-fullpage-section > .prism-block__viewport,
	body.prism-fullpage-active .prism-fullpage-section > .prism-block__viewport,
	.prism-fullpage-section > .prism-block__outer,
	body.prism-fullpage-active .prism-fullpage-section > .prism-block__outer,
	.prism-fullpage-section > .prism-block__viewport--banner,
	.prism-block__viewport--banner {
		display: block;
		flex: none;
		height: auto;
		max-height: none;
		min-height: 0;
		overflow: visible;
		position: relative;
		width: 100%;
		z-index: 1;
	}

	.prism-fullpage-section.prism-block--has-background > .prism-block__viewport {
		grid-area: 1 / 1;
	}

	.prism-fullpage-section > .prism-block__viewport.uk-flex {
		display: block;
	}

	body.prism-has-fullpage-sections .prism-fullpage-section.prism-block--banner > .prism-block__viewport--banner > .prism-block__outer {
		display: block;
		flex: none;
		height: auto;
		justify-content: flex-start;
		min-height: 0;
	}

	body.prism-has-fullpage-sections .prism-fullpage-section .prism-banner,
	body.prism-has-fullpage-sections .prism-fullpage-section .prism-banner--height-full {
		flex: none;
		height: auto;
		min-height: 0;
	}

	body.prism-has-fullpage-sections .prism-fullpage-section .prism-banner--height-full .prism-banner__frame {
		flex: none;
		grid-template-rows: minmax(var(--prism-banner-min-height, 280px), auto);
		height: auto;
		min-height: var(--prism-banner-min-height, 280px);
	}

	body.prism-has-fullpage-sections .prism-fullpage-section .prism-banner--height-full .prism-banner__frame > .prism-banner__image,
	body.prism-has-fullpage-sections .prism-fullpage-section .prism-banner--height-full .prism-banner__frame > .prism-banner__tint,
	body.prism-has-fullpage-sections .prism-fullpage-section .prism-banner--height-full .prism-banner__overlay {
		height: auto;
		min-height: var(--prism-banner-min-height, 280px);
	}

	body.prism-has-fullpage-sections .prism-fullpage-section.prism-block--banner:not(:has(.prism-banner--height-full)) {
		height: auto;
		max-height: none;
		min-height: 0;
	}

	.prism-fullpage-section.prism-block--prism-presents-carousel > .prism-block__viewport > .prism-block__outer,
	.prism-fullpage-section.prism-block--prism-presents-carousel > .prism-block__viewport > .prism-block__outer > .prism-block__inner,
	.prism-fullpage-section.prism-block--upcoming-prism-present > .prism-block__viewport > .prism-block__outer,
	.prism-fullpage-section.prism-block--upcoming-prism-present > .prism-block__viewport > .prism-block__outer > .prism-block__inner {
		display: block;
		flex: none;
		height: auto;
		justify-content: flex-start;
		min-height: 0;
	}

	.prism-fullpage-section.prism-block--prism-presents-carousel.prism-padding-top-default,
	.prism-fullpage-section.prism-block--prism-presents-carousel.prism-padding-top-medium,
	.prism-fullpage-section.prism-block--prism-presents-carousel.prism-padding-top-small,
	.prism-fullpage-section.prism-block--prism-presents-carousel.prism-padding-top-large,
	.prism-fullpage-section.prism-block--upcoming-prism-present.prism-padding-top-default,
	.prism-fullpage-section.prism-block--upcoming-prism-present.prism-padding-top-medium,
	.prism-fullpage-section.prism-block--upcoming-prism-present.prism-padding-top-small,
	.prism-fullpage-section.prism-block--upcoming-prism-present.prism-padding-top-large {
		padding-top: 2rem;
	}

	body.prism-fullpage-active .prism-block--has-background,
	.prism-fullpage-section.prism-block--has-background {
		grid-template-rows: auto;
		height: auto;
		overflow: visible;
	}

	body.prism-fullpage-active .prism-block--has-background > .prism-block__viewport,
	.prism-fullpage-section.prism-block--has-background > .prism-block__viewport {
		height: auto;
		min-height: 0;
		overflow: visible;
	}
}

.prism-fullpage-nav {
	z-index: 980;
}

.prism-fullpage-nav .uk-dotnav > * > * {
	background-color: rgba(255, 255, 255, 0.45);
	border-color: transparent;
}

.prism-fullpage-nav .uk-dotnav > .uk-active > * {
	background-color: #fff;
}

.prism-fullpage-arrow-wrap {
	bottom: 15px;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	z-index: 20;
}

.prism-fullpage-arrow {
	appearance: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	line-height: 1;
	padding: 0.35rem;
	pointer-events: auto;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.prism-fullpage-arrow:hover,
.prism-fullpage-arrow:focus {
	opacity: 0.8;
	outline: none;
	transform: translateY(2px);
}

.prism-fullpage-arrow--circle {
	align-items: center;
	background: rgba(0, 0, 0, 0.2);
	border: 2px solid currentColor;
	display: inline-flex;
	height: 3rem;
	justify-content: center;
	width: 3rem;
}

.prism-fullpage-arrow--circle:hover,
.prism-fullpage-arrow--circle:focus {
	transform: translateY(2px);
}

@media (max-width: 959px) {
	.prism-fullpage-arrow-wrap,
	.prism-fullpage-arrow {
		display: none !important;
		height: 0 !important;
		margin: 0 !important;
		overflow: hidden !important;
		padding: 0 !important;
		pointer-events: none !important;
		visibility: hidden !important;
	}
}

/* Block editor — keep full page blocks contained within the canvas. */
.editor-styles-wrapper .prism-fullpage-section,
.block-editor-block-list__block .prism-fullpage-section,
.acf-block-preview .prism-fullpage-section {
	height: auto;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-height: none;
	max-width: 100% !important;
	min-height: 70vh;
	width: 100% !important;
}

.editor-styles-wrapper .prism-fullpage-section__viewport,
.block-editor-block-list__block .prism-fullpage-section__viewport,
.acf-block-preview .prism-fullpage-section__viewport,
.editor-styles-wrapper .prism-block__viewport,
.acf-block-preview .prism-block__viewport {
	min-height: 70vh;
}

.editor-styles-wrapper .wp-block-acf-banner,
.editor-styles-wrapper .wp-block-acf-content,
.editor-styles-wrapper .wp-block-acf-photo-gallery,
.editor-styles-wrapper .wp-block-acf-upcoming-prism-present,
.editor-styles-wrapper .wp-block-acf-prism-presents-carousel,
.editor-styles-wrapper .wp-block-acf-present-cast,
.block-editor-block-list__block .wp-block-acf-banner,
.block-editor-block-list__block .wp-block-acf-content,
.block-editor-block-list__block .wp-block-acf-photo-gallery,
.block-editor-block-list__block .wp-block-acf-upcoming-prism-present,
.block-editor-block-list__block .wp-block-acf-prism-presents-carousel,
.block-editor-block-list__block .wp-block-acf-present-cast,
.acf-block-preview .wp-block-acf-banner,
.acf-block-preview .wp-block-acf-content,
.acf-block-preview .wp-block-acf-photo-gallery,
.acf-block-preview .wp-block-acf-upcoming-prism-present,
.acf-block-preview .wp-block-acf-prism-presents-carousel,
.acf-block-preview .wp-block-acf-present-cast {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

.editor-styles-wrapper .prism-fullpage-section,
.acf-block-preview .prism-fullpage-section {
	border: 1px dashed #c3c4c7;
	box-sizing: border-box;
}
