.expanding-images > .grid-container {
	max-width: 1440px;
}
.expanding-images__row {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
	position: relative;
}

.expanding-images__card {
	position: relative;
	flex: 1 1 0%;
	min-height: 500px;
	border-radius: 30px;
	overflow: hidden;
	cursor: pointer;
	transition:
		flex-grow 400ms ease-in-out,
		transform 400ms ease-in-out,
		box-shadow 400ms ease-in-out,
		z-index 400ms;
	transform: scale(1);
	box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 8px;
	z-index: 1;
}
@media print, screen and (min-width: 64em) {
	.expanding-images__card:hover,
	.expanding-images__card:focus-within {
		flex: 6 1 0%;
		transform: scale(1.02);
		box-shadow: rgba(0, 0, 0, 0.15) 0px 10px 30px;
		z-index: 10;
	}
	.expanding-images__card:hover .expanding-images__content,
	.expanding-images__card:focus-within .expanding-images__content {
		opacity: 1;
		transform: translateY(0px);
		pointer-events: auto;
	}
}
@media print, screen and (max-width: 63em) {
	.expanding-images .expanding-images__card {
		flex: 1 0 100%;
	}
	.expanding-images .expanding-images__content {
		opacity: 1;
		transform: translateY(0px);
		pointer-events: auto;
		text-align: left;
	}
}
.expanding-images__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
}
.test {
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 0.9375rem 1.5625rem;
	width: 100%;
	border-radius: 30px;
	/* margin-bottom: 15%; */
}
.expanding-images__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	gap: 8px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	/* padding: 24px; */
	padding: clamp(0.625rem, 0.43rem + 0.892vw, 1.5rem);
	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity 240ms ease-in-out,
		transform 240ms ease-in-out;
	pointer-events: none;
}

.expanding-images__card-title {
	color: #ffffff;
	/* color: #000; */
	text-shadow: rgba(0, 0, 0, 0.3) 0px 1px 3px;
}

.expanding-images__desc {
	margin: 0;
	font-family: "Mandali";
	color: #ffffff;
	/* color: #000; */
	text-shadow: rgba(0, 0, 0, 0.3) 0px 1px 3px;
	/* display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden; */
}

.expanding-images__link {
	font-family: "Mandali";
	font-size: 14px;
	color: #ffffff;
	/* color: #000; */
	text-shadow: rgba(0, 0, 0, 0.3) 0px 1px 3px;
	text-decoration: underline;
}
.expanding-images__link:hover,
.expanding-images__link:focus {
	color: #dbdbdb;
}

.expanding-images__cta-wrap {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

/* Alumni Yellow */
.is-alumni.expanding-images__card:nth-child(5n + 1) .expanding-images__content,
.is-alumni.expanding-images__card:nth-child(5n + 4) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(253, 223, 139) 0%,
		rgba(253, 223, 139, 0.85) 35%,
		rgba(253, 223, 139, 0) 100%
	);
}
.is-alumni.expanding-images__card:nth-child(5n + 1) .expanding-images__content *,
.is-alumni.expanding-images__card:nth-child(5n + 4) .expanding-images__content *,
.is-primary.expanding-images__card:nth-child(4n + 2) .expanding-images__content * {
	color: #111111;
}

/* Alumni Light Blue */
.is-alumni.expanding-images__card:nth-child(5n + 2) .expanding-images__content,
.is-alumni.expanding-images__card:nth-child(5n + 5) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(145, 204, 237) 0%,
		rgba(145, 204, 237, 0.85) 35%,
		rgba(145, 204, 237, 0) 100%
	);
}

/* Alumni Blue */
.is-alumni.expanding-images__card:nth-child(5n + 3) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(40, 58, 105) 0%,
		rgba(40, 58, 105, 0.85) 35%,
		rgba(40, 58, 105, 0) 100%
	);
}

/* Deep Blue */
.is-primary.expanding-images__card:nth-child(4n + 1) .expanding-images__content,
.is-mixed.expanding-images__card:nth-child(4n + 1) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(52, 137, 193) 0%,
		rgba(52, 137, 193, 0.85) 35%,
		rgba(52, 137, 193, 0) 100%
	);
}

/* Powder Yellow */
.is-primary.expanding-images__card:nth-child(4n + 2) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(255, 217, 112) 0%,
		rgba(255, 217, 112, 0.85) 35%,
		rgba(255, 217, 112, 0) 100%
	);
}

/* Medium Green */
.is-primary.expanding-images__card:nth-child(4n + 3) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(94, 166, 107) 0%,
		rgba(94, 166, 107, 0.85) 35%,
		rgba(94, 166, 107, 0) 100%
	);
}

/* Scarlett */
.is-primary.expanding-images__card:nth-child(4n + 4) .expanding-images__content,
.is-mixed.expanding-images__card:nth-child(4n + 4) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(233, 62, 63) 0%,
		rgba(233, 62, 63, 0.85) 35%,
		rgba(233, 62, 63, 0) 100%
	);
}

/* Study Blue */
.is-secondary.expanding-images__card:nth-child(4n + 1) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(120, 194, 235) 0%,
		rgba(120, 194, 235, 0.85) 35%,
		rgba(120, 194, 235, 0) 100%
	);
}

/* Grad Bell Yellow */
.is-secondary.expanding-images__card:nth-child(4n + 2) .expanding-images__content,
.is-mixed.expanding-images__card:nth-child(4n + 2) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(246, 175, 27) 0%,
		rgba(246, 175, 27, 0.85) 35%,
		rgba(246, 175, 27, 0) 100%
	);
}

/* Innovation Green */
.is-secondary.expanding-images__card:nth-child(4n + 3) .expanding-images__content,
.is-mixed.expanding-images__card:nth-child(4n + 3) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(103, 192, 119) 0%,
		rgba(103, 192, 119, 0.85) 35%,
		rgba(103, 192, 119, 0) 100%
	);
}

/* Dream Big Red */
.is-secondary.expanding-images__card:nth-child(4n + 4) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(238, 49, 38) 0%,
		rgba(238, 49, 38, 0.85) 35%,
		rgba(238, 49, 38, 0) 100%
	);
}

.is-monotone.expanding-images__card:nth-child(3n + 1) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(33, 33, 33) 0%,
		rgba(33, 33, 33, 0.85) 35%,
		rgba(33, 33, 33, 0) 100%
	);
}
.is-monotone.expanding-images__card:nth-child(3n + 2) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(119, 119, 119) 0%,
		rgba(119, 119, 119, 0.85) 35%,
		rgba(119, 119, 119, 0) 100%
	);
}
.is-monotone.expanding-images__card:nth-child(3n + 3) .expanding-images__content {
	background: linear-gradient(
		to top,
		rgb(204, 204, 204) 0%,
		rgba(204, 204, 204, 0.85) 35%,
		rgba(204, 204, 204, 0) 100%
	);
}
