/* Navigation précédente / suivante (sorties) */
.bdg-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 32px 0;
}

.bdg-nav-carte {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 84px;
	padding: 10px 14px;
	border: 1px solid #e4e4e4;
	border-radius: 6px;
	background: #f7f7f7;
	color: #222;
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.bdg-nav-carte:hover,
.bdg-nav-carte:focus-visible {
	border-color: #e7501e;
	background: #fff;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
	color: #222;
	text-decoration: none;
}

.bdg-nav-carte:focus-visible {
	outline: 2px solid #e7501e;
	outline-offset: 2px;
}

.bdg-nav-suiv {
	flex-direction: row-reverse;
	text-align: right;
}

.bdg-nav-image {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 4px;
	object-fit: cover;
}

.bdg-nav-texte {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.bdg-nav-etiquette {
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #888;
}

.bdg-nav-titre {
	font-family: Ubuntu, Arial, Tahoma, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #222;
}

.bdg-nav-carte:hover .bdg-nav-titre {
	color: #e7501e;
}

.bdg-nav-fleche {
	display: flex;
	flex: 0 0 auto;
	color: #e7501e;
	transition: transform .2s ease;
}

.bdg-nav-prec:hover .bdg-nav-fleche { transform: translateX(-3px); }
.bdg-nav-suiv:hover .bdg-nav-fleche { transform: translateX(3px); }

.bdg-nav-vide {
	display: block;
}

@media (max-width: 640px) {
	.bdg-navigation {
		grid-template-columns: 1fr;
	}

	.bdg-nav-vide {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bdg-nav-carte,
	.bdg-nav-fleche {
		transition: none;
	}
}

/* Navigation des articles du blog (thème parent) : même présentation */
.single-post .post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 32px 0;
}

.single-post .post-navigation .nav-previous,
.single-post .post-navigation .nav-next {
	float: none;
	width: auto;
	margin: 0;
}

.single-post .post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.single-post .post-navigation .nav-links a {
	display: flex;
	align-items: center;
	min-height: 64px;
	height: 100%;
	box-sizing: border-box;
	padding: 12px 16px;
	border: 1px solid #e4e4e4;
	border-radius: 6px;
	background: #f7f7f7;
	color: #222;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.single-post .post-navigation .nav-next a {
	justify-content: flex-end;
}

.single-post .post-navigation .nav-links a:hover {
	border-color: #e7501e;
	background: #fff;
	box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
	color: #e7501e;
}

@media (max-width: 640px) {
	.single-post .post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.single-post .post-navigation .nav-next {
		grid-column: 1;
	}
}
