#top .ax-is {
	--ax-purple: #444192;
	--ax-lilac: #f3f1f8;
	width: 100%;
	height: 100%;
}
#top .ax-is__card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: 17px;
	border-radius: 24px;
	background: #fff;
	background-image: url(/wp-content/uploads/2026/07/9-9.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 102%;
	transition: box-shadow .2s ease;
}

#top .ax-is__card:hover {
	box-shadow: -2px 3px 10px 0 rgba(0, 0, 0, 0.1);
}

/* ---- stage ---------------------------------------------------------- */
#top .ax-is__stage {
	position: relative;
	overflow: hidden;
	border-radius: 25px;
	background: var(--ax-purple);
	aspect-ratio: 503 / 287;
}
#top .ax-is__deck {
	position: absolute;
	left: 50%;
	top: 38%;
	width: 415px;
	max-width: 82.5%;
	margin: 0;
	padding: 0;
	list-style: none;
	transform: translate(-50%, -30%);
}
/* Base = "deeper than the third card": hidden behind the stack. The
   data-pos rules below promote the three visible ones. */
#top .ax-is__story {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
	width: 100%;
	margin: 0;
	border-radius: 25px;
	background: var(--ax-lilac);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-110px) scale(0.45);
	transform-origin: 50% 50%;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.6s ease, background-color 0.6s ease;
	will-change: transform, opacity;
}
#top .ax-is__story[data-pos="0"],
#top .ax-is__story[data-pos="1"],
#top .ax-is__story[data-pos="2"] {
	pointer-events: auto;
}
#top .ax-is__story[data-pos="0"] {
	z-index: 3;
	opacity: 1;
	background: #fff;
	transform: translateY(0) scale(1);
}
#top .ax-is__story[data-pos="1"] {
	z-index: 2;
	opacity: 0.83;
	transform: translateY(-45px) scale(0.805);
}
#top .ax-is__story[data-pos="2"] {
	z-index: 1;
	opacity: 0.69;
	transform: translateY(-86px) scale(0.571);
}
/* Outgoing front card: slides down out of the stage (clipped by the stage's
   overflow:hidden) rather than shrinking backwards into the stack. */
#top .ax-is__story[data-pos="exit"] {
	z-index: 4;
	opacity: 0;
	background: #fff;
	pointer-events: none;
	transform: translateY(180px) scale(1);
}
/* Teleport to the back of the stack without animating the journey... */
#top .ax-is__story.is-resetting {
	transition: none !important;
}
/* ...then fade in on arrival. */
#top .ax-is__story.is-entering {
	opacity: 0 !important;
}
/* ---- story card ----------------------------------------------------- */
#top .ax-is__story-link {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 13px;
	text-decoration: none !important;
}
#top .ax-is__thumb-wrap {
	flex: 0 0 auto;
	display: block;
	width: 108px;
	height: 108px;
	overflow: hidden;
	border-radius: 25px;
}
#top .ax-is__thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#top .ax-is__story-text {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}
#top .ax-is__story-name {
	font-family: "Montserrat", sans-serif;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 1.95px;
	text-transform: uppercase;
	color: #000;
}
#top .ax-is__story-title {
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ax-purple);
}
/* ---- pause / play --------------------------------------------------- */
#top .ax-is__toggle {
	position: absolute;
	left: 20px;
	bottom: 20px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32.051px;
	height: 32.051px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.52);
	border-radius: 77px;
	background: rgba(255, 255, 255, 0.15);
	-webkit-backdrop-filter: blur(4.95px);
	backdrop-filter: blur(4.95px);
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.25s ease;
}
#top .ax-is__toggle:hover {
	background: rgba(255, 255, 255, 0.3);
}
#top .ax-is__toggle:focus-visible {
	outline: 2px solid #00bd87;
	outline-offset: 3px;
}
#top .ax-is__toggle-icon svg {
	display: block;
	width: 10px;
	height: 11px;
}
#top .ax-is__toggle-icon--play {
	display: none;
}
/* aria-pressed="true" == paused. */
#top .ax-is__toggle[aria-pressed="true"] .ax-is__toggle-icon--pause {
	display: none;
}
#top .ax-is__toggle[aria-pressed="true"] .ax-is__toggle-icon--play {
	display: block;
}
/* ---- text ----------------------------------------------------------- */
#top .ax-is__text {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 46px 28px 26px;
}
#top .ax-is__text .av-special-heading {
	padding-bottom: 0;
}
#top .ax-is__text .main_section_title {
	max-width: 545px;
}
#top .ax-is__actions {
	margin-top: auto;
	padding-top: 20px;
}
/* ---- responsive ----------------------------------------------------- */
@media only screen and (max-width: 767px) {
	#top .ax-is__card {
		padding: 14px;
		border-radius: 20px;
	}
	#top .ax-is__text {
		padding: 32px 10px 16px;
	}
	#top .ax-is__desc {
		max-width: none;
	}
	#top .ax-is__story-link {
		gap: 14px;
		padding: 10px;
	}
	#top .ax-is__thumb-wrap {
		width: 80px;
		height: 80px;
		border-radius: 18px;
	}
	#top .ax-is__story-name {
		font-size: 12px;
		letter-spacing: 1.4px;
	}
	#top .ax-is__story-title {
		font-size: 16px;
	}
	
	#top .ax-is__toggle {
        left: 10px;
        bottom: 10px;
        width: 28px;
        height: 28px;
    }
	
	#top .ax-is__actions {
		padding-top: 28px;
	}
	
	#top .ax-is__stage {
		height: 218px;
	}
	
	#top .ax-is__card {
		background-size: 700px;
	}
}
/* Rotation is motion. Honour the preference: JS starts paused, and the
   position swap becomes an instant cut rather than a slide. */
@media (prefers-reduced-motion: reduce) {
	#top .ax-is__story,
	#top .ax-is__toggle,
	#top .ax-is__btn {
		transition: none;
	}
}