/**
 * Styles front pour PNL 2.0 — cartouches et snippets.
 *
 * Classes BEM utilisées dans les fichiers doc/snippets/.
 * Personnalisables via Bricks Builder ou votre CSS custom.
 *
 * @package PNL20_Knowledge_Base
 */

/* ─────────────────────────────────────────────
   Cartouche (fiche signalétique)
   ───────────────────────────────────────────── */

.pnl20-cartouche {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 24px;
	background: #fafafa;
}

.pnl20-cartouche__header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 12px;
}

.pnl20-cartouche__title {
	margin: 0;
	font-size: 1.5em;
	line-height: 1.3;
}

.pnl20-cartouche__version {
	font-size: 0.9em;
	font-weight: 600;
	color: #666;
	background: #e8e8e8;
	padding: 2px 10px;
	border-radius: 12px;
	white-space: nowrap;
}

.pnl20-cartouche__description {
	font-size: 1.05em;
	color: #444;
	margin-bottom: 16px;
	line-height: 1.6;
}

.pnl20-cartouche__meta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.pnl20-cartouche__type {
	display: inline-block;
	background: #2271b1;
	color: #fff;
	padding: 3px 12px;
	border-radius: 4px;
	font-size: 0.85em;
	font-weight: 600;
}

.pnl20-cartouche__approche a {
	color: #2271b1;
	text-decoration: none;
	font-weight: 500;
}

.pnl20-cartouche__approche a:hover {
	text-decoration: underline;
}

.pnl20-cartouche__creators,
.pnl20-cartouche__origin-date {
	font-size: 0.9em;
	color: #555;
	margin-bottom: 4px;
}

.pnl20-cartouche__keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.pnl20-tag {
	display: inline-block;
	background: #f0f0f0;
	color: #333;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 0.8em;
	text-decoration: none;
	transition: background 0.15s;
}

.pnl20-tag:hover {
	background: #ddd;
	color: #333;
	text-decoration: none;
}

.pnl20-cartouche__links {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pnl20-cartouche__links a {
	color: #2271b1;
	text-decoration: none;
	font-size: 0.9em;
}

.pnl20-cartouche__links a:hover {
	text-decoration: underline;
}

/* ─────────────────────────────────────────────
   Journal (historique)
   ───────────────────────────────────────────── */

.pnl20-journal {
	margin-bottom: 24px;
}

.pnl20-journal__title {
	font-size: 1.2em;
	margin-bottom: 12px;
}

.pnl20-journal__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pnl20-journal__entry {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: baseline;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.pnl20-journal__entry:last-child {
	border-bottom: none;
}

.pnl20-journal__version {
	font-weight: 700;
	color: #2271b1;
	min-width: 50px;
}

.pnl20-journal__date {
	color: #888;
	font-size: 0.9em;
	min-width: 140px;
}

.pnl20-journal__authors {
	font-weight: 500;
	color: #555;
}

.pnl20-journal__note {
	flex-basis: 100%;
	color: #666;
	font-size: 0.9em;
	font-style: italic;
	padding-left: 0;
}

