.wp-block-tpx-expanding-feature-pills {
	--tpx-feature-expanded-width: 423px;
	--tpx-feature-gap: 12px;
	aspect-ratio: 5 / 3;
	background: var(--wp--preset--color--almost-black, #212121);
	border-radius: 20px;
	box-sizing: border-box;
	color: var(--wp--preset--color--smoke, #F2F2F2);
	max-width: var(--wp--style--global--wide-size, 1550px);
	overflow: clip;
	position: relative;
	width: 100%;
}

.wp-block-tpx-expanding-feature-pills.alignfull {
	max-width: none;
}

.wp-block-tpx-expanding-feature-pills,
.wp-block-tpx-expanding-feature-pills * {
	box-sizing: border-box;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__layout {
	align-items: stretch;
	display: flex;
	height: 100%;
	position: relative;
	width: 100%;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__column {
	flex: 0 0 auto;
	min-width: 0;
	position: relative;
	width: 50%;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__collection {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	padding: 40px 24px 40px clamp(64px, 6.25vw, 90px);
	width: 100%;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__list {
	align-items: flex-start;
	display: flex;
	flex: none;
	flex-direction: column;
	gap: var(--tpx-feature-gap);
	list-style: none;
	margin: 0;
	max-width: var(--tpx-feature-expanded-width);
	padding: 0;
	width: 100%;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__item {
	flex: none;
	margin: 0;
	max-width: 100%;
	padding: 0;
	position: relative;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__item-bg {
	background: rgb(42 42 45 / 72%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 28px;
	inset: 0;
	position: absolute;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__button {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 2em;
	color: inherit;
	cursor: pointer;
	display: flex;
	font: inherit;
	gap: 14px;
	height: 56px;
	justify-content: flex-start;
	margin: 0;
	max-width: 100%;
	opacity: 1;
	padding: 0 32px 0 14px;
	width: max-content;
	position: relative;
	text-align: left;
	transition: opacity 400ms ease-in-out 350ms;
	z-index: 1;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__button:focus-visible,
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__close-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__label,
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__expanded-title,
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__body {
	font-family: var(--wp--preset--font-family--aktiv-grotesk, aktiv-grotesk, sans-serif);
	font-size: 17px;
	font-weight: 400;
	letter-spacing: -0.015em;
	line-height: 1.470588;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__label {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 600;
	line-height: 1.235364;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-break: keep-all;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__icon {
	align-items: center;
	aspect-ratio: 1;
	background: transparent;
	border: 1px solid currentColor;
	order: -1;
	border-radius: 50%;
	display: flex;
	flex: 0 0 auto;
	justify-content: center;
	position: relative;
	width: 24px;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__icon-bar {
	background: currentColor;
	height: 50%;
	position: absolute;
	width: 1px;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__icon-bar--horizontal {
	height: 1px;
	width: 50%;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__content {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__mask {
	height: 100%;
	overflow: hidden;
	width: 100%;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__inner {
	display: block;
	max-width: none;
	opacity: 0;
	padding: 28px;
	overflow-wrap: anywhere;
	transform: translateY(28px);
	transition: opacity 300ms ease-in-out, transform 400ms ease-in-out;
	width: 100%;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__expanded-title,
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__body {
	margin: 0;
	display: inline;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__expanded-title {
	font-weight: 600;
	margin-right: 0.28em;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__body {
	color: #f5f5f7;
	margin-top: 0;
}

.wp-block-tpx-expanding-feature-pills [data-feature-pills-item][data-active="true"] .tpx-feature-pills__button {
	opacity: 0;
	transition: opacity 50ms ease-in-out;
}

.wp-block-tpx-expanding-feature-pills [data-feature-pills-item][data-active="true"] .tpx-feature-pills__inner {
	opacity: 1;
	transform: translateY(0);
	transition: opacity 600ms ease-in-out 250ms, transform 400ms ease-in-out;
}

.wp-block-tpx-expanding-feature-pills [data-feature-pills-item][data-active="true"] .tpx-feature-pills__content {
	pointer-events: auto;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__visual-list,
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__visual,
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__cover {
	height: 100%;
	width: 100%;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__column--visual {
	height: 100%;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__visual-list {
	overflow: hidden;
	position: relative;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__visual,
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__cover {
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 350ms ease-in-out;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__cover {
	opacity: 1;
	z-index: 1;
}

.wp-block-tpx-expanding-feature-pills [data-feature-pills-visual][data-active="true"] {
	opacity: 1;
}

.wp-block-tpx-expanding-feature-pills [data-feature-pills-cover][data-active="false"] {
	opacity: 0;
	pointer-events: none;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__image,
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__image-placeholder {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__image-placeholder {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 55%),
		var(--wp--preset--color--charcoal, #171717);
	color: rgba(255, 255, 255, 0.6);
	display: flex;
	justify-content: center;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__close {
	position: absolute;
	right: 1em;
	top: 1em;
	z-index: 3;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__close-button {
	-webkit-backdrop-filter: blur(10px);
	align-items: center;
	aspect-ratio: 1;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	border-radius: 50%;
	color: var(--wp--preset--color--white, #fff);
	cursor: pointer;
	display: flex;
	justify-content: center;
	opacity: 0;
	padding: 8px;
	pointer-events: none;
	transform: rotate(45deg);
	scale: 0;
	translate: 0 120px;
	transition: scale 300ms cubic-bezier(.25, 1, .5, 1), translate 600ms cubic-bezier(.25, 1, .5, 1), opacity 300ms;
	width: 36px;
	height: 36px;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__close-button > .tpx-feature-pills__icon {
	background: transparent;
	border: 0;
	height: 100%;
	width: 100%;
}

.wp-block-tpx-expanding-feature-pills[data-feature-pills-active="true"] .tpx-feature-pills__close-button {
	opacity: 1;
	pointer-events: auto;
	scale: 1;
	translate: 0 0;
}

/* Use the block width, including when placed in a narrow desktop column. */
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] {
	aspect-ratio: auto;
	height: clamp(520px, 106.667vw, 760px);
	touch-action: auto;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__layout { display: block; }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__column { width: 100%; }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__column--info {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__column--visual {
	inset: 0;
	position: absolute;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__collection {
	background: linear-gradient(to top, rgba(23,23,23,.62), transparent);
	bottom: 0;
	height: auto;
	padding: 80px 0 20px;
	pointer-events: none;
	position: absolute;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__list {
	align-items: flex-end;
	flex-flow: row nowrap;
	max-width: none;
	overflow-x: auto;
	overflow-y: hidden;
	pointer-events: auto;
	scroll-snap-type: none;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	touch-action: auto;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__list::-webkit-scrollbar { display: none; }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__item {
	max-width: none;
	scroll-snap-align: center;
	scroll-snap-stop: normal;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__button { max-width: calc(100vw - 40px); }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__inner { padding: 24px; }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__label,
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__expanded-title,
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__body {
	font-size: 14px;
	line-height: 1.428591;
}

.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__nav {
	pointer-events: none;
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 20px;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: clamp(64px, 6.25vw, 90px);
	z-index: 4;
}
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__nav[hidden] { display: none; }
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__nav {
	opacity: 0;
	scale: 0;
	translate: 0 120px;
	visibility: hidden;
	transition: scale 300ms cubic-bezier(.25, 1, .5, 1), translate 600ms cubic-bezier(.25, 1, .5, 1), opacity 300ms, visibility 0ms 300ms;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-active="true"] .tpx-feature-pills__nav {
	opacity: 1;
	scale: 1;
	translate: 0 0;
	visibility: visible;
	transition: scale 300ms cubic-bezier(.25, 1, .5, 1), translate 600ms cubic-bezier(.25, 1, .5, 1), opacity 300ms, visibility 0ms;
}
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__arrow {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 22px;
	color: #f5f5f7;
	cursor: pointer;
	display: flex;
	height: 44px;
	justify-content: center;
	padding: 0;
	pointer-events: auto;
	touch-action: manipulation;
	width: 44px;
}
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__arrow > span {
	background: rgb(42 42 45 / 72%);
	backdrop-filter: blur(20px);
	border-radius: 50%;
	display: block;
	height: 36px;
	width: 36px;
}
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__arrow svg {
	display: block;
	fill: none;
	height: 36px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
	transform: rotate(90deg);
	width: 36px;
}
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__arrow--next svg { transform: rotate(-90deg); }
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__arrow:disabled { cursor: default; opacity: .42; }
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__arrow:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__nav {
	bottom: max(20px, env(safe-area-inset-bottom));
	height: 56px;
	left: 50%;
	top: auto;
	transform: translateX(-50%);
	width: var(--tpx-feature-card-width);
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__arrow {
	border-radius: 0;
	height: 56px;
	position: absolute;
	top: 0;
	width: max(40px, calc((100vw - var(--tpx-feature-card-width)) / 2));
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__arrow--prev { right: 100%; justify-content: flex-end; padding-right: 4px; }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__arrow--next { left: 100%; justify-content: flex-start; padding-left: 4px; }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__arrow > span { background: transparent; backdrop-filter: none; }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__arrow svg { transform: none; }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__arrow--next svg { transform: rotate(180deg); }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__arrow:disabled { visibility: hidden; }
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__list.is-dragging,
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__list.is-positioning { scroll-snap-type: none; }
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__list.is-dragging { user-select: none; cursor: grabbing; }
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__status {
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}
@media (hover: hover) {
	.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__arrow:not(:disabled):hover > span,
	.wp-block-tpx-expanding-feature-pills [data-active="false"]:hover > .tpx-feature-pills__item-bg { background: rgb(42 42 45 / 92%); }
}


/* The mobile tour keeps full-width cards on the track; outgoing cards slide
   away while their labels/content fade, instead of disappearing instantly. */
.wp-block-tpx-expanding-feature-pills[data-initialised="true"] .tpx-feature-pills__item { max-width: none; }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__button {
	transform: translateY(0) scale(1);
	transition: opacity 300ms ease-out 200ms, transform 300ms ease-out 200ms;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"][data-feature-pills-active="true"] .tpx-feature-pills__button {
	opacity: 0;
	pointer-events: none;
	transform: translateY(0) scale(.8);
	transition: opacity 200ms ease-out, transform 300ms ease-out;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__inner {
	transform: translateY(24px);
	transition: opacity 200ms ease-out, transform 300ms ease-out;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] [data-active="true"] .tpx-feature-pills__inner {
	transform: translateY(0);
	transition: opacity 420ms ease-out, transform 420ms ease-out;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"][data-feature-pills-opening="true"] [data-active="true"] .tpx-feature-pills__inner {
	transition-delay: 200ms, 0ms;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__item-bg {
	transition: opacity 320ms ease-out, transform 500ms ease-out;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"][data-feature-pills-active="true"] [data-active="false"] .tpx-feature-pills__item-bg {
	opacity: 0;
	transform: scale(.8);
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-mobile="true"] .tpx-feature-pills__nav {
	translate: 0 0;
	transition-duration: 300ms, 300ms, 300ms, 0ms;
}
/* Mobile controls follow the viewport bottom within this block only. */
.wp-block-tpx-expanding-feature-pills[data-initialised="true"][data-feature-pills-mobile="true"] .tpx-feature-pills__column--info {
	display: flex;
	flex-direction: column;
}
.wp-block-tpx-expanding-feature-pills[data-initialised="true"][data-feature-pills-mobile="true"] .tpx-feature-pills__collection {
	bottom: 0;
	flex: none;
	height: auto;
	margin-top: auto;
	padding-top: 80px;
	padding-bottom: max(20px, env(safe-area-inset-bottom));
	position: sticky;
}
.wp-block-tpx-expanding-feature-pills[data-initialised="true"][data-feature-pills-mobile="true"] .tpx-feature-pills__collection > .tpx-feature-pills__close {
	right: 24px;
	top: 24px;
	pointer-events: auto;
}
/* Hide the finished pills before the one-circle entrance starts. The
   backgrounds use real widths so the shared 56px origin remains circular. */
.wp-block-tpx-expanding-feature-pills .tpx-feature-pills__intro-circle {
	background: rgb(42 42 45 / 72%);
	border-radius: 50%;
	display: none;
	height: 56px;
	pointer-events: none;
	position: absolute;
	width: 56px;
}
.wp-block-tpx-expanding-feature-pills[data-feature-pills-intro="playing"] .tpx-feature-pills__intro-circle { display: block; }
.wp-block-tpx-expanding-feature-pills[data-feature-pills-intro] .tpx-feature-pills__item-bg,
.wp-block-tpx-expanding-feature-pills[data-feature-pills-intro] .tpx-feature-pills__button {
	opacity: 0;
	transition: none;
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-tpx-expanding-feature-pills *,
	.wp-block-tpx-expanding-feature-pills [data-feature-pills-item] .tpx-feature-pills__inner {
		transition-duration: 0ms !important;
		transition-delay: 0ms !important;
	}
}


/* GSAP owns mobile drag/glide. Cards move via transforms, with no native
   scroll snapping competing with the spring. Vertical page scroll stays native. */
.wp-block-tpx-expanding-feature-pills[data-initialised="true"][data-feature-pills-mobile="true"],
.wp-block-tpx-expanding-feature-pills[data-initialised="true"][data-feature-pills-mobile="true"] .tpx-feature-pills__list {
	touch-action: pan-y pinch-zoom;
}
.wp-block-tpx-expanding-feature-pills[data-initialised="true"][data-feature-pills-mobile="true"] .tpx-feature-pills__list {
	/* Own drags started on the controls: a diagonal swipe must not become
	   a browser pan and cancel the horizontal gesture. Image/page stay pan-y. */
	touch-action: pinch-zoom;
	display: block;
	overflow: visible;
	scroll-snap-type: none;
	padding: 0 !important;
	position: relative;
	user-select: none;
	-webkit-user-select: none;
}
.wp-block-tpx-expanding-feature-pills[data-initialised="true"][data-feature-pills-mobile="true"] .tpx-feature-pills__item {
	bottom: 0;
	left: 0;
	position: absolute;
	will-change: transform;
}
.wp-block-tpx-expanding-feature-pills[data-initialised="true"][data-feature-pills-mobile="true"] .tpx-feature-pills__list.is-dragging .tpx-feature-pills__inner,
.wp-block-tpx-expanding-feature-pills[data-initialised="true"][data-feature-pills-mobile="true"] .tpx-feature-pills__list.is-dragging .tpx-feature-pills__item-bg {
	transition: none;
}
