.search-page {
	padding: 6.6875rem 8.75rem 3.75rem;
}
.search-input-wrapper {
	margin: 3.75rem 0;
	display: flex;
	align-items: center;
}
.search-input {
	display: flex;
	padding: var(--Padding-Small, 0.75rem) var(--Padding-Medium, 1rem);
	align-items: center;
	flex: 1 0 0;
	align-self: stretch;
	border-radius: var(--Spacing-32, 2rem);
	background: #f7f7f7;
	margin-right: 1.25rem;
}

.search-input > svg {
	width: 1.5rem;
	height: 1.5rem;
	margin-right: 0.5rem;
}

.search-input > input {
	flex: 1 0 0;
	border: none;
	outline: none;
	background: transparent;
	color: var(--TEXT-500, #393939);
	font-family: SVN-Gotham;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 450;
	line-height: 160%; /* 1.4rem */
	letter-spacing: -0.02725rem;
}
.search-submit {
	display: flex;
	width: 10.125rem;
	padding: 0.625rem 1.25rem;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	border-radius: 62.5rem;
	background: var(--TM, #5b378f);
	color: var(--WHITE-100, #fff);
	font-family: SVN-Gotham;
	font-size: 1.125rem;
	font-style: normal;
	font-weight: 450;
	line-height: 1.6875rem; /* 150% */
}

.search-page-title {
	color: var(--greyscaletext-50, #454545);

	/* TEXT/PC/20/BO */
	font-family: SVN-Gotham;
	font-size: 1.25rem;
	font-style: normal;
	font-weight: 325;
	line-height: 1.85419rem; /* 148.335% */
	letter-spacing: -0.02319rem;
}
.search-page-title span {
	color: var(--TEXT-500, #393939);
	font-family: SVN-Gotham;
	font-size: 1.5rem;
	font-style: normal;
	font-weight: 450;
	line-height: normal;
	letter-spacing: -0.03rem;
}

.search-results {
	margin-top: 2.5rem;
}

.search-results__title {
	color: var(--TEXT-TITLE-MAIN, #2c0f66);
	font-family: SVN-Gotham;
	font-size: 1.625rem;
	font-style: normal;
	font-weight: 400;
	line-height: 2.31625rem; /* 142.538% */
	letter-spacing: -0.03813rem;
	margin-bottom: 1.5rem;
}

.search-results__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.search-page > .search-no-results {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 4.125rem;
	position: relative;
}
.search-page > .search-no-results > img:nth-child(1) {
	object-fit: contain;
	width: 24.625rem;
	height: 20.3125rem;
	transform: translateX(1.125rem);
}
.search-page > .search-no-results > img:nth-child(2) {
	object-fit: contain;
	width: 15rem;
	height: 15rem;
	position: absolute;
	transform: translateX(-50%);
	left: 48%;
	top: 4.5rem;
	z-index: 1;
	animation: animate-search 1300ms cubic-bezier(0.84, 0, 0.19, 0.98) infinite alternate;
}

@keyframes animate-search {
	0% {
		left: 48%;
		top: 4.5rem;
	}
	100% {
		top: 3rem;
		left: 51%;
	}
}

.search-page > .search-no-results > p {
	color: var(--TEXT-300, #6b7280);
	text-align: center;
	/* TEXT/PC/20/R */
	font-family: SVN-Gotham;
	font-size: 1.25rem;
	font-style: normal;
	font-weight: 450;
	line-height: 1.8125rem; /* 145% */
	letter-spacing: -0.03794rem;
}

@media screen and (max-width: 639.98px) {
	.search-page {
		padding: 5.375rem 0 2.375rem;
	}
	.search-input-wrapper {
		margin: 0 0.75rem;
		margin-bottom: 1.5rem;
		display: flex;
		align-items: center;
	}
	.search-input {
		padding: var(--Padding-Small, 0.75rem) 0.75rem;
		margin-right: 0.5rem;
	}

	.search-input > svg {
		width: 1.25rem;
		height: 1.25rem;
	}
	.search-submit {
		width: auto;
		padding: 0.75rem;
	}
	.search-submit > svg {
		width: 1.25rem;
		height: 1.25rem;
	}

	.search-page-title {
		font-size: 0.875rem;
		font-style: normal;
		font-weight: 325;
		line-height: 150%; /* 1.3125rem */
		letter-spacing: -0.00875rem;
		padding: 0 0.75rem;
		margin-bottom: 2rem;
	}
	.search-page-title span {
		font-size: 0.875rem;
		font-style: normal;
		font-weight: 450;
		line-height: 160%;
		letter-spacing: -0.02725rem;
	}

	.search-results {
		margin-top: 1.5rem;
	}

	.search-results__title {
		font-family: SVN-Gotham;
		font-size: 1.375rem;
		font-style: normal;
		font-weight: 400;
		line-height: 150%; /* 2.0625rem */
		letter-spacing: -0.0275rem;

		padding: 0 0.75rem;
		margin-bottom: 1rem;
	}

	.search-results__list {
		display: flex;
		gap: 0.75rem;
		padding: 0.5rem 0.75rem;
		overflow: auto;
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none; /* Internet Explorer and Edge */
	}
	.search-results__list::-webkit-scrollbar {
		display: none; /* Chrome, Safari, and Opera */
	}

	.search-page > .search-no-results {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin-bottom: 3.75rem;
	}
	.search-page > .search-no-results > img:nth-child(1) {
		width: 14.375rem;
		height: 11.85756rem;
		transform: translateX(0.5rem);
	}

	.search-page > .search-no-results > img:nth-child(2) {
		object-fit: contain;
		width: 8.75638rem;
		height: 8.75638rem;
		position: absolute;
		transform: translateX(-50%);
		left: 43%;
		top: 4.5rem;
		z-index: 1;
		animation: animate-search 1300ms cubic-bezier(0.84, 0, 0.19, 0.98) infinite alternate;
	}

	@keyframes animate-search {
		0% {
			left: 48%;
			top: 3rem;
		}
		100% {
			top: 2rem;
			left: 51%;
		}
	}

	.search-page > .search-no-results > p {
		color: var(--TEXT-300, #6b7280);
		text-align: center;
		color: var(--TEXT-300, #6b7280);
		text-align: center;
		/* TEXT/MB/14/R */
		font-family: SVN-Gotham;
		font-size: 0.875rem;
		font-style: normal;
		font-weight: 450;
		line-height: 160%; /* 1.4rem */
		letter-spacing: -0.02725rem;
		width: 11.8125rem;
	}
}

/* Course Card */
.course-card {
	padding: 1.375rem;
	border-radius: 1.875rem;
	background: linear-gradient(180deg, #f5f5f5 0%, #f5f5f5 100%);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.course-card__content {
	display: flex;
	flex-direction: column;
	border-radius: 1.5rem;
	background: #fff;
	padding: 1.25rem;
	box-shadow: 0px 0.458px 1.069px 0px rgba(0, 0, 0, 0.08);
}

.course-card__title {
	color: #2c0f66;
	font-size: 1.375rem;
	font-style: normal;
	font-weight: 900;
	line-height: 150%; /* 2.0625rem */
	letter-spacing: -0.01375rem;

	margin-bottom: 1.12rem;
}

.course-card__description {
	color: #25282b;
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 450;
	line-height: 160%; /* 1.4rem */
	letter-spacing: -0.02725rem;
	margin-bottom: 1.12rem;
}

.course-card__goals {
	list-style: none;
	margin: 0 0 1.12rem;
	padding: 0;
}

.course-card__goal-item {
	display: flex;
	align-items: center;
	color: var(--TEXT-300, #6b7280);
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 450;
	line-height: 160%; /* 1.4rem */
	letter-spacing: -0.02725rem;
}

.course-card__goal-item:not(:last-child) {
	margin-bottom: 0.69rem;
}
.course-card__goal-item::before {
	width: 1.125rem;
	height: 1.125rem;
	margin-right: 0.44rem;
}
.course-card:nth-child(1) .course-card__goal-item::before {
	content: '';
	display: block;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url('./icons/award-mint.svg');
}

.course-card:nth-child(2) .course-card__goal-item::before {
	content: '';
	display: block;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url('./icons/award-purple.svg');
}

.course-card:nth-child(3) .course-card__goal-item::before {
	content: '';
	display: block;
	background-repeat: no-repeat;
	background-size: contain;
	background-image: url('./icons/award-yellow.svg');
}

.course-card__button {
	height: 3.375rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	padding: 1rem 0;
	border-radius: 99px;
	border: 1px solid #e2e2e2;
	background: #fff;
	box-shadow: 0px 0.458px 1.069px 0px rgba(0, 0, 0, 0.08);

	color: var(--tm-main, #5b378f);
	font-size: 0.875rem;
	font-style: normal;
	font-weight: 450;
	line-height: 160%; /* 1.4rem */
	letter-spacing: -0.02725rem;
}

@media (max-width: 639.98px) {
	.course-card {
		flex: 0 0 auto;
		width: 18.75rem;
		transition: top 0.3s ease;
		padding: 0.75rem;
		border-radius: 1.53331rem;
		background: linear-gradient(180deg, #f5f5f5 0%, #f5f5f5 100%);
	}
	.course-card__content {
		padding: 0.875rem;
		border-radius: 1.22663rem;
	}
	.course-card__title {
		font-size: 1rem;
		font-style: normal;
		font-weight: 400;
		line-height: 1.5rem; /* 150% */

		margin-bottom: 0.92rem;
	}
	.course-card__description {
		color: #25282b;
		font-size: 0.75rem;
		font-style: normal;
		font-weight: 450;
		line-height: 140%; /* 1.05rem */
		letter-spacing: -0.0225rem;
		margin-bottom: 0.92rem;
	}
	.course-card__goal-item {
		font-size: 0.625rem;
		font-style: normal;
		font-weight: 450;
		line-height: 0.79975rem; /* 127.965% */
		letter-spacing: -0.02156rem;
	}
	.course-card__goal-item:not(:last-child) {
		margin-bottom: 0.56rem;
	}
	.course-card__goals {
		margin-bottom: 1.43rem;
	}
	.course-card__goal-item::before {
		width: 0.92rem;
		height: 0.92rem;
		margin-right: 0.37rem;
	}
	.course-card__button {
		height: 2.75994rem;
		font-size: 0.71556rem;
		font-style: normal;
		font-weight: 450;
		line-height: 160%; /* 1.14488rem */
		letter-spacing: -0.02225rem;
	}
}

/* Search result card */
.search-result-card {
	overflow: hidden;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
}
.search-result-card__thumb {
	width: 100%;
	height: 13.31175rem;
	position: relative;
	overflow: hidden;
}

.search-result-card__thumb::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(71, 33, 127, 0.24);
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.3s ease-in-out,
		visibility 0.3s ease-in-out;
}

.search-result-card__thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease-in-out;
}

.search-result-card__badge {
	position: absolute;
	top: 0.59rem;
	left: 0.61rem;
	display: block;
	padding: 0.1875rem 0.625rem 0.375rem 0.625rem;
	border-radius: 12.5rem;
	background: #fff;
	box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.1);
	z-index: 2;

	color: #2cbdbe;
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 450;
	line-height: normal;
	letter-spacing: 0.015rem;
}

.search-result-card__title {
	color: var(--deep-green-main, #082c1d);
	font-size: 1rem;
	font-style: normal;
	font-weight: 450;
	line-height: 150%; /* 1.5rem */
	margin-bottom: 0.75rem;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.search-result-card__desc {
	color: var(--color-azure-45, #666d80);
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 325;
	line-height: 150%; /* 1.125rem */
	letter-spacing: -0.03rem;
	margin-bottom: 0.75rem;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.search-result-card__content {
	flex: 1;
	padding: 1.19rem 1.25rem 1.25rem;
	display: flex;
	flex-direction: column;
}

.search-result-card__label {
	color: var(--tm-main, #5b378f);
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 450;
	line-height: normal;
	letter-spacing: 0.015rem;
	margin-bottom: 0.19rem;
}

.search-result-card__label::before {
	content: '•';
}

.search-result-card__meta {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.search-result-card__cta {
	display: flex;
	align-items: center;
}

.search-result-card__cta-text {
	color: #5b378f;
	font-size: 0.79063rem;
	font-style: normal;
	font-weight: 450;
	line-height: normal;
	letter-spacing: -0.00794rem;
}

.search-result-card__cta-icon {
	width: 1.62038rem;
	height: 1.62038rem;
	border-radius: 2.82369rem;
	background: rgba(91, 55, 143, 0.16);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 0.4rem;
}
.search-result-card__cta-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.search-result-card__date {
	display: flex;
	align-items: center;
}

.search-result-card__date-icon {
	width: 1.17581rem;
	height: 1.17581rem;
	margin-right: 0.31rem;
}
.search-result-card__date-text {
	color: #666d80;
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 325;
	line-height: 150%; /* 1.125rem */
	letter-spacing: -0.0375rem;
}

@media screen and (min-width: 1024px) {
	.search-result-card:hover .search-result-card__thumb-img {
		transform: scale(1.05);
	}
	.search-result-card:hover .search-result-card__thumb::after {
		opacity: 1;
		visibility: visible;
	}
}

@media screen and (max-width: 639.98px) {
	.search-result-card {
		flex: 0 0 auto;
		width: 17.375rem;
		border-radius: 0.65775rem;
		box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
	}
	.search-result-card__thumb {
		height: 11.04688rem;
	}
	.search-result-card__badge {
		font-size: 0.5rem;

		top: 0.39rem;
		left: 0.39rem;
		padding: 0.25rem 0.41106rem;
		border-radius: 8.22163rem;
		background: #fff;
		box-shadow: 0 2.631px 9.866px 0 rgba(0, 0, 0, 0.1);

		padding-bottom: 0.35rem;
		font-style: normal;
		font-weight: 450;
		line-height: normal;
		letter-spacing: 0.01rem;
	}
	.search-result-card__content {
		padding: 0.78rem 0.82rem 0.82rem;
	}
	.search-result-card__label {
		font-size: 0.625rem;
		font-style: normal;
		font-weight: 450;
		line-height: normal;
		letter-spacing: 0.0125rem;
		margin-bottom: 0;
	}
	.search-result-card__title {
		font-size: 0.875rem;
		font-style: normal;
		font-weight: 450;
		line-height: 160%; /* 1.4rem */
		letter-spacing: -0.02725rem;
		margin-bottom: 0.49rem;
	}
	.search-result-card__desc {
		font-size: 0.75rem;
		font-style: normal;
		font-weight: 325;
		line-height: 150%; /* 1.125rem */
		letter-spacing: -0.03rem;
		margin-bottom: 0.49rem;
	}
	.search-result-card__date-icon {
		width: 0.77338rem;
		height: 0.77338rem;
		margin-right: 0.21rem;
	}
	.search-result-card__cta-icon {
		width: 1.06575rem;
		height: 1.06575rem;
		margin-left: 0.26rem;
	}
	.search-result-card__date-text {
		font-size: 0.625rem;
		font-style: normal;
		font-weight: 325;
		line-height: 150%; /* 0.9375rem */
		letter-spacing: -0.03125rem;
	}
	.search-result-card__cta-text {
		font-size: 0.625rem;
		font-style: normal;
		font-weight: 450;
		line-height: normal;
		letter-spacing: -0.00625rem;
	}
}
