@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;1,400&display=swap');

.ap-e78e1005-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100vh;
	background-color: #0A0A0A;
	color: #FFFFFF;
	font-family: sans-serif;
	overflow: hidden;
	position: relative;
}

@media (min-width: 1024px) {
	.ap-e78e1005-container {
		flex-direction: row;
		min-height: max(100vh, 600px);
	}
}

.ap-e78e1005-half {
	flex: 1 1 50%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	color: #FFFFFF;
	padding: 2rem;
	overflow: hidden;
	transition: flex-basis 600ms cubic-bezier(0.22, 1, 0.36, 1);
	opacity: 0;
}

.ap-e78e1005-half.ap-e78e1005-visible {
	animation: apFadeIn_e78e1005 800ms ease forwards;
}

.ap-e78e1005-half.ap-e78e1005-visible.ap-e78e1005-delay {
	animation-delay: 150ms;
}

@keyframes apFadeIn_e78e1005 {
	to { opacity: 1; }
}

.ap-e78e1005-bg {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-size: cover;
	background-position: center;
	z-index: 1;
}

.ap-e78e1005-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(
		180deg,
		var(--ap-overlay-start, rgba(10,10,10,0.35)) 0%,
		var(--ap-overlay-end, rgba(58,27,71,0.7)) 100%
	);
	z-index: 2;
	transition: background 400ms ease, opacity 400ms ease;
}

.ap-e78e1005-content {
	position: relative;
	z-index: 3;
	text-align: center;
	transition: opacity 400ms ease;
}

.ap-e78e1005-kicker {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	opacity: 0.85;
	margin-bottom: 1rem;
}

.ap-e78e1005-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 0.5rem 0;
	color: #FFFFFF;
	transition: filter 400ms ease;
}

.ap-e78e1005-subtitle {
	display: block;
	font-size: 1.25rem;
	font-style: italic;
	font-family: 'Cormorant Garamond', serif;
	margin-bottom: 2rem;
}

.ap-e78e1005-cta {
	display: inline-block;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	position: relative;
}

.ap-e78e1005-cta::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 1px;
	background-color: #FFFFFF;
	transition: width 400ms ease;
}

.ap-e78e1005-separator {
	position: absolute;
	background-color: rgba(255,255,255,0.25);
	z-index: 4;
	pointer-events: none;
}

@media (min-width: 1024px) {
	.ap-e78e1005-separator {
		width: 1px;
		height: 100%;
		left: 50%;
		top: 0;
		transform: translateX(-50%);
	}

	.ap-e78e1005-container:hover .ap-e78e1005-half {
		flex-basis: 40%;
	}

	.ap-e78e1005-container .ap-e78e1005-half:hover {
		flex-basis: 60%;
	}

	.ap-e78e1005-container:hover .ap-e78e1005-half:not(:hover) .ap-e78e1005-overlay {
		background: rgba(10,10,10,0.65);
	}

	.ap-e78e1005-container:hover .ap-e78e1005-half:not(:hover) .ap-e78e1005-content {
		opacity: 0.6;
	}

	.ap-e78e1005-half:hover .ap-e78e1005-title {
		filter: brightness(1.2);
	}

	.ap-e78e1005-half:hover .ap-e78e1005-cta::after {
		width: 100%;
	}
}

@media (max-width: 1023px) {
	.ap-e78e1005-separator {
		height: 1px;
		width: 100%;
		top: 50%;
		left: 0;
		transform: translateY(-50%);
	}

	.ap-e78e1005-half:active {
		transform: scale(0.98);
		transition: transform 150ms ease;
	}
}

.ap-e78e1005-half:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: -4px;
}

@media (prefers-reduced-motion: reduce) {
	.ap-e78e1005-half,
	.ap-e78e1005-half.ap-e78e1005-visible {
		animation: none;
		opacity: 1;
		transition: none;
	}

	.ap-e78e1005-container:hover .ap-e78e1005-half {
		flex-basis: 50%;
	}

	.ap-e78e1005-container .ap-e78e1005-half:hover {
		flex-basis: 50%;
	}

	.ap-e78e1005-overlay,
	.ap-e78e1005-content,
	.ap-e78e1005-cta::after,
	.ap-e78e1005-title {
		transition: none;
	}
}
