/* =======================================================================
 * ax-academy-tiers — Academy CORE / PRO / ADVANCE
 * Desktop (Figma 2390-84): stacked 1126x390 bands, radius 26, faint line
 * texture at 15%; 474x356 photo left (radius 25, purple gradient overlay,
 * logo top-left); Inter Bold 36 #444192 title + Montserrat 16/1.74 body.
 * Mobile (2390-139 closed / 2390-140 open): accordion — closed = purple
 * #444192 pill 66px r77, white 21px title, purple circle w/ white plus;
 * open = white card r32, purple title, green #00bd87 circle w/ minus,
 * image + gradient + logo, 15px #292929 body.
 * #top-prefixed to beat Enfold.
 * ==================================================================== */

#top .ax-tiers {
	max-width: 100%;
	margin: 0 auto;
	font-family: "Montserrat", sans-serif;
}

#top .ax-tiers * {
	box-sizing: border-box;
}

#top .ax-tiers__item {
	position: relative;
	margin: 0 0 65px;
	border-radius: 26px;
	background: #ffffff;
	overflow: hidden;
	transition: box-shadow .2s ease;
}

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

#top .ax-tiers__item:last-child {
	margin-bottom: 0;
}

/* faint line texture (same art as the newsletter card) */
#top .ax-tiers__item::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-image: url(/wp-content/uploads/2026/06/9-13.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0.15;
	pointer-events: none;
}

/* mobile-only header */
#top .ax-tiers__head {
	display: none;
}

/* ---- desktop band layout ---- */
#top .ax-tiers__panel {
	position: relative;
	z-index: 1;
}

#top .ax-tiers__panel-inner {
	display: flex;
	align-items: center;
	gap: 60px;
	padding: 17px;
	min-height: 390px;
	background-image: url(/wp-content/uploads/2026/06/9-13.png);
	background-position: center bottom -120px;
	background-repeat: repeat;
    background-size: 1000px;
}

#top .ax-tiers__media {
	position: relative;
	flex: 0 0 474px;
	width: 474px;
	height: 356px;
	border-radius: 25px;
	overflow: hidden;
}

#top .ax-tiers__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#top .ax-tiers__grad {
	position: absolute;
	inset: 0;
	background: linear-gradient(316deg, rgba(255, 255, 255, 0) 38.65%, rgba(68, 65, 146, 0.6) 85.9%);
	pointer-events: none;
}

#top .ax-tiers__logo {
	position: absolute;
	top: 24px;
	left: 28px;
	width: 56px;
	height: auto;
	z-index: 2;
}

#top .ax-tiers__text {
	flex: 1 1 auto;
	max-width: 100%;
	padding-right: 40px;
}

#top .ax-tiers__title {
	margin: 0 0 26px !important;
	padding: 0;
	font-family: "Inter", sans-serif !important;
	font-weight: 700 !important;
	font-size: 36px !important;
	line-height: 1.19 !important;
	color: #444192 !important;
}

#top .ax-tiers__body,
#top .ax-tiers__body p {
	margin: 0;
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.74;
	color: #1a1a1a;
}

#top .ax-tiers__body p + p {
	margin-top: 12px;
}

/* ---- toggle icon (plus -> minus), used on mobile ---- */
#top .ax-tiers__toggle {
	position: relative;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #444192;
	border: 1px solid #ffffff;
	transition: background 0.25s ease;
}

#top .ax-tiers__toggle::before,
#top .ax-tiers__toggle::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	background: #ffffff;
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

#top .ax-tiers__toggle::before {
	width: 12px;
	height: 2px;
}

#top .ax-tiers__toggle::after {
	width: 2px;
	height: 12px;
}

/* ---- mobile accordion ---- */
@media only screen and (max-width: 989px) {
	#top .ax-tiers__item {
		margin: 0 0 20px;
		border-radius: 77px;
		background: #444192;
		transition: background 0.3s ease, border-radius 0.3s ease;
	}

	#top .ax-tiers__item::before {
		display: none;
	}

	#top .ax-tiers__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 66px;
		margin: 0;
		padding: 0 19px 0 34px !important;
		background: none !important;
		border: none !important;
		cursor: pointer;
		text-align: left;
	}

	#top .ax-tiers__head-title {
		font-family: "Inter", sans-serif !important;
		font-weight: 700 !important;
		font-size: 21px !important;
		line-height: 1.212;
		color: #ffffff;
		transition: color 0.3s ease;
	}

	#top .ax-tiers__panel {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s ease;
	}

	#top .ax-tiers__panel-inner {
		display: block;
		min-height: 0;
		padding: 0 22px 26px;
		background-image: unset !important;
	}

	#top .ax-tiers__media {
		flex: none;
		width: 100%;
		height: auto;
		aspect-ratio: 316 / 183;
	}

	#top .ax-tiers__grad {
		background: linear-gradient(316deg, rgba(255, 255, 255, 0) 38.65%, rgba(68, 65, 146, 0.6) 85.9%);
	}

	#top .ax-tiers__logo {
		top: 17px;
		left: 22px;
		width: 38px;
	}

	#top .ax-tiers__text {
		max-width: none;
		padding: 20px 18px 0;
	}

	/* the mobile header carries the title */
	#top .ax-tiers__title {
		display: none;
	}

	#top .ax-tiers__body,
	#top .ax-tiers__body p {
		font-size: 15px;
		line-height: 1.6;
		color: #292929;
	}

	/* ---- open state: white card ---- */
	#top .ax-tiers__item.is-open {
		border-radius: 32px;
		background: #ffffff;
		box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
	}

	#top .ax-tiers__item.is-open .ax-tiers__head-title {
		color: #444192;
	}

	#top .ax-tiers__item.is-open .ax-tiers__toggle {
		background: #00bd87;
	}

	#top .ax-tiers__item.is-open .ax-tiers__toggle::after {
		transform: translate(-50%, -50%) scaleY(0);
		opacity: 0;
	}
}
