/* AH Course Spotlight: a navy offer with the course's copy and steps beside a white price card. */

.ah-cs {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(320px, 400px);
	gap: 48px;
	align-items: start;
	padding: 48px;
	overflow: hidden;
	border-radius: var(--ah-r-card);
	background:
		radial-gradient(60% 80% at 100% 0%, rgba(197, 165, 114, .2), transparent 62%),
		radial-gradient(50% 60% at 0% 100%, rgba(79, 111, 181, .18), transparent 60%),
		linear-gradient(160deg, var(--ah-navy), var(--ah-deep));
	box-shadow: var(--ah-shadow-dark);
	color: var(--ah-on-navy);
	isolation: isolate;
}
.ah-cs::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(rgba(232, 201, 136, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(232, 201, 136, .055) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: radial-gradient(90% 90% at 30% 20%, #000, transparent 75%);
	-webkit-mask-image: radial-gradient(90% 90% at 30% 20%, #000, transparent 75%);
}

/* the copy: its top (title, promise) and the rest (steps, audience) sit in one column beside the card */
.ah-cs { grid-template-areas: "copy card" "more card"; grid-template-rows: auto 1fr; row-gap: 0; }
.ah-cs .ah-cs__copy { grid-area: copy; min-width: 0; }
.ah-cs .ah-cs__more { grid-area: more; min-width: 0; }
.ah-cs .ah-cs__card { grid-area: card; }
.ah-cs .ah-cs__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.ah-cs .ah-cs__kicker { padding: 5px 14px; border: 1px solid rgba(232, 201, 136, .32); border-radius: 999px; background: rgba(232, 201, 136, .1); font-size: .82rem; font-weight: 700; line-height: 1.6; color: var(--ah-gold-hi); }
.ah-cs .ah-cs__status { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--ah-on-navy-muted); }
.ah-cs .ah-cs__status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #5BC08A; }
.ah-cs .ah-cs__status i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(91, 192, 138, .45); animation: ah-cs-ping 2.2s var(--ah-ease) infinite; }
@keyframes ah-cs-ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.ah-cs .ah-cs__title { margin: 0; max-width: 24ch; font-family: var(--ah-f-display); font-size: clamp(1.7rem, 2.8vw, 2.45rem); font-weight: 700; line-height: 1.35; color: #fff; }
.ah-cs .ah-cs__promise { max-width: 60ch; margin: 16px 0 0; font-size: 1.06rem; line-height: 1.9; color: var(--ah-on-navy-muted); }
.ah-cs .ah-cs__h { margin: 34px 0 14px; font-size: .9rem; font-weight: 700; color: var(--ah-gold-hi); }

/* the steps: a line through gold numbers */
.ah-cs .ah-cs__steps { position: relative; display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ah-cs .ah-cs__steps::before { content: ""; position: absolute; inset-block: 18px 18px; inset-inline-start: 17px; width: 1px; background: linear-gradient(180deg, rgba(232, 201, 136, .55), rgba(232, 201, 136, .08)); }
.ah-cs .ah-cs__step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; align-items: start; padding: 10px 12px 10px 0; border-radius: var(--ah-r-sm); transition: background-color .3s; }
[dir="ltr"] .ah-cs .ah-cs__step { padding: 10px 0 10px 12px; }
.ah-cs .ah-cs__step:hover { background: rgba(255, 255, 255, .04); }
.ah-cs .ah-cs__no { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(232, 201, 136, .4); border-radius: 50%; background: var(--ah-deep); font-family: var(--ah-f-mono); font-size: .78rem; font-weight: 600; color: var(--ah-gold-hi); }
.ah-cs .ah-cs__step div { display: grid; gap: 2px; padding-top: 2px; min-width: 0; }
.ah-cs .ah-cs__step small { font-size: .74rem; font-weight: 600; color: var(--ah-on-navy-muted); opacity: .85; }
.ah-cs .ah-cs__step b { font-family: var(--ah-f-display); font-size: 1.05rem; font-weight: 700; line-height: 1.5; color: #fff; }
.ah-cs .ah-cs__step span { font-size: .92rem; line-height: 1.75; color: var(--ah-on-navy-muted); }

.ah-cs .ah-cs__for { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ah-cs .ah-cs__for li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--ah-line-navy); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: .88rem; line-height: 1.6; color: var(--ah-on-navy); }
.ah-cs .ah-cs__for li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ah-gold); }

/* the price card */
.ah-cs .ah-cs__card { position: sticky; top: 104px; overflow: hidden; border-radius: var(--ah-r-lg); background: var(--ah-card, #fff); box-shadow: 0 30px 60px -24px rgba(4, 10, 28, .6), 0 0 0 1px rgba(232, 201, 136, .25); color: var(--ah-ink); }
.ah-cs .ah-cs__pic { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ah-navy); }
.ah-cs .ah-cs__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.2s var(--ah-ease); }
.ah-cs .ah-cs__card:hover .ah-cs__img { transform: scale(1.04); }
.ah-cs .ah-cs__cin { display: grid; gap: 12px; padding: 22px 24px 24px; }
.ah-cs .ah-cs__plabel { margin: 0; font-size: .82rem; font-weight: 600; color: var(--ah-soft); }
.ah-cs .ah-cs__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: -4px 0 0; }
.ah-cs .ah-cs__now { font-family: var(--ah-f-display); font-size: 2.3rem; font-weight: 800; line-height: 1.2; color: var(--ah-navy); }
.ah-cs .ah-cs__now .ah-cur { font-size: 1.05rem; font-weight: 700; }
.ah-cs .ah-cs__was { font-size: 1.02rem; color: var(--ah-soft); text-decoration-thickness: 1.5px; }
.ah-cs .ah-cs__save { justify-self: start; margin: 0; padding: 4px 12px; border-radius: 999px; background: rgba(63, 143, 134, .12); font-size: .84rem; font-weight: 700; color: #2E6F68; }
.ah-cs .ah-cs__pnote { margin: 0; font-size: .86rem; line-height: 1.7; color: var(--ah-muted); }
.ah-cs .ah-cs__buy.ah-btn { justify-content: center; width: 100%; margin-top: 4px; padding-block: 15px; font-size: 1.02rem; }
.ah-cs .ah-cs__preview { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--ah-ink-gold); text-decoration: none; }
.ah-cs .ah-cs__preview:hover { text-decoration: underline; text-underline-offset: 4px; }
.ah-cs .ah-cs__preview .ah-btn__arr { width: 14px; height: 14px; }
.ah-cs .ah-cs__get { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--ah-card-line); }
.ah-cs .ah-cs__gh { margin: 0 0 10px; font-size: .86rem; font-weight: 700; color: var(--ah-navy); }
.ah-cs .ah-cs__get ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ah-cs .ah-cs__get li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .9rem; line-height: 1.65; color: var(--ah-ink); }
.ah-cs .ah-cs__get li svg { margin-top: 4px; color: var(--ah-ink-gold); }
.ah-cs .ah-cs__pay { margin: 4px 0 0; padding: 12px 14px; border-radius: var(--ah-r-sm); background: var(--ah-tint); font-size: .8rem; line-height: 1.75; color: var(--ah-muted); }
.ah-cs .ah-cs__policy { color: var(--ah-ink-gold); font-weight: 700; }

@media (max-width: 1200px) {
	.ah-cs { gap: 36px; padding: 40px; }
}
@media (max-width: 1024px) {
	.ah-cs { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "card" "more"; grid-template-rows: auto; row-gap: 28px; }
	.ah-cs .ah-cs__card { position: relative; top: 0; max-width: 560px; }
	.ah-cs .ah-cs__more .ah-cs__h:first-child { margin-top: 0; }
}
@media (max-width: 767px) {
	.ah-cs { gap: 28px; padding: 28px 20px; border-radius: var(--ah-r-lg); }
	.ah-cs .ah-cs__promise { font-size: 1rem; }
	.ah-cs .ah-cs__step { gap: 12px; }
	.ah-cs .ah-cs__cin { padding: 20px 18px 20px; }
	.ah-cs .ah-cs__now { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ah-cs .ah-cs__status i::after { animation: none; }
	.ah-cs .ah-cs__img { transition: none; }
	.ah-cs .ah-cs__card:hover .ah-cs__img { transform: none; }
}
