/**
 * "Previous/Next Post Nav" Divi module. Base structural styles; per-instance
 * color is injected inline by the module's render() method, scoped to that
 * instance's unique class -- the #12122c below is just the visual fallback
 * before that inline rule loads.
 */

.crde-post-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.crde-post-nav-prev,
.crde-post-nav-next {
	flex: 1 0 0;
}

.crde-post-nav-next {
	text-align: right;
}

.crde-post-nav a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #12122c;
	border-radius: 999px;
	padding: 10px 22px;
	color: #12122c;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.crde-post-nav a span {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: inherit;
}

.crde-post-nav a:hover {
	color: #fff;
}

.crde-post-nav svg {
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.crde-post-nav {
		flex-wrap: wrap;
	}

	.crde-post-nav-prev,
	.crde-post-nav-next {
		flex: 1 1 100%;
		text-align: center;
	}
}
