.ubo-slider-wrap { container-type: inline-size; }
/* Out of its column to the screen's edges; 100vw counts a scrollbar, so that bit is clipped. */
.ubo-slider-wrap.is-full { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
body:has(.ubo-slider-wrap.is-full) { overflow-x: clip; }
.ubo-slider { position: relative; overflow: hidden; height: var(--ubo-h, 600px); color: var(--ubo-color, #fff); }
.ubo-slider__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ubo-slider.is-hero .ubo-slider__track { overflow: hidden; }
.ubo-slider__track::-webkit-scrollbar { display: none; }
.ubo-slider__slide { position: relative; flex: 0 0 100%; min-width: 0; height: 100%; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; color: var(--ubo-color, #fff); }
.ubo-slider .ubo-slider__image { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; object-position: var(--ubo-focus, center); }
.ubo-slider .ubo-slider__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border: 0; object-fit: cover; pointer-events: none; }
.ubo-slider .ubo-slider__video:not([src]) { visibility: hidden; }
/* A 16:9 embed that always covers the slide. */
.ubo-slider__slide { container-type: size; --ubo-pad-x: 24px; --ubo-pad-y: 40px; }
.ubo-slider .ubo-slider__video--embed { inset: auto; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); }
.ubo-slider__overlay { position: absolute; inset: 0; background: var(--ubo-overlay); }
.ubo-slider__content { position: relative; display: flex; box-sizing: border-box; width: 100%; max-width: var(--ubo-width, 1240px); height: 100%; margin: 0 auto; padding: var(--ubo-pad-y) var(--ubo-pad-x); pointer-events: none; }
/* Room for the arrows, which are hidden on a phone. */
@media (min-width: 641px) { .has-arrows .ubo-slider__slide { --ubo-pad-x: 72px; } }
.ubo-slider__body { position: relative; left: var(--ubo-x, 0); top: var(--ubo-y, 0); max-width: 100%; pointer-events: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.is-left > .ubo-slider__content { justify-content: flex-start; text-align: left; }
.is-center > .ubo-slider__content { justify-content: center; text-align: center; }
.is-right > .ubo-slider__content { justify-content: flex-end; text-align: right; }
.is-top > .ubo-slider__content { align-items: flex-start; }
.is-middle > .ubo-slider__content { align-items: center; }
.is-bottom > .ubo-slider__content { align-items: flex-end; }
.text-left > .ubo-slider__content { text-align: left; }
.text-center > .ubo-slider__content { text-align: center; }
.text-right > .ubo-slider__content { text-align: right; }
.has-panel > .ubo-slider__content > .ubo-slider__body { max-width: 480px; padding: 32px; background: var(--ubo-panel); }
.ubo-slider .ubo-slider__layer { display: inline-block; max-width: 100%; max-height: 45cqh; width: auto; height: auto; margin: 0 0 16px; }
.ubo-slider .ubo-slider__title { margin: 0; padding: 0; font-family: var(--ubo-title-font, inherit); font-size: var(--ubo-title, 48px); line-height: var(--ubo-title-line, 1.15); color: inherit; overflow-wrap: break-word; }
.ubo-slider .ubo-slider__text { margin: 12px 0 0; font-family: var(--ubo-text-font, inherit); font-size: var(--ubo-text, 20px); line-height: 1.4; color: inherit; }
.ubo-slider .ubo-slider__text a { color: inherit; text-decoration: underline; }
.ubo-slider__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.is-center .ubo-slider__buttons { justify-content: center; }
.is-right .ubo-slider__buttons { justify-content: flex-end; }
.ubo-slider .ubo-slider__button { display: inline-block; padding: 12px 28px; background: var(--ubo-btn-bg, #fff); color: var(--ubo-btn-color, #111); font-size: 17px; line-height: 1.3; text-decoration: none; }
.ubo-slider .ubo-slider__button:hover { filter: brightness(.92); }
.ubo-slider .ubo-slider__button--second { background: none; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.ubo-slider .ubo-slider__nav { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; align-items: center; pointer-events: none; }
.ubo-slider button { min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: pointer; display: grid; place-items: center; pointer-events: auto; }
.ubo-slider__dot, .ubo-slider__toggle { width: 28px; height: 28px; }
.ubo-slider__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); opacity: .55; }
.ubo-slider__dot[aria-current="true"]::before { opacity: 1; }
.ubo-slider__toggle::before { content: ""; box-sizing: content-box; width: 4px; height: 12px; border: solid #fff; border-width: 0 3px; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .6)); }
.ubo-slider__toggle.is-paused::before { width: 0; height: 0; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; }
.ubo-slider .ubo-slider__arrow { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; background: rgba(0, 0, 0, .35); }
.ubo-slider__arrow--prev { left: 12px; }
.ubo-slider__arrow--next { right: 12px; }
.ubo-slider__arrow::before { content: ""; width: 12px; height: 12px; border: solid #fff; border-width: 2px 0 0 2px; transform: translateX(3px) rotate(-45deg); }
.ubo-slider__arrow--next::before { transform: translateX(-3px) rotate(135deg); }
.ubo-slider :focus-visible { outline: 2px solid #fff; outline-offset: -2px; box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .6); }
@media (max-width: 1023px) {
	.ubo-slider { height: var(--ubo-h-tablet, var(--ubo-h, 600px)); }
	.ubo-slider__body { left: var(--ubo-x-t, 0); top: var(--ubo-y-t, 0); }
	.ubo-slider .ubo-slider__title { font-size: var(--ubo-title-t, var(--ubo-title, 48px)); line-height: var(--ubo-title-line-t, 1.15); }
	.ubo-slider .ubo-slider__text { font-size: var(--ubo-text-t, var(--ubo-text, 20px)); }
}
/* Slider Revolution's portrait tablet. */
@media (max-width: 777px) {
	.ubo-slider { height: var(--ubo-h-portrait, var(--ubo-h, 600px)); }
	.ubo-slider__body { left: var(--ubo-x-p, 0); top: var(--ubo-y-p, 0); }
	.ubo-slider .ubo-slider__title { font-size: var(--ubo-title-p, 48px); line-height: var(--ubo-title-line-p, 1.15); }
	.ubo-slider .ubo-slider__text { font-size: var(--ubo-text-p, 20px); }
}
@media (max-width: 640px) {
	.ubo-slider:not(.is-fluid) { height: var(--ubo-h-mobile, 480px); }
	.ubo-slider:not(.is-fluid) .ubo-slider__title { font-size: var(--ubo-title-m, 32px); line-height: var(--ubo-title-line-m, 1.15); }
	.ubo-slider:not(.is-fluid) .ubo-slider__text { font-size: var(--ubo-text-m, 17px); }
	.ubo-slider__slide { --ubo-pad-x: 16px; --ubo-pad-y: 24px; }
	.ubo-slider:not(.is-fluid) .ubo-slider__body { left: var(--ubo-x-m, 0); top: var(--ubo-y-m, 0); }
	.ubo-slider:not(.is-fluid) .m-left > .ubo-slider__content { justify-content: flex-start; }
	.ubo-slider:not(.is-fluid) .m-center > .ubo-slider__content { justify-content: center; }
	.ubo-slider:not(.is-fluid) .m-right > .ubo-slider__content { justify-content: flex-end; }
	.ubo-slider__arrow { display: none !important; }
	.has-panel > .ubo-slider__content > .ubo-slider__body { padding: 20px; }
}
/* Scaling sliders keep Slider Revolution's phone width. */
@media (max-width: 480px) {
	.ubo-slider.is-fluid { height: var(--ubo-h-mobile, 480px); }
	.ubo-slider.is-fluid .ubo-slider__body { left: var(--ubo-x-m, 0); top: var(--ubo-y-m, 0); }
	.ubo-slider.is-fluid .m-left > .ubo-slider__content { justify-content: flex-start; }
	.ubo-slider.is-fluid .m-center > .ubo-slider__content { justify-content: center; }
	.ubo-slider.is-fluid .m-right > .ubo-slider__content { justify-content: flex-end; }
	.ubo-slider.is-fluid .ubo-slider__title { font-size: var(--ubo-title-m, 32px); line-height: var(--ubo-title-line-m, 1.15); }
	.ubo-slider.is-fluid .ubo-slider__text { font-size: var(--ubo-text-m, 17px); }
}
@media (prefers-reduced-motion: reduce) {
	.ubo-slider__track { scroll-behavior: auto; }
}
.ubo-slider.ubo-slider.is-fullscreen { height: 100vh; height: 100svh; }
