/* ==========================================================================
   Trade Academy: home hero, category cards, latest articles
   Markup: template-parts/hero/hero-template-3.php
   ========================================================================== */

body.home {
	overflow-x: clip;
}

.ta-home {
	--ta-text: var(--cs-color-primary, #101D35);
	--ta-muted: var(--cs-color-secondary, #5B6679);
	--ta-border: var(--cs-color-border, #E2E8F0);
	--ta-surface: #FFFFFF;
	--ta-soft: rgba(3, 139, 220, 0.08);
	--ta-soft-border: rgba(3, 139, 220, 0.2);
	--ta-grid-line: rgba(16, 29, 53, 0.05);
	--ta-shadow-sm: 0 1px 2px rgba(16, 29, 53, 0.04), 0 4px 16px rgba(16, 29, 53, 0.05);
	--ta-shadow-md: 0 2px 4px rgba(16, 29, 53, 0.04), 0 16px 40px rgba(16, 29, 53, 0.1);
	--ta-shadow-lg: 0 30px 70px -20px rgba(16, 29, 53, 0.35);
	position: relative;
	color: var(--ta-text);
}

[data-scheme=dark] .ta-home {
	--ta-surface: #101D35;
	--ta-soft: rgba(77, 179, 240, 0.12);
	--ta-soft-border: rgba(77, 179, 240, 0.25);
	--ta-grid-line: rgba(255, 255, 255, 0.04);
	--ta-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
	--ta-shadow-md: 0 16px 40px rgba(0, 0, 0, 0.35);
	--ta-shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}
@media (prefers-color-scheme: dark) {
	[data-scheme=auto] .ta-home {
		--ta-surface: #101D35;
		--ta-soft: rgba(77, 179, 240, 0.12);
		--ta-soft-border: rgba(77, 179, 240, 0.25);
		--ta-grid-line: rgba(255, 255, 255, 0.04);
		--ta-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
		--ta-shadow-md: 0 16px 40px rgba(0, 0, 0, 0.35);
		--ta-shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
	}
}

.ta-home a {
	text-decoration: none;
}
.ta-icon {
	width: 1.25em;
	height: 1.25em;
	flex-shrink: 0;
}

/* ---------- Hero ---------- */

.ta-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: 64px;
	padding: 48px 0 72px;
}

.ta-hero__bg {
	position: absolute;
	z-index: -1;
	top: -1.5rem;
	bottom: -120px;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background:
		radial-gradient(42% 55% at 78% 30%, rgba(3, 139, 220, 0.14), transparent 70%),
		radial-gradient(30% 40% at 8% 0%, rgba(3, 139, 220, 0.08), transparent 70%),
		linear-gradient(var(--ta-grid-line) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, var(--ta-grid-line) 1px, transparent 1px) 0 0 / 56px 56px;
	-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
	mask-image: linear-gradient(to bottom, #000 55%, transparent);
	pointer-events: none;
}

.ta-home .ta-hero__title {
	margin: 0;
	max-width: 12em;
	color: var(--ta-text);
	font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.5rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.045em;
	text-wrap: balance;
}
.ta-home .ta-hero__title span {
	background: linear-gradient(95deg, #038BDC 0%, #0373B8 60%, #1D5FA0 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
[data-scheme=dark] .ta-home .ta-hero__title span {
	background-image: linear-gradient(95deg, #7CC8F5 0%, #38A9EF 50%, #038BDC 100%);
}
@media (prefers-color-scheme: dark) {
	[data-scheme=auto] .ta-home .ta-hero__title span {
		background-image: linear-gradient(95deg, #7CC8F5 0%, #38A9EF 50%, #038BDC 100%);
	}
}

.ta-hero__lead {
	max-width: 34rem;
	margin: 24px 0 0;
	color: var(--ta-muted);
	font-size: 1.1875rem;
	line-height: 1.6;
}

.ta-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.ta-home .ta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 54px;
	padding: 0 26px;
	border-radius: 14px;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.ta-home .ta-btn .ta-icon {
	transition: transform 0.2s ease;
}
.ta-home .ta-btn:hover .ta-icon {
	transform: translateX(3px);
}
.ta-home .ta-btn--primary {
	background: #038BDC;
	color: #FFFFFF;
	box-shadow: 0 10px 24px -8px rgba(3, 139, 220, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.ta-home .ta-btn--primary:hover,
.ta-home .ta-btn--primary:focus-visible {
	background: #0373B8;
	color: #FFFFFF;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px -8px rgba(3, 139, 220, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.ta-home .ta-btn--ghost {
	border: 1px solid var(--ta-border);
	background: var(--ta-surface);
	color: var(--ta-text);
	box-shadow: var(--ta-shadow-sm);
}
.ta-home .ta-btn--ghost:hover,
.ta-home .ta-btn--ghost:focus-visible {
	border-color: #038BDC;
	color: #038BDC;
	transform: translateY(-1px);
}

/* Visual */

.ta-hero__visual {
	position: relative;
	padding-bottom: 40px;
}
.ta-chart-card {
	position: relative;
	overflow: hidden;
	padding: 16px 16px 0;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 28px;
	background:
		radial-gradient(70% 60% at 100% 0%, rgba(3, 139, 220, 0.35), transparent 65%),
		linear-gradient(160deg, #15264A 0%, #101D35 45%, #0B1526 100%);
	box-shadow: var(--ta-shadow-lg);
	transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
	transform-origin: left center;
}
.ta-chart-card__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 2px 4px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ta-chart-card__dots {
	display: inline-flex;
	gap: 6px;
}
.ta-chart-card__dots i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
}
.ta-chart-card__label {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.8125rem;
	font-weight: 600;
}

.ta-chart {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 8px;
	overflow: visible;
}
.ta-chart-grid line {
	stroke: rgba(255, 255, 255, 0.06);
	stroke-dasharray: 3 6;
}
.ta-chart-area {
	fill: url(#ta-chart-fill);
	animation: ta-fade 1.2s 0.6s ease both;
}
.ta-chart-line {
	fill: none;
	stroke: #7CC8F5;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
	animation: ta-draw 1.8s 0.2s cubic-bezier(0.65, 0, 0.35, 1) both;
}
.ta-chart-candles g line,
.ta-chart-candles g rect {
	stroke-width: 1.5;
}
.ta-c-up line,
.ta-c-up rect {
	stroke: #38A9EF;
	fill: #038BDC;
}
.ta-c-dn line,
.ta-c-dn rect {
	stroke: #4A5B7C;
	fill: #2A3B5C;
}
.ta-chart-candles {
	animation: ta-rise 0.9s 0.1s ease both;
}
.ta-chart-dot {
	fill: #FFFFFF;
	stroke: #038BDC;
	stroke-width: 3;
}
.ta-chart-pulse {
	fill: #38A9EF;
	transform-box: fill-box;
	transform-origin: center;
	animation: ta-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ta-home .ta-float-card {
	position: absolute;
	left: -36px;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 14px;
	width: min(360px, 82%);
	padding: 12px 16px 12px 12px;
	border: 1px solid var(--ta-border);
	border-radius: 18px;
	background: var(--ta-surface);
	color: var(--ta-text);
	box-shadow: var(--ta-shadow-md);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	animation: ta-fade 0.8s 0.5s ease both;
}
.ta-home .ta-float-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ta-shadow-lg);
}
.ta-float-card__thumb {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: 12px;
}
.ta-float-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ta-float-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.ta-float-card__kicker {
	color: #038BDC;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.ta-float-card__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* ---------- Category cards ---------- */

.ta-cats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.ta-home .ta-cat {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	border: 1px solid var(--ta-border);
	border-radius: 20px;
	background: var(--ta-surface);
	color: var(--ta-text);
	box-shadow: var(--ta-shadow-sm);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.ta-home .ta-cat:hover,
.ta-home .ta-cat:focus-visible {
	border-color: var(--ta-soft-border);
	box-shadow: var(--ta-shadow-md);
	transform: translateY(-4px);
}
.ta-cat__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 10px;
}
.ta-cat__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--ta-soft);
	color: #038BDC;
	font-size: 1.125rem;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.ta-cat:hover .ta-cat__icon {
	background: #038BDC;
	color: #FFFFFF;
}
.ta-cat__title {
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.ta-cat__desc {
	flex-grow: 1;
	color: var(--ta-muted);
	font-size: 0.875rem;
	line-height: 1.55;
}
.ta-cat__arrow {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--ta-soft);
	color: #038BDC;
	font-size: 0.875rem;
	transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.ta-cat:hover .ta-cat__arrow {
	background: #038BDC;
	color: #FFFFFF;
	transform: rotate(45deg);
}

/* ---------- Section heading ---------- */

.ta-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin: 88px 0 32px;
}
.ta-home--tail .ta-section-head {
	margin: 96px 0 40px;
	padding-top: 72px;
	border-top: 1px solid var(--ta-border);
}
.ta-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #038BDC;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.ta-kicker::before {
	content: "";
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.ta-home .ta-section-head__title {
	margin: 10px 0 0;
	color: var(--ta-text);
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.625rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.035em;
}
.ta-home .ta-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 10px 16px;
	border: 1px solid var(--ta-border);
	border-radius: 999px;
	background: var(--ta-surface);
	color: var(--ta-text);
	font-size: 0.875rem;
	font-weight: 600;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.ta-home .ta-more .ta-icon {
	transition: transform 0.2s ease;
}
.ta-home .ta-more:hover {
	border-color: #038BDC;
	color: #038BDC;
}
.ta-home .ta-more:hover .ta-icon {
	transform: translateX(3px);
}

.ta-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	font-size: 0.8125rem;
}
.ta-meta time {
	color: var(--ta-muted);
}
.ta-pill {
	padding: 5px 11px;
	border-radius: 999px;
	background: #038BDC;
	color: #FFFFFF;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Grid */
.ta-bento {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: 300px 300px;
	gap: 20px;
}
.ta-card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border: 1px solid var(--ta-border);
	border-radius: 26px;
	background: var(--ta-surface) !important;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.ta-card:hover,
.ta-card:focus-within {
	border-color: var(--ta-soft-border);
	box-shadow: 0 30px 60px -28px rgba(3, 139, 220, 0.55);
	transform: translateY(-4px);
}

.ta-card--lead {
	grid-column: 1;
	grid-row: 1 / span 2;
}
.ta-card--wide {
	grid-column: 2 / span 2;
	grid-row: 1;
}

.ta-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ta-card:hover .ta-card__media img {
	transform: scale(1.05);
}

/* Wide card: photo fills the card */
.ta-card--wide {
	display: flex;
	align-items: flex-end;
	background: #0B1526;
}
.ta-card--wide .ta-card__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}
.ta-card--wide::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(11, 21, 38, 0) 35%, rgba(11, 21, 38, 0.55) 70%, rgba(11, 21, 38, 0.9) 100%);
}

/* Lead card: whole photo on top (3:2, shrinks only when the text needs the room), text below */
.ta-card--lead {
	display: flex;
	flex-direction: column;
	background: #0B1526;
}
.ta-card--lead .ta-card__media {
	position: relative;
	flex: 0 1 auto;
	min-height: 0;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	margin: 10px 10px 0;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
}
.ta-card--lead .ta-card__media img {
	position: absolute;
	inset: 0;
}
.ta-card--lead .ta-card__body {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	justify-content: center;
	padding: 18px 26px 22px;
}
.ta-card--wide .ta-card__body {
	width: 100%;
	padding: 26px 28px;
}

.ta-card--lead .ta-meta time,
.ta-card--wide .ta-meta time {
	color: rgba(255, 255, 255, 0.78);
}

/* Small cards: inset image on top */
.ta-card--small {
	display: flex;
	flex-direction: column;
}
.ta-card--small .ta-card__media {
	flex: 0 0 46%;
	overflow: hidden;
	margin: 10px 10px 0;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.04);
}
.ta-card--small .ta-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px 20px 20px;
}
.ta-card--small .ta-pill {
	padding: 0;
	background: none;
	color: #4DB3F0;
}

/* Titles */
.ta-home .ta-card__title {
	display: -webkit-box;
	margin: 12px 0 0;
	overflow: hidden;
	color: #FFFFFF;
	font-weight: 800;
	letter-spacing: -0.025em;
	-webkit-box-orient: vertical;
}
.ta-home .ta-card__title a {
	color: inherit;
}
.ta-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}
.ta-home .ta-card--lead .ta-card__title {
	font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem);
	line-height: 1.15;
	-webkit-line-clamp: 3;
	text-wrap: balance;
}
.ta-home .ta-card--wide .ta-card__title {
	max-width: 28em;
	font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem);
	line-height: 1.2;
	-webkit-line-clamp: 2;
}
.ta-home .ta-card--small .ta-card__title {
	margin-top: 8px;
	color: var(--ta-text);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	-webkit-line-clamp: 3;
}
.ta-home .ta-card--small:hover .ta-card__title {
	color: #7CC8F5;
}
.ta-card__excerpt {
	display: -webkit-box;
	margin: 10px 0 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9375rem;
	line-height: 1.55;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* Corner arrow */
.ta-card__arrow {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: rgba(11, 21, 38, 0.45);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #FFFFFF;
	font-size: 1rem;
	pointer-events: none;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.35s ease, border-color 0.35s ease;
}
.ta-card--small .ta-card__arrow {
	top: 20px;
	right: 20px;
	width: 38px;
	height: 38px;
}
.ta-card:hover .ta-card__arrow {
	border-color: #038BDC;
	background: #038BDC;
	transform: rotate(45deg);
}

@media (max-width: 991.98px) {	.ta-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: none;
		grid-auto-rows: auto;
	}
	.ta-card--lead {
		grid-column: 1 / -1;
		grid-row: auto;
	}
	.ta-card--lead .ta-card__media {
		aspect-ratio: 16 / 9;
	}
	.ta-card--wide {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 280px;
	}
	.ta-card--small {
		min-height: 320px;
	}
	.ta-card--small .ta-card__media {
		flex-basis: 170px;
	}
}

@media (max-width: 575.98px) {	.ta-bento {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
	.ta-card {
		border-radius: 22px;
	}
	.ta-card--lead .ta-card__media {
		margin: 8px 8px 0;
		border-radius: 16px;
	}
	.ta-card--lead .ta-card__body {
		padding: 16px 18px 20px;
	}
	.ta-card--wide {
		min-height: 260px;
	}
	.ta-card--wide .ta-card__body {
		padding: 20px;
	}
	.ta-card__excerpt {
		display: none;
	}
	.ta-card--small {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		align-items: center;
		min-height: 0;
	}
	.ta-card--small .ta-card__media {
		height: 112px;
		margin: 10px;
		border-radius: 14px;
	}
	.ta-card--small .ta-card__body {
		padding: 12px 16px 12px 4px;
	}
	.ta-card--small .ta-card__arrow {
		display: none;
	}
	.ta-home .ta-card--small .ta-card__title {
		font-size: 1rem;
	}
	.ta-card--small .ta-meta time {
		font-size: 0.75rem;
	}
}

/* ---------- Akademie: learning path (front-page.php) ---------- */

.ta-path {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ta-path::before {
	content: "";
	position: absolute;
	top: 30px;
	bottom: 30px;
	left: 23px;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, #038BDC 0%, rgba(3, 139, 220, 0.35) 55%, rgba(3, 139, 220, 0.05) 100%);
}
.ta-step {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
}
.ta-step__node {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-top: 26px;
	border: 2px solid rgba(3, 139, 220, 0.45);
	border-radius: 50%;
	background: #0B1526;
	box-shadow: 0 0 0 6px #0B1526;
	color: #FFFFFF;
	font-size: 0.875rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.ta-step:first-child .ta-step__node,
.ta-step:hover .ta-step__node {
	border-color: #038BDC;
	background: #038BDC;
	box-shadow: 0 0 0 6px #0B1526, 0 0 28px rgba(3, 139, 220, 0.6);
}

.ta-step__card {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	overflow: hidden;
	border: 1px solid var(--ta-border);
	border-radius: 26px;
	background: var(--ta-surface);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.ta-step__card--no-media {
	grid-template-columns: minmax(0, 1fr);
}
.ta-step:hover .ta-step__card,
.ta-step__card:focus-within {
	border-color: var(--ta-soft-border);
	box-shadow: 0 30px 60px -28px rgba(3, 139, 220, 0.55);
	transform: translateX(4px);
}
.ta-step__media {
	overflow: hidden;
	margin: 10px;
	border-radius: 18px;
	aspect-ratio: 16 / 11;
	background: rgba(255, 255, 255, 0.04);
}
.ta-step__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ta-step:hover .ta-step__media img {
	transform: scale(1.05);
}
.ta-step__body {
	display: flex;
	flex-direction: column;
	padding: 24px 28px 24px 16px;
}
.ta-step__card--no-media .ta-step__body {
	padding-left: 28px;
}
.ta-home .ta-step__title {
	display: -webkit-box;
	margin: 14px 0 0;
	overflow: hidden;
	color: #FFFFFF;
	font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.375rem);
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: -0.025em;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.ta-home .ta-step__title a {
	color: inherit;
}
.ta-step__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}
.ta-step__excerpt {
	display: -webkit-box;
	margin: 10px 0 0;
	overflow: hidden;
	color: var(--ta-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.ta-step__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 18px;
	color: #4DB3F0;
	font-size: 0.875rem;
	font-weight: 700;
}
.ta-step__cta .ta-icon {
	transition: transform 0.25s ease;
}
.ta-step:hover .ta-step__cta .ta-icon {
	transform: translateX(4px);
}

@media (max-width: 767.98px) {
	.ta-path::before {
		left: 19px;
	}
	.ta-step {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 16px;
	}
	.ta-step__node {
		width: 40px;
		height: 40px;
		margin-top: 20px;
		font-size: 0.8125rem;
	}
	.ta-step__card {
		grid-template-columns: minmax(0, 1fr);
		border-radius: 22px;
	}
	.ta-step__body,
	.ta-step__card--no-media .ta-step__body {
		padding: 6px 20px 20px;
	}
	.ta-step:hover .ta-step__card {
		transform: none;
	}
}

@media (max-width: 575.98px) {
	.ta-path::before {
		display: none;
	}
	.ta-step {
		grid-template-columns: minmax(0, 1fr);
	}
	.ta-step__node {
		display: none;
	}
	.ta-step__excerpt {
		display: none;
	}
}

/* ---------- Motion ---------- */

.ta-hero__content > * {
	animation: ta-rise 0.7s ease both;
}
.ta-hero__content > :nth-child(2) { animation-delay: 0.06s; }
.ta-hero__content > :nth-child(3) { animation-delay: 0.12s; }
.ta-hero__content > :nth-child(4) { animation-delay: 0.18s; }
.ta-hero__content > :nth-child(5) { animation-delay: 0.24s; }

@keyframes ta-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}
@keyframes ta-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes ta-draw {
	from { stroke-dashoffset: 1; }
	to { stroke-dashoffset: 0; }
}
@keyframes ta-ping {
	75%, 100% { opacity: 0; transform: scale(2.4); }
}

@media (prefers-reduced-motion: reduce) {
	.ta-home *,
	.ta-home *::before,
	.ta-home *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 1247.98px) {
	.ta-hero {
		gap: 48px;
	}
	.ta-home .ta-float-card {
		left: -20px;
	}
}

@media (max-width: 991.98px) {
	.ta-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
		padding: 32px 0 56px;
	}
	.ta-hero__visual {
		width: 100%;
		max-width: 600px;
		margin: 0 auto;
	}
	.ta-chart-card {
		transform: none;
	}
	.ta-home .ta-float-card {
		left: 16px;
	}
	.ta-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ta-section-head {
		margin-top: 64px;
	}
	.ta-home--tail .ta-section-head {
		margin-top: 72px;
		padding-top: 56px;
	}
}

@media (max-width: 575.98px) {
	.ta-hero {
		padding: 16px 0 48px;
	}
	.ta-hero__lead {
		font-size: 1.0625rem;
	}
	.ta-hero__actions .ta-btn {
		flex: 1 1 100%;
	}
	.ta-chart-card {
		padding: 12px 12px 0;
		border-radius: 22px;
	}
	.ta-chart-card__label {
		display: none;
	}
	.ta-home .ta-float-card {
		left: 12px;
		right: 12px;
		width: auto;
	}
	.ta-cats {
		gap: 12px;
	}
	.ta-home .ta-cat {
		padding: 18px;
		border-radius: 18px;
	}
	.ta-cat__top {
		margin-bottom: 4px;
	}
	.ta-cat__icon {
		width: 42px;
		height: 42px;
	}
	.ta-cat__desc {
		display: none;
	}
	.ta-cat__title {
		font-size: 1rem;
	}
	.ta-section-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}
}
