.card__container_outer {
	max-width: var(--module-wrapper-width);
	margin: 140px auto;
}

.card__container_outer h2 {
	margin: var(--section-header-margin);
	font-family: var(--default-font-medium);
	font-size: var(--font-size-header-minor);
}
.card__wrapper {
	margin: 30px 0;
	display: flex;
	/* justify-content: center; */
	justify-content: space-evenly;
}

.card__wrapper h1 {
	font-family: var(--default-font-medium);
}
.card__wrapper a {
	color: var(--dark);
	text-decoration: none;
}
.card {
	background: var(--light);
	padding: 18px;
	margin: 15px;
	border-radius: 6px;
	font-family: var(--default-font-light);
	border: 2px solid transparent;
	flex-grow: 3;
	box-shadow: 0px 5px 6px 0px #2020203b;
	cursor: pointer;
	transition: all 0.15s ease-in;
	display: flex;
	flex-direction: column;
	max-width: 400px;
	min-height: 385px;
	max-height: 385px;
	line-height: 20px;
}
.image-top.card {
	justify-content: flex-start;
}
.text-top.card {
	justify-content: space-between;
}
.card__title {
	/* font-size: 1.25rem; */
	font-size: var(--font-size-subheader);
	font-family: var(--default-font-medium);
	margin: 8px 0 15px;
}

.card__text {
	/* font-size: 0.8rem; */
	font-size: var(--font-size-text);
	margin: 8px 0;
}

.card:hover {
	border: 2px solid var(--default-light-blue);
}

.text-top .card__text_wrapper {
	padding: 0;
}
.card__text_wrapper {
	padding: 9px 0;
	min-height: 44%;
}
.card__image_wrapper {
	height: 180px;
	min-height: 180px;
	max-height: 180px;
}
.card img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 1150px) {
	.card__wrapper {
		flex-direction: column;
		align-items: center;
	}
}

@media screen and (max-width: 768px) {
	.card__container_outer {
		margin: 80px auto;
	}
	.card__single_wrapper {
		display: flex;
		justify-content: center;
		width: 280px;
		margin: auto;
	}
	.card {
		padding: 0;
		max-width: 300px;
		box-shadow: 0px 11px 15px -3px #2020203c;
		border: none;
		line-height: 20px;
		min-height: 400px;
		max-height: 400px;
		margin-bottom: 30px;
	}

	.card__title,
	.card__text {
		margin: 12px;
	}
	.card__title {
		font-size: 1.05rem;
	}
	.card__text {
		font-size: 0.75rem;
	}
	.card__image_wrapper {
		height: 240px;
		min-height: 240px;
		max-height: 240px;
	}
	.card__image_wrapper img {
		height: 100%;
		width: 100%;
		object-fit: cover;
	}
	.image-top img {
		border-radius: 6px 6px 0 0;
	}
	.text-top img {
		border-radius: 0 0 6px 6px;
	}
	.card:hover {
		border: none;
	}
	.card img {
		margin: 0;
		display: block;
	}
}
