.card-two-item {
	display: flex;
	flex-direction: column;

	border: 1px solid transparent;
	border-radius: 24px;

	height: 100%;

	cursor: pointer;

	position: relative;

	overflow: hidden;

	transition: all 300ms ease-in-out;
}

.card-two-item:hover {
	border-color: var(--e-global-color-primary);
}

.card-two-item .card-two-image {
	width: 100%;

	transition: all 300ms ease-in-out;
}

.card-two-item:hover .card-two-image {
	transform: scale(1.05);
}

.card-two-item .card-two-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;

	flex: 1;

	padding: 24px;

	z-index: 1;

	background-color: var(--e-global-color-00677e2);
}

.card-two-item .card-two-text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.card-two-item .card-two-title {
	color: var(--e-global-color-e3d4af1);

	margin: 0;

	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
}

.card-two-item .card-two-desc {
	margin: 0;

	font-size: 16px;
	font-weight: 300;
	line-height: 1.4;
}

.card-two-item .card-two-link {
	display: flex;
	align-items: center;
	justify-content: end;

	color: var(--e-global-color-primary);

	transition: all 300ms ease-in-out;
}

.card-two-item .card-two-link:hover {
	color: var(--e-global-color-5322e88);
}

.card-two-item .card-two-link svg {
	fill: var(--e-global-color-primary);

	transition: all 300ms ease-in-out;
}

.card-two-item .card-two-link:hover svg {
	fill: var(--e-global-color-5322e88);
}

.card-two-item .card-two-link::after {
	content: '';
	position: absolute;
	inset: 0;
}

@media (max-width: 768px) {
	.card-two-item .card-two-title {
		font-size: 20px;
	}
}

/* Modal */
.card-two-modal {
	position: fixed;
	z-index: 999;

	inset: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 64px;
}

.card-two-modal-dialog {
	background-color: var(--e-global-color-f006f99);

	border-radius: 24px;

	width: 1024px;
	max-width: 100%;
	height: 540px;
	max-height: 100%;
}

.card-two-modal-image {
	object-fit: cover;
}

.card-two-modal-content {
	padding: 32px;

	display: flex;
	flex-direction: column;
	gap: 16px;

	position: relative;
}

.card-two-modal-content::before {
	content: '';

	position: absolute;
	top: 24px;
	right: 24px;

	width: 64px;
	height: 64px;

	background-image: url('../../img/isotype.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.card-two-modal-title {
	color: var(--e-global-color-secondary);

	font-size: 48px;
	font-weight: 500;
	line-height: 1.2;

	max-width: 90%;
}

.card-two-modal-body {
	color: var(--e-global-color-text);
}

.card-two-modal .close-modal {
	cursor: pointer;
}

.card-two-modal .close-modal::before {
	content: '';

	position: absolute;
	z-index: -1;
	inset: 0;

	background-color: var(--e-global-color-secondary);
	opacity: .85;
}

.card-two-modal .close-modal::after {
	content: '';

	position: absolute;
	z-index: 0;
	top: 16px;
	right: 16px;

	width: 32px;
	height: 32px;

	background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22m12%2013.4-4.9%204.9a.948.948%200%200%201-.7.275.948.948%200%200%201-.7-.275.948.948%200%200%201-.275-.7c0-.284.091-.517.275-.7l4.9-4.9-4.9-4.9a.948.948%200%200%201-.275-.7c0-.284.091-.517.275-.7a.948.948%200%200%201%20.7-.275c.283%200%20.516.091.7.275l4.9%204.9%204.9-4.9a.948.948%200%200%201%20.7-.275c.283%200%20.516.091.7.275a.948.948%200%200%201%20.275.7.948.948%200%200%201-.275.7L13.4%2012l4.9%204.9a.948.948%200%200%201%20.275.7.948.948%200%200%201-.275.7.948.948%200%200%201-.7.275.948.948%200%200%201-.7-.275L12%2013.4Z%22%20fill%3D%22%23F2F3F5%22%2F%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;

	transition: all 300ms ease-in-out;
}

.card-two-modal-loader::before {
	content: '';

	position: fixed;
	z-index: 998;
	inset: 0;

	background-color: var(--e-global-color-secondary);

	opacity: .85;
}

.card-two-modal-loader::after {
	content: '';

	position: fixed;
	z-index: 999;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);


	width: 48px;
	height: 48px;

	background-image: url('../../img/icon-loader.gif');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;

	filter: brightness(0) invert(1);
}

@media (min-width: 1025px) {
	.card-two-modal-dialog {
		display: flex;
		align-items: stretch;

		overflow: hidden;
	}

	.card-two-modal-image {
		flex: 0 0 auto;

		width: 40%;
	}

	.card-two-modal-content {
		padding: 48px;

		overflow: auto;

		flex: 0 0 auto;

		width: 60%;
	}
}

@media (max-width: 1024px) {
	.card-two-modal-dialog {
		overflow: auto;
	}

	.card-two-modal-image {
		width: 100%;
		height: calc((100vh - 128px) * .50) !important;
	}
}

@media (max-width: 768px) {
	.card-two-modal {
		padding: 40px 16px;
	}

	.card-two-modal-content::before {
		width: 40px;
		height: 40px;
	}

	.card-two-modal-title {
		font-size: 32px;
	}

	.card-two-modal .close-modal::after {
		top: 8px;
		right: 8px;

		width: 24px;
		height: 24px;
	}
}
