/**
 * #COURSE hub
 */

.p-course-hub .p-hub__hero img {
	object-position: center 55%;
}

.p-course-hub__main {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	padding: 40px 100px 100px;

	@media (max-width: 768px) {
		gap: 20px;
		padding: 30px 20px;
	}
}

.p-course-hub__intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	max-width: 786px;
	text-align: center;

	@media (max-width: 768px) {
		gap: 20px;
	}
}

.p-course-hub__catch {
	margin: 0;
	display: inline-flex;
	justify-content: center;
	border-bottom: 5px solid #f5a623;
	padding-bottom: 5px;
	color: #111;
	font-size: 32px;
	font-weight: 900;
	line-height: 1.6;

	@media (max-width: 768px) {
		flex-direction: column;
		align-items: center;
		gap: 5px;
		border-bottom: none;
		padding-bottom: 0;
		font-size: 22px;
	}
}

.p-course-hub__catch-line {
	@media (max-width: 768px) {
		border-bottom: 4px solid #f5a623;
		padding-bottom: 3px;
	}
}

.p-course-hub__lead {
	max-width: 711px;
	color: #111;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.8;

	p {
		margin: 0;
	}

	@media (max-width: 768px) {
		font-size: 18px;

		br {
			display: none;
		}
	}
}

.p-course-hub__cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
	width: 100%;

	@media (max-width: 768px) {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}
}
