/* Public homepage */

body > header {
	display: block;
}
footer {
	display: block;
}
footer .logo a:last-child {
	display: inline-block;
}

.home-page,
.home-page div,
.home-page section,
.home-page a {
	position: relative;
	box-sizing: border-box;
}
.home-page div:before,
.home-page div:after {
	content: none !important;
	display: none !important;
}

.home-hero {
	min-height: 72vh;
	display: flex;
	align-items: flex-end;
	padding: 120px 24px 72px;
	background: #111 url(../../img/banner.jpg) center bottom / cover no-repeat;
	color: #fff;
}
.home-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .62) 100%);
}
.home-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1080px;
	margin: 0 auto;
	width: 100%;
}
.home-kicker {
	font-size: 13px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #ff9900;
	margin: 0 0 10px;
	font-weight: 700;
}
.home-hero h1 {
	font-size: 52px;
	line-height: 1.15;
	margin: 0 0 14px;
	font-weight: 700;
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.home-hero__lead {
	max-width: 640px;
	font-size: 16px;
	line-height: 1.65;
	color: #f0f0f0;
	margin: 0 0 28px;
}
.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.home-btn {
	display: inline-block;
	font-weight: 700;
	font-size: 15px;
	padding: 12px 22px;
	border-radius: 8px;
	text-decoration: none !important;
}
.home-btn--primary {
	background: #ff9900;
	color: #111 !important;
	box-shadow: 0 3px 0 #c97800;
}
.home-btn--primary:hover {
	background: #ffb020;
}
.home-btn--ghost {
	border: 1px solid #fff;
	color: #fff !important;
}
.home-btn--ghost:hover {
	background: rgba(255, 255, 255, .12);
}

.home-section {
	max-width: 1080px;
	margin: 0 auto;
	padding: 56px 24px 8px;
}
.home-section--courses {
	padding-bottom: 24px;
}
.home-section__title {
	font-size: 26px;
	margin: 0 0 28px;
	font-weight: 700;
	color: #1a1a1a;
}
.home-section__cta {
	margin: 28px 0 8px;
	text-align: center;
}
.home-empty {
	color: #666;
	line-height: 1.6;
}

.home-features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}
.home-features > div {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 12px;
	padding: 22px 22px 24px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}
.home-features > div i {
	float: none;
	display: block;
	font-size: 28px;
	color: #ff9900;
	margin: 0 0 12px;
}
.home-features > div h2 {
	font-size: 18px;
	margin: 0 0 10px;
	color: #111;
}
.home-features > div span {
	display: block;
	margin: 0;
	color: #555;
	font-size: 14px;
	line-height: 1.65;
	text-align: left;
	word-break: normal;
	white-space: normal;
}

.home-courses {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.home-course {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
	color: #1a1a1a !important;
	text-decoration: none !important;
}
.home-course:hover {
	border-color: #ffd08a;
}
.home-course__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #f4f4f4;
}
.home-course__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.home-course__body {
	display: flex;
	flex-direction: column;
	padding: 18px 18px 20px;
	flex: 1;
}
.home-course__body h3 {
	font-size: 18px;
	margin: 0 0 8px;
	line-height: 1.35;
}
.home-course__summary {
	display: block;
	font-size: 14px;
	line-height: 1.6;
	color: #555;
	margin-bottom: 14px;
	flex: 1;
}
.home-course__more {
	font-size: 13px;
	font-weight: 700;
	color: #e69500;
}

.home-contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
	padding: 36px 24px 48px;
	background: #f6f6f6;
	margin-top: 24px;
}
.home-contact a {
	color: #333 !important;
	font-size: 15px;
	font-weight: 700;
}
.home-contact a:hover {
	color: #e69500 !important;
}
.home-contact i {
	margin-right: 8px;
	color: #ff9900;
}

@media (max-width: 900px) {
	.home-hero h1 {
		font-size: 36px;
	}
	.home-courses {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.home-hero {
		min-height: 0;
		padding: 100px 16px 48px;
	}
	.home-hero h1 {
		font-size: 30px;
	}
	.home-section {
		padding: 40px 16px 8px;
	}
}
