/**
 * Hero styles - Figma Pixel Perfect
 *
 * @package NexioEducation
 */

.hero {
	margin-top: 0;
	min-height: 812px;
	height: 812px;
}

/* Homepage hero - full viewport height */
body.home .hero {
	min-height: 100vh;
	height: 100vh;
}

.hero .wp-block-cover__inner-container {
	width: 100%;
	max-width: 1368px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	box-sizing: border-box;
	padding-bottom: 16px;
}

.hero-content {
	width: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}

.hero-headline {
	color: var(--wp--preset--color--white, #fffefa);
	font-family: var(--wp--preset--font-family--heading, 'Apris Trial', serif);
	font-size: 48px;
	font-weight: 300;
	font-style: normal;
	line-height: 58px;
	margin: 0;
	max-width: 518px;
}

.hero-cta .wp-block-button__link {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: var(--wp--preset--color--white, #fffefa);
	font-family: var(--wp--preset--font-family--body, 'Manrope', sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 19.2px;
	padding: 18px 64px;
	border-radius: 30px;
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
}

.hero-cta .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--wp--preset--color--white, #fffefa);
}

/* Responsive */
@media (max-width: 1024px) {
	.hero .wp-block-cover__inner-container {
		padding-bottom: 16px;
	}

	.hero-headline {
		font-size: 40px;
		line-height: 48px;
		max-width: 450px;
	}

	.hero-cta .wp-block-button__link {
		padding: 14px 48px;
	}
}

@media (max-width: 768px) {
	.hero {
		min-height: 600px;
	}

	.hero .wp-block-cover__inner-container {
		padding-bottom: 16px;
	}

	.hero-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 32px;
	}

	.hero-headline {
		font-size: 32px;
		line-height: 40px;
		max-width: 100%;
	}

	.hero-cta .wp-block-button__link {
		padding: 14px 32px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.hero {
		min-height: 500px;
	}

	.hero-headline {
		font-size: 28px;
		line-height: 36px;
	}
}
