.novaCoursesSection {
	padding: 0 16px;
}

.novaCoursesSection__inner {
	width: min(1392px, 100%);
	margin: 0 auto;
}

.novaCoursesSection__title {
	margin: 0 0 20px;
}

.novaCoursesSection__titleWrap--editorial {
	width: min(1158px, 100%);
	margin: 0 auto 40px;
}

.novaCoursesSection__title--text {
	font-family: "Montserrat", system-ui, sans-serif;
	font-size: clamp(72px, 10vw, 160px);
	font-weight: 500;
	line-height: 0.8;
	letter-spacing: -0.04em;
	text-transform: uppercase;
	color: #202020;
}

.novaCoursesSection__title--editorial {
	font-family: "Montserrat", system-ui, sans-serif;
	font-size: 48px;
	font-weight: 500;
	line-height: 54px;
	letter-spacing: 0;
	text-align: center;
	text-transform: uppercase;
	color: #202020;
	margin: 0;
}

.novaCoursesSection__title--graphic {
	line-height: 0;
}

.novaCoursesSection__titleImage {
	display: block;
	width: min(921.999px, 100%);
	height: auto;
}

.novaCourses {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}

.novaCourses__card {
	min-height: 788px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
}

.novaCourses__media {
	position: relative;
	z-index: 0;
	margin: 0;
	height: 620px;
	width: 100%;
	border-radius: 24px;
	overflow: hidden;
}

.novaCourses__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
}

.novaCourses__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.novaCourses__panel {
	position: relative;
	z-index: 1;
	margin-top: -160px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	align-self: flex-end;
	width: min(421px, calc(100% - 32px));
}

.novaCourses__tag {
	min-height: 43px;
	padding: 4px 8px;
	border-radius: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	background: #ef7c23;
	color: #1d1d1f;
}

.novaCourses__tag--alert {
	background: #dc2809;
	color: #fff;
}

.novaCourses__spacer {
	height: 43px;
	width: 100%;
}

.novaCourses__info {
	width: 100%;
	padding: 24px;
	border-radius: 8px 0 0 8px;
	background: #fff;
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.novaCourses__copy {
	flex: 1 1 auto;
	max-width: 301px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.novaCourses__copy h3 {
	margin: 0;
	font-size: 32px;
	font-weight: 600;
	line-height: 1;
	color: #202020;
}

.novaCourses__description {
	font-size: 16px;
	line-height: 22px;
	color: #202020;
}

.novaCourses__description p {
	margin: 0;
}

.novaCourses__button {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border: 0;
	border-radius: 999px;
	background: #1d1d1f;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease;
}

.novaCourses__button:hover,
.novaCourses__button:focus-visible {
	background: #ef7c23;
}

.novaCourses__button img {
	width: 24px;
	height: 24px;
}

.novaCoursesSection__footer {
	margin-top: 44px;
	display: flex;
	justify-content: center;
}

.novaCoursesSection__cta {
	align-self: flex-start;
	padding: 20px 24px;
	border: 2px solid #ef7c23;
	border-radius: 999px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-family: "Montserrat", system-ui, sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	color: #1d1d1f;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.novaCoursesSection__cta:hover,
.novaCoursesSection__cta:focus-visible {
	background: #ef7c23;
	color: #fff;
}

.novaCoursesSection__cta img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	filter: brightness(0);
	transition: filter 0.2s ease;
}

.novaCoursesSection__cta:hover img,
.novaCoursesSection__cta:focus-visible img {
	filter: brightness(0) invert(1);
}

.novaCourses__card--servicios .novaCourses__media img {
	position: absolute;
	top: 0;
	left: 50%;
	width: 205.42%;
	max-width: none;
	height: auto;
	transform: translateX(-50%);
}

.novaCourses__card--panaderia .novaCourses__media img {
	object-position: 52% center;
}

.novaCourses__card--cocina .novaCourses__media img {
	object-position: 64% center;
}

@media (max-width: 1180px) {
	.novaCoursesSection__titleWrap--editorial {
		margin-bottom: 32px;
	}

	.novaCoursesSection__title--editorial {
		font-size: 42px;
		line-height: 1.14;
	}

	.novaCourses {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.novaCourses__card {
		min-height: auto;
	}
}

@media (max-width: 760px) {
	.novaCourses {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.novaCoursesSection {
		padding: 0 12px;
	}

	.novaCoursesSection__title {
		margin-bottom: 16px;
	}

	.novaCoursesSection__titleWrap--editorial {
		margin-bottom: 24px;
	}

	.novaCoursesSection__title--text {
		font-size: clamp(54px, 18vw, 92px);
		line-height: 0.86;
	}

	.novaCoursesSection__title--editorial {
		font-size: clamp(30px, 8vw, 40px);
		line-height: 1.12;
	}

	.novaCourses__media {
		height: 520px;
	}

	.novaCourses__panel {
		width: min(421px, calc(100% - 24px));
	}

	.novaCourses__copy h3 {
		font-size: 26px;
	}

	.novaCourses__info {
		padding: 20px;
	}

	.novaCoursesSection__footer {
		margin-top: 32px;
	}

	.novaCoursesSection__cta {
		width: 100%;
		padding: 18px 24px;
		font-size: 18px;
		line-height: 1.2;
		text-align: center;
	}
}
